@authhero/kysely-adapter 11.8.3 → 11.8.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/kysely-adapter.mjs
CHANGED
|
@@ -472,7 +472,7 @@ function Te(e) {
|
|
|
472
472
|
};
|
|
473
473
|
}
|
|
474
474
|
//#endregion
|
|
475
|
-
//#region ../../node_modules/.pnpm/hono@4.12.
|
|
475
|
+
//#region ../../node_modules/.pnpm/hono@4.12.25/node_modules/hono/dist/http-exception.js
|
|
476
476
|
var D = class extends Error {
|
|
477
477
|
res;
|
|
478
478
|
status;
|
|
@@ -2149,7 +2149,8 @@ function gn(e) {
|
|
|
2149
2149
|
return async (t) => (await e.selectFrom("custom_domains").where("custom_domains.tenant_id", "=", t).selectAll().execute()).map((e) => ({
|
|
2150
2150
|
...e,
|
|
2151
2151
|
primary: e.primary === 1,
|
|
2152
|
-
domain_metadata: j(e.domain_metadata, void 0)
|
|
2152
|
+
domain_metadata: j(e.domain_metadata, void 0),
|
|
2153
|
+
verification: j(e.verification, void 0)
|
|
2153
2154
|
}));
|
|
2154
2155
|
}
|
|
2155
2156
|
//#endregion
|
|
@@ -3,22 +3,12 @@ import { Database } from "../db";
|
|
|
3
3
|
export declare function list(db: Kysely<Database>): (tenantId: string) => Promise<{
|
|
4
4
|
primary: boolean;
|
|
5
5
|
domain_metadata: undefined;
|
|
6
|
+
verification: undefined;
|
|
6
7
|
tenant_id: string;
|
|
7
8
|
created_at: string;
|
|
8
9
|
updated_at: string;
|
|
9
10
|
verification_method: "txt" | undefined;
|
|
10
11
|
status: "pending" | "disabled" | "pending_verification" | "ready";
|
|
11
|
-
verification: {
|
|
12
|
-
methods: ({
|
|
13
|
-
name: "txt";
|
|
14
|
-
record: string;
|
|
15
|
-
domain: string;
|
|
16
|
-
} | {
|
|
17
|
-
name: "http";
|
|
18
|
-
http_body: string;
|
|
19
|
-
http_url: string;
|
|
20
|
-
})[];
|
|
21
|
-
} | undefined;
|
|
22
12
|
type: "auth0_managed_certs" | "self_managed_certs";
|
|
23
13
|
domain: string;
|
|
24
14
|
custom_client_ip_header: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
|