@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/dist/manifest.js CHANGED
@@ -8430,7 +8430,7 @@ var manifest = defineManifest()({
8430
8430
  }
8431
8431
  ]
8432
8432
  },
8433
- title: "Your Postgres database (recommended)",
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 migrate",
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 tables in your database",
8469
+ title: "Set up the selected sign-in storage",
8470
8470
  when: "after-install"
8471
8471
  },
8472
8472
  {
8473
- command: "bunx absolute-auth migrate",
8473
+ command: "bunx absolute-auth setup",
8474
8474
  id: "migrate-upgrade",
8475
8475
  idempotent: true,
8476
8476
  kind: "migration",
8477
- title: "Apply new sign-in tables after upgrading",
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: ["@absolutejs/auth#postgres", "@absolutejs/auth#memory"],
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=276EEE8BB4B3795364756E2164756E21
8579
+ //# debugId=D79DDECC0863A70764756E2164756E21
8584
8580
  //# sourceMappingURL=manifest.js.map