@molecule/api-jwt 1.0.6 → 1.0.8

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
@@ -3,21 +3,21 @@ 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-16T15:47:24.688Z
6
+ Generated: 2026-10-16T23:41:58.848Z
7
7
  -->
8
8
 
9
9
  # @molecule/api-jwt
10
10
 
11
- > **Auto-generated, AI-first package reference** for the [molecule.dev](https://molecule.dev) ecosystem.
12
- > It is written to be read by coding agents as much as by people, and is generated from this
13
- > package's source — edit `src/index.ts` JSDoc, not this file.
14
-
15
11
  JWT interface for molecule.dev.
16
12
 
17
13
  Provides an abstract JWT interface that can be backed by any JWT library.
18
14
  Use `setProvider` to provide a concrete implementation
19
15
  such as `@molecule/api-jwt-jsonwebtoken`.
20
16
 
17
+ > **Auto-generated, AI-first package reference** for the [molecule.dev](https://molecule.dev) ecosystem.
18
+ > It is written to be read by coding agents as much as by people, and is generated from this
19
+ > package's source — edit `src/index.ts` JSDoc, not this file.
20
+
21
21
  ## Quick Start
22
22
 
23
23
  ```ts
@@ -242,6 +242,10 @@ token it mints is not by itself a session. For a session, use
242
242
  `authorization.set()` from `@molecule/api-resource-user` — the app's global
243
243
  `verifyMiddleware` accepts a JWT only when its payload also carries a
244
244
  `deviceId` naming an active row in `devices` (see the module `@remarks`).
245
+ The sequence is device → session, and the device call RESOLVES TO THE ID:
246
+ `const deviceId = await get<DeviceService>('device')?.createOrUpdate(userId, deviceName)`
247
+ (`DeviceService` is exported by `@molecule/api-resource-device`), then
248
+ `authorization.set(req, res, { userId, deviceId })`.
245
249
 
246
250
  **There is ONE JWT provider per app, and this signs with it.** The scaffold
247
251
  bonds `@molecule/api-jwt-jsonwebtoken` once (the app's `api/src/bonds/`), keyed
@@ -254,9 +258,8 @@ and verify changes with it.
254
258
  To return a session token in a response BODY — an API whose clients send
255
259
  `Authorization: Token <jwt>` — do not sign a second token with another key or
256
260
  algorithm. `authorization.set(req, res, { userId, deviceId })` from
257
- `@molecule/api-resource-user` RETURNS the signed token; mount
258
- `verifyMiddleware({ allowCookieSession: false })` in front of the routes that
259
- sign users in so no session cookie is written alongside it.
261
+
262
+ _(description truncated — read the full text in `node_modules/@molecule/api-jwt/dist/provider.d.ts`.)_
260
263
 
261
264
  ```typescript
262
265
  function sign(
@@ -405,9 +408,14 @@ anything security-relevant; `decode()` is only for reading a token you do NOT tr
405
408
  also carries a `deviceId` naming an ACTIVE row in the app's `devices` table, so a
406
409
  payload without one is treated as no session: `sign({ userId })` answers 401 on every
407
410
  route although the token itself verifies. Mint a session with `authorization.set()`
408
- from `@molecule/api-resource-user`, which signs and writes the session cookies — call
409
- `get('device').createOrUpdate(userId, deviceName)` first and pass `{ userId, deviceId }`
410
- to `set()`, as that package's own log-in handler does.
411
+ from `@molecule/api-resource-user`, which signs and writes the session cookies — the
412
+ sequence is device → session, and the device call RESOLVES TO THE ID:
413
+ `const deviceId = await get<DeviceService>('device')?.createOrUpdate(userId, deviceName)`
414
+ (the `DeviceService` type comes from `@molecule/api-resource-device`; do not hand-type a
415
+ `get<{ createOrUpdate(): … }>('device')` generic — a wrong one compiles and yields
416
+ `undefined`), then `authorization.set(req, res, { userId, deviceId })`, as that package's
417
+ own log-in handler does. `authorization.set()` throws when the device id is missing
418
+ rather than mint a token every route answers 401.
411
419
  - **Re-signing decoded claims (refresh flows): strip `exp`/`iat` first.** `sign()`
412
420
  always sets `expiresIn` (default {@link JWT_EXPIRES_TIME}), and the underlying library
413
421
  throws (`Bad "options.expiresIn" option the payload already has an "exp" property`)
package/dist/index.d.ts CHANGED
@@ -26,9 +26,14 @@
26
26
  * also carries a `deviceId` naming an ACTIVE row in the app's `devices` table, so a
27
27
  * payload without one is treated as no session: `sign({ userId })` answers 401 on every
28
28
  * route although the token itself verifies. Mint a session with `authorization.set()`
29
- * from `@molecule/api-resource-user`, which signs and writes the session cookies — call
30
- * `get('device').createOrUpdate(userId, deviceName)` first and pass `{ userId, deviceId }`
31
- * to `set()`, as that package's own log-in handler does.
29
+ * from `@molecule/api-resource-user`, which signs and writes the session cookies — the
30
+ * sequence is device → session, and the device call RESOLVES TO THE ID:
31
+ * `const deviceId = await get<DeviceService>('device')?.createOrUpdate(userId, deviceName)`
32
+ * (the `DeviceService` type comes from `@molecule/api-resource-device`; do not hand-type a
33
+ * `get<{ createOrUpdate(): … }>('device')` generic — a wrong one compiles and yields
34
+ * `undefined`), then `authorization.set(req, res, { userId, deviceId })`, as that package's
35
+ * own log-in handler does. `authorization.set()` throws when the device id is missing
36
+ * rather than mint a token every route answers 401.
32
37
  * - **Re-signing decoded claims (refresh flows): strip `exp`/`iat` first.** `sign()`
33
38
  * always sets `expiresIn` (default {@link JWT_EXPIRES_TIME}), and the underlying library
34
39
  * throws (`Bad "options.expiresIn" option the payload already has an "exp" property`)
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmEG;AAEH,cAAc,oBAAoB,CAAA;AAClC,cAAc,WAAW,CAAA;AACzB,cAAc,eAAe,CAAA;AAC7B,cAAc,YAAY,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwEG;AAEH,cAAc,oBAAoB,CAAA;AAClC,cAAc,WAAW,CAAA;AACzB,cAAc,eAAe,CAAA;AAC7B,cAAc,YAAY,CAAA"}
package/dist/index.js CHANGED
@@ -26,9 +26,14 @@
26
26
  * also carries a `deviceId` naming an ACTIVE row in the app's `devices` table, so a
27
27
  * payload without one is treated as no session: `sign({ userId })` answers 401 on every
28
28
  * route although the token itself verifies. Mint a session with `authorization.set()`
29
- * from `@molecule/api-resource-user`, which signs and writes the session cookies — call
30
- * `get('device').createOrUpdate(userId, deviceName)` first and pass `{ userId, deviceId }`
31
- * to `set()`, as that package's own log-in handler does.
29
+ * from `@molecule/api-resource-user`, which signs and writes the session cookies — the
30
+ * sequence is device → session, and the device call RESOLVES TO THE ID:
31
+ * `const deviceId = await get<DeviceService>('device')?.createOrUpdate(userId, deviceName)`
32
+ * (the `DeviceService` type comes from `@molecule/api-resource-device`; do not hand-type a
33
+ * `get<{ createOrUpdate(): … }>('device')` generic — a wrong one compiles and yields
34
+ * `undefined`), then `authorization.set(req, res, { userId, deviceId })`, as that package's
35
+ * own log-in handler does. `authorization.set()` throws when the device id is missing
36
+ * rather than mint a token every route answers 401.
32
37
  * - **Re-signing decoded claims (refresh flows): strip `exp`/`iat` first.** `sign()`
33
38
  * always sets `expiresIn` (default {@link JWT_EXPIRES_TIME}), and the underlying library
34
39
  * throws (`Bad "options.expiresIn" option the payload already has an "exp" property`)
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmEG;AAEH,cAAc,oBAAoB,CAAA;AAClC,cAAc,WAAW,CAAA;AACzB,cAAc,eAAe,CAAA;AAC7B,cAAc,YAAY,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwEG;AAEH,cAAc,oBAAoB,CAAA;AAClC,cAAc,WAAW,CAAA;AACzB,cAAc,eAAe,CAAA;AAC7B,cAAc,YAAY,CAAA"}
@@ -55,6 +55,10 @@ export declare const hasProvider: () => boolean;
55
55
  * `authorization.set()` from `@molecule/api-resource-user` — the app's global
56
56
  * `verifyMiddleware` accepts a JWT only when its payload also carries a
57
57
  * `deviceId` naming an active row in `devices` (see the module `@remarks`).
58
+ * The sequence is device → session, and the device call RESOLVES TO THE ID:
59
+ * `const deviceId = await get<DeviceService>('device')?.createOrUpdate(userId, deviceName)`
60
+ * (`DeviceService` is exported by `@molecule/api-resource-device`), then
61
+ * `authorization.set(req, res, { userId, deviceId })`.
58
62
  *
59
63
  * **There is ONE JWT provider per app, and this signs with it.** The scaffold
60
64
  * bonds `@molecule/api-jwt-jsonwebtoken` once (the app's `api/src/bonds/`), keyed
@@ -1 +1 @@
1
- {"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../src/provider.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAKH,OAAO,KAAK,EACV,UAAU,EACV,YAAY,EACZ,gBAAgB,EAChB,UAAU,EACV,WAAW,EACX,cAAc,EACd,gBAAgB,EACjB,MAAM,YAAY,CAAA;AAkDnB;;;;;;GAMG;AACH,eAAO,MAAM,aAAa,cAAwB,CAAA;AAElD;;;GAGG;AACH,eAAO,MAAM,gBAAgB,QAA2D,CAAA;AAExF;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,QAAkD,CAAA;AAE/E;;;;;GAKG;AACH,eAAO,MAAM,WAAW,GAAI,UAAU,WAAW,KAAG,IAEnD,CAAA;AAED;;;;;GAKG;AACH,eAAO,MAAM,WAAW,QAAO,WAE9B,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,WAAW,QAAO,OAE9B,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,eAAO,MAAM,IAAI,GACf,QAAQ,UAAU,EAClB,oCAAsE,cAAmB,EACzF,aAAY,MAAM,GAA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AM,GAAI,OAAO,MAAM,EAAE,UAAU,gBAAgB,KAAG,MAAM,GAAG,UAAU,GAAG,IACnD,CAAA"}
package/dist/provider.js CHANGED
@@ -104,6 +104,10 @@ export const hasProvider = () => {
104
104
  * `authorization.set()` from `@molecule/api-resource-user` — the app's global
105
105
  * `verifyMiddleware` accepts a JWT only when its payload also carries a
106
106
  * `deviceId` naming an active row in `devices` (see the module `@remarks`).
107
+ * The sequence is device → session, and the device call RESOLVES TO THE ID:
108
+ * `const deviceId = await get<DeviceService>('device')?.createOrUpdate(userId, deviceName)`
109
+ * (`DeviceService` is exported by `@molecule/api-resource-device`), then
110
+ * `authorization.set(req, res, { userId, deviceId })`.
107
111
  *
108
112
  * **There is ONE JWT provider per app, and this signs with it.** The scaffold
109
113
  * bonds `@molecule/api-jwt-jsonwebtoken` once (the app's `api/src/bonds/`), keyed
@@ -1 +1 @@
1
- {"version":3,"file":"provider.js","sourceRoot":"","sources":["../src/provider.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAElG,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAW3D,MAAM,MAAM,GAAG,SAAS,EAAE,CAAA;AAE1B,MAAM,SAAS,GAAG,KAAK,CAAA;AACvB,UAAU,CAAC,SAAS,CAAC,CAAA;AAErB,8DAA8D;AAC9D,MAAM,oBAAoB,GAA4B;IACpD,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;CACR,CAAA;AAED;;;;;;;;;;;GAWG;AACH,MAAM,mBAAmB,GAAG,GAAiB,EAAE;IAC7C,MAAM,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,aAAa,CAAA;IACrC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AA;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG,CAClB,MAAkB,EAClB,EAAE,SAAS,GAAG,aAAa,EAAE,SAAS,GAAG,gBAAgB,EAAE,GAAG,IAAI,KAAqB,EAAE,EACzF,aAA8B,eAAe,EACrC,EAAE,CAAC,WAAW,EAAE,CAAC,IAAI,CAAC,MAAM,EAAE,EAAE,SAAS,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,UAAU,CAAC,CAAA;AAEtF;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,CACpB,KAAa,EACb,EAAE,UAAU,GAAG,CAAC,aAAa,CAAC,EAAE,GAAG,IAAI,KAAuB,EAAE,EAChE,YAA6B,cAAc,EACtB,EAAE,CAAC,WAAW,EAAE,CAAC,MAAM,CAAC,KAAK,EAAE,EAAE,UAAU,EAAE,GAAG,IAAI,EAAE,EAAE,SAAS,CAAC,CAAA;AAEzF;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,KAAa,EAAE,OAA0B,EAA8B,EAAE,CAC9F,WAAW,EAAE,CAAC,MAAM,CAAC,KAAK,EAAE,OAAO,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@molecule/api-jwt",
3
- "version": "1.0.6",
3
+ "version": "1.0.8",
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.2",
35
- "@types/node": "26.1.2",
34
+ "@molecule/api-bond": "1.0.3",
35
+ "@types/node": "26.6.5",
36
36
  "typescript": "6.0.3",
37
- "vitest": "4.1.11"
37
+ "vitest": "4.1.12"
38
38
  },
39
39
  "repository": {
40
40
  "type": "git",