@molecule/api-jwt 1.0.7 → 1.0.9
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 +3 -3
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@ AUTO-GENERATED — DO NOT EDIT THIS FILE.
|
|
|
3
3
|
Generated by `mlcl sync-docs` from the package's src/index.ts JSDoc + mlcl/registry.json.
|
|
4
4
|
Edits here are overwritten on the next commit (molecule's pre-commit hook regenerates).
|
|
5
5
|
To change this document, edit the module-level JSDoc in src/index.ts.
|
|
6
|
-
Generated: 2026-10-
|
|
6
|
+
Generated: 2026-10-26T04:22:57.697Z
|
|
7
7
|
-->
|
|
8
8
|
|
|
9
9
|
# @molecule/api-jwt
|
|
@@ -265,7 +265,7 @@ _(description truncated — read the full text in `node_modules/@molecule/api-jw
|
|
|
265
265
|
function sign(
|
|
266
266
|
object: JSONObject,
|
|
267
267
|
{ algorithm = JWT_ALGORITHM, expiresIn = JWT_EXPIRES_TIME, ...rest }?: JwtSignOptions,
|
|
268
|
-
privateKey?: string | Buffer
|
|
268
|
+
privateKey?: string | Buffer,
|
|
269
269
|
): string
|
|
270
270
|
```
|
|
271
271
|
|
|
@@ -286,7 +286,7 @@ algorithm and public key as defaults.
|
|
|
286
286
|
function verify(
|
|
287
287
|
token: string,
|
|
288
288
|
{ algorithms = [JWT_ALGORITHM], ...rest }?: JwtVerifyOptions,
|
|
289
|
-
publicKey?: string | Buffer
|
|
289
|
+
publicKey?: string | Buffer,
|
|
290
290
|
): string | JwtPayload
|
|
291
291
|
```
|
|
292
292
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@molecule/api-jwt",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.9",
|
|
4
4
|
"description": "JWT interface and key management for molecule.dev",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -31,10 +31,10 @@
|
|
|
31
31
|
"@molecule/api-bond": "^1.0.1"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@molecule/api-bond": "1.0.
|
|
35
|
-
"@types/node": "26.
|
|
34
|
+
"@molecule/api-bond": "1.0.4",
|
|
35
|
+
"@types/node": "26.6.5",
|
|
36
36
|
"typescript": "6.0.3",
|
|
37
|
-
"vitest": "4.1.
|
|
37
|
+
"vitest": "4.1.12"
|
|
38
38
|
},
|
|
39
39
|
"repository": {
|
|
40
40
|
"type": "git",
|