@molecule/api-resource-user 1.7.3 → 1.7.5

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,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-23T11:01:24.075Z
6
+ Generated: 2026-10-25T20:03:30.236Z
7
7
  -->
8
8
 
9
9
  # @molecule/api-resource-user
@@ -1794,7 +1794,7 @@ devices are deleted, so a stolen token on another device dies — but the device
1794
1794
  arrived on stays, and the token that made the request (the `Authorization` header the client
1795
1795
  is holding) keeps working. A RealWorld-style suite changes the password and then keeps using
1796
1796
  the same token for the next request; revoking the caller too is what answered its second
1797
- `PUT /user` with 401 (xr-flash-m167, ~2 min lost). Do not fold a per-user secret into the
1797
+ `PUT /user` with 401. Do not fold a per-user secret into the
1798
1798
 
1799
1799
  _(description truncated — read the full text in `node_modules/@molecule/api-resource-user/dist/handlers/updatePassword.d.ts`.)_
1800
1800
 
@@ -27,7 +27,7 @@ export interface UpdatePasswordRequest extends MoleculeRequest {
27
27
  * arrived on stays, and the token that made the request (the `Authorization` header the client
28
28
  * is holding) keeps working. A RealWorld-style suite changes the password and then keeps using
29
29
  * the same token for the next request; revoking the caller too is what answered its second
30
- * `PUT /user` with 401 (xr-flash-m167, ~2 min lost). Do not fold a per-user secret into the
30
+ * `PUT /user` with 401. Do not fold a per-user secret into the
31
31
  * JWT: the device row is the revocation lever. A caller with no session (a handler invoked
32
32
  * outside a request) falls back to revoking every device.
33
33
  * @param resource - The user resource configuration (name, tableName, schema).
@@ -25,7 +25,7 @@ const logger = getLogger();
25
25
  * arrived on stays, and the token that made the request (the `Authorization` header the client
26
26
  * is holding) keeps working. A RealWorld-style suite changes the password and then keeps using
27
27
  * the same token for the next request; revoking the caller too is what answered its second
28
- * `PUT /user` with 401 (xr-flash-m167, ~2 min lost). Do not fold a per-user secret into the
28
+ * `PUT /user` with 401. Do not fold a per-user secret into the
29
29
  * JWT: the device row is the revocation lever. A caller with no session (a handler invoked
30
30
  * outside a request) falls back to revoking every device.
31
31
  * @param resource - The user resource configuration (name, tableName, schema).
@@ -9,7 +9,7 @@
9
9
  * the package barrel exports every handler, so Node evaluates the import while loading
10
10
  * `@molecule/api-resource-user` itself, and a production install (which installs no optional
11
11
  * peer) dies at BOOT with `ERR_MODULE_NOT_FOUND … imported from
12
- * …/dist/handlers/updatePlan.js` — xr-flash-m354, two failed deploys on 2026-10-21.
12
+ * …/dist/handlers/updatePlan.js` — a boot failure, so every deploy of that app fails.
13
13
  *
14
14
  * A dynamic `import()` is evaluated only when a payments feature is actually used, and its
15
15
  * absence means "this app has no payments", never a crash.
@@ -9,7 +9,7 @@
9
9
  * the package barrel exports every handler, so Node evaluates the import while loading
10
10
  * `@molecule/api-resource-user` itself, and a production install (which installs no optional
11
11
  * peer) dies at BOOT with `ERR_MODULE_NOT_FOUND … imported from
12
- * …/dist/handlers/updatePlan.js` — xr-flash-m354, two failed deploys on 2026-10-21.
12
+ * …/dist/handlers/updatePlan.js` — a boot failure, so every deploy of that app fails.
13
13
  *
14
14
  * A dynamic `import()` is evaluated only when a payments feature is actually used, and its
15
15
  * absence means "this app has no payments", never a crash.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@molecule/api-resource-user",
3
- "version": "1.7.3",
3
+ "version": "1.7.5",
4
4
  "description": "User resource types and schema for molecule.dev.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -29,19 +29,19 @@
29
29
  ],
30
30
  "license": "Apache-2.0",
31
31
  "dependencies": {
32
- "uuid": "14.0.1",
33
- "zod": "4.4.3"
32
+ "uuid": "14.0.3",
33
+ "zod": "4.6.7"
34
34
  },
35
35
  "devDependencies": {
36
- "@molecule/api-bond": "1.0.2",
37
- "@molecule/api-config": "1.0.2",
36
+ "@molecule/api-bond": "1.0.3",
37
+ "@molecule/api-config": "1.0.3",
38
38
  "@molecule/api-locales-user": "1.1.0",
39
39
  "@molecule/api-locales-user-payments": "1.0.3",
40
- "@molecule/api-payments": "1.2.1",
41
- "@molecule/api-push-notifications": "1.0.2",
42
- "@molecule/api-rate-limit": "1.0.3",
40
+ "@molecule/api-payments": "1.2.2",
41
+ "@molecule/api-push-notifications": "1.0.3",
42
+ "@molecule/api-rate-limit": "1.0.4",
43
43
  "@molecule/api-two-factor": "1.0.2",
44
- "@types/node": "26.1.2",
44
+ "@types/node": "26.6.5",
45
45
  "typescript": "6.0.3",
46
46
  "vitest": "4.1.12"
47
47
  },