@jskit-ai/users-core 0.2.64 → 0.2.66

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 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.
5
6
  - 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.
6
7
  - `users_core_generic_initial-collation`, a migration Knex runs just before `users_core_generic_initial` (run `npm run db:migrate`): on MySQL and MariaDB it creates `users` and `user_settings`, where they do not exist yet, in the collation of the existing tables (`users`, then `auth_local_users`) rather than the database's default, and converts one recorded in another collation when no character can be lost. It changes nothing where they match.
7
8
  - `@jskit-ai/users-core/server/usersIdentity` exports `USERS_IDENTITY_TABLES`, the users and user settings tables `UsersIdentityProvider` owns, with `createUsersIdentity`, so code outside a server (workspaces-core's `createStandaloneRoleContext`) owns the same tables through standalone resources.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jskit-ai/users-core",
3
- "version": "0.2.64",
3
+ "version": "0.2.66",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "test": "jskit test"
@@ -19,10 +19,10 @@
19
19
  "./locales/en.json": "./locales/en.json"
20
20
  },
21
21
  "dependencies": {
22
- "@jskit-ai/resource-core": "0.1.225",
23
- "@jskit-ai/resource-crud-core": "0.1.227",
24
- "@jskit-ai/storage-runtime": "0.1.280",
25
- "@jskit-ai/uploads-runtime": "0.2.34",
22
+ "@jskit-ai/resource-core": "0.1.226",
23
+ "@jskit-ai/resource-crud-core": "0.1.228",
24
+ "@jskit-ai/storage-runtime": "0.1.281",
25
+ "@jskit-ai/uploads-runtime": "0.2.35",
26
26
  "json-rest-schema": "^1.0.20"
27
27
  },
28
28
  "description": "Users/account runtime plus HTTP routes for account features.",
@@ -45,6 +45,9 @@
45
45
  "runtime.resources",
46
46
  "runtime.storage",
47
47
  "runtime.uploads"
48
+ ],
49
+ "installRequires": [
50
+ "runtime.database"
48
51
  ]
49
52
  },
50
53
  "runtime": {
@@ -201,10 +204,10 @@
201
204
  }
202
205
  },
203
206
  "peerDependencies": {
204
- "@jskit-ai/auth-core": "0.2.39",
205
- "@jskit-ai/database-runtime": "0.1.285",
206
- "@jskit-ai/http-runtime": "0.2.35",
207
- "@jskit-ai/kernel": "0.2.34",
208
- "@jskit-ai/resource-runtime": "0.2.49"
207
+ "@jskit-ai/auth-core": "0.2.40",
208
+ "@jskit-ai/database-runtime": "0.1.287",
209
+ "@jskit-ai/http-runtime": "0.2.36",
210
+ "@jskit-ai/kernel": "0.2.35",
211
+ "@jskit-ai/resource-runtime": "0.2.51"
209
212
  }
210
213
  }
@@ -10,9 +10,9 @@
10
10
  "./shared": "./src/shared/index.js"
11
11
  },
12
12
  "dependencies": {
13
- "@jskit-ai/crud-core": "0.2.53",
14
- "@jskit-ai/resource-crud-core": "0.1.227",
15
- "@jskit-ai/users-core": "0.2.64"
13
+ "@jskit-ai/crud-core": "0.2.55",
14
+ "@jskit-ai/resource-crud-core": "0.1.228",
15
+ "@jskit-ai/users-core": "0.2.66"
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.53",
14
- "@jskit-ai/resource-crud-core": "0.1.227",
15
- "@jskit-ai/users-core": "0.2.64",
16
- "@jskit-ai/workspaces-core": "0.2.64"
13
+ "@jskit-ai/crud-core": "0.2.55",
14
+ "@jskit-ai/resource-crud-core": "0.1.228",
15
+ "@jskit-ai/users-core": "0.2.66",
16
+ "@jskit-ai/workspaces-core": "0.2.66"
17
17
  },
18
18
  "peerDependencies": {
19
- "@jskit-ai/kernel": "0.2.34",
20
- "@jskit-ai/resource-runtime": "0.2.49"
19
+ "@jskit-ai/kernel": "0.2.35",
20
+ "@jskit-ai/resource-runtime": "0.2.51"
21
21
  },
22
22
  "jskit": {
23
23
  "kind": "runtime",