@absolutejs/auth 0.56.14 → 0.56.15

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/server.js CHANGED
@@ -27428,10 +27428,10 @@ var identityRegistrationValues = (registration) => ({
27428
27428
  user_id: registration.userId ?? null,
27429
27429
  version: registration.version
27430
27430
  });
27431
- var createNeonAgentDelegationStore = (databaseUrl) => createPostgresAgentDelegationStore(createNeonDatabase(databaseUrl));
27431
+ var createNeonAgentDelegationStore = (databaseUrl) => createDrizzleAgentDelegationStore(createNeonDatabase(databaseUrl));
27432
27432
  var createNeonAgentIdentityRegistrationStore = (databaseUrl) => createPostgresAgentIdentityRegistrationStore(createNeonDatabase(databaseUrl));
27433
27433
  var createNeonAgentRegistrationStore = (databaseUrl) => createPostgresAgentRegistrationStore(createNeonDatabase(databaseUrl));
27434
- var createPostgresAgentDelegationStore = (db) => ({
27434
+ var createDrizzleAgentDelegationStore = (db) => ({
27435
27435
  findActiveDelegation: async ({
27436
27436
  agentId,
27437
27437
  now = Date.now(),
@@ -27470,6 +27470,7 @@ var createPostgresAgentDelegationStore = (db) => ({
27470
27470
  });
27471
27471
  }
27472
27472
  });
27473
+ var createPostgresAgentDelegationStore = createDrizzleAgentDelegationStore;
27473
27474
  var createPostgresAgentIdentityRegistrationStore = (db) => ({
27474
27475
  create: async (registration) => {
27475
27476
  const rows = await db.insert(agentIdentityRegistrationsTable).values(identityRegistrationValues(registration)).onConflictDoNothing().returning({ id: agentIdentityRegistrationsTable.registration_id });
@@ -30730,5 +30731,5 @@ export {
30730
30731
  auth2 as auth
30731
30732
  };
30732
30733
 
30733
- //# debugId=E2F70FC52266FF6C64756E2164756E21
30734
+ //# debugId=5695CEA18CB89B4A64756E2164756E21
30734
30735
  //# sourceMappingURL=server.js.map