Skip to content

Releases: paulmillr/scure-base

2.0.0

25 Aug 15:04
2.0.0
d765626

Choose a tag to compare

  • The package is now ESM-only. ESM can finally be loaded from common.js on node v20.19+
    • Node v20.19 is now the minimum required version
    • Package imports now work correctly in bundler-less environments, such as browsers
    • Reduces npm package size (traffic consumed): 26.1KB => 24.5KB
    • Reduces unpacked npm size (on-disk space): 165KB => 102KB
  • Make bundle sizes smaller, compared to v1.x
  • Upgrade typescript compilation env to ts5.9 and es2022

Full Changelog: 1.2.6...2.0.0

1.2.6

29 May 19:42
1.2.6
ffaad85

Choose a tag to compare

  • base64: prohibit spaces when native mode is selected.

Full Changelog: 1.2.5...1.2.6

1.2.5

24 Apr 15:22
1.2.5
69870a8

Choose a tag to compare

  • base64: use native coding when available. 167x faster encoding on 1KB inputs
  • hex: use native coding when available. 216x faster encoding on 1KB inputs.
  • Standalone build files are now attested and can be verified, check out README

Full Changelog: 1.2.4...1.2.5

1.2.4

18 Jan 10:19
1.2.4
75f2e63

Choose a tag to compare

Fix broken common.js version

Full Changelog: 1.2.3...1.2.4

1.2.3

18 Jan 10:00
1.2.3
951e9a9

Choose a tag to compare

  • Fix unpublished common.js version

Full Changelog: 1.2.2...1.2.3

1.2.2

18 Jan 09:07
1.2.2
66a0837

Choose a tag to compare

  • Publish to JSR.io
  • Use typescript isolatedDeclarations and "safe types" for automatically generated documentation
  • Use typescript verbatimModuleSyntax to support native type stripping

Full Changelog: 1.2.1...1.2.2

1.2.1

23 Nov 07:20
1.2.1
1959171

Choose a tag to compare

  • Bring back NO_SIDE_EFFECTS directive for tree-shaking.
  • Optimize performance

Full Changelog: 1.2.0...1.2.1

1.2.0

22 Nov 21:57
1.2.0
cf6b87f

Choose a tag to compare

Improve encoding and decoding speed up to 4x. Decoding speed benchmarks:

  • 32B hex: 240,442 => 1,046,025 ops per second
  • 8KB hex: 1,026 => 4,096
  • 32B base64: 346,981 => 1,148,105
  • 8KB base64: 1,482 => 5,394

Reduce minified size. Speed-up bytes testing.

Full Changelog: 1.1.9...1.2.0

1.1.9

18 Sep 05:06
1.1.9
282378c

Choose a tag to compare

  • Add Bech32.encodeFromBytes
  • Fix typeof Bech32.encode

Full Changelog: 1.1.8...1.1.9

1.1.8

03 Sep 23:19
1.1.8
aebc8be

Choose a tag to compare

What's Changed

  • Add Bech32 interface. Use explicit types for jsr
  • Improve esm / typescript compatibility

New Contributors

Full Changelog: 1.1.7...1.1.8