@authhero/drizzle 0.43.4 → 0.43.5
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/drizzle-adapter.mjs
CHANGED
|
@@ -7335,8 +7335,10 @@ _({
|
|
|
7335
7335
|
jwks_uri: o(),
|
|
7336
7336
|
registration_endpoint: o().optional(),
|
|
7337
7337
|
revocation_endpoint: o(),
|
|
7338
|
+
end_session_endpoint: o().optional(),
|
|
7338
7339
|
scopes_supported: b(o()),
|
|
7339
7340
|
response_types_supported: b(o()),
|
|
7341
|
+
grant_types_supported: b(o()).optional(),
|
|
7340
7342
|
code_challenge_methods_supported: b(o()),
|
|
7341
7343
|
response_modes_supported: b(o()),
|
|
7342
7344
|
subject_types_supported: b(o()),
|
|
@@ -9894,10 +9896,7 @@ function Kc(n) {
|
|
|
9894
9896
|
const r = {};
|
|
9895
9897
|
i.device !== void 0 && (r.device = JSON.stringify(i.device)), i.resource_servers !== void 0 && (r.resource_servers = JSON.stringify(i.resource_servers)), i.rotating !== void 0 && (r.rotating = i.rotating), i.expires_at !== void 0 && (r.expires_at_ts = ne(i.expires_at)), i.idle_expires_at !== void 0 && (r.idle_expires_at_ts = ne(i.idle_expires_at)), i.last_exchanged_at !== void 0 && (r.last_exchanged_at_ts = ne(i.last_exchanged_at)), i.revoked_at !== void 0 && (r.revoked_at_ts = ne(i.revoked_at));
|
|
9896
9898
|
const l = a == null ? void 0 : a.loginSessionBump, d = l ? ne(l.expires_at) : null, u = await n.update(X).set(r).where(
|
|
9897
|
-
g(
|
|
9898
|
-
c(X.tenant_id, e),
|
|
9899
|
-
c(X.id, t)
|
|
9900
|
-
)
|
|
9899
|
+
g(c(X.tenant_id, e), c(X.id, t))
|
|
9901
9900
|
).returning();
|
|
9902
9901
|
return l != null && l.login_id && d && d > 0 && await n.update(G).set({
|
|
9903
9902
|
expires_at_ts: d,
|