@softure-ai/auth 0.2.21 → 0.2.22
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 +7 -0
- package/dist/index.js +2 -2
- package/module.json +2 -2
- package/package.json +2 -2
- package/src/index.ts +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,13 @@ Newest first. Each version lists what changed for an app that uses `@softure-ai/
|
|
|
4
4
|
production, the version gets a line `verified in: <app>@<commit>` ([docs/05](../../docs/05-adoption-playbook.md),
|
|
5
5
|
"Definition of done"). Versions before the first one below are described in their GitHub Releases (`auth@x.y.z`).
|
|
6
6
|
|
|
7
|
+
## 0.2.22
|
|
8
|
+
|
|
9
|
+
- Works with `@softure-ai/mailing` `^0.3.0` (issue #1418), the release that keys a recipient with
|
|
10
|
+
`SOFTURE_EMAIL_KEY_SECRET`: the peer range and the manifest's `dependsOn` move from mailing `^0.2` to `^0.3.0`.
|
|
11
|
+
- Migrate: when the app lists mailing, upgrade it to `^0.3.0` and set `SOFTURE_EMAIL_KEY_SECRET` (see mailing's
|
|
12
|
+
CHANGELOG). An app without mailing changes nothing.
|
|
13
|
+
|
|
7
14
|
## 0.2.21
|
|
8
15
|
|
|
9
16
|
- **The foreign keys of `auth.invitations` are indexed** (issue #1420): migration `0008` adds
|
package/dist/index.js
CHANGED
|
@@ -42,9 +42,9 @@ export const AUTH_RATE_LIMIT_BUCKETS = {
|
|
|
42
42
|
export const auth = defineModule({
|
|
43
43
|
manifest: {
|
|
44
44
|
id: MODULE_ID,
|
|
45
|
-
version: "0.2.
|
|
45
|
+
version: "0.2.22",
|
|
46
46
|
runtimes: ["node", "workers"],
|
|
47
|
-
dependsOn: { security: "^0.2.0", mailing: "^0.
|
|
47
|
+
dependsOn: { security: "^0.2.0", mailing: "^0.3.0?", ops: "^0.2.0?", jobs: "^0.1.1?" },
|
|
48
48
|
dbSchema: "auth",
|
|
49
49
|
tables: ["users", "sessions", "user_roles", "password_resets", "identities", "oidc_states", "invitations"],
|
|
50
50
|
env: [
|
package/module.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "auth",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.22",
|
|
4
4
|
"runtimes": ["node", "workers"],
|
|
5
|
-
"dependsOn": { "security": "^0.2.0", "mailing": "^0.
|
|
5
|
+
"dependsOn": { "security": "^0.2.0", "mailing": "^0.3.0?", "ops": "^0.2.0?", "jobs": "^0.1.1?" },
|
|
6
6
|
"dbSchema": "auth",
|
|
7
7
|
"tables": ["users", "sessions", "user_roles", "password_resets", "identities", "oidc_states", "invitations"],
|
|
8
8
|
"env": [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@softure-ai/auth",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.22",
|
|
4
4
|
"description": "SOFTURE AI auth module: users, scrypt passwords, database sessions, register with consent, login, logout, password change, roles, a proxy route guard, pages and forms for Next.js, and a password reset sender over @softure-ai/mailing, sent in the request or by a background job through @softure-ai/jobs.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
},
|
|
85
85
|
"peerDependencies": {
|
|
86
86
|
"@softure-ai/jobs": "^0.1.1",
|
|
87
|
-
"@softure-ai/mailing": "^0.
|
|
87
|
+
"@softure-ai/mailing": "^0.3.0",
|
|
88
88
|
"@softure-ai/ops": "^0.2.0",
|
|
89
89
|
"@softure-ai/ui": "^0.3.0",
|
|
90
90
|
"drizzle-orm": "^0.45.2",
|
package/src/index.ts
CHANGED
|
@@ -48,9 +48,9 @@ export const AUTH_RATE_LIMIT_BUCKETS = {
|
|
|
48
48
|
export const auth = defineModule({
|
|
49
49
|
manifest: {
|
|
50
50
|
id: MODULE_ID,
|
|
51
|
-
version: "0.2.
|
|
51
|
+
version: "0.2.22",
|
|
52
52
|
runtimes: ["node", "workers"],
|
|
53
|
-
dependsOn: { security: "^0.2.0", mailing: "^0.
|
|
53
|
+
dependsOn: { security: "^0.2.0", mailing: "^0.3.0?", ops: "^0.2.0?", jobs: "^0.1.1?" },
|
|
54
54
|
dbSchema: "auth",
|
|
55
55
|
tables: ["users", "sessions", "user_roles", "password_resets", "identities", "oidc_states", "invitations"],
|
|
56
56
|
env: [
|