faire-auth 1.0.0 → 1.0.1
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/{access-Crt-IJ2P.cjs → access-BZ7-AbTM.cjs} +1 -1
- package/dist/{adapter-factory-DT-_2aHJ.cjs → adapter-factory-D1I7joki.cjs} +2 -2
- package/dist/adapters/drizzle-adapter/index.cjs +5 -5
- package/dist/adapters/drizzle-adapter/index.d.cts +1 -1
- package/dist/adapters/drizzle-adapter/index.d.mts +2 -2
- package/dist/adapters/drizzle-adapter/index.mjs +3 -3
- package/dist/adapters/index.cjs +4 -4
- package/dist/adapters/index.d.cts +1 -1
- package/dist/adapters/index.d.mts +2 -2
- package/dist/adapters/index.mjs +3 -3
- package/dist/adapters/kysely-adapter/index.cjs +5 -5
- package/dist/adapters/kysely-adapter/index.d.cts +1 -1
- package/dist/adapters/kysely-adapter/index.d.mts +2 -2
- package/dist/adapters/kysely-adapter/index.mjs +4 -4
- package/dist/adapters/memory-adapter/index.cjs +5 -5
- package/dist/adapters/memory-adapter/index.d.cts +1 -1
- package/dist/adapters/memory-adapter/index.d.mts +2 -2
- package/dist/adapters/memory-adapter/index.mjs +4 -4
- package/dist/adapters/mongodb-adapter/index.cjs +294 -6
- package/dist/adapters/mongodb-adapter/index.d.cts +34 -2
- package/dist/adapters/mongodb-adapter/index.d.mts +35 -3
- package/dist/adapters/mongodb-adapter/index.mjs +291 -4
- package/dist/adapters/prisma-adapter/index.cjs +5 -5
- package/dist/adapters/prisma-adapter/index.d.cts +1 -1
- package/dist/adapters/prisma-adapter/index.d.mts +2 -2
- package/dist/adapters/prisma-adapter/index.mjs +3 -3
- package/dist/adapters/test.cjs +3 -3
- package/dist/adapters/test.d.cts +1 -1
- package/dist/adapters/test.d.mts +2 -2
- package/dist/adapters/test.mjs +2 -2
- package/dist/api/index.cjs +15 -15
- package/dist/api/index.d.cts +1 -1
- package/dist/api/index.d.mts +2 -2
- package/dist/api/index.mjs +8 -8
- package/dist/api/middleware/index.cjs +8 -8
- package/dist/api/middleware/index.d.cts +3 -3
- package/dist/api/middleware/index.d.mts +4 -4
- package/dist/api/middleware/index.mjs +3 -3
- package/dist/{api-_B7qO28y.mjs → api-B4RDwBty.mjs} +7 -7
- package/dist/{api-Bm89BLgN.cjs → api-CaRC1Gio.cjs} +12 -12
- package/dist/{bearer-CHeREcGT.cjs → bearer-DDzrp5M7.cjs} +2 -2
- package/dist/{bearer-0SeEmaS4.mjs → bearer-WZcs7gxL.mjs} +1 -1
- package/dist/{bun-sqlite-dialect-wuaC2-gh.cjs → bun-sqlite-dialect-DPgTzc0w.cjs} +1 -1
- package/dist/{chunk-Ceigfy4P.mjs → chunk-BFnQceUY.mjs} +1 -13
- package/dist/{chunk-oakRccI5.cjs → chunk-fPmz2rbM.cjs} +0 -9
- package/dist/client/index.cjs +26 -7
- package/dist/client/index.d.cts +27 -4
- package/dist/client/index.d.mts +28 -5
- package/dist/client/index.mjs +25 -6
- package/dist/client/lynx/index.cjs +5 -5
- package/dist/client/lynx/index.d.cts +9 -9
- package/dist/client/lynx/index.d.mts +27 -27
- package/dist/client/lynx/index.mjs +3 -3
- package/dist/client/plugins/index.d.cts +1 -1
- package/dist/client/plugins/index.d.mts +2 -2
- package/dist/client/react/index.cjs +5 -5
- package/dist/client/react/index.d.cts +9 -9
- package/dist/client/react/index.d.mts +3 -3
- package/dist/client/react/index.mjs +3 -3
- package/dist/client/solid/index.cjs +5 -5
- package/dist/client/solid/index.d.cts +16 -16
- package/dist/client/solid/index.d.mts +17 -17
- package/dist/client/solid/index.mjs +3 -3
- package/dist/client/svelte/index.cjs +4 -4
- package/dist/client/svelte/index.d.cts +16 -16
- package/dist/client/svelte/index.d.mts +27 -27
- package/dist/client/svelte/index.mjs +3 -3
- package/dist/client/vue/index.cjs +5 -5
- package/dist/client/vue/index.d.cts +27 -27
- package/dist/client/vue/index.d.mts +28 -28
- package/dist/client/vue/index.mjs +3 -3
- package/dist/{cookies-B5xeA6i8.cjs → cookies-BTl72THv.cjs} +3 -3
- package/dist/{cookies-Ch1JfQIz.mjs → cookies-BTs1o992.mjs} +2 -2
- package/dist/crypto/index.cjs +1 -1
- package/dist/crypto/index.d.cts +2 -2
- package/dist/crypto/index.d.mts +3 -3
- package/dist/crypto/index.mjs +1 -1
- package/dist/{crypto-CyQRFtkq.mjs → crypto-DH2Aa7jN.mjs} +1 -1
- package/dist/{crypto-CcTxYH82.cjs → crypto-DpSCnrTp.cjs} +1 -1
- package/dist/db/index.cjs +10 -10
- package/dist/db/index.d.cts +1 -1
- package/dist/db/index.d.mts +2 -2
- package/dist/db/index.mjs +6 -6
- package/dist/{db-xiJtoDgz.mjs → db-4tUsQJXd.mjs} +3 -3
- package/dist/{db-BTKyYu-_.cjs → db-ChMbb_U-.cjs} +8 -8
- package/dist/{email-verification-CWhj2qfb.mjs → email-verification-C_lBu_JY.mjs} +3 -3
- package/dist/{email-verification-C-AsfJsb.cjs → email-verification-DI_0H4JC.cjs} +5 -5
- package/dist/{hono-Cdukwu5K.cjs → hono-C14rpOEa.cjs} +1 -1
- package/dist/{hono-Covz10jU.mjs → hono-CO-zsqI-.mjs} +2 -2
- package/dist/{hono-BEq1NYVX.cjs → hono-DnW5crl1.cjs} +4 -4
- package/dist/index-BC42NdCJ.d.mts +992 -0
- package/dist/{index-B-WeOMzg.d.cts → index-BNCikaaH.d.cts} +834 -834
- package/dist/{index-Qu-iJGNr.d.mts → index-BfbDrljm.d.cts} +15 -15
- package/dist/index-BotKDRUI.d.mts +13350 -0
- package/dist/index-CL5oW5Uh.d.cts +13350 -0
- package/dist/index-ClFGA8tb.d.mts +33 -0
- package/dist/index-DCuvAh3N.d.mts +992 -0
- package/dist/{index-jlessPI0.d.mts → index-DK2ECcVe.d.mts} +382 -382
- package/dist/{index-B09P9p5_.d.cts → index-Dsua4U8w.d.cts} +6 -6
- package/dist/index-KQ5RLFjm.d.cts +33 -0
- package/dist/{index-BVHscLQl.d.cts → index-w-IdIOQJ.d.cts} +15 -15
- package/dist/{index-ppgcFe12.d.mts → index-ztVZPQdV.d.mts} +6 -6
- package/dist/index.cjs +721 -27
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +711 -16
- package/dist/integrations/next-js.cjs +3 -3
- package/dist/integrations/next-js.d.cts +3 -3
- package/dist/integrations/next-js.d.mts +6 -6
- package/dist/integrations/next-js.mjs +2 -2
- package/dist/integrations/node.d.cts +1 -1
- package/dist/integrations/node.d.mts +2 -2
- package/dist/integrations/react-start.cjs +3 -3
- package/dist/integrations/react-start.d.cts +5 -5
- package/dist/integrations/react-start.d.mts +6 -6
- package/dist/integrations/react-start.mjs +2 -2
- package/dist/integrations/svelte-kit.cjs +3 -3
- package/dist/integrations/svelte-kit.d.cts +5 -5
- package/dist/integrations/svelte-kit.d.mts +6 -6
- package/dist/integrations/svelte-kit.mjs +2 -2
- package/dist/{ip-B5SwXaMB.cjs → ip-C17Qdq-G.cjs} +2 -2
- package/dist/{json-CcJ2HjGo.cjs → json--tl7Grvs.cjs} +1 -1
- package/dist/{kysely-adapter-DRuoT_X8.mjs → kysely-adapter-CtIdoHa8.mjs} +3 -3
- package/dist/{kysely-adapter-Bxi7sPdG.cjs → kysely-adapter-QZTx077T.cjs} +4 -4
- package/dist/{logged-DQK3C64b.cjs → logged-Dv3st5qc.cjs} +1 -1
- package/dist/{memory-adapter-BlnDIAAX.cjs → memory-adapter-17RZd5df.cjs} +2 -2
- package/dist/{memory-adapter-Db3tsJTn.mjs → memory-adapter-Dp4XdCZK.mjs} +1 -1
- package/dist/{node-sqlite-dialect-mJWC8LWQ.cjs → node-sqlite-dialect-DP11CB0y.cjs} +1 -1
- package/dist/oauth2/index.cjs +11 -11
- package/dist/oauth2/index.d.cts +1 -1
- package/dist/oauth2/index.d.mts +2 -2
- package/dist/oauth2/index.mjs +6 -6
- package/dist/{oauth2-BLeOEi7Y.cjs → oauth2-5RL4cVNS.cjs} +3 -3
- package/dist/{oauth2-B8M0lW9l.mjs → oauth2-C56wz-n9.mjs} +2 -2
- package/dist/{origin-check-id9lTnqZ.cjs → origin-check-DjLTuZQ8.cjs} +2 -2
- package/dist/{passkey-B6N20LSS.cjs → passkey-BTT-v5c-.cjs} +4 -4
- package/dist/{passkey-DJsR_GX3.mjs → passkey-CzY_W2us.mjs} +2 -2
- package/dist/plugins/access/index.cjs +1 -1
- package/dist/plugins/access/index.d.cts +1 -1
- package/dist/plugins/access/index.d.mts +1 -1
- package/dist/plugins/access/index.mjs +1 -1
- package/dist/plugins/bearer/index.cjs +4 -4
- package/dist/plugins/bearer/index.d.cts +2 -2
- package/dist/plugins/bearer/index.d.mts +3 -3
- package/dist/plugins/bearer/index.mjs +3 -3
- package/dist/plugins/index.cjs +5215 -31
- package/dist/plugins/index.d.cts +270 -270
- package/dist/plugins/index.d.mts +352 -352
- package/dist/plugins/index.mjs +5202 -19
- package/dist/plugins/passkey/index.cjs +10 -10
- package/dist/plugins/passkey/index.d.cts +2 -2
- package/dist/plugins/passkey/index.d.mts +3 -3
- package/dist/plugins/passkey/index.mjs +5 -5
- package/dist/{schema-D-qjygfE.cjs → schema-CirKflVs.cjs} +2 -2
- package/dist/{session-rH8ougDl.mjs → session-CM3rmOYF.mjs} +1 -1
- package/dist/{session-De9POJTW.cjs → session-Cwrj4GfV.cjs} +5 -5
- package/dist/social-providers/index.cjs +1 -1
- package/dist/social-providers/index.d.cts +1 -1
- package/dist/social-providers/index.d.mts +1 -1
- package/dist/social-providers/index.mjs +1 -1
- package/dist/{social-providers-DoYJhBe3.mjs → social-providers-B8RK5yqI.mjs} +1 -1
- package/dist/{social-providers-DcFNUT0S.cjs → social-providers-BmFOIIPk.cjs} +1 -1
- package/dist/{state-CqJfCIl9.mjs → state-CQghgH9I.mjs} +1 -1
- package/dist/{state--f7fwIGh.cjs → state-CvSihlVT.cjs} +2 -2
- package/dist/test-utils/bun-sqlite-dialect-BSWhhKNs.mjs +155 -0
- package/dist/test-utils/bun-sqlite-dialect-BZBvHchL.cjs +156 -0
- package/dist/test-utils/index.cjs +8927 -482
- package/dist/test-utils/index.d.cts +8637 -579
- package/dist/test-utils/index.d.mts +8636 -576
- package/dist/test-utils/index.mjs +8712 -265
- package/dist/test-utils/node-sqlite-dialect-BgJqjBOu.cjs +156 -0
- package/dist/test-utils/node-sqlite-dialect-DAQXiobH.mjs +155 -0
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.mts +2 -2
- package/dist/{url-D2yvKaM7.cjs → url-Ce7CVaQD.cjs} +1 -1
- package/dist/utils/cookies.cjs +4 -4
- package/dist/utils/cookies.d.cts +1 -1
- package/dist/utils/cookies.d.mts +2 -2
- package/dist/utils/cookies.mjs +2 -2
- package/package.json +2 -2
- package/dist/auth-Bo9PDt5j.cjs +0 -739
- package/dist/auth-Ds4AG4h4.mjs +0 -709
- package/dist/index-C2-2QDyS.d.cts +0 -35
- package/dist/index-CWAqWfoZ.d.cts +0 -27
- package/dist/index-CYSShrFx.d.mts +0 -27
- package/dist/index-to0RO38U.d.mts +0 -35
- package/dist/mongodb-adapter-C_qGQED5.mjs +0 -291
- package/dist/mongodb-adapter-C_qfK87x.cjs +0 -297
- package/dist/plugins-C1lm2Wj3.cjs +0 -5254
- package/dist/plugins-Dai1QkRU.mjs +0 -5199
- package/dist/vanilla-Bu2PmFzE.cjs +0 -30
- package/dist/vanilla-TfHqeiC7.mjs +0 -25
- /package/dist/{access-B5bBI4uT.mjs → access-D0DRqUKC.mjs} +0 -0
- /package/dist/{adapter-factory-BXei1QRX.mjs → adapter-factory-lKIOf2OR.mjs} +0 -0
- /package/dist/{bun-sqlite-dialect-CfkBo2v5.mjs → bun-sqlite-dialect-6NqeV3px.mjs} +0 -0
- /package/dist/{defu-B0Svx_x4.cjs → defu-BmOYq4PU.cjs} +0 -0
- /package/dist/{defu-SZkpHhbR.mjs → defu-D9ZTXqlo.mjs} +0 -0
- /package/dist/{hono-DuE14mmj.d.mts → hono-D0VqxVy1.d.mts} +0 -0
- /package/dist/{index-B5_0QTLg.d.mts → index-BDhhaE6Y.d.cts} +0 -0
- /package/dist/{index-B7SKyR_a.d.cts → index-CF9iq55a.d.mts} +0 -0
- /package/dist/{index-CTwrVluH.d.mts → index-CRt_fppq.d.mts} +0 -0
- /package/dist/{index-cs4Sh0En.d.cts → index-CdLyn7qP.d.cts} +0 -0
- /package/dist/{node-sqlite-dialect-BfBzyOAg.mjs → node-sqlite-dialect-w4DAg0PH.mjs} +0 -0
- /package/dist/{parser-CeAer-RM.mjs → parser-B25ylT5u.mjs} +0 -0
- /package/dist/{parser-CdncAl9i.cjs → parser-B_wxvaAr.cjs} +0 -0
package/dist/crypto/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as ContextVars } from "../hono-
|
|
1
|
+
import { t as ContextVars } from "../hono-D0VqxVy1.mjs";
|
|
2
2
|
import { Context } from "hono";
|
|
3
|
-
import * as
|
|
3
|
+
import * as _faire_auth_core_types30 from "@faire-auth/core/types";
|
|
4
4
|
export * from "@faire-auth/core/crypto";
|
|
5
5
|
|
|
6
6
|
//#region src/crypto/index.d.ts
|
|
@@ -14,7 +14,7 @@ declare const checkPassword: <T extends object>(userId: string, ctx: Context<Con
|
|
|
14
14
|
password?: string;
|
|
15
15
|
};
|
|
16
16
|
};
|
|
17
|
-
}>) => Promise<true |
|
|
17
|
+
}>) => Promise<true | _faire_auth_core_types30.JSONRespondReturn<{
|
|
18
18
|
success: false;
|
|
19
19
|
message: string;
|
|
20
20
|
}, 400>>;
|
package/dist/crypto/index.mjs
CHANGED
package/dist/db/index.cjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
require('../hono-
|
|
2
|
-
require('../ip-
|
|
3
|
-
require('../crypto-
|
|
4
|
-
require('../json
|
|
5
|
-
require('../state
|
|
1
|
+
require('../hono-C14rpOEa.cjs');
|
|
2
|
+
require('../ip-C17Qdq-G.cjs');
|
|
3
|
+
require('../crypto-DpSCnrTp.cjs');
|
|
4
|
+
require('../json--tl7Grvs.cjs');
|
|
5
|
+
require('../state-CvSihlVT.cjs');
|
|
6
6
|
require('../request-CPNlp-DK.cjs');
|
|
7
7
|
require('../utils-44aDDP8f.cjs');
|
|
8
|
-
const require_schema = require('../schema-
|
|
9
|
-
require('../kysely-adapter-
|
|
10
|
-
const require_adapter_factory = require('../adapter-factory-
|
|
11
|
-
const require_db = require('../db-
|
|
12
|
-
require('../memory-adapter-
|
|
8
|
+
const require_schema = require('../schema-CirKflVs.cjs');
|
|
9
|
+
require('../kysely-adapter-QZTx077T.cjs');
|
|
10
|
+
const require_adapter_factory = require('../adapter-factory-D1I7joki.cjs');
|
|
11
|
+
const require_db = require('../db-ChMbb_U-.cjs');
|
|
12
|
+
require('../memory-adapter-17RZd5df.cjs');
|
|
13
13
|
|
|
14
14
|
exports.convertFromDB = require_db.convertFromDB;
|
|
15
15
|
exports.convertToDB = require_db.convertToDB;
|
package/dist/db/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $t as PluginFieldAttribute, At as mergeSchema, Bt as getAuthTables, Dt as getAdapter, Et as convertToDB, Ft as parseSessionInput, Gt as FieldAttributeToObject, Ht as getMigrations, It as parseSessionOutput, Jt as InferFieldsFromPlugins, Kt as InferAdditionalFieldsFromPluginOptions, Lt as parseUserInput, Mt as parseAccountOutput, Nt as parseAdditionalUserInput, Ot as FieldAttributeToSchema, Pt as parseInputData, Qt as InferValueType, Rt as parseUserOutput, Tt as convertFromDB, Ut as matchType, Vt as getSchema, Xt as InferFieldsInputClient, Yt as InferFieldsInput, Zt as InferFieldsOutput, en as createFieldAttribute, jt as parseAccountInput, kt as toZodSchema, qt as InferFieldsFromOptions, wt as getWithHooks, zt as createInternalAdapter } from "../index-
|
|
1
|
+
import { $t as PluginFieldAttribute, At as mergeSchema, Bt as getAuthTables, Dt as getAdapter, Et as convertToDB, Ft as parseSessionInput, Gt as FieldAttributeToObject, Ht as getMigrations, It as parseSessionOutput, Jt as InferFieldsFromPlugins, Kt as InferAdditionalFieldsFromPluginOptions, Lt as parseUserInput, Mt as parseAccountOutput, Nt as parseAdditionalUserInput, Ot as FieldAttributeToSchema, Pt as parseInputData, Qt as InferValueType, Rt as parseUserOutput, Tt as convertFromDB, Ut as matchType, Vt as getSchema, Xt as InferFieldsInputClient, Yt as InferFieldsInput, Zt as InferFieldsOutput, en as createFieldAttribute, jt as parseAccountInput, kt as toZodSchema, qt as InferFieldsFromOptions, wt as getWithHooks, zt as createInternalAdapter } from "../index-BNCikaaH.cjs";
|
|
2
2
|
import "../hono-DOM31WQz.cjs";
|
|
3
3
|
export * from "@faire-auth/core/db";
|
|
4
4
|
export { FieldAttributeToObject, FieldAttributeToSchema, InferAdditionalFieldsFromPluginOptions, InferFieldsFromOptions, InferFieldsFromPlugins, InferFieldsInput, InferFieldsInputClient, InferFieldsOutput, InferValueType, PluginFieldAttribute, convertFromDB, convertToDB, createFieldAttribute, createInternalAdapter, getAdapter, getAuthTables, getMigrations, getSchema, getWithHooks, matchType, mergeSchema, parseAccountInput, parseAccountOutput, parseAdditionalUserInput, parseInputData, parseSessionInput, parseSessionOutput, parseUserInput, parseUserOutput, toZodSchema };
|
package/dist/db/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $t as PluginFieldAttribute, At as mergeSchema, Bt as getAuthTables, Dt as getAdapter, Et as convertToDB, Ft as parseSessionInput, Gt as FieldAttributeToObject, Ht as getMigrations, It as parseSessionOutput, Jt as InferFieldsFromPlugins, Kt as InferAdditionalFieldsFromPluginOptions, Lt as parseUserInput, Mt as parseAccountOutput, Nt as parseAdditionalUserInput, Ot as FieldAttributeToSchema, Pt as parseInputData, Qt as InferValueType, Rt as parseUserOutput, Tt as convertFromDB, Ut as matchType, Vt as getSchema, Xt as InferFieldsInputClient, Yt as InferFieldsInput, Zt as InferFieldsOutput, en as createFieldAttribute, jt as parseAccountInput, kt as toZodSchema, qt as InferFieldsFromOptions, wt as getWithHooks, zt as createInternalAdapter } from "../index-
|
|
2
|
-
import "../hono-
|
|
1
|
+
import { $t as PluginFieldAttribute, At as mergeSchema, Bt as getAuthTables, Dt as getAdapter, Et as convertToDB, Ft as parseSessionInput, Gt as FieldAttributeToObject, Ht as getMigrations, It as parseSessionOutput, Jt as InferFieldsFromPlugins, Kt as InferAdditionalFieldsFromPluginOptions, Lt as parseUserInput, Mt as parseAccountOutput, Nt as parseAdditionalUserInput, Ot as FieldAttributeToSchema, Pt as parseInputData, Qt as InferValueType, Rt as parseUserOutput, Tt as convertFromDB, Ut as matchType, Vt as getSchema, Xt as InferFieldsInputClient, Yt as InferFieldsInput, Zt as InferFieldsOutput, en as createFieldAttribute, jt as parseAccountInput, kt as toZodSchema, qt as InferFieldsFromOptions, wt as getWithHooks, zt as createInternalAdapter } from "../index-BotKDRUI.mjs";
|
|
2
|
+
import "../hono-D0VqxVy1.mjs";
|
|
3
3
|
export * from "@faire-auth/core/db";
|
|
4
4
|
export { FieldAttributeToObject, FieldAttributeToSchema, InferAdditionalFieldsFromPluginOptions, InferFieldsFromOptions, InferFieldsFromPlugins, InferFieldsInput, InferFieldsInputClient, InferFieldsOutput, InferValueType, PluginFieldAttribute, convertFromDB, convertToDB, createFieldAttribute, createInternalAdapter, getAdapter, getAuthTables, getMigrations, getSchema, getWithHooks, matchType, mergeSchema, parseAccountInput, parseAccountOutput, parseAdditionalUserInput, parseInputData, parseSessionInput, parseSessionOutput, parseUserInput, parseUserOutput, toZodSchema };
|
package/dist/db/index.mjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import "../hono-CoKYWnXA.mjs";
|
|
2
2
|
import "../ip-BjNYspCH.mjs";
|
|
3
|
-
import "../crypto-
|
|
3
|
+
import "../crypto-DH2Aa7jN.mjs";
|
|
4
4
|
import "../json-B1v2qRTQ.mjs";
|
|
5
|
-
import "../state-
|
|
5
|
+
import "../state-CQghgH9I.mjs";
|
|
6
6
|
import "../request-1NL_1lyJ.mjs";
|
|
7
7
|
import "../utils-D4vZd1-9.mjs";
|
|
8
8
|
import { a as parseInputData, c as parseUserInput, i as parseAdditionalUserInput, l as parseUserOutput, n as parseAccountInput, o as parseSessionInput, r as parseAccountOutput, s as parseSessionOutput, t as mergeSchema } from "../schema-DTIwLLmf.mjs";
|
|
9
|
-
import "../kysely-adapter-
|
|
10
|
-
import { n as getAuthTables } from "../adapter-factory-
|
|
11
|
-
import { a as createInternalAdapter, c as matchType, i as toZodSchema, l as getSchema, n as convertToDB, o as getWithHooks, r as getAdapter, s as getMigrations, t as convertFromDB, u as createFieldAttribute } from "../db-
|
|
12
|
-
import "../memory-adapter-
|
|
9
|
+
import "../kysely-adapter-CtIdoHa8.mjs";
|
|
10
|
+
import { n as getAuthTables } from "../adapter-factory-lKIOf2OR.mjs";
|
|
11
|
+
import { a as createInternalAdapter, c as matchType, i as toZodSchema, l as getSchema, n as convertToDB, o as getWithHooks, r as getAdapter, s as getMigrations, t as convertFromDB, u as createFieldAttribute } from "../db-4tUsQJXd.mjs";
|
|
12
|
+
import "../memory-adapter-Dp4XdCZK.mjs";
|
|
13
13
|
|
|
14
14
|
export * from "@faire-auth/core/db"
|
|
15
15
|
|
|
@@ -3,9 +3,9 @@ import { n as getCurrentAdapter, r as runWithTransaction, t as getIp } from "./i
|
|
|
3
3
|
import { t as safeJSONParse } from "./json-B1v2qRTQ.mjs";
|
|
4
4
|
import { r as generateId } from "./utils-D4vZd1-9.mjs";
|
|
5
5
|
import { l as parseUserOutput, s as parseSessionOutput } from "./schema-DTIwLLmf.mjs";
|
|
6
|
-
import { n as createKyselyAdapter, t as kyselyAdapter } from "./kysely-adapter-
|
|
7
|
-
import { n as getAuthTables } from "./adapter-factory-
|
|
8
|
-
import { t as memoryAdapter } from "./memory-adapter-
|
|
6
|
+
import { n as createKyselyAdapter, t as kyselyAdapter } from "./kysely-adapter-CtIdoHa8.mjs";
|
|
7
|
+
import { n as getAuthTables } from "./adapter-factory-lKIOf2OR.mjs";
|
|
8
|
+
import { t as memoryAdapter } from "./memory-adapter-Dp4XdCZK.mjs";
|
|
9
9
|
import { createLogger, logger } from "@faire-auth/core/env";
|
|
10
10
|
import { FaireAuthError } from "@faire-auth/core/error";
|
|
11
11
|
import { isPromise } from "@faire-auth/core/static";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
const require_chunk = require('./chunk-
|
|
2
|
-
const require_hono = require('./hono-
|
|
3
|
-
const require_ip = require('./ip-
|
|
4
|
-
const require_json = require('./json
|
|
5
|
-
const require_schema = require('./schema-
|
|
6
|
-
const require_kysely_adapter = require('./kysely-adapter-
|
|
7
|
-
const require_adapter_factory = require('./adapter-factory-
|
|
8
|
-
const require_memory_adapter = require('./memory-adapter-
|
|
1
|
+
const require_chunk = require('./chunk-fPmz2rbM.cjs');
|
|
2
|
+
const require_hono = require('./hono-C14rpOEa.cjs');
|
|
3
|
+
const require_ip = require('./ip-C17Qdq-G.cjs');
|
|
4
|
+
const require_json = require('./json--tl7Grvs.cjs');
|
|
5
|
+
const require_schema = require('./schema-CirKflVs.cjs');
|
|
6
|
+
const require_kysely_adapter = require('./kysely-adapter-QZTx077T.cjs');
|
|
7
|
+
const require_adapter_factory = require('./adapter-factory-D1I7joki.cjs');
|
|
8
|
+
const require_memory_adapter = require('./memory-adapter-17RZd5df.cjs');
|
|
9
9
|
let __faire_auth_core_env = require("@faire-auth/core/env");
|
|
10
10
|
let __faire_auth_core_error = require("@faire-auth/core/error");
|
|
11
11
|
let __faire_auth_core_static = require("@faire-auth/core/static");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as crypto_exports } from "./crypto-
|
|
2
|
-
import { y as setSessionCookie } from "./cookies-
|
|
1
|
+
import { n as crypto_exports } from "./crypto-DH2Aa7jN.mjs";
|
|
2
|
+
import { y as setSessionCookie } from "./cookies-BTs1o992.mjs";
|
|
3
3
|
import { r as createMiddleware } from "./middleware-CE6OhDkq.mjs";
|
|
4
|
-
import { f as createEndpoint, r as getSessionFromCtx } from "./session-
|
|
4
|
+
import { f as createEndpoint, r as getSessionFromCtx } from "./session-CM3rmOYF.mjs";
|
|
5
5
|
import { n as originCheck } from "./origin-check-8Gajklvh.mjs";
|
|
6
6
|
import { callbackURLSchema, createRoute, emailSchema, req, res } from "@faire-auth/core/factory";
|
|
7
7
|
import { Definitions, False, Routes, SCHEMAS, True } from "@faire-auth/core/static";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
const require_chunk = require('./chunk-
|
|
2
|
-
const require_crypto = require('./crypto-
|
|
3
|
-
const require_cookies = require('./cookies-
|
|
1
|
+
const require_chunk = require('./chunk-fPmz2rbM.cjs');
|
|
2
|
+
const require_crypto = require('./crypto-DpSCnrTp.cjs');
|
|
3
|
+
const require_cookies = require('./cookies-BTl72THv.cjs');
|
|
4
4
|
const require_middleware = require('./middleware-CWvRH4EW.cjs');
|
|
5
|
-
const require_session = require('./session-
|
|
6
|
-
const require_origin_check = require('./origin-check-
|
|
5
|
+
const require_session = require('./session-Cwrj4GfV.cjs');
|
|
6
|
+
const require_origin_check = require('./origin-check-DjLTuZQ8.cjs');
|
|
7
7
|
let __faire_auth_core_factory = require("@faire-auth/core/factory");
|
|
8
8
|
let __faire_auth_core_static = require("@faire-auth/core/static");
|
|
9
9
|
let __faire_auth_core_utils = require("@faire-auth/core/utils");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as getBaseURL } from "./url-BoUuoIwZ.mjs";
|
|
2
2
|
import { a as removeIndexString, i as normaliseHeaders, n as mergeHeaders, o as replaceUrlParam, r as mergePath, s as replaceUrlProtocol, t as buildSearchParams } from "./request-1NL_1lyJ.mjs";
|
|
3
|
-
import { t as defu } from "./defu-
|
|
4
|
-
import { t as parseJSON } from "./parser-
|
|
3
|
+
import { t as defu } from "./defu-D9ZTXqlo.mjs";
|
|
4
|
+
import { t as parseJSON } from "./parser-B25ylT5u.mjs";
|
|
5
5
|
import { serialize } from "hono/utils/cookie";
|
|
6
6
|
import { createFetch } from "@better-fetch/fetch";
|
|
7
7
|
import { atom, onMount } from "nanostores";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const require_chunk = require('./chunk-
|
|
2
|
-
const require_url = require('./url-
|
|
1
|
+
const require_chunk = require('./chunk-fPmz2rbM.cjs');
|
|
2
|
+
const require_url = require('./url-Ce7CVaQD.cjs');
|
|
3
3
|
const require_request = require('./request-CPNlp-DK.cjs');
|
|
4
|
-
const require_defu = require('./defu-
|
|
5
|
-
const require_parser = require('./parser-
|
|
4
|
+
const require_defu = require('./defu-BmOYq4PU.cjs');
|
|
5
|
+
const require_parser = require('./parser-B_wxvaAr.cjs');
|
|
6
6
|
let hono_utils_cookie = require("hono/utils/cookie");
|
|
7
7
|
let __better_fetch_fetch = require("@better-fetch/fetch");
|
|
8
8
|
let nanostores = require("nanostores");
|