@jskit-ai/users-core 0.2.79 → 0.2.81

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/CHANGELOG.md CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ - The `users/user-administration-server` pattern gives `@jskit-ai/config-eslint`'s larger file limit: files under 1,200 lines (it said 750); functions stay under 600.
5
6
  - The account settings, profile, avatar, security, preferences and notifications routes name the action they run (`actionId`), so each action's checks come before the route validates what the request sends, and before the avatar upload route reads its file (#497).
6
7
  - The manifest marks `runtime.database`, which its migrations need and no server provider of the package requires, as install-time only (`jskit.capabilities.installRequires`), so an app's start-up no longer logs "Package manifest requires a capability its providers do not." for it.
7
8
  - Profile synchronization passes the sign-in's `invitation` on: `syncIdentityProfile(profile, { invitation })` gives it to every `afterIdentityProfileSynced` lifecycle contributor beside `profile`, `created` and `options` (null when the sign-in carries none), and keeps it out of the transaction's options, so provisioning can tell an account made from an invitation.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jskit-ai/users-core",
3
- "version": "0.2.79",
3
+ "version": "0.2.81",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "test": "jskit test"
@@ -205,9 +205,9 @@
205
205
  },
206
206
  "peerDependencies": {
207
207
  "@jskit-ai/auth-core": "0.2.43",
208
- "@jskit-ai/database-runtime": "0.1.295",
208
+ "@jskit-ai/database-runtime": "0.1.296",
209
209
  "@jskit-ai/http-runtime": "0.2.39",
210
210
  "@jskit-ai/kernel": "0.2.38",
211
- "@jskit-ai/resource-runtime": "0.2.62"
211
+ "@jskit-ai/resource-runtime": "0.2.63"
212
212
  }
213
213
  }
@@ -101,7 +101,7 @@ joins the caller's transaction: inside `withTransaction(options, async
101
101
  receive directly, with no `typeof` probe, optional call, absent default,
102
102
  slot setter or module-level registry, and each action's `execute` is one
103
103
  call to one service method with the validated input. Keep one copy of each
104
- helper per package, files under 750 lines and functions under 600.
104
+ helper per package, files under 1,200 lines and functions under 600.
105
105
 
106
106
  ## Example files
107
107
 
@@ -10,9 +10,9 @@
10
10
  "./shared": "./src/shared/index.js"
11
11
  },
12
12
  "dependencies": {
13
- "@jskit-ai/crud-core": "0.2.68",
13
+ "@jskit-ai/crud-core": "0.2.70",
14
14
  "@jskit-ai/resource-crud-core": "0.1.232",
15
- "@jskit-ai/users-core": "0.2.79"
15
+ "@jskit-ai/users-core": "0.2.81"
16
16
  },
17
17
  "jskit": {
18
18
  "kind": "runtime",
@@ -10,14 +10,14 @@
10
10
  "./shared": "./src/shared/index.js"
11
11
  },
12
12
  "dependencies": {
13
- "@jskit-ai/crud-core": "0.2.68",
13
+ "@jskit-ai/crud-core": "0.2.70",
14
14
  "@jskit-ai/resource-crud-core": "0.1.232",
15
- "@jskit-ai/users-core": "0.2.79",
16
- "@jskit-ai/workspaces-core": "0.2.79"
15
+ "@jskit-ai/users-core": "0.2.81",
16
+ "@jskit-ai/workspaces-core": "0.2.81"
17
17
  },
18
18
  "peerDependencies": {
19
19
  "@jskit-ai/kernel": "0.2.38",
20
- "@jskit-ai/resource-runtime": "0.2.62"
20
+ "@jskit-ai/resource-runtime": "0.2.63"
21
21
  },
22
22
  "jskit": {
23
23
  "kind": "runtime",