Repository navigation
2.2.0
- April 2026 self-audit (all files): no major issues found
- Audited for spec compliance and security
- Fix all Byte Array types, to ensure proper work in both TypeScript 5.6 & TypeScript 5.9+
- TS 5.6 has
Uint8Array, while TS 5.9+ made it genericUint8Array<ArrayBuffer> - This creates incompatibility of code between versions
- Previously, it was hard to use and constantly emitted errors similar to
TS2345 - See typescript#62240 for more context
- TS 5.6 has
- Fix compilation issues on TypeScript v6
- Improve tree-shaking, reduce bundle sizes
- utf8: make decoder strict, use isWellFormed (polyfilled in some envs)
- Add strict ascii decoder (char range 0..127)
- Bech32 examples in the docs by @davay42 in #44
- Add overload to Bech32.decode to handle arbitrary string input by @webmaster128 in #45
- perf: trust Uint8Array.fromBase64 to check non-whitespace chars by @ChALkeR in #47
New Contributors
- @davay42 made their first contribution in #44
- @webmaster128 made their first contribution in #45
- @ChALkeR made their first contribution in #47
(We're skipping v2.1, to align with other noble / scure packages)
Full Changelog: 2.0.0...2.2.0