Commit Graph

8 Commits

Author SHA1 Message Date
Milan Steiner
4c8b278c1d
Create toBech32 and fromBech32 in @cosmjs/encoding (#1058)
* Create toBech32 and fromBech32

* Add changes to CHANGELOG.md

* Fix linting

* Update packages/encoding/src/bech32.ts

Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com>

* Update CHANGELOG.md

Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com>

* Update packages/encoding/src/bech32.ts

Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com>

* Update bech32.ts

Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com>
2022-02-22 14:05:34 +01:00
Simon Warta
aa804db064 Improve fromHex: avoid deprecated substr, write to output buffer directly 2022-01-29 20:50:26 +01:00
willclarktech
daaeea0ff2
encoding: Remove TextEncoder/TextDecoder fallbacks 2021-06-09 16:37:09 +02:00
Simon Warta
11ea9d30a1 Upgrade prettier to 2.3.0 2021-06-01 09:07:53 +02:00
Simon Warta
da9459553e Let fromRfc3339 return mutable Date type 2021-02-12 14:37:24 +01:00
willclarktech
7e7f6ec364
encoding: Add limit parameters to Bech32.encode and .decode 2020-08-04 17:35:56 +02:00
willclarktech
6d387412af
eslint: Update file-based rule overrides 2020-07-15 13:29:21 +02:00
Simon Warta
3cfad7a541 Add @cosmjs/encoding and @cosmjs/math 2020-06-09 17:46:03 +02:00