@jskit-ai/users-core 0.2.79 → 0.2.80
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
|
@@ -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
|
|
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.
|
|
13
|
+
"@jskit-ai/crud-core": "0.2.69",
|
|
14
14
|
"@jskit-ai/resource-crud-core": "0.1.232",
|
|
15
|
-
"@jskit-ai/users-core": "0.2.
|
|
15
|
+
"@jskit-ai/users-core": "0.2.80"
|
|
16
16
|
},
|
|
17
17
|
"jskit": {
|
|
18
18
|
"kind": "runtime",
|
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
"./shared": "./src/shared/index.js"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@jskit-ai/crud-core": "0.2.
|
|
13
|
+
"@jskit-ai/crud-core": "0.2.69",
|
|
14
14
|
"@jskit-ai/resource-crud-core": "0.1.232",
|
|
15
|
-
"@jskit-ai/users-core": "0.2.
|
|
16
|
-
"@jskit-ai/workspaces-core": "0.2.
|
|
15
|
+
"@jskit-ai/users-core": "0.2.80",
|
|
16
|
+
"@jskit-ai/workspaces-core": "0.2.80"
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|
|
19
19
|
"@jskit-ai/kernel": "0.2.38",
|