@lumjs/encode 2.3.0 → 2.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [2.3.1] - 2026-01-14
10
+ ### Fixed
11
+ - Another broken reference in the HOTP library from its prototype stage.
12
+ - Forgot to add a `Base32` alias property to the default module.
13
+
9
14
  ## [2.3.0] - 2026-01-13
10
15
  ### Added
11
16
  - New `base32` module with encoding and decoding of four variants of Base32.
@@ -68,7 +73,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
68
73
  ### Added
69
74
  - Initial release.
70
75
 
71
- [Unreleased]: https://github.com/supernovus/lum.encode.js/compare/v2.3.0...HEAD
76
+ [Unreleased]: https://github.com/supernovus/lum.encode.js/compare/v2.3.1...HEAD
77
+ [2.3.1]: https://github.com/supernovus/lum.encode.js/compare/v2.3.0...v2.3.1
72
78
  [2.3.0]: https://github.com/supernovus/lum.encode.js/compare/v2.2.2...v2.3.0
73
79
  [2.2.2]: https://github.com/supernovus/lum.encode.js/compare/v2.2.0...v2.2.2
74
80
  [2.2.0]: https://github.com/supernovus/lum.encode.js/compare/v2.1.0...v2.2.0
package/lib/hotp.js CHANGED
@@ -78,7 +78,9 @@ class HOTP {
78
78
  v1,
79
79
  v2,
80
80
  code,
81
- toString,
81
+ toString() {
82
+ return this.code;
83
+ },
82
84
  }
83
85
 
84
86
  if (opts.debug) console.debug(res.code, res);
package/lib/index.js CHANGED
@@ -30,6 +30,12 @@ def(exports, 'ord', util.ord, E);
30
30
  */
31
31
  def(exports, 'numByteArray', util.numByteArray, E);
32
32
 
33
+ /**
34
+ * @name module:@lumjs/encode.Base32
35
+ * @see {@link module:@lumjs/encode/base32}
36
+ */
37
+ lazy(exports, 'Base32', () => require('./base32'), E);
38
+
33
39
  /**
34
40
  * @name module:@lumjs/encode.Base64
35
41
  * @see {@link module:@lumjs/encode/base64}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lumjs/encode",
3
- "version": "2.3.0",
3
+ "version": "2.3.1",
4
4
  "main": "lib/index.js",
5
5
  "exports":
6
6
  {