@otplib/plugin-base32-scure 13.0.0 → 13.0.2

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/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @otplib/plugin-base32-scure
2
2
 
3
- Base32 encoding/decoding plugin for otplib using the audited `@scure/base` library.
3
+ Base32 encoding/decoding plugin for otplib using the `@scure/base` library.
4
4
 
5
5
  ## Installation
6
6
 
@@ -12,7 +12,7 @@ yarn add @otplib/plugin-base32-scure
12
12
 
13
13
  ## Overview
14
14
 
15
- This plugin provides Base32 encoding and decoding using `@scure/base`, a cryptographic library from the authors of `noble-ciphers`. It offers excellent performance, extensive auditing, and comprehensive TypeScript support.
15
+ This plugin provides Base32 encoding and decoding using `@scure/base`, a cryptographic library which is audited and has comprehensive TypeScript support.
16
16
 
17
17
  ## Usage
18
18
 
@@ -200,16 +200,6 @@ const encoded = plugin.encode(data);
200
200
  const encoded = scureBase32.encode(data, { padding: false });
201
201
  ```
202
202
 
203
- ## Dependencies
204
-
205
- ```json
206
- {
207
- "dependencies": {
208
- "@scure/base": "^1.1.0"
209
- }
210
- }
211
- ```
212
-
213
203
  ## Related Packages
214
204
 
215
205
  - `@scure/base` - Audited encoding/decoding library
@@ -0,0 +1 @@
1
+ {"inputs":{"src/index.ts":{"bytes":2097,"imports":[{"path":"@scure/base","kind":"import-statement","external":true}],"format":"esm"}},"outputs":{"dist/index.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3097},"dist/index.cjs":{"imports":[{"path":"@scure/base","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":474}},"bytes":947}}}
@@ -0,0 +1 @@
1
+ {"inputs":{"src/index.ts":{"bytes":2097,"imports":[{"path":"@scure/base","kind":"import-statement","external":true}],"format":"esm"}},"outputs":{"dist/index.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":2956},"dist/index.js":{"imports":[{"path":"@scure/base","kind":"import-statement","external":true}],"exports":["ScureBase32Plugin","base32","default"],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":385}},"bytes":442}}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@otplib/plugin-base32-scure",
3
- "version": "13.0.0",
3
+ "version": "13.0.2",
4
4
  "description": "Base32 plugin for otplib using @scure/base",
5
5
  "license": "MIT",
6
6
  "author": "Gerald Yeo <support@yeojz.dev>",
@@ -42,11 +42,11 @@
42
42
  "LICENSE"
43
43
  ],
44
44
  "dependencies": {
45
- "@scure/base": "^1.1.7",
46
- "@otplib/core": "13.0.0"
45
+ "@scure/base": "^2.0.0",
46
+ "@otplib/core": "13.0.2"
47
47
  },
48
48
  "devDependencies": {
49
- "@types/node": "^25.0.3",
49
+ "@types/node": "^25.0.6",
50
50
  "tsup": "^8.5.1",
51
51
  "typescript": "^5.9.3",
52
52
  "vitest": "^4.0.16"