@molecule/api-jwt 1.0.9 → 1.0.10

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.
Files changed (2) hide show
  1. package/README.md +4 -3
  2. package/package.json +1 -1
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-26T04:22:57.697Z
6
+ Generated: 2026-11-04T14:19:58.727Z
7
7
  -->
8
8
 
9
9
  # @molecule/api-jwt
@@ -258,8 +258,9 @@ and verify changes with it.
258
258
  To return a session token in a response BODY — an API whose clients send
259
259
  `Authorization: Token <jwt>` — do not sign a second token with another key or
260
260
  algorithm. `authorization.set(req, res, { userId, deviceId })` from
261
-
262
- _(description truncated — read the full text in `node_modules/@molecule/api-jwt/dist/provider.d.ts`.)_
261
+ `@molecule/api-resource-user` RETURNS the signed token; mount
262
+ `verifyMiddleware({ allowCookieSession: false })` in front of the routes that
263
+ sign users in so no session cookie is written alongside it.
263
264
 
264
265
  ```typescript
265
266
  function sign(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@molecule/api-jwt",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
4
4
  "description": "JWT interface and key management for molecule.dev",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",