palladians / pallad

Progressive Mina Protocol Wallet
https://pallad.co/
Apache License 2.0
26 stars 10 forks source link

Consistent JSON Serialisation Across Packages - `superjson` #124

Closed teddyjfpender closed 2 months ago

teddyjfpender commented 10 months ago

Use consistent JSON serialisation across all packages with superjson.

@palladxyz/mina-graphql currently uses json-bigint to do both customFetch and as defaultJsonSerialization. Using superjson instead of json-bigint and JSON would make better and consistent JSON serialisation across Pallad as a product.

This was first attempted in https://github.com/palladians/pallad/pull/121 but with little luck.