@absolutejs/auth 0.78.0 → 0.80.0
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 +24 -0
- package/README.md +48 -0
- package/changelog.json +44 -0
- package/dist/apikeys/config.d.ts +1 -1
- package/dist/apikeys/tokenRoutes.d.ts +7 -0
- package/dist/cli/migrate.js +46 -1
- package/dist/cli/migrate.js.map +6 -5
- package/dist/cli/setup.d.ts +12 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +665 -605
- package/dist/index.js.map +13 -11
- package/dist/linkedProviders/credentialError.d.ts +7 -0
- package/dist/linkedProviders/index.d.ts +1 -0
- package/dist/linkedProviders/index.js +57 -10
- package/dist/linkedProviders/index.js.map +6 -5
- package/dist/manifest.js +13 -17
- package/dist/manifest.js.map +3 -3
- package/dist/manifest.json +9 -14
- package/dist/server.js +664 -605
- package/dist/server.js.map +13 -11
- package/dist/session/neonStore.d.ts +4 -0
- package/dist/types.d.ts +1 -1
- package/package.json +11 -7
package/dist/manifest.js
CHANGED
|
@@ -8430,7 +8430,7 @@ var manifest = defineManifest()({
|
|
|
8430
8430
|
}
|
|
8431
8431
|
]
|
|
8432
8432
|
},
|
|
8433
|
-
title: "
|
|
8433
|
+
title: "Neon Postgres (persistent sessions)",
|
|
8434
8434
|
wiring: {
|
|
8435
8435
|
code: 'createNeonAuthSessionStore(${env.DATABASE_URL} ?? "", decodeSessionUserRecord)',
|
|
8436
8436
|
imports: [
|
|
@@ -8462,19 +8462,19 @@ var manifest = defineManifest()({
|
|
|
8462
8462
|
],
|
|
8463
8463
|
lifecycle: [
|
|
8464
8464
|
{
|
|
8465
|
-
command: "bunx absolute-auth
|
|
8465
|
+
command: "bunx absolute-auth setup",
|
|
8466
8466
|
id: "migrate",
|
|
8467
8467
|
idempotent: true,
|
|
8468
8468
|
kind: "migration",
|
|
8469
|
-
title: "Set up the sign-in
|
|
8469
|
+
title: "Set up the selected sign-in storage",
|
|
8470
8470
|
when: "after-install"
|
|
8471
8471
|
},
|
|
8472
8472
|
{
|
|
8473
|
-
command: "bunx absolute-auth
|
|
8473
|
+
command: "bunx absolute-auth setup",
|
|
8474
8474
|
id: "migrate-upgrade",
|
|
8475
8475
|
idempotent: true,
|
|
8476
8476
|
kind: "migration",
|
|
8477
|
-
title: "
|
|
8477
|
+
title: "Upgrade the selected sign-in storage",
|
|
8478
8478
|
when: "after-upgrade"
|
|
8479
8479
|
}
|
|
8480
8480
|
],
|
|
@@ -8488,20 +8488,13 @@ var manifest = defineManifest()({
|
|
|
8488
8488
|
}
|
|
8489
8489
|
],
|
|
8490
8490
|
requires: {
|
|
8491
|
-
env:
|
|
8492
|
-
{
|
|
8493
|
-
description: "Postgres connection string (sign-in tables live here)",
|
|
8494
|
-
example: "postgres://user:pass@host/db",
|
|
8495
|
-
key: "DATABASE_URL",
|
|
8496
|
-
secret: true
|
|
8497
|
-
},
|
|
8498
|
-
...providerEnv
|
|
8499
|
-
],
|
|
8491
|
+
env: providerEnv,
|
|
8500
8492
|
peers: [{ name: "elysia", range: ">=1.0", reason: "plugin host" }],
|
|
8501
8493
|
services: [
|
|
8502
8494
|
{
|
|
8503
8495
|
description: "Stores accounts, sessions, and audit events",
|
|
8504
|
-
id: "postgres"
|
|
8496
|
+
id: "postgres",
|
|
8497
|
+
optional: true
|
|
8505
8498
|
}
|
|
8506
8499
|
]
|
|
8507
8500
|
},
|
|
@@ -8511,7 +8504,10 @@ var manifest = defineManifest()({
|
|
|
8511
8504
|
configPath: "authSessionStore",
|
|
8512
8505
|
contract: "auth/session-store",
|
|
8513
8506
|
description: "Where live sign-in sessions are kept",
|
|
8514
|
-
known: [
|
|
8507
|
+
known: [
|
|
8508
|
+
"@absolutejs/auth#createNeonAuthSessionStore",
|
|
8509
|
+
"@absolutejs/auth#createInMemoryAuthSessionStore"
|
|
8510
|
+
],
|
|
8515
8511
|
required: true
|
|
8516
8512
|
},
|
|
8517
8513
|
verificationProvider: {
|
|
@@ -8580,5 +8576,5 @@ export {
|
|
|
8580
8576
|
manifest
|
|
8581
8577
|
};
|
|
8582
8578
|
|
|
8583
|
-
//# debugId=
|
|
8579
|
+
//# debugId=D79DDECC0863A70764756E2164756E21
|
|
8584
8580
|
//# sourceMappingURL=manifest.js.map
|