- April 2026 self-audit (all files): no major issues found
- Audited for spec compliance and security
- Minor hardening all over the place
- Ensure
signdoes not mutate secret key input array fromKeypairnow decodes secret key in line withparitytech/schnorrkellibrary. It forces scalar to be torsion-free (% cofactor === 0). Check out diff for more details
- 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
- Upgrade noble-curves and noble-hashes to self-audited v2.2
(Version is bumped from v1.0 to v2.2, to align with other noble / scure packages)
Full Changelog: 1.0.0...2.2.0