@otplib/v12-adapter 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 +1 -1
- package/dist/metafile-cjs.json +1 -0
- package/dist/metafile-esm.json +1 -0
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -46,7 +46,7 @@ const isValid = authenticator.verify({ token, secret });
|
|
|
46
46
|
|
|
47
47
|
## Migration Guide
|
|
48
48
|
|
|
49
|
-
For a full guide on migrating to v13, including the benefits of the new architecture and how to use the new features, please see the [Migration Guide](https://otplib.yeojz.dev/guide/
|
|
49
|
+
For a full guide on migrating to v13, including the benefits of the new architecture and how to use the new features, please see the [Migration Guide](https://otplib.yeojz.dev/guide/v12-adapter).
|
|
50
50
|
|
|
51
51
|
## License
|
|
52
52
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"inputs":{"src/types.ts":{"bytes":3630,"imports":[],"format":"esm"},"src/hotp.ts":{"bytes":5102,"imports":[{"path":"@otplib/core","kind":"import-statement","external":true},{"path":"@otplib/hotp","kind":"import-statement","external":true},{"path":"@otplib/plugin-base32-scure","kind":"import-statement","external":true},{"path":"@otplib/plugin-crypto-noble","kind":"import-statement","external":true},{"path":"@otplib/uri","kind":"import-statement","external":true},{"path":"src/types.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"src/totp.ts":{"bytes":6245,"imports":[{"path":"@otplib/plugin-base32-scure","kind":"import-statement","external":true},{"path":"@otplib/plugin-crypto-noble","kind":"import-statement","external":true},{"path":"@otplib/totp","kind":"import-statement","external":true},{"path":"@otplib/uri","kind":"import-statement","external":true},{"path":"src/hotp.ts","kind":"import-statement","original":"./hotp"},{"path":"src/types.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"src/authenticator.ts":{"bytes":6814,"imports":[{"path":"@otplib/core","kind":"import-statement","external":true},{"path":"@otplib/plugin-base32-scure","kind":"import-statement","external":true},{"path":"@otplib/plugin-crypto-noble","kind":"import-statement","external":true},{"path":"@otplib/totp","kind":"import-statement","external":true},{"path":"src/totp.ts","kind":"import-statement","original":"./totp"},{"path":"src/types.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"src/index.ts":{"bytes":2609,"imports":[{"path":"src/hotp.ts","kind":"import-statement","original":"./hotp"},{"path":"src/totp.ts","kind":"import-statement","original":"./totp"},{"path":"src/authenticator.ts","kind":"import-statement","original":"./authenticator"},{"path":"src/hotp.ts","kind":"import-statement","original":"./hotp"},{"path":"src/types.ts","kind":"import-statement","original":"./types"},{"path":"src/authenticator.ts","kind":"import-statement","original":"./authenticator"},{"path":"src/hotp.ts","kind":"import-statement","original":"./hotp"},{"path":"src/totp.ts","kind":"import-statement","original":"./totp"},{"path":"@otplib/plugin-crypto-noble","kind":"import-statement","external":true},{"path":"@otplib/plugin-base32-scure","kind":"import-statement","external":true}],"format":"esm"}},"outputs":{"dist/index.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":33935},"dist/index.cjs":{"imports":[{"path":"@otplib/core","kind":"require-call","external":true},{"path":"@otplib/hotp","kind":"require-call","external":true},{"path":"@otplib/plugin-base32-scure","kind":"require-call","external":true},{"path":"@otplib/plugin-crypto-noble","kind":"require-call","external":true},{"path":"@otplib/uri","kind":"require-call","external":true},{"path":"@otplib/plugin-base32-scure","kind":"require-call","external":true},{"path":"@otplib/plugin-crypto-noble","kind":"require-call","external":true},{"path":"@otplib/totp","kind":"require-call","external":true},{"path":"@otplib/uri","kind":"require-call","external":true},{"path":"@otplib/core","kind":"require-call","external":true},{"path":"@otplib/plugin-base32-scure","kind":"require-call","external":true},{"path":"@otplib/plugin-crypto-noble","kind":"require-call","external":true},{"path":"@otplib/totp","kind":"require-call","external":true},{"path":"@otplib/plugin-crypto-noble","kind":"require-call","external":true},{"path":"@otplib/plugin-base32-scure","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":760},"src/hotp.ts":{"bytesInOutput":3612},"src/types.ts":{"bytesInOutput":212},"src/totp.ts":{"bytesInOutput":4433},"src/authenticator.ts":{"bytesInOutput":4882}},"bytes":15075}}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"inputs":{"src/types.ts":{"bytes":3630,"imports":[],"format":"esm"},"src/hotp.ts":{"bytes":5102,"imports":[{"path":"@otplib/core","kind":"import-statement","external":true},{"path":"@otplib/hotp","kind":"import-statement","external":true},{"path":"@otplib/plugin-base32-scure","kind":"import-statement","external":true},{"path":"@otplib/plugin-crypto-noble","kind":"import-statement","external":true},{"path":"@otplib/uri","kind":"import-statement","external":true},{"path":"src/types.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"src/totp.ts":{"bytes":6245,"imports":[{"path":"@otplib/plugin-base32-scure","kind":"import-statement","external":true},{"path":"@otplib/plugin-crypto-noble","kind":"import-statement","external":true},{"path":"@otplib/totp","kind":"import-statement","external":true},{"path":"@otplib/uri","kind":"import-statement","external":true},{"path":"src/hotp.ts","kind":"import-statement","original":"./hotp"},{"path":"src/types.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"src/authenticator.ts":{"bytes":6814,"imports":[{"path":"@otplib/core","kind":"import-statement","external":true},{"path":"@otplib/plugin-base32-scure","kind":"import-statement","external":true},{"path":"@otplib/plugin-crypto-noble","kind":"import-statement","external":true},{"path":"@otplib/totp","kind":"import-statement","external":true},{"path":"src/totp.ts","kind":"import-statement","original":"./totp"},{"path":"src/types.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"src/index.ts":{"bytes":2609,"imports":[{"path":"src/hotp.ts","kind":"import-statement","original":"./hotp"},{"path":"src/totp.ts","kind":"import-statement","original":"./totp"},{"path":"src/authenticator.ts","kind":"import-statement","original":"./authenticator"},{"path":"src/hotp.ts","kind":"import-statement","original":"./hotp"},{"path":"src/types.ts","kind":"import-statement","original":"./types"},{"path":"src/authenticator.ts","kind":"import-statement","original":"./authenticator"},{"path":"src/hotp.ts","kind":"import-statement","original":"./hotp"},{"path":"src/totp.ts","kind":"import-statement","original":"./totp"},{"path":"@otplib/plugin-crypto-noble","kind":"import-statement","external":true},{"path":"@otplib/plugin-base32-scure","kind":"import-statement","external":true}],"format":"esm"}},"outputs":{"dist/index.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":33865},"dist/index.js":{"imports":[{"path":"@otplib/core","kind":"import-statement","external":true},{"path":"@otplib/hotp","kind":"import-statement","external":true},{"path":"@otplib/plugin-base32-scure","kind":"import-statement","external":true},{"path":"@otplib/plugin-crypto-noble","kind":"import-statement","external":true},{"path":"@otplib/uri","kind":"import-statement","external":true},{"path":"@otplib/plugin-base32-scure","kind":"import-statement","external":true},{"path":"@otplib/plugin-crypto-noble","kind":"import-statement","external":true},{"path":"@otplib/totp","kind":"import-statement","external":true},{"path":"@otplib/uri","kind":"import-statement","external":true},{"path":"@otplib/core","kind":"import-statement","external":true},{"path":"@otplib/plugin-base32-scure","kind":"import-statement","external":true},{"path":"@otplib/plugin-crypto-noble","kind":"import-statement","external":true},{"path":"@otplib/totp","kind":"import-statement","external":true},{"path":"@otplib/plugin-crypto-noble","kind":"import-statement","external":true},{"path":"@otplib/plugin-base32-scure","kind":"import-statement","external":true}],"exports":["Authenticator","HOTP","HashAlgorithms","KeyEncodings","NobleCryptoPlugin","ScureBase32Plugin","TOTP","authenticator","hotp","hotpDigestToToken","totp"],"entryPoint":"src/index.ts","inputs":{"src/hotp.ts":{"bytesInOutput":3540},"src/types.ts":{"bytesInOutput":212},"src/index.ts":{"bytesInOutput":261},"src/totp.ts":{"bytesInOutput":4445},"src/authenticator.ts":{"bytesInOutput":4892}},"bytes":13674}}}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@otplib/v12-adapter",
|
|
3
|
-
"version": "13.0.
|
|
3
|
+
"version": "13.0.2",
|
|
4
4
|
"description": "Drop-in replacement adapter for migrating from otplib v12 to v13",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Gerald Yeo <support@yeojz.dev>",
|
|
@@ -47,18 +47,18 @@
|
|
|
47
47
|
"LICENSE"
|
|
48
48
|
],
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@otplib/core": "13.0.
|
|
51
|
-
"@otplib/hotp": "13.0.
|
|
52
|
-
"@otplib/
|
|
53
|
-
"@otplib/
|
|
54
|
-
"@otplib/plugin-
|
|
55
|
-
"@otplib/
|
|
50
|
+
"@otplib/core": "13.0.2",
|
|
51
|
+
"@otplib/hotp": "13.0.2",
|
|
52
|
+
"@otplib/uri": "13.0.2",
|
|
53
|
+
"@otplib/plugin-crypto-noble": "13.0.2",
|
|
54
|
+
"@otplib/plugin-base32-scure": "13.0.2",
|
|
55
|
+
"@otplib/totp": "13.0.2"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"tsup": "^8.0.1",
|
|
59
59
|
"typescript": "^5.3.3",
|
|
60
60
|
"vitest": "^4.0.16",
|
|
61
|
-
"@repo/testing": "13.0.
|
|
61
|
+
"@repo/testing": "13.0.1"
|
|
62
62
|
},
|
|
63
63
|
"publishConfig": {
|
|
64
64
|
"access": "public"
|