@authhero/drizzle 0.52.4 → 0.52.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.cjs +1 -1
- package/dist/drizzle-adapter.mjs +13 -4
- package/package.json +3 -3
package/dist/drizzle-adapter.mjs
CHANGED
|
@@ -13951,7 +13951,7 @@ var W_ = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", G_
|
|
|
13951
13951
|
"oag"
|
|
13952
13952
|
]).default("regular_web").optional().openapi({ description: "The type of application this client represents" }),
|
|
13953
13953
|
logo_uri: H().url().optional().openapi({ description: "URL of the logo to display for this client. Recommended size is 150x150 pixels." }),
|
|
13954
|
-
is_first_party: G().default(!
|
|
13954
|
+
is_first_party: G().default(!0).openapi({ description: "Whether this client is a first party client (true) or not (false). First-party clients skip the consent screen; third-party clients require explicit user consent for non-basic scopes." }),
|
|
13955
13955
|
oidc_conformant: G().default(!0).openapi({ description: "Whether this client conforms to strict OIDC specifications (true) or uses legacy features (false)." }),
|
|
13956
13956
|
auth0_conformant: G().default(!0).openapi({ description: "Whether this client follows Auth0-compatible behavior (true) or strict OIDC behavior (false). When true, profile/email claims are included in the ID token when scopes are requested. When false, these claims are only available from the userinfo endpoint (strict OIDC 5.4 compliance)." }),
|
|
13957
13957
|
callbacks: q(H()).default([]).optional().openapi({ description: "Comma-separated list of URLs whitelisted for Auth0 to use as a callback to the client after authentication." }),
|
|
@@ -15004,7 +15004,7 @@ J({
|
|
|
15004
15004
|
client_id_metadata_document_supported: G().optional()
|
|
15005
15005
|
});
|
|
15006
15006
|
var ly = ng(/* @__PURE__ */ function(e) {
|
|
15007
|
-
return e.PENDING = "pending", e.AUTHENTICATED = "authenticated", e.AWAITING_EMAIL_VERIFICATION = "awaiting_email_verification", e.AWAITING_MFA = "awaiting_mfa", e.AWAITING_HOOK = "awaiting_hook", e.AWAITING_CONTINUATION = "awaiting_continuation", e.COMPLETED = "completed", e.FAILED = "failed", e.EXPIRED = "expired", e;
|
|
15007
|
+
return e.PENDING = "pending", e.AUTHENTICATED = "authenticated", e.AWAITING_EMAIL_VERIFICATION = "awaiting_email_verification", e.AWAITING_MFA = "awaiting_mfa", e.AWAITING_HOOK = "awaiting_hook", e.AWAITING_CONTINUATION = "awaiting_continuation", e.AWAITING_CONSENT = "awaiting_consent", e.COMPLETED = "completed", e.FAILED = "failed", e.EXPIRED = "expired", e;
|
|
15008
15008
|
}({})), uy = J({
|
|
15009
15009
|
strategy: H(),
|
|
15010
15010
|
strategy_type: H()
|
|
@@ -15620,6 +15620,7 @@ var Ny = J({
|
|
|
15620
15620
|
type: H(),
|
|
15621
15621
|
options: Y(H(), Eh()).default({})
|
|
15622
15622
|
}), Fy = J({
|
|
15623
|
+
id: H().optional(),
|
|
15623
15624
|
custom_domain_id: H(),
|
|
15624
15625
|
priority: W().int().default(100),
|
|
15625
15626
|
match: Ny,
|
|
@@ -15630,7 +15631,10 @@ Fy.extend({
|
|
|
15630
15631
|
tenant_id: H(),
|
|
15631
15632
|
created_at: H(),
|
|
15632
15633
|
updated_at: H()
|
|
15633
|
-
}), Fy.partial().omit({
|
|
15634
|
+
}), Fy.partial().omit({
|
|
15635
|
+
id: !0,
|
|
15636
|
+
custom_domain_id: !0
|
|
15637
|
+
}), J({
|
|
15634
15638
|
name: H(),
|
|
15635
15639
|
enabled: G().optional().default(!0),
|
|
15636
15640
|
default_from_address: H().optional(),
|
|
@@ -15723,6 +15727,11 @@ J({
|
|
|
15723
15727
|
resource_server_identifier: H(),
|
|
15724
15728
|
permission_name: H()
|
|
15725
15729
|
}).extend({ created_at: H() }), J({
|
|
15730
|
+
user_id: H().openapi({ description: "The id of the user that granted the consent" }),
|
|
15731
|
+
clientID: H().openapi({ description: "The id of the client the grant was issued to" }),
|
|
15732
|
+
audience: H().optional().openapi({ description: "The audience the grant applies to" }),
|
|
15733
|
+
scope: q(H()).default([]).openapi({ description: "The list of OAuth scopes the user has consented to" })
|
|
15734
|
+
}).extend({ id: H() }), J({
|
|
15726
15735
|
user_id: H(),
|
|
15727
15736
|
resource_server_identifier: H(),
|
|
15728
15737
|
permission_name: H(),
|
|
@@ -17226,7 +17235,7 @@ function Qb(e) {
|
|
|
17226
17235
|
return {
|
|
17227
17236
|
async create(t, n) {
|
|
17228
17237
|
let r = (/* @__PURE__ */ new Date()).toISOString(), i = {
|
|
17229
|
-
id: Vn(),
|
|
17238
|
+
id: n.id || Vn(),
|
|
17230
17239
|
tenant_id: t,
|
|
17231
17240
|
custom_domain_id: n.custom_domain_id,
|
|
17232
17241
|
priority: n.priority,
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"type": "git",
|
|
12
12
|
"url": "https://github.com/markusahlstrand/authhero"
|
|
13
13
|
},
|
|
14
|
-
"version": "0.52.
|
|
14
|
+
"version": "0.52.5",
|
|
15
15
|
"files": [
|
|
16
16
|
"dist",
|
|
17
17
|
"src/schema",
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"drizzle-orm": "^0.44.2",
|
|
36
36
|
"nanoid": "^5.1.11",
|
|
37
|
-
"@authhero/adapter-interfaces": "2.
|
|
38
|
-
"@authhero/proxy": "0.4.
|
|
37
|
+
"@authhero/adapter-interfaces": "2.11.0",
|
|
38
|
+
"@authhero/proxy": "0.4.1"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@hono/zod-openapi": "^1.4.0",
|