better-auth 1.3.7 → 1.3.8-beta.10
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/adapters/drizzle-adapter/index.cjs +5 -4
- package/dist/adapters/drizzle-adapter/index.d.cts +4 -3
- package/dist/adapters/drizzle-adapter/index.d.mts +4 -3
- package/dist/adapters/drizzle-adapter/index.d.ts +4 -3
- package/dist/adapters/drizzle-adapter/index.mjs +5 -4
- package/dist/adapters/index.cjs +5 -4
- package/dist/adapters/index.d.cts +5 -4
- package/dist/adapters/index.d.mts +5 -4
- package/dist/adapters/index.d.ts +5 -4
- package/dist/adapters/index.mjs +5 -4
- package/dist/adapters/kysely-adapter/index.cjs +6 -5
- package/dist/adapters/kysely-adapter/index.d.cts +4 -3
- package/dist/adapters/kysely-adapter/index.d.mts +4 -3
- package/dist/adapters/kysely-adapter/index.d.ts +4 -3
- package/dist/adapters/kysely-adapter/index.mjs +6 -5
- package/dist/adapters/memory-adapter/index.cjs +6 -5
- package/dist/adapters/memory-adapter/index.d.cts +4 -3
- package/dist/adapters/memory-adapter/index.d.mts +4 -3
- package/dist/adapters/memory-adapter/index.d.ts +4 -3
- package/dist/adapters/memory-adapter/index.mjs +6 -5
- package/dist/adapters/mongodb-adapter/index.cjs +6 -5
- package/dist/adapters/mongodb-adapter/index.d.cts +4 -3
- package/dist/adapters/mongodb-adapter/index.d.mts +4 -3
- package/dist/adapters/mongodb-adapter/index.d.ts +4 -3
- package/dist/adapters/mongodb-adapter/index.mjs +6 -5
- package/dist/adapters/prisma-adapter/index.cjs +5 -4
- package/dist/adapters/prisma-adapter/index.d.cts +4 -3
- package/dist/adapters/prisma-adapter/index.d.mts +4 -3
- package/dist/adapters/prisma-adapter/index.d.ts +4 -3
- package/dist/adapters/prisma-adapter/index.mjs +5 -4
- package/dist/adapters/test.cjs +3 -2
- package/dist/adapters/test.d.cts +29 -28
- package/dist/adapters/test.d.mts +29 -28
- package/dist/adapters/test.d.ts +29 -28
- package/dist/adapters/test.mjs +2 -1
- package/dist/api/index.cjs +43 -41
- package/dist/api/index.d.cts +5 -4
- package/dist/api/index.d.mts +5 -4
- package/dist/api/index.d.ts +5 -4
- package/dist/api/index.mjs +14 -11
- package/dist/chunks/node-sqlite-dialect.cjs +171 -0
- package/dist/chunks/node-sqlite-dialect.mjs +165 -0
- package/dist/client/index.cjs +3 -3
- package/dist/client/index.d.cts +10 -7
- package/dist/client/index.d.mts +10 -7
- package/dist/client/index.d.ts +10 -7
- package/dist/client/index.mjs +3 -3
- package/dist/client/plugins/index.cjs +78 -4
- package/dist/client/plugins/index.d.cts +89 -14
- package/dist/client/plugins/index.d.mts +89 -14
- package/dist/client/plugins/index.d.ts +89 -14
- package/dist/client/plugins/index.mjs +79 -7
- package/dist/client/react/index.cjs +2 -2
- package/dist/client/react/index.d.cts +15 -12
- package/dist/client/react/index.d.mts +15 -12
- package/dist/client/react/index.d.ts +15 -12
- package/dist/client/react/index.mjs +2 -2
- package/dist/client/solid/index.cjs +2 -2
- package/dist/client/solid/index.d.cts +6 -5
- package/dist/client/solid/index.d.mts +6 -5
- package/dist/client/solid/index.d.ts +6 -5
- package/dist/client/solid/index.mjs +2 -2
- package/dist/client/svelte/index.cjs +2 -2
- package/dist/client/svelte/index.d.cts +12 -11
- package/dist/client/svelte/index.d.mts +12 -11
- package/dist/client/svelte/index.d.ts +12 -11
- package/dist/client/svelte/index.mjs +2 -2
- package/dist/client/vue/index.cjs +2 -2
- package/dist/client/vue/index.d.cts +6 -5
- package/dist/client/vue/index.d.mts +6 -5
- package/dist/client/vue/index.d.ts +6 -5
- package/dist/client/vue/index.mjs +2 -2
- package/dist/cookies/index.cjs +20 -429
- package/dist/cookies/index.d.cts +4 -3
- package/dist/cookies/index.d.mts +4 -3
- package/dist/cookies/index.d.ts +4 -3
- package/dist/cookies/index.mjs +10 -423
- package/dist/crypto/index.cjs +8 -6
- package/dist/crypto/index.mjs +8 -6
- package/dist/db/index.cjs +8 -7
- package/dist/db/index.d.cts +8 -7
- package/dist/db/index.d.mts +8 -7
- package/dist/db/index.d.ts +8 -7
- package/dist/db/index.mjs +8 -7
- package/dist/index.cjs +18 -15
- package/dist/index.d.cts +15 -13
- package/dist/index.d.mts +15 -13
- package/dist/index.d.ts +15 -13
- package/dist/index.mjs +16 -14
- package/dist/integrations/next-js.cjs +11 -7
- package/dist/integrations/next-js.d.cts +4 -3
- package/dist/integrations/next-js.d.mts +4 -3
- package/dist/integrations/next-js.d.ts +4 -3
- package/dist/integrations/next-js.mjs +10 -6
- package/dist/integrations/node.d.cts +4 -3
- package/dist/integrations/node.d.mts +4 -3
- package/dist/integrations/node.d.ts +4 -3
- package/dist/integrations/react-start.cjs +11 -7
- package/dist/integrations/react-start.d.cts +4 -3
- package/dist/integrations/react-start.d.mts +4 -3
- package/dist/integrations/react-start.d.ts +4 -3
- package/dist/integrations/react-start.mjs +10 -6
- package/dist/integrations/svelte-kit.cjs +8 -6
- package/dist/integrations/svelte-kit.d.cts +10 -12
- package/dist/integrations/svelte-kit.d.mts +10 -12
- package/dist/integrations/svelte-kit.d.ts +10 -12
- package/dist/integrations/svelte-kit.mjs +7 -5
- package/dist/oauth2/index.cjs +14 -10
- package/dist/oauth2/index.d.cts +35 -8
- package/dist/oauth2/index.d.mts +35 -8
- package/dist/oauth2/index.d.ts +35 -8
- package/dist/oauth2/index.mjs +12 -10
- package/dist/plugins/access/index.d.cts +1 -1
- package/dist/plugins/access/index.d.mts +1 -1
- package/dist/plugins/access/index.d.ts +1 -1
- package/dist/plugins/admin/access/index.d.cts +1 -1
- package/dist/plugins/admin/access/index.d.mts +1 -1
- package/dist/plugins/admin/access/index.d.ts +1 -1
- package/dist/plugins/admin/index.cjs +13 -11
- package/dist/plugins/admin/index.d.cts +6 -5
- package/dist/plugins/admin/index.d.mts +6 -5
- package/dist/plugins/admin/index.d.ts +6 -5
- package/dist/plugins/admin/index.mjs +13 -11
- package/dist/plugins/anonymous/index.cjs +16 -14
- package/dist/plugins/anonymous/index.d.cts +4 -3
- package/dist/plugins/anonymous/index.d.mts +4 -3
- package/dist/plugins/anonymous/index.d.ts +4 -3
- package/dist/plugins/anonymous/index.mjs +8 -6
- package/dist/plugins/bearer/index.cjs +8 -6
- package/dist/plugins/bearer/index.d.cts +4 -3
- package/dist/plugins/bearer/index.d.mts +4 -3
- package/dist/plugins/bearer/index.d.ts +4 -3
- package/dist/plugins/bearer/index.mjs +6 -4
- package/dist/plugins/captcha/index.d.cts +4 -3
- package/dist/plugins/captcha/index.d.mts +4 -3
- package/dist/plugins/captcha/index.d.ts +4 -3
- package/dist/plugins/custom-session/index.cjs +29 -11
- package/dist/plugins/custom-session/index.d.cts +19 -4
- package/dist/plugins/custom-session/index.d.mts +19 -4
- package/dist/plugins/custom-session/index.d.ts +19 -4
- package/dist/plugins/custom-session/index.mjs +24 -6
- package/dist/plugins/device-authorization/index.cjs +823 -0
- package/dist/plugins/device-authorization/index.d.cts +641 -0
- package/dist/plugins/device-authorization/index.d.mts +641 -0
- package/dist/plugins/device-authorization/index.d.ts +641 -0
- package/dist/plugins/device-authorization/index.mjs +806 -0
- package/dist/plugins/email-otp/index.cjs +17 -15
- package/dist/plugins/email-otp/index.d.cts +4 -3
- package/dist/plugins/email-otp/index.d.mts +4 -3
- package/dist/plugins/email-otp/index.d.ts +4 -3
- package/dist/plugins/email-otp/index.mjs +8 -6
- package/dist/plugins/generic-oauth/index.cjs +48 -32
- package/dist/plugins/generic-oauth/index.d.cts +7 -20
- package/dist/plugins/generic-oauth/index.d.mts +7 -20
- package/dist/plugins/generic-oauth/index.d.ts +7 -20
- package/dist/plugins/generic-oauth/index.mjs +40 -24
- package/dist/plugins/haveibeenpwned/index.cjs +7 -5
- package/dist/plugins/haveibeenpwned/index.d.cts +4 -3
- package/dist/plugins/haveibeenpwned/index.d.mts +4 -3
- package/dist/plugins/haveibeenpwned/index.d.ts +4 -3
- package/dist/plugins/haveibeenpwned/index.mjs +7 -5
- package/dist/plugins/index.cjs +116 -29
- package/dist/plugins/index.d.cts +128 -11
- package/dist/plugins/index.d.mts +128 -11
- package/dist/plugins/index.d.ts +128 -11
- package/dist/plugins/index.mjs +98 -16
- package/dist/plugins/jwt/index.cjs +69 -154
- package/dist/plugins/jwt/index.d.cts +93 -35
- package/dist/plugins/jwt/index.d.mts +93 -35
- package/dist/plugins/jwt/index.d.ts +93 -35
- package/dist/plugins/jwt/index.mjs +57 -142
- package/dist/plugins/magic-link/index.cjs +14 -12
- package/dist/plugins/magic-link/index.mjs +11 -9
- package/dist/plugins/multi-session/index.cjs +15 -13
- package/dist/plugins/multi-session/index.d.cts +4 -3
- package/dist/plugins/multi-session/index.d.mts +4 -3
- package/dist/plugins/multi-session/index.d.ts +4 -3
- package/dist/plugins/multi-session/index.mjs +8 -6
- package/dist/plugins/oauth-proxy/index.cjs +9 -7
- package/dist/plugins/oauth-proxy/index.d.cts +4 -3
- package/dist/plugins/oauth-proxy/index.d.mts +4 -3
- package/dist/plugins/oauth-proxy/index.d.ts +4 -3
- package/dist/plugins/oauth-proxy/index.mjs +6 -4
- package/dist/plugins/oidc-provider/index.cjs +10 -9
- package/dist/plugins/oidc-provider/index.d.cts +168 -7
- package/dist/plugins/oidc-provider/index.d.mts +168 -7
- package/dist/plugins/oidc-provider/index.d.ts +168 -7
- package/dist/plugins/oidc-provider/index.mjs +10 -9
- package/dist/plugins/one-tap/index.cjs +9 -7
- package/dist/plugins/one-tap/index.mjs +8 -6
- package/dist/plugins/one-time-token/index.cjs +13 -9
- package/dist/plugins/one-time-token/index.d.cts +4 -3
- package/dist/plugins/one-time-token/index.d.mts +4 -3
- package/dist/plugins/one-time-token/index.d.ts +4 -3
- package/dist/plugins/one-time-token/index.mjs +13 -9
- package/dist/plugins/open-api/index.cjs +9 -7
- package/dist/plugins/open-api/index.d.cts +4 -3
- package/dist/plugins/open-api/index.d.mts +4 -3
- package/dist/plugins/open-api/index.d.ts +4 -3
- package/dist/plugins/open-api/index.mjs +7 -5
- package/dist/plugins/organization/access/index.cjs +9 -4
- package/dist/plugins/organization/access/index.d.cts +57 -26
- package/dist/plugins/organization/access/index.d.mts +57 -26
- package/dist/plugins/organization/access/index.d.ts +57 -26
- package/dist/plugins/organization/access/index.mjs +9 -4
- package/dist/plugins/organization/index.cjs +15 -13
- package/dist/plugins/organization/index.d.cts +11821 -2348
- package/dist/plugins/organization/index.d.mts +11821 -2348
- package/dist/plugins/organization/index.d.ts +11821 -2348
- package/dist/plugins/organization/index.mjs +15 -13
- package/dist/plugins/passkey/index.cjs +31 -29
- package/dist/plugins/passkey/index.d.cts +4 -3
- package/dist/plugins/passkey/index.d.mts +4 -3
- package/dist/plugins/passkey/index.d.ts +4 -3
- package/dist/plugins/passkey/index.mjs +9 -7
- package/dist/plugins/phone-number/index.cjs +34 -32
- package/dist/plugins/phone-number/index.d.cts +4 -3
- package/dist/plugins/phone-number/index.d.mts +4 -3
- package/dist/plugins/phone-number/index.d.ts +4 -3
- package/dist/plugins/phone-number/index.mjs +11 -9
- package/dist/plugins/siwe/index.cjs +12 -10
- package/dist/plugins/siwe/index.d.cts +42 -0
- package/dist/plugins/siwe/index.d.mts +42 -0
- package/dist/plugins/siwe/index.d.ts +42 -0
- package/dist/plugins/siwe/index.mjs +10 -8
- package/dist/plugins/sso/index.cjs +12 -10
- package/dist/plugins/sso/index.d.cts +6 -5
- package/dist/plugins/sso/index.d.mts +6 -5
- package/dist/plugins/sso/index.d.ts +6 -5
- package/dist/plugins/sso/index.mjs +8 -6
- package/dist/plugins/two-factor/index.cjs +48 -46
- package/dist/plugins/two-factor/index.d.cts +4 -3
- package/dist/plugins/two-factor/index.d.mts +4 -3
- package/dist/plugins/two-factor/index.d.ts +4 -3
- package/dist/plugins/two-factor/index.mjs +6 -4
- package/dist/plugins/username/index.cjs +20 -18
- package/dist/plugins/username/index.d.cts +6 -5
- package/dist/plugins/username/index.d.mts +6 -5
- package/dist/plugins/username/index.d.ts +6 -5
- package/dist/plugins/username/index.mjs +11 -9
- package/dist/shared/{better-auth.BZajccRg.d.cts → better-auth.3yliDsKn.d.cts} +86 -129
- package/dist/shared/{better-auth.Bk0IzLeq.cjs → better-auth.B2msLoMo.cjs} +18 -13
- package/dist/shared/{better-auth.CXhVNgXP.cjs → better-auth.B3274wGK.cjs} +7 -8
- package/dist/shared/{better-auth.BBL-iB6G.cjs → better-auth.B4ss9kvz.cjs} +1844 -269
- package/dist/shared/{better-auth.CKr8YSiY.d.ts → better-auth.B7wUcYUv.d.ts} +5 -5
- package/dist/shared/{better-auth.B-6xBTSt.mjs → better-auth.BE51sqlX.mjs} +14 -9
- package/dist/shared/{better-auth.CgHSubXi.cjs → better-auth.BEsywhdZ.cjs} +12 -8
- package/dist/shared/{better-auth.DIY9076y.d.ts → better-auth.BGENO5yt.d.ts} +9 -5
- package/dist/shared/{better-auth.Dj5-80xo.mjs → better-auth.BI4JniQN.mjs} +12 -8
- package/dist/shared/{better-auth.DrlGxSnx.cjs → better-auth.BKTHmemy.cjs} +14 -101
- package/dist/shared/better-auth.BMgeJg3r.cjs +17 -0
- package/dist/shared/{better-auth.PnE1qS7H.d.mts → better-auth.BNwYflDf.d.cts} +9 -5
- package/dist/shared/better-auth.BUPPRXfK.mjs +7 -0
- package/dist/shared/{better-auth.CmL3zoTf.cjs → better-auth.BUvUa_Fh.cjs} +20 -10
- package/dist/shared/{better-auth.tB5eU6EY.mjs → better-auth.BZZKN1g7.mjs} +7 -1
- package/dist/shared/{better-auth.mZH9hh8Y.mjs → better-auth.B_KS59W1.mjs} +1808 -233
- package/dist/shared/{better-auth.C31f7Xdb.d.cts → better-auth.BcmAqwY8.d.mts} +1 -1
- package/dist/shared/{better-auth.DORkW_Ge.mjs → better-auth.BfEVD9iF.mjs} +6 -2
- package/dist/shared/better-auth.Bg6iw3ig.cjs +9 -0
- package/dist/shared/{better-auth.DBGfIDnh.mjs → better-auth.BjBlybv-.mjs} +8 -8
- package/dist/shared/better-auth.BpA03GIs.mjs +15 -0
- package/dist/shared/{better-auth.jwa4Tx7v.d.ts → better-auth.BqSNSezY.d.ts} +86 -129
- package/dist/shared/{better-auth.DnUZno9_.d.ts → better-auth.BroX4Ax9.d.ts} +1228 -37
- package/dist/shared/{better-auth.BEphVDyL.cjs → better-auth.Bt_3DcBl.cjs} +6 -2
- package/dist/shared/better-auth.BusfdPsj.cjs +87 -0
- package/dist/shared/better-auth.BvYLXwvp.cjs +209 -0
- package/dist/shared/{better-auth.C3xCP8gd.mjs → better-auth.CBdfkPoe.mjs} +4 -3
- package/dist/shared/{better-auth.Je5iPAGQ.d.mts → better-auth.CIAkhMRl.d.cts} +1228 -37
- package/dist/shared/better-auth.CLv80Pwz.cjs +526 -0
- package/dist/shared/better-auth.CY7-Inqt.mjs +203 -0
- package/dist/shared/{better-auth.DOu-HY-s.cjs → better-auth.CZpfmhXT.cjs} +1 -1
- package/dist/shared/{better-auth.w8Fh9P7L.d.mts → better-auth.C_bHpPsy.d.mts} +86 -129
- package/dist/shared/{better-auth.gBl3F_xa.mjs → better-auth.CfB-tQyX.mjs} +11 -4
- package/dist/shared/{better-auth.Ck3n8bMC.cjs → better-auth.CgIMrxKr.cjs} +7 -3
- package/dist/shared/{better-auth.BVaTxNzZ.cjs → better-auth.CnfAXqRG.cjs} +36 -35
- package/dist/shared/{better-auth.DRCA5tuq.mjs → better-auth.CpaD1RO9.mjs} +1 -1
- package/dist/shared/{better-auth.ttwhJPkY.cjs → better-auth.CwxQpTGf.cjs} +2 -2
- package/dist/shared/{better-auth.gn8iAL5-.mjs → better-auth.CxFDzRIT.mjs} +21 -2
- package/dist/shared/better-auth.D5q0JUiv.cjs +420 -0
- package/dist/shared/{better-auth.BbL1R1Sz.mjs → better-auth.D7PawI_-.mjs} +1270 -826
- package/dist/shared/{better-auth.Z1sWc9EO.d.cts → better-auth.DDTALJ7Z.d.mts} +9 -5
- package/dist/shared/better-auth.DOFt_82p.mjs +70 -0
- package/dist/shared/{better-auth.BDR52Rf2.d.cts → better-auth.DTtXpZYr.d.cts} +2 -1
- package/dist/shared/{better-auth.BDR52Rf2.d.mts → better-auth.DTtXpZYr.d.mts} +2 -1
- package/dist/shared/{better-auth.BDR52Rf2.d.ts → better-auth.DTtXpZYr.d.ts} +2 -1
- package/dist/shared/{better-auth.DHZncyos.d.mts → better-auth.DUKSwh6f.d.mts} +5 -5
- package/dist/shared/better-auth.DV5EHeYG.mjs +497 -0
- package/dist/shared/{better-auth.DGpadpzN.mjs → better-auth.DayjxkqD.mjs} +2 -2
- package/dist/shared/{better-auth.AEdHzBYL.cjs → better-auth.Di5iHMA7.cjs} +76 -55
- package/dist/shared/{better-auth.Cp0qi26u.d.ts → better-auth.DnFXVrX6.d.ts} +1 -1
- package/dist/shared/{better-auth.Bb5wrmet.d.cts → better-auth.DsJow7DS.d.cts} +5 -5
- package/dist/shared/{better-auth.BX7dnGA9.mjs → better-auth.DskHRUA7.mjs} +12 -2
- package/dist/shared/{better-auth.C-iQKHit.cjs → better-auth.NTJWm3qM.cjs} +1372 -932
- package/dist/shared/better-auth.UfVWArIB.mjs +408 -0
- package/dist/shared/{better-auth.Cg1dmr5y.cjs → better-auth.XbRtJVmM.cjs} +1 -1
- package/dist/shared/{better-auth.DzBLnNed.cjs → better-auth.ZhaALnFz.cjs} +12 -5
- package/dist/shared/{better-auth.BRIhBAUU.mjs → better-auth.ZuseLTF5.mjs} +57 -36
- package/dist/shared/{better-auth.AjWsFGR2.mjs → better-auth.ifuaFFT6.mjs} +1 -1
- package/dist/shared/{better-auth.Buni1mmI.mjs → better-auth.kTs0zHGZ.mjs} +7 -3
- package/dist/shared/{better-auth.BfcAnEQf.mjs → better-auth.ni8tK7Wv.mjs} +39 -56
- package/dist/shared/{better-auth.rlJsdl11.mjs → better-auth.sJR84kSG.mjs} +11 -98
- package/dist/shared/{better-auth.D3mtHEZg.cjs → better-auth.vPQBmXQL.cjs} +7 -1
- package/dist/shared/{better-auth.CkqBZvXM.d.cts → better-auth.yUcj3lqG.d.mts} +1228 -37
- package/dist/shared/{better-auth.B0iWTKws.cjs → better-auth.yYFlLPlP.cjs} +57 -74
- package/dist/shared/{better-auth.Bm_lsK_X.cjs → better-auth.zQKOFY7X.cjs} +21 -2
- package/dist/shared/{better-auth.CKAyWRcu.d.mts → better-auth.zpDcXYac.d.cts} +1 -1
- package/dist/social-providers/index.cjs +21 -11
- package/dist/social-providers/index.d.cts +2 -2
- package/dist/social-providers/index.d.mts +2 -2
- package/dist/social-providers/index.d.ts +2 -2
- package/dist/social-providers/index.mjs +12 -10
- package/dist/test-utils/index.cjs +26 -18
- package/dist/test-utils/index.d.cts +110 -193
- package/dist/test-utils/index.d.mts +110 -193
- package/dist/test-utils/index.d.ts +110 -193
- package/dist/test-utils/index.mjs +26 -18
- package/dist/types/index.d.cts +5 -4
- package/dist/types/index.d.mts +5 -4
- package/dist/types/index.d.ts +5 -4
- package/package.json +25 -9
- package/dist/shared/better-auth.CGrHn1Ih.mjs +0 -28
- package/dist/shared/better-auth.D7N9YNr5.cjs +0 -25
- package/dist/shared/better-auth.DI0OyFsZ.cjs +0 -44
- package/dist/shared/better-auth.Dt0CvI2z.mjs +0 -23
|
@@ -2,10 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
const drizzleOrm = require('drizzle-orm');
|
|
4
4
|
const index$1 = require('../../shared/better-auth.ANpbi45u.cjs');
|
|
5
|
-
const index = require('../../shared/better-auth.
|
|
6
|
-
require('../../shared/better-auth.
|
|
7
|
-
require('../../shared/better-auth.
|
|
8
|
-
require('../../shared/better-auth.
|
|
5
|
+
const index = require('../../shared/better-auth.ZhaALnFz.cjs');
|
|
6
|
+
require('../../shared/better-auth.vPQBmXQL.cjs');
|
|
7
|
+
require('../../shared/better-auth.B3274wGK.cjs');
|
|
8
|
+
require('../../shared/better-auth.Bt_3DcBl.cjs');
|
|
9
|
+
require('../../shared/better-auth.Bg6iw3ig.cjs');
|
|
9
10
|
require('@better-auth/utils/random');
|
|
10
11
|
require('zod/v4');
|
|
11
12
|
require('better-call');
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.
|
|
1
|
+
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.3yliDsKn.cjs';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
|
-
import '../../shared/better-auth.
|
|
6
|
-
import '../../shared/better-auth.
|
|
5
|
+
import '../../shared/better-auth.DTtXpZYr.cjs';
|
|
6
|
+
import '../../shared/better-auth.CIAkhMRl.cjs';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'zod';
|
|
10
10
|
import 'better-sqlite3';
|
|
11
11
|
import 'bun:sqlite';
|
|
12
|
+
import 'node:sqlite';
|
|
12
13
|
|
|
13
14
|
interface DB {
|
|
14
15
|
[key: string]: any;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.
|
|
1
|
+
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.C_bHpPsy.mjs';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
|
-
import '../../shared/better-auth.
|
|
6
|
-
import '../../shared/better-auth.
|
|
5
|
+
import '../../shared/better-auth.DTtXpZYr.mjs';
|
|
6
|
+
import '../../shared/better-auth.yUcj3lqG.mjs';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'zod';
|
|
10
10
|
import 'better-sqlite3';
|
|
11
11
|
import 'bun:sqlite';
|
|
12
|
+
import 'node:sqlite';
|
|
12
13
|
|
|
13
14
|
interface DB {
|
|
14
15
|
[key: string]: any;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.
|
|
1
|
+
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.BqSNSezY.js';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
|
-
import '../../shared/better-auth.
|
|
6
|
-
import '../../shared/better-auth.
|
|
5
|
+
import '../../shared/better-auth.DTtXpZYr.js';
|
|
6
|
+
import '../../shared/better-auth.BroX4Ax9.js';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'zod';
|
|
10
10
|
import 'better-sqlite3';
|
|
11
11
|
import 'bun:sqlite';
|
|
12
|
+
import 'node:sqlite';
|
|
12
13
|
|
|
13
14
|
interface DB {
|
|
14
15
|
[key: string]: any;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { count, desc, asc, sql, eq, inArray, like, lt, lte, ne, gt, gte, and, or } from 'drizzle-orm';
|
|
2
2
|
import { B as BetterAuthError } from '../../shared/better-auth.DdzSJf-n.mjs';
|
|
3
|
-
import { c as createAdapter } from '../../shared/better-auth.
|
|
4
|
-
import '../../shared/better-auth.
|
|
5
|
-
import '../../shared/better-auth.
|
|
6
|
-
import '../../shared/better-auth.
|
|
3
|
+
import { c as createAdapter } from '../../shared/better-auth.CfB-tQyX.mjs';
|
|
4
|
+
import '../../shared/better-auth.BZZKN1g7.mjs';
|
|
5
|
+
import '../../shared/better-auth.BjBlybv-.mjs';
|
|
6
|
+
import '../../shared/better-auth.BfEVD9iF.mjs';
|
|
7
|
+
import '../../shared/better-auth.BUPPRXfK.mjs';
|
|
7
8
|
import '@better-auth/utils/random';
|
|
8
9
|
import 'zod/v4';
|
|
9
10
|
import 'better-call';
|
package/dist/adapters/index.cjs
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('../shared/better-auth.
|
|
4
|
-
require('../shared/better-auth.
|
|
5
|
-
require('../shared/better-auth.
|
|
6
|
-
require('../shared/better-auth.
|
|
3
|
+
const index = require('../shared/better-auth.ZhaALnFz.cjs');
|
|
4
|
+
require('../shared/better-auth.vPQBmXQL.cjs');
|
|
5
|
+
require('../shared/better-auth.B3274wGK.cjs');
|
|
6
|
+
require('../shared/better-auth.Bt_3DcBl.cjs');
|
|
7
|
+
require('../shared/better-auth.Bg6iw3ig.cjs');
|
|
7
8
|
require('@better-auth/utils/random');
|
|
8
9
|
require('zod/v4');
|
|
9
10
|
require('better-call');
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import { b as AdapterConfig, C as CreateCustomAdapter, B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.
|
|
2
|
-
export { A as AdapterDebugLogs, e as AdapterTestDebugLogs, d as CleanedWhere, c as CustomAdapter } from '../shared/better-auth.
|
|
1
|
+
import { b as AdapterConfig, C as CreateCustomAdapter, B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.3yliDsKn.cjs';
|
|
2
|
+
export { A as AdapterDebugLogs, e as AdapterTestDebugLogs, d as CleanedWhere, c as CustomAdapter } from '../shared/better-auth.3yliDsKn.cjs';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'better-call';
|
|
5
5
|
import 'zod/v4';
|
|
6
|
-
import '../shared/better-auth.
|
|
7
|
-
import '../shared/better-auth.
|
|
6
|
+
import '../shared/better-auth.DTtXpZYr.cjs';
|
|
7
|
+
import '../shared/better-auth.CIAkhMRl.cjs';
|
|
8
8
|
import 'jose';
|
|
9
9
|
import 'zod/v4/core';
|
|
10
10
|
import 'zod';
|
|
11
11
|
import 'better-sqlite3';
|
|
12
12
|
import 'bun:sqlite';
|
|
13
|
+
import 'node:sqlite';
|
|
13
14
|
|
|
14
15
|
declare const createAdapter: ({ adapter, config: cfg, }: {
|
|
15
16
|
config: AdapterConfig;
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import { b as AdapterConfig, C as CreateCustomAdapter, B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.
|
|
2
|
-
export { A as AdapterDebugLogs, e as AdapterTestDebugLogs, d as CleanedWhere, c as CustomAdapter } from '../shared/better-auth.
|
|
1
|
+
import { b as AdapterConfig, C as CreateCustomAdapter, B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.C_bHpPsy.mjs';
|
|
2
|
+
export { A as AdapterDebugLogs, e as AdapterTestDebugLogs, d as CleanedWhere, c as CustomAdapter } from '../shared/better-auth.C_bHpPsy.mjs';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'better-call';
|
|
5
5
|
import 'zod/v4';
|
|
6
|
-
import '../shared/better-auth.
|
|
7
|
-
import '../shared/better-auth.
|
|
6
|
+
import '../shared/better-auth.DTtXpZYr.mjs';
|
|
7
|
+
import '../shared/better-auth.yUcj3lqG.mjs';
|
|
8
8
|
import 'jose';
|
|
9
9
|
import 'zod/v4/core';
|
|
10
10
|
import 'zod';
|
|
11
11
|
import 'better-sqlite3';
|
|
12
12
|
import 'bun:sqlite';
|
|
13
|
+
import 'node:sqlite';
|
|
13
14
|
|
|
14
15
|
declare const createAdapter: ({ adapter, config: cfg, }: {
|
|
15
16
|
config: AdapterConfig;
|
package/dist/adapters/index.d.ts
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import { b as AdapterConfig, C as CreateCustomAdapter, B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.
|
|
2
|
-
export { A as AdapterDebugLogs, e as AdapterTestDebugLogs, d as CleanedWhere, c as CustomAdapter } from '../shared/better-auth.
|
|
1
|
+
import { b as AdapterConfig, C as CreateCustomAdapter, B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.BqSNSezY.js';
|
|
2
|
+
export { A as AdapterDebugLogs, e as AdapterTestDebugLogs, d as CleanedWhere, c as CustomAdapter } from '../shared/better-auth.BqSNSezY.js';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'better-call';
|
|
5
5
|
import 'zod/v4';
|
|
6
|
-
import '../shared/better-auth.
|
|
7
|
-
import '../shared/better-auth.
|
|
6
|
+
import '../shared/better-auth.DTtXpZYr.js';
|
|
7
|
+
import '../shared/better-auth.BroX4Ax9.js';
|
|
8
8
|
import 'jose';
|
|
9
9
|
import 'zod/v4/core';
|
|
10
10
|
import 'zod';
|
|
11
11
|
import 'better-sqlite3';
|
|
12
12
|
import 'bun:sqlite';
|
|
13
|
+
import 'node:sqlite';
|
|
13
14
|
|
|
14
15
|
declare const createAdapter: ({ adapter, config: cfg, }: {
|
|
15
16
|
config: AdapterConfig;
|
package/dist/adapters/index.mjs
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
export { c as createAdapter } from '../shared/better-auth.
|
|
2
|
-
import '../shared/better-auth.
|
|
3
|
-
import '../shared/better-auth.
|
|
4
|
-
import '../shared/better-auth.
|
|
1
|
+
export { c as createAdapter } from '../shared/better-auth.CfB-tQyX.mjs';
|
|
2
|
+
import '../shared/better-auth.BZZKN1g7.mjs';
|
|
3
|
+
import '../shared/better-auth.BjBlybv-.mjs';
|
|
4
|
+
import '../shared/better-auth.BfEVD9iF.mjs';
|
|
5
|
+
import '../shared/better-auth.BUPPRXfK.mjs';
|
|
5
6
|
import '@better-auth/utils/random';
|
|
6
7
|
import 'zod/v4';
|
|
7
8
|
import 'better-call';
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const kyselyAdapter = require('../../shared/better-auth.
|
|
3
|
+
const kyselyAdapter = require('../../shared/better-auth.zQKOFY7X.cjs');
|
|
4
4
|
require('kysely');
|
|
5
|
-
require('../../shared/better-auth.
|
|
6
|
-
require('../../shared/better-auth.
|
|
7
|
-
require('../../shared/better-auth.
|
|
8
|
-
require('../../shared/better-auth.
|
|
5
|
+
require('../../shared/better-auth.ZhaALnFz.cjs');
|
|
6
|
+
require('../../shared/better-auth.vPQBmXQL.cjs');
|
|
7
|
+
require('../../shared/better-auth.B3274wGK.cjs');
|
|
8
|
+
require('../../shared/better-auth.Bt_3DcBl.cjs');
|
|
9
|
+
require('../../shared/better-auth.Bg6iw3ig.cjs');
|
|
9
10
|
require('@better-auth/utils/random');
|
|
10
11
|
require('zod/v4');
|
|
11
12
|
require('better-call');
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { Kysely } from 'kysely';
|
|
2
|
-
import { B as BetterAuthOptions, K as KyselyDatabaseType, A as AdapterDebugLogs, a as Adapter } from '../../shared/better-auth.
|
|
2
|
+
import { B as BetterAuthOptions, K as KyselyDatabaseType, A as AdapterDebugLogs, a as Adapter } from '../../shared/better-auth.3yliDsKn.cjs';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
|
-
import '../../shared/better-auth.
|
|
6
|
-
import '../../shared/better-auth.
|
|
5
|
+
import '../../shared/better-auth.DTtXpZYr.cjs';
|
|
6
|
+
import '../../shared/better-auth.CIAkhMRl.cjs';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'zod';
|
|
10
10
|
import 'better-sqlite3';
|
|
11
11
|
import 'bun:sqlite';
|
|
12
|
+
import 'node:sqlite';
|
|
12
13
|
|
|
13
14
|
declare function getKyselyDatabaseType(db: BetterAuthOptions["database"]): KyselyDatabaseType | null;
|
|
14
15
|
declare const createKyselyAdapter: (config: BetterAuthOptions) => Promise<{
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { Kysely } from 'kysely';
|
|
2
|
-
import { B as BetterAuthOptions, K as KyselyDatabaseType, A as AdapterDebugLogs, a as Adapter } from '../../shared/better-auth.
|
|
2
|
+
import { B as BetterAuthOptions, K as KyselyDatabaseType, A as AdapterDebugLogs, a as Adapter } from '../../shared/better-auth.C_bHpPsy.mjs';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
|
-
import '../../shared/better-auth.
|
|
6
|
-
import '../../shared/better-auth.
|
|
5
|
+
import '../../shared/better-auth.DTtXpZYr.mjs';
|
|
6
|
+
import '../../shared/better-auth.yUcj3lqG.mjs';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'zod';
|
|
10
10
|
import 'better-sqlite3';
|
|
11
11
|
import 'bun:sqlite';
|
|
12
|
+
import 'node:sqlite';
|
|
12
13
|
|
|
13
14
|
declare function getKyselyDatabaseType(db: BetterAuthOptions["database"]): KyselyDatabaseType | null;
|
|
14
15
|
declare const createKyselyAdapter: (config: BetterAuthOptions) => Promise<{
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { Kysely } from 'kysely';
|
|
2
|
-
import { B as BetterAuthOptions, K as KyselyDatabaseType, A as AdapterDebugLogs, a as Adapter } from '../../shared/better-auth.
|
|
2
|
+
import { B as BetterAuthOptions, K as KyselyDatabaseType, A as AdapterDebugLogs, a as Adapter } from '../../shared/better-auth.BqSNSezY.js';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
|
-
import '../../shared/better-auth.
|
|
6
|
-
import '../../shared/better-auth.
|
|
5
|
+
import '../../shared/better-auth.DTtXpZYr.js';
|
|
6
|
+
import '../../shared/better-auth.BroX4Ax9.js';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'zod';
|
|
10
10
|
import 'better-sqlite3';
|
|
11
11
|
import 'bun:sqlite';
|
|
12
|
+
import 'node:sqlite';
|
|
12
13
|
|
|
13
14
|
declare function getKyselyDatabaseType(db: BetterAuthOptions["database"]): KyselyDatabaseType | null;
|
|
14
15
|
declare const createKyselyAdapter: (config: BetterAuthOptions) => Promise<{
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
export { c as createKyselyAdapter, g as getKyselyDatabaseType, k as kyselyAdapter } from '../../shared/better-auth.
|
|
1
|
+
export { c as createKyselyAdapter, g as getKyselyDatabaseType, k as kyselyAdapter } from '../../shared/better-auth.CxFDzRIT.mjs';
|
|
2
2
|
import 'kysely';
|
|
3
|
-
import '../../shared/better-auth.
|
|
4
|
-
import '../../shared/better-auth.
|
|
5
|
-
import '../../shared/better-auth.
|
|
6
|
-
import '../../shared/better-auth.
|
|
3
|
+
import '../../shared/better-auth.CfB-tQyX.mjs';
|
|
4
|
+
import '../../shared/better-auth.BZZKN1g7.mjs';
|
|
5
|
+
import '../../shared/better-auth.BjBlybv-.mjs';
|
|
6
|
+
import '../../shared/better-auth.BfEVD9iF.mjs';
|
|
7
|
+
import '../../shared/better-auth.BUPPRXfK.mjs';
|
|
7
8
|
import '@better-auth/utils/random';
|
|
8
9
|
import 'zod/v4';
|
|
9
10
|
import 'better-call';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const memoryAdapter = require('../../shared/better-auth.
|
|
3
|
+
const memoryAdapter = require('../../shared/better-auth.CwxQpTGf.cjs');
|
|
4
4
|
require('@better-auth/utils/random');
|
|
5
5
|
require('zod/v4');
|
|
6
6
|
require('better-call');
|
|
@@ -15,10 +15,11 @@ require('@better-auth/utils');
|
|
|
15
15
|
require('@better-auth/utils/hex');
|
|
16
16
|
require('@noble/hashes/utils');
|
|
17
17
|
require('../../shared/better-auth.CYeOI8C-.cjs');
|
|
18
|
-
require('../../shared/better-auth.
|
|
19
|
-
require('../../shared/better-auth.
|
|
20
|
-
require('../../shared/better-auth.
|
|
21
|
-
require('../../shared/better-auth.
|
|
18
|
+
require('../../shared/better-auth.B3274wGK.cjs');
|
|
19
|
+
require('../../shared/better-auth.ZhaALnFz.cjs');
|
|
20
|
+
require('../../shared/better-auth.vPQBmXQL.cjs');
|
|
21
|
+
require('../../shared/better-auth.Bt_3DcBl.cjs');
|
|
22
|
+
require('../../shared/better-auth.Bg6iw3ig.cjs');
|
|
22
23
|
|
|
23
24
|
|
|
24
25
|
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.
|
|
1
|
+
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.3yliDsKn.cjs';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
|
-
import '../../shared/better-auth.
|
|
6
|
-
import '../../shared/better-auth.
|
|
5
|
+
import '../../shared/better-auth.DTtXpZYr.cjs';
|
|
6
|
+
import '../../shared/better-auth.CIAkhMRl.cjs';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'zod';
|
|
10
10
|
import 'better-sqlite3';
|
|
11
11
|
import 'bun:sqlite';
|
|
12
|
+
import 'node:sqlite';
|
|
12
13
|
|
|
13
14
|
interface MemoryDB {
|
|
14
15
|
[key: string]: any[];
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.
|
|
1
|
+
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.C_bHpPsy.mjs';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
|
-
import '../../shared/better-auth.
|
|
6
|
-
import '../../shared/better-auth.
|
|
5
|
+
import '../../shared/better-auth.DTtXpZYr.mjs';
|
|
6
|
+
import '../../shared/better-auth.yUcj3lqG.mjs';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'zod';
|
|
10
10
|
import 'better-sqlite3';
|
|
11
11
|
import 'bun:sqlite';
|
|
12
|
+
import 'node:sqlite';
|
|
12
13
|
|
|
13
14
|
interface MemoryDB {
|
|
14
15
|
[key: string]: any[];
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.
|
|
1
|
+
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.BqSNSezY.js';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
|
-
import '../../shared/better-auth.
|
|
6
|
-
import '../../shared/better-auth.
|
|
5
|
+
import '../../shared/better-auth.DTtXpZYr.js';
|
|
6
|
+
import '../../shared/better-auth.BroX4Ax9.js';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'zod';
|
|
10
10
|
import 'better-sqlite3';
|
|
11
11
|
import 'bun:sqlite';
|
|
12
|
+
import 'node:sqlite';
|
|
12
13
|
|
|
13
14
|
interface MemoryDB {
|
|
14
15
|
[key: string]: any[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { m as memoryAdapter } from '../../shared/better-auth.
|
|
1
|
+
export { m as memoryAdapter } from '../../shared/better-auth.DayjxkqD.mjs';
|
|
2
2
|
import '@better-auth/utils/random';
|
|
3
3
|
import 'zod/v4';
|
|
4
4
|
import 'better-call';
|
|
@@ -13,7 +13,8 @@ import '@better-auth/utils';
|
|
|
13
13
|
import '@better-auth/utils/hex';
|
|
14
14
|
import '@noble/hashes/utils';
|
|
15
15
|
import '../../shared/better-auth.B4Qoxdgc.mjs';
|
|
16
|
-
import '../../shared/better-auth.
|
|
17
|
-
import '../../shared/better-auth.
|
|
18
|
-
import '../../shared/better-auth.
|
|
19
|
-
import '../../shared/better-auth.
|
|
16
|
+
import '../../shared/better-auth.BjBlybv-.mjs';
|
|
17
|
+
import '../../shared/better-auth.CfB-tQyX.mjs';
|
|
18
|
+
import '../../shared/better-auth.BZZKN1g7.mjs';
|
|
19
|
+
import '../../shared/better-auth.BfEVD9iF.mjs';
|
|
20
|
+
import '../../shared/better-auth.BUPPRXfK.mjs';
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const mongodbAdapter = require('../../shared/better-auth.
|
|
3
|
+
const mongodbAdapter = require('../../shared/better-auth.XbRtJVmM.cjs');
|
|
4
4
|
require('mongodb');
|
|
5
|
-
require('../../shared/better-auth.
|
|
6
|
-
require('../../shared/better-auth.
|
|
7
|
-
require('../../shared/better-auth.
|
|
8
|
-
require('../../shared/better-auth.
|
|
5
|
+
require('../../shared/better-auth.ZhaALnFz.cjs');
|
|
6
|
+
require('../../shared/better-auth.vPQBmXQL.cjs');
|
|
7
|
+
require('../../shared/better-auth.B3274wGK.cjs');
|
|
8
|
+
require('../../shared/better-auth.Bt_3DcBl.cjs');
|
|
9
|
+
require('../../shared/better-auth.Bg6iw3ig.cjs');
|
|
9
10
|
require('@better-auth/utils/random');
|
|
10
11
|
require('zod/v4');
|
|
11
12
|
require('better-call');
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.
|
|
1
|
+
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.3yliDsKn.cjs';
|
|
2
2
|
import { Db } from 'mongodb';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'better-call';
|
|
5
5
|
import 'zod/v4';
|
|
6
|
-
import '../../shared/better-auth.
|
|
7
|
-
import '../../shared/better-auth.
|
|
6
|
+
import '../../shared/better-auth.DTtXpZYr.cjs';
|
|
7
|
+
import '../../shared/better-auth.CIAkhMRl.cjs';
|
|
8
8
|
import 'jose';
|
|
9
9
|
import 'zod/v4/core';
|
|
10
10
|
import 'zod';
|
|
11
11
|
import 'better-sqlite3';
|
|
12
12
|
import 'bun:sqlite';
|
|
13
|
+
import 'node:sqlite';
|
|
13
14
|
|
|
14
15
|
interface MongoDBAdapterConfig {
|
|
15
16
|
/**
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.
|
|
1
|
+
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.C_bHpPsy.mjs';
|
|
2
2
|
import { Db } from 'mongodb';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'better-call';
|
|
5
5
|
import 'zod/v4';
|
|
6
|
-
import '../../shared/better-auth.
|
|
7
|
-
import '../../shared/better-auth.
|
|
6
|
+
import '../../shared/better-auth.DTtXpZYr.mjs';
|
|
7
|
+
import '../../shared/better-auth.yUcj3lqG.mjs';
|
|
8
8
|
import 'jose';
|
|
9
9
|
import 'zod/v4/core';
|
|
10
10
|
import 'zod';
|
|
11
11
|
import 'better-sqlite3';
|
|
12
12
|
import 'bun:sqlite';
|
|
13
|
+
import 'node:sqlite';
|
|
13
14
|
|
|
14
15
|
interface MongoDBAdapterConfig {
|
|
15
16
|
/**
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.
|
|
1
|
+
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.BqSNSezY.js';
|
|
2
2
|
import { Db } from 'mongodb';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'better-call';
|
|
5
5
|
import 'zod/v4';
|
|
6
|
-
import '../../shared/better-auth.
|
|
7
|
-
import '../../shared/better-auth.
|
|
6
|
+
import '../../shared/better-auth.DTtXpZYr.js';
|
|
7
|
+
import '../../shared/better-auth.BroX4Ax9.js';
|
|
8
8
|
import 'jose';
|
|
9
9
|
import 'zod/v4/core';
|
|
10
10
|
import 'zod';
|
|
11
11
|
import 'better-sqlite3';
|
|
12
12
|
import 'bun:sqlite';
|
|
13
|
+
import 'node:sqlite';
|
|
13
14
|
|
|
14
15
|
interface MongoDBAdapterConfig {
|
|
15
16
|
/**
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
export { m as mongodbAdapter } from '../../shared/better-auth.
|
|
1
|
+
export { m as mongodbAdapter } from '../../shared/better-auth.CpaD1RO9.mjs';
|
|
2
2
|
import 'mongodb';
|
|
3
|
-
import '../../shared/better-auth.
|
|
4
|
-
import '../../shared/better-auth.
|
|
5
|
-
import '../../shared/better-auth.
|
|
6
|
-
import '../../shared/better-auth.
|
|
3
|
+
import '../../shared/better-auth.CfB-tQyX.mjs';
|
|
4
|
+
import '../../shared/better-auth.BZZKN1g7.mjs';
|
|
5
|
+
import '../../shared/better-auth.BjBlybv-.mjs';
|
|
6
|
+
import '../../shared/better-auth.BfEVD9iF.mjs';
|
|
7
|
+
import '../../shared/better-auth.BUPPRXfK.mjs';
|
|
7
8
|
import '@better-auth/utils/random';
|
|
8
9
|
import 'zod/v4';
|
|
9
10
|
import 'better-call';
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const index$1 = require('../../shared/better-auth.ANpbi45u.cjs');
|
|
4
|
-
const index = require('../../shared/better-auth.
|
|
5
|
-
require('../../shared/better-auth.
|
|
6
|
-
require('../../shared/better-auth.
|
|
7
|
-
require('../../shared/better-auth.
|
|
4
|
+
const index = require('../../shared/better-auth.ZhaALnFz.cjs');
|
|
5
|
+
require('../../shared/better-auth.vPQBmXQL.cjs');
|
|
6
|
+
require('../../shared/better-auth.B3274wGK.cjs');
|
|
7
|
+
require('../../shared/better-auth.Bt_3DcBl.cjs');
|
|
8
|
+
require('../../shared/better-auth.Bg6iw3ig.cjs');
|
|
8
9
|
require('@better-auth/utils/random');
|
|
9
10
|
require('zod/v4');
|
|
10
11
|
require('better-call');
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.
|
|
1
|
+
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.3yliDsKn.cjs';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
|
-
import '../../shared/better-auth.
|
|
6
|
-
import '../../shared/better-auth.
|
|
5
|
+
import '../../shared/better-auth.DTtXpZYr.cjs';
|
|
6
|
+
import '../../shared/better-auth.CIAkhMRl.cjs';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'zod';
|
|
10
10
|
import 'better-sqlite3';
|
|
11
11
|
import 'bun:sqlite';
|
|
12
|
+
import 'node:sqlite';
|
|
12
13
|
|
|
13
14
|
interface PrismaConfig {
|
|
14
15
|
/**
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.
|
|
1
|
+
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.C_bHpPsy.mjs';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
|
-
import '../../shared/better-auth.
|
|
6
|
-
import '../../shared/better-auth.
|
|
5
|
+
import '../../shared/better-auth.DTtXpZYr.mjs';
|
|
6
|
+
import '../../shared/better-auth.yUcj3lqG.mjs';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'zod';
|
|
10
10
|
import 'better-sqlite3';
|
|
11
11
|
import 'bun:sqlite';
|
|
12
|
+
import 'node:sqlite';
|
|
12
13
|
|
|
13
14
|
interface PrismaConfig {
|
|
14
15
|
/**
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.
|
|
1
|
+
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.BqSNSezY.js';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
|
-
import '../../shared/better-auth.
|
|
6
|
-
import '../../shared/better-auth.
|
|
5
|
+
import '../../shared/better-auth.DTtXpZYr.js';
|
|
6
|
+
import '../../shared/better-auth.BroX4Ax9.js';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'zod';
|
|
10
10
|
import 'better-sqlite3';
|
|
11
11
|
import 'bun:sqlite';
|
|
12
|
+
import 'node:sqlite';
|
|
12
13
|
|
|
13
14
|
interface PrismaConfig {
|
|
14
15
|
/**
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { B as BetterAuthError } from '../../shared/better-auth.DdzSJf-n.mjs';
|
|
2
|
-
import { c as createAdapter } from '../../shared/better-auth.
|
|
3
|
-
import '../../shared/better-auth.
|
|
4
|
-
import '../../shared/better-auth.
|
|
5
|
-
import '../../shared/better-auth.
|
|
2
|
+
import { c as createAdapter } from '../../shared/better-auth.CfB-tQyX.mjs';
|
|
3
|
+
import '../../shared/better-auth.BZZKN1g7.mjs';
|
|
4
|
+
import '../../shared/better-auth.BjBlybv-.mjs';
|
|
5
|
+
import '../../shared/better-auth.BfEVD9iF.mjs';
|
|
6
|
+
import '../../shared/better-auth.BUPPRXfK.mjs';
|
|
6
7
|
import '@better-auth/utils/random';
|
|
7
8
|
import 'zod/v4';
|
|
8
9
|
import 'better-call';
|
package/dist/adapters/test.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const vitest = require('vitest');
|
|
4
|
-
const
|
|
4
|
+
const id = require('../shared/better-auth.Bg6iw3ig.cjs');
|
|
5
5
|
require('zod/v4');
|
|
6
6
|
require('better-call');
|
|
7
7
|
require('@better-auth/utils/hash');
|
|
@@ -15,6 +15,7 @@ require('@better-auth/utils');
|
|
|
15
15
|
require('@better-auth/utils/hex');
|
|
16
16
|
require('@noble/hashes/utils');
|
|
17
17
|
require('../shared/better-auth.CYeOI8C-.cjs');
|
|
18
|
+
require('../shared/better-auth.B3274wGK.cjs');
|
|
18
19
|
require('@better-auth/utils/random');
|
|
19
20
|
|
|
20
21
|
const adapterTests = {
|
|
@@ -336,7 +337,7 @@ async function adapterTest({ getAdapter, disableTests: disabledTests, testPrefix
|
|
|
336
337
|
const session = await (await adapter()).create({
|
|
337
338
|
model: "session",
|
|
338
339
|
data: {
|
|
339
|
-
token:
|
|
340
|
+
token: id.generateId(),
|
|
340
341
|
createdAt: /* @__PURE__ */ new Date(),
|
|
341
342
|
updatedAt: /* @__PURE__ */ new Date(),
|
|
342
343
|
userId: user2.id,
|