v16 and migrate to `BigInt`
pyramation
released this
15 Jul 23:38
·
136 commits
to main
since this release
BigInt
and inline protobuf reader/writer
This is a HUGE update! Now using the open standard BigInt
instead of Long
Additionally, we wrote our own proto reader/writer, well-tested, and purpose-built for Cosmos SDK protos and Telescope. We've inlined it to make it super efficient.
Breaking Changes
- You'll need to stop using
Long.fromString('1')
and instead using the nativeBigInt('1')
— use open standards instead of a 3rd party library! Anywhere you usedLong
you need to remove it and replace withBigInt
.
What's Changed
- removes need to depend on the
Long
type fromlong
library in any generated code - removes need to depend on the
protobuf/minimal
library in any generated code - use
BigInt
, upgrade to telescope 0.99 by @pyramation in #57
Full Changelog: https://github.com/osmosis-labs/osmojs/commits/osmojs@16.2.0