better-auth 1.3.8-beta.1 → 1.3.8-beta.3
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 +3 -3
- package/dist/adapters/drizzle-adapter/index.d.cts +3 -3
- package/dist/adapters/drizzle-adapter/index.d.mts +3 -3
- package/dist/adapters/drizzle-adapter/index.d.ts +3 -3
- package/dist/adapters/drizzle-adapter/index.mjs +3 -3
- package/dist/adapters/index.cjs +3 -3
- package/dist/adapters/index.d.cts +4 -4
- package/dist/adapters/index.d.mts +4 -4
- package/dist/adapters/index.d.ts +4 -4
- package/dist/adapters/index.mjs +3 -3
- package/dist/adapters/kysely-adapter/index.cjs +4 -4
- package/dist/adapters/kysely-adapter/index.d.cts +3 -3
- package/dist/adapters/kysely-adapter/index.d.mts +3 -3
- package/dist/adapters/kysely-adapter/index.d.ts +3 -3
- package/dist/adapters/kysely-adapter/index.mjs +4 -4
- package/dist/adapters/memory-adapter/index.cjs +4 -4
- package/dist/adapters/memory-adapter/index.d.cts +3 -3
- package/dist/adapters/memory-adapter/index.d.mts +3 -3
- package/dist/adapters/memory-adapter/index.d.ts +3 -3
- package/dist/adapters/memory-adapter/index.mjs +4 -4
- package/dist/adapters/mongodb-adapter/index.cjs +4 -4
- package/dist/adapters/mongodb-adapter/index.d.cts +3 -3
- package/dist/adapters/mongodb-adapter/index.d.mts +3 -3
- package/dist/adapters/mongodb-adapter/index.d.ts +3 -3
- package/dist/adapters/mongodb-adapter/index.mjs +4 -4
- package/dist/adapters/prisma-adapter/index.cjs +3 -3
- package/dist/adapters/prisma-adapter/index.d.cts +3 -3
- package/dist/adapters/prisma-adapter/index.d.mts +3 -3
- package/dist/adapters/prisma-adapter/index.d.ts +3 -3
- package/dist/adapters/prisma-adapter/index.mjs +3 -3
- package/dist/adapters/test.cjs +1 -1
- package/dist/adapters/test.d.cts +3 -3
- package/dist/adapters/test.d.mts +3 -3
- package/dist/adapters/test.d.ts +3 -3
- package/dist/adapters/test.mjs +1 -1
- package/dist/api/index.cjs +38 -37
- package/dist/api/index.d.cts +3 -3
- package/dist/api/index.d.mts +3 -3
- package/dist/api/index.d.ts +3 -3
- package/dist/api/index.mjs +9 -7
- package/dist/chunks/node-sqlite-dialect.cjs +171 -0
- package/dist/chunks/node-sqlite-dialect.mjs +165 -0
- package/dist/client/index.cjs +2 -2
- package/dist/client/index.d.cts +5 -5
- package/dist/client/index.d.mts +5 -5
- package/dist/client/index.d.ts +5 -5
- package/dist/client/index.mjs +2 -2
- package/dist/client/plugins/index.cjs +2 -0
- package/dist/client/plugins/index.d.cts +6 -5
- package/dist/client/plugins/index.d.mts +6 -5
- package/dist/client/plugins/index.d.ts +6 -5
- package/dist/client/plugins/index.mjs +1 -0
- package/dist/client/react/index.cjs +1 -1
- package/dist/client/react/index.d.cts +4 -4
- package/dist/client/react/index.d.mts +4 -4
- package/dist/client/react/index.d.ts +4 -4
- package/dist/client/react/index.mjs +1 -1
- package/dist/client/solid/index.cjs +1 -1
- package/dist/client/solid/index.d.cts +10 -10
- package/dist/client/solid/index.d.mts +10 -10
- package/dist/client/solid/index.d.ts +10 -10
- package/dist/client/solid/index.mjs +1 -1
- package/dist/client/svelte/index.cjs +1 -1
- package/dist/client/svelte/index.d.cts +10 -10
- package/dist/client/svelte/index.d.mts +10 -10
- package/dist/client/svelte/index.d.ts +10 -10
- package/dist/client/svelte/index.mjs +1 -1
- package/dist/client/vue/index.cjs +1 -1
- package/dist/client/vue/index.d.cts +4 -4
- package/dist/client/vue/index.d.mts +4 -4
- package/dist/client/vue/index.d.ts +4 -4
- package/dist/client/vue/index.mjs +1 -1
- package/dist/cookies/index.cjs +20 -430
- package/dist/cookies/index.d.cts +3 -3
- package/dist/cookies/index.d.mts +3 -3
- package/dist/cookies/index.d.ts +3 -3
- package/dist/cookies/index.mjs +10 -424
- package/dist/db/index.cjs +6 -6
- package/dist/db/index.d.cts +4 -4
- package/dist/db/index.d.mts +4 -4
- package/dist/db/index.d.ts +4 -4
- package/dist/db/index.mjs +6 -6
- package/dist/index.cjs +11 -10
- package/dist/index.d.cts +13 -13
- package/dist/index.d.mts +13 -13
- package/dist/index.d.ts +13 -13
- package/dist/index.mjs +11 -10
- package/dist/integrations/next-js.cjs +9 -6
- package/dist/integrations/next-js.d.cts +3 -3
- package/dist/integrations/next-js.d.mts +3 -3
- package/dist/integrations/next-js.d.ts +3 -3
- package/dist/integrations/next-js.mjs +8 -5
- package/dist/integrations/node.d.cts +3 -3
- package/dist/integrations/node.d.mts +3 -3
- package/dist/integrations/node.d.ts +3 -3
- package/dist/integrations/react-start.cjs +9 -6
- package/dist/integrations/react-start.d.cts +3 -3
- package/dist/integrations/react-start.d.mts +3 -3
- package/dist/integrations/react-start.d.ts +3 -3
- package/dist/integrations/react-start.mjs +8 -5
- package/dist/integrations/svelte-kit.cjs +6 -5
- package/dist/integrations/svelte-kit.d.cts +3 -3
- package/dist/integrations/svelte-kit.d.mts +3 -3
- package/dist/integrations/svelte-kit.d.ts +3 -3
- package/dist/integrations/svelte-kit.mjs +5 -4
- package/dist/oauth2/index.cjs +13 -10
- package/dist/oauth2/index.d.cts +34 -8
- package/dist/oauth2/index.d.mts +34 -8
- package/dist/oauth2/index.d.ts +34 -8
- package/dist/oauth2/index.mjs +11 -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 +12 -11
- package/dist/plugins/admin/index.d.cts +7 -7
- package/dist/plugins/admin/index.d.mts +7 -7
- package/dist/plugins/admin/index.d.ts +7 -7
- package/dist/plugins/admin/index.mjs +12 -11
- package/dist/plugins/anonymous/index.cjs +12 -11
- package/dist/plugins/anonymous/index.d.cts +3 -3
- package/dist/plugins/anonymous/index.d.mts +3 -3
- package/dist/plugins/anonymous/index.d.ts +3 -3
- package/dist/plugins/anonymous/index.mjs +6 -5
- package/dist/plugins/bearer/index.cjs +7 -6
- package/dist/plugins/bearer/index.d.cts +3 -3
- package/dist/plugins/bearer/index.d.mts +3 -3
- package/dist/plugins/bearer/index.d.ts +3 -3
- package/dist/plugins/bearer/index.mjs +5 -4
- package/dist/plugins/captcha/index.d.cts +3 -3
- package/dist/plugins/captcha/index.d.mts +3 -3
- package/dist/plugins/captcha/index.d.ts +3 -3
- package/dist/plugins/custom-session/index.cjs +10 -9
- package/dist/plugins/custom-session/index.d.cts +3 -3
- package/dist/plugins/custom-session/index.d.mts +3 -3
- package/dist/plugins/custom-session/index.d.ts +3 -3
- package/dist/plugins/custom-session/index.mjs +5 -4
- package/dist/plugins/device-authorization/index.cjs +922 -0
- package/dist/plugins/device-authorization/index.d.cts +638 -0
- package/dist/plugins/device-authorization/index.d.mts +638 -0
- package/dist/plugins/device-authorization/index.d.ts +638 -0
- package/dist/plugins/device-authorization/index.mjs +905 -0
- package/dist/plugins/email-otp/index.cjs +16 -15
- package/dist/plugins/email-otp/index.d.cts +3 -3
- package/dist/plugins/email-otp/index.d.mts +3 -3
- package/dist/plugins/email-otp/index.d.ts +3 -3
- package/dist/plugins/email-otp/index.mjs +7 -6
- package/dist/plugins/generic-oauth/index.cjs +46 -31
- package/dist/plugins/generic-oauth/index.d.cts +5 -19
- package/dist/plugins/generic-oauth/index.d.mts +5 -19
- package/dist/plugins/generic-oauth/index.d.ts +5 -19
- package/dist/plugins/generic-oauth/index.mjs +38 -23
- package/dist/plugins/haveibeenpwned/index.cjs +5 -4
- package/dist/plugins/haveibeenpwned/index.d.cts +3 -3
- package/dist/plugins/haveibeenpwned/index.d.mts +3 -3
- package/dist/plugins/haveibeenpwned/index.d.ts +3 -3
- package/dist/plugins/haveibeenpwned/index.mjs +5 -4
- package/dist/plugins/index.cjs +30 -24
- package/dist/plugins/index.d.cts +8 -7
- package/dist/plugins/index.d.mts +8 -7
- package/dist/plugins/index.d.ts +8 -7
- package/dist/plugins/index.mjs +14 -11
- package/dist/plugins/jwt/index.cjs +58 -17
- package/dist/plugins/jwt/index.d.cts +14 -3
- package/dist/plugins/jwt/index.d.mts +14 -3
- package/dist/plugins/jwt/index.d.ts +14 -3
- package/dist/plugins/jwt/index.mjs +53 -12
- package/dist/plugins/magic-link/index.cjs +13 -12
- package/dist/plugins/magic-link/index.mjs +10 -9
- package/dist/plugins/multi-session/index.cjs +14 -13
- package/dist/plugins/multi-session/index.d.cts +3 -3
- package/dist/plugins/multi-session/index.d.mts +3 -3
- package/dist/plugins/multi-session/index.d.ts +3 -3
- package/dist/plugins/multi-session/index.mjs +7 -6
- package/dist/plugins/oauth-proxy/index.cjs +8 -7
- package/dist/plugins/oauth-proxy/index.d.cts +3 -3
- package/dist/plugins/oauth-proxy/index.d.mts +3 -3
- package/dist/plugins/oauth-proxy/index.d.ts +3 -3
- package/dist/plugins/oauth-proxy/index.mjs +5 -4
- package/dist/plugins/oidc-provider/index.cjs +6 -5
- package/dist/plugins/oidc-provider/index.d.cts +7 -7
- package/dist/plugins/oidc-provider/index.d.mts +7 -7
- package/dist/plugins/oidc-provider/index.d.ts +7 -7
- package/dist/plugins/oidc-provider/index.mjs +6 -5
- package/dist/plugins/one-tap/index.cjs +8 -7
- package/dist/plugins/one-tap/index.mjs +7 -6
- package/dist/plugins/one-time-token/index.cjs +11 -8
- package/dist/plugins/one-time-token/index.d.cts +3 -3
- package/dist/plugins/one-time-token/index.d.mts +3 -3
- package/dist/plugins/one-time-token/index.d.ts +3 -3
- package/dist/plugins/one-time-token/index.mjs +11 -8
- package/dist/plugins/open-api/index.cjs +7 -6
- package/dist/plugins/open-api/index.d.cts +3 -3
- package/dist/plugins/open-api/index.d.mts +3 -3
- package/dist/plugins/open-api/index.d.ts +3 -3
- package/dist/plugins/open-api/index.mjs +5 -4
- package/dist/plugins/organization/access/index.d.cts +1 -1
- package/dist/plugins/organization/access/index.d.mts +1 -1
- package/dist/plugins/organization/access/index.d.ts +1 -1
- package/dist/plugins/organization/index.cjs +13 -12
- package/dist/plugins/organization/index.d.cts +7 -7
- package/dist/plugins/organization/index.d.mts +7 -7
- package/dist/plugins/organization/index.d.ts +7 -7
- package/dist/plugins/organization/index.mjs +13 -12
- package/dist/plugins/passkey/index.cjs +23 -22
- package/dist/plugins/passkey/index.d.cts +3 -3
- package/dist/plugins/passkey/index.d.mts +3 -3
- package/dist/plugins/passkey/index.d.ts +3 -3
- package/dist/plugins/passkey/index.mjs +7 -6
- package/dist/plugins/phone-number/index.cjs +32 -31
- package/dist/plugins/phone-number/index.d.cts +3 -3
- package/dist/plugins/phone-number/index.d.mts +3 -3
- package/dist/plugins/phone-number/index.d.ts +3 -3
- package/dist/plugins/phone-number/index.mjs +9 -8
- package/dist/plugins/siwe/index.cjs +11 -10
- package/dist/plugins/siwe/index.d.cts +41 -0
- package/dist/plugins/siwe/index.d.mts +41 -0
- package/dist/plugins/siwe/index.d.ts +41 -0
- package/dist/plugins/siwe/index.mjs +9 -8
- package/dist/plugins/sso/index.cjs +11 -10
- package/dist/plugins/sso/index.d.cts +5 -5
- package/dist/plugins/sso/index.d.mts +5 -5
- package/dist/plugins/sso/index.d.ts +5 -5
- package/dist/plugins/sso/index.mjs +7 -6
- package/dist/plugins/two-factor/index.cjs +47 -46
- package/dist/plugins/two-factor/index.d.cts +3 -3
- package/dist/plugins/two-factor/index.d.mts +3 -3
- package/dist/plugins/two-factor/index.d.ts +3 -3
- package/dist/plugins/two-factor/index.mjs +5 -4
- package/dist/plugins/username/index.cjs +19 -18
- package/dist/plugins/username/index.d.cts +5 -5
- package/dist/plugins/username/index.d.mts +5 -5
- package/dist/plugins/username/index.d.ts +5 -5
- package/dist/plugins/username/index.mjs +10 -9
- package/dist/shared/{better-auth.CwsxfHfN.mjs → better-auth.B-xYKxwt.mjs} +9 -97
- package/dist/shared/{better-auth.Bf5MnLaK.d.cts → better-auth.B29NjI62.d.cts} +4 -4
- package/dist/shared/{better-auth.GpOOav9x.cjs → better-auth.B3274wGK.cjs} +7 -1
- package/dist/shared/{better-auth.p1GhhfhV.mjs → better-auth.B548OOOk.mjs} +32 -30
- package/dist/shared/better-auth.BMgeJg3r.cjs +17 -0
- package/dist/shared/{better-auth.BCerfnoo.cjs → better-auth.BNhZazTR.cjs} +20 -1
- package/dist/shared/{better-auth.DIfzDoPN.mjs → better-auth.BQNzC8cU.mjs} +1 -1
- package/dist/shared/{better-auth.gABN3TsS.mjs → better-auth.BSGkasIG.mjs} +2 -2
- package/dist/shared/{better-auth.6hiPn8Kd.d.mts → better-auth.BU9YW_qQ.d.cts} +6 -6
- package/dist/shared/{better-auth.0SyTY9U9.d.ts → better-auth.BWfwO5vl.d.cts} +21 -73
- package/dist/shared/{better-auth.BDEfedYa.d.mts → better-auth.BYJu3IQC.d.ts} +4 -4
- package/dist/shared/{better-auth.PgM8qMHr.mjs → better-auth.BZZKN1g7.mjs} +1 -1
- package/dist/shared/{better-auth.BtemoGGn.mjs → better-auth.B_3Nie7C.mjs} +2 -2
- package/dist/shared/{better-auth.CCCUvENJ.cjs → better-auth.BblrvPZ3.cjs} +1 -1
- package/dist/shared/better-auth.BfeJWAMn.mjs +497 -0
- package/dist/shared/{better-auth.DH3YjMQH.mjs → better-auth.BjBlybv-.mjs} +7 -1
- package/dist/shared/better-auth.BpA03GIs.mjs +15 -0
- package/dist/shared/{better-auth.DrzbcRgZ.cjs → better-auth.BpptWVxZ.cjs} +65 -64
- package/dist/shared/{better-auth.D85s0t2j.d.mts → better-auth.BqrGtIt2.d.mts} +1 -1
- package/dist/shared/{better-auth.C_0BlDB0.d.ts → better-auth.BvN9j5Ap.d.ts} +1 -1
- package/dist/shared/{better-auth.BS4wi0R-.d.mts → better-auth.Bxn_1Cii.d.ts} +21 -73
- package/dist/shared/{better-auth.DiE4yQHn.mjs → better-auth.C8Y2rhan.mjs} +5 -4
- package/dist/shared/{better-auth.Co0UDY4N.cjs → better-auth.CFZJKUMM.cjs} +10 -98
- package/dist/shared/{better-auth.CVQe8izV.mjs → better-auth.CGGao4aY.mjs} +7 -0
- package/dist/shared/{better-auth.NCWQv_ti.cjs → better-auth.CKjaHNrP.cjs} +39 -45
- package/dist/shared/{better-auth.CFtZttAn.cjs → better-auth.CL4S7WA5.cjs} +2 -2
- package/dist/shared/{better-auth.Bgs2SPcK.cjs → better-auth.CMnvkNNK.cjs} +2 -2
- package/dist/shared/{better-auth.BbDyeJdW.cjs → better-auth.CR4J09bm.cjs} +6 -5
- package/dist/shared/{better-auth.DMus0Wrm.mjs → better-auth.Cl1MyjEq.mjs} +254 -510
- package/dist/shared/{better-auth.Db2g2HxM.cjs → better-auth.CmdI9lHT.cjs} +1 -1
- package/dist/shared/{better-auth.DrQaSEU_.mjs → better-auth.CsvyivcG.mjs} +21 -27
- package/dist/shared/{better-auth.CVYnNkfw.cjs → better-auth.CtToz4qL.cjs} +7 -0
- package/dist/shared/{better-auth.YmpB7UaD.d.cts → better-auth.D2gg3ys1.d.cts} +1 -1
- package/dist/shared/{better-auth.Je5iPAGQ.d.mts → better-auth.D4yr0Ou1.d.ts} +200 -11
- package/dist/shared/{better-auth.HYhkNVyD.mjs → better-auth.D96SwENp.mjs} +20 -1
- package/dist/shared/better-auth.DF-MUmVw.mjs +479 -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.BDBtglk1.mjs → better-auth.DVsI0DHa.mjs} +1 -1
- package/dist/shared/{better-auth.DX362szo.mjs → better-auth.DY8mXezF.mjs} +4 -3
- package/dist/shared/{better-auth.PFi3XfiT.mjs → better-auth.DZVMh_VM.mjs} +3 -2
- package/dist/shared/better-auth.DmBU2Klq.cjs +526 -0
- package/dist/shared/{better-auth._D1fz1Yx.d.ts → better-auth.DoFtnL_B.d.mts} +4 -4
- package/dist/shared/{better-auth.MrJBhiF6.mjs → better-auth.Dqe7GuxR.mjs} +4 -4
- package/dist/shared/{better-auth.CkqBZvXM.d.cts → better-auth.Du7MKGKS.d.cts} +200 -11
- package/dist/shared/{better-auth.X6YzBCDT.d.cts → better-auth.DymB1NxW.d.mts} +6 -6
- package/dist/shared/{better-auth.DnUZno9_.d.ts → better-auth.F1OUHOUm.d.mts} +200 -11
- package/dist/shared/{better-auth.CRyLLXtn.cjs → better-auth.UmJlYEfa.cjs} +395 -662
- package/dist/shared/{better-auth.WTr4EDT7.cjs → better-auth.cBJ0kvYy.cjs} +36 -35
- package/dist/shared/better-auth.l2-e84v_.cjs +491 -0
- package/dist/shared/{better-auth.CkEkCniR.d.cts → better-auth.oCjO5qEz.d.mts} +21 -73
- package/dist/shared/{better-auth.D4eTSyUO.cjs → better-auth.pXA_xs2e.cjs} +50 -48
- package/dist/shared/{better-auth.DrKKZc3v.cjs → better-auth.spuYC23a.cjs} +4 -4
- package/dist/shared/{better-auth.CLfudv58.d.ts → better-auth.tDeNcGKy.d.ts} +5 -5
- package/dist/shared/{better-auth.DbrEw0kN.cjs → better-auth.vPQBmXQL.cjs} +1 -1
- package/dist/social-providers/index.cjs +12 -10
- 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 +11 -10
- package/dist/test-utils/index.cjs +16 -13
- package/dist/test-utils/index.d.cts +32 -116
- package/dist/test-utils/index.d.mts +32 -116
- package/dist/test-utils/index.d.ts +32 -116
- package/dist/test-utils/index.mjs +16 -13
- package/dist/types/index.d.cts +4 -4
- package/dist/types/index.d.mts +4 -4
- package/dist/types/index.d.ts +4 -4
- package/package.json +20 -4
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
import 'zod/v4';
|
|
2
|
-
export {
|
|
2
|
+
export { ae as LANG, W as SocialProviderListEnum, X as apple, Z as discord, _ as dropbox, $ as facebook, Y as getApplePublicKey, a0 as github, a3 as gitlab, a4 as google, ah as huggingface, a5 as kick, a1 as linear, a2 as linkedin, a6 as microsoft, a7 as notion, aj as paypal, a8 as reddit, a9 as roblox, ai as slack, V as socialProviderList, U as socialProviders, aa as spotify, ab as tiktok, ac as twitch, ad as twitter, af as vk, ag as zoom } from '../shared/better-auth.Cl1MyjEq.mjs';
|
|
3
|
+
import '../shared/better-auth.BfeJWAMn.mjs';
|
|
3
4
|
import 'better-call';
|
|
4
5
|
import '../shared/better-auth.CW6D9eSx.mjs';
|
|
5
|
-
import '
|
|
6
|
+
import '../shared/better-auth.DF-MUmVw.mjs';
|
|
7
|
+
import '../shared/better-auth.DdzSJf-n.mjs';
|
|
8
|
+
import '../shared/better-auth.CMQ3rA-I.mjs';
|
|
6
9
|
import '@better-auth/utils/base64';
|
|
10
|
+
import '@better-auth/utils/hmac';
|
|
11
|
+
import '../shared/better-auth.BZZKN1g7.mjs';
|
|
12
|
+
import '../shared/better-auth.BjBlybv-.mjs';
|
|
13
|
+
import '../shared/better-auth.CuS_eDdK.mjs';
|
|
14
|
+
import '@better-auth/utils/binary';
|
|
15
|
+
import '@better-auth/utils/hash';
|
|
7
16
|
import '../crypto/index.mjs';
|
|
8
17
|
import '@noble/ciphers/chacha';
|
|
9
18
|
import '@noble/ciphers/utils';
|
|
@@ -16,14 +25,6 @@ import '@noble/hashes/utils';
|
|
|
16
25
|
import '../shared/better-auth.B4Qoxdgc.mjs';
|
|
17
26
|
import '@better-auth/utils/random';
|
|
18
27
|
import '@better-fetch/fetch';
|
|
19
|
-
import '../shared/better-auth.CuS_eDdK.mjs';
|
|
20
|
-
import '../shared/better-auth.CMQ3rA-I.mjs';
|
|
21
|
-
import '../shared/better-auth.DdzSJf-n.mjs';
|
|
22
|
-
import '../cookies/index.mjs';
|
|
23
|
-
import '@better-auth/utils/hmac';
|
|
24
|
-
import '../shared/better-auth.PgM8qMHr.mjs';
|
|
25
|
-
import '../shared/better-auth.DH3YjMQH.mjs';
|
|
26
|
-
import '@better-auth/utils/binary';
|
|
27
28
|
import 'jose/errors';
|
|
28
29
|
import '../shared/better-auth.BUPPRXfK.mjs';
|
|
29
30
|
import '../shared/better-auth.n2KFGwjY.mjs';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const vitest = require('vitest');
|
|
4
|
-
const auth = require('../shared/better-auth.
|
|
5
|
-
const vanilla = require('../shared/better-auth.
|
|
6
|
-
const getMigration = require('../shared/better-auth.
|
|
4
|
+
const auth = require('../shared/better-auth.CFZJKUMM.cjs');
|
|
5
|
+
const vanilla = require('../shared/better-auth.CmdI9lHT.cjs');
|
|
6
|
+
const getMigration = require('../shared/better-auth.spuYC23a.cjs');
|
|
7
7
|
require('../shared/better-auth.B6fIklBU.cjs');
|
|
8
8
|
require('@better-auth/utils/base64');
|
|
9
9
|
require('@better-auth/utils/hmac');
|
|
10
|
-
require('../shared/better-auth.
|
|
10
|
+
require('../shared/better-auth.B3274wGK.cjs');
|
|
11
11
|
const url = require('../shared/better-auth.DRmln2Nr.cjs');
|
|
12
12
|
require('@better-auth/utils/binary');
|
|
13
|
-
const cookies_index = require('../
|
|
13
|
+
const cookies_index = require('../shared/better-auth.l2-e84v_.cjs');
|
|
14
14
|
const kysely = require('kysely');
|
|
15
15
|
const require$$0$3 = require('events');
|
|
16
16
|
const require$$1 = require('util');
|
|
@@ -23,7 +23,7 @@ const require$$0$6 = require('path');
|
|
|
23
23
|
const require$$0$5 = require('stream');
|
|
24
24
|
const require$$1$2 = require('string_decoder');
|
|
25
25
|
const mongodb = require('mongodb');
|
|
26
|
-
const mongodbAdapter = require('../shared/better-auth.
|
|
26
|
+
const mongodbAdapter = require('../shared/better-auth.BblrvPZ3.cjs');
|
|
27
27
|
const require$$0$8 = require('process');
|
|
28
28
|
const require$$1$3 = require('timers');
|
|
29
29
|
const require$$0$7 = require('buffer');
|
|
@@ -31,9 +31,10 @@ const require$$0$9 = require('zlib');
|
|
|
31
31
|
const require$$0$a = require('url');
|
|
32
32
|
require('better-call');
|
|
33
33
|
require('zod/v4');
|
|
34
|
-
require('../shared/better-auth.
|
|
34
|
+
require('../shared/better-auth.DmBU2Klq.cjs');
|
|
35
|
+
require('../shared/better-auth.UmJlYEfa.cjs');
|
|
35
36
|
require('../shared/better-auth.BIMq4RPW.cjs');
|
|
36
|
-
require('../shared/better-auth.
|
|
37
|
+
require('../shared/better-auth.CR4J09bm.cjs');
|
|
37
38
|
require('../plugins/organization/access/index.cjs');
|
|
38
39
|
require('@better-auth/utils/random');
|
|
39
40
|
require('@better-auth/utils/hash');
|
|
@@ -54,8 +55,9 @@ require('../shared/better-auth.DI0OyFsZ.cjs');
|
|
|
54
55
|
require('zod');
|
|
55
56
|
require('../plugins/custom-session/index.cjs');
|
|
56
57
|
require('@noble/hashes/sha3');
|
|
58
|
+
require('../plugins/device-authorization/index.cjs');
|
|
57
59
|
require('../api/index.cjs');
|
|
58
|
-
require('../shared/better-auth.
|
|
60
|
+
require('../shared/better-auth.vPQBmXQL.cjs');
|
|
59
61
|
require('../shared/better-auth.Cxlqz5AU.cjs');
|
|
60
62
|
require('../shared/better-auth.C1hdVENX.cjs');
|
|
61
63
|
require('../crypto/index.cjs');
|
|
@@ -65,15 +67,16 @@ require('../shared/better-auth.Bg6iw3ig.cjs');
|
|
|
65
67
|
require('defu');
|
|
66
68
|
require('../shared/better-auth.BEphVDyL.cjs');
|
|
67
69
|
require('../shared/better-auth.CDXNofOe.cjs');
|
|
68
|
-
require('../shared/better-auth.
|
|
69
|
-
require('../shared/better-auth.
|
|
70
|
-
require('../shared/better-auth.
|
|
70
|
+
require('../shared/better-auth.BNhZazTR.cjs');
|
|
71
|
+
require('../shared/better-auth.CMnvkNNK.cjs');
|
|
72
|
+
require('../shared/better-auth.CtToz4qL.cjs');
|
|
71
73
|
require('nanostores');
|
|
72
74
|
require('../shared/better-auth.Ck3n8bMC.cjs');
|
|
73
75
|
require('../shared/better-auth.DhsGZ30Q.cjs');
|
|
74
76
|
require('../shared/better-auth.BLDOwz3i.cjs');
|
|
75
|
-
require('../shared/better-auth.
|
|
77
|
+
require('../shared/better-auth.CL4S7WA5.cjs');
|
|
76
78
|
require('../plugins/access/index.cjs');
|
|
79
|
+
require('../shared/better-auth.BMgeJg3r.cjs');
|
|
77
80
|
|
|
78
81
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e.default : e; }
|
|
79
82
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as nanostores from 'nanostores';
|
|
2
2
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
3
3
|
import { SuccessContext } from '@better-fetch/fetch';
|
|
4
|
-
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, d as InferRoute, c as InferErrorCodes } from '../shared/better-auth.
|
|
5
|
-
import { B as BetterAuthOptions, U as User, t as InferAPI, a as Adapter, u as AdditionalSessionFieldsOutput, n as Auth, v as AdditionalUserFieldsOutput, w as InferFieldsFromPlugins, x as InferFieldsFromOptions, y as AdditionalUserFieldsInput, h as BetterAuthPlugin, p as AuthContext, z as InferPluginTypes, i as InferPluginErrorCodes, F as FilterActions, S as Session, D as setCookieToHeader } from '../shared/better-auth.
|
|
4
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, d as InferRoute, c as InferErrorCodes } from '../shared/better-auth.B29NjI62.cjs';
|
|
5
|
+
import { B as BetterAuthOptions, U as User, t as InferAPI, a as Adapter, u as AdditionalSessionFieldsOutput, n as Auth, v as AdditionalUserFieldsOutput, w as InferFieldsFromPlugins, x as InferFieldsFromOptions, y as AdditionalUserFieldsInput, h as BetterAuthPlugin, p as AuthContext, z as InferPluginTypes, i as InferPluginErrorCodes, F as FilterActions, S as Session, D as setCookieToHeader } from '../shared/better-auth.BWfwO5vl.cjs';
|
|
6
6
|
import * as better_call from 'better-call';
|
|
7
|
-
import { U as UnionToIntersection, S as StripEmptyObjects, a as Prettify } from '../shared/better-auth.
|
|
7
|
+
import { U as UnionToIntersection, S as StripEmptyObjects, a as Prettify } from '../shared/better-auth.DTtXpZYr.cjs';
|
|
8
8
|
import * as zod_v4_core from 'zod/v4/core';
|
|
9
|
-
import { O as OAuth2Tokens } from '../shared/better-auth.
|
|
9
|
+
import { O as OAuth2Tokens, a as OAuth2UserInfo } from '../shared/better-auth.Du7MKGKS.cjs';
|
|
10
10
|
import * as zod from 'zod';
|
|
11
11
|
import { Kysely } from 'kysely';
|
|
12
12
|
import 'zod/v4';
|
|
@@ -215,7 +215,7 @@ declare function getTestInstanceMemory<O extends Partial<BetterAuthOptions>, C e
|
|
|
215
215
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
216
216
|
newUserCallbackURL: zod.ZodOptional<zod.ZodString>;
|
|
217
217
|
errorCallbackURL: zod.ZodOptional<zod.ZodString>;
|
|
218
|
-
provider: zod.ZodType<"github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "zoom" | "notion" | (string & {}), unknown, zod_v4_core.$ZodTypeInternals<"github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "zoom" | "notion" | (string & {}), unknown>>;
|
|
218
|
+
provider: zod.ZodType<"github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "zoom" | "notion" | "paypal" | (string & {}), unknown, zod_v4_core.$ZodTypeInternals<"github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "zoom" | "notion" | "paypal" | (string & {}), unknown>>;
|
|
219
219
|
disableRedirect: zod.ZodOptional<zod.ZodBoolean>;
|
|
220
220
|
idToken: zod.ZodOptional<zod.ZodObject<{
|
|
221
221
|
token: zod.ZodString;
|
|
@@ -4671,7 +4671,7 @@ declare function getTestInstanceMemory<O extends Partial<BetterAuthOptions>, C e
|
|
|
4671
4671
|
requireHeaders: true;
|
|
4672
4672
|
body: zod.ZodObject<{
|
|
4673
4673
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
4674
|
-
provider: zod.ZodType<"github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "zoom" | "notion" | (string & {}), unknown, zod_v4_core.$ZodTypeInternals<"github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "zoom" | "notion" | (string & {}), unknown>>;
|
|
4674
|
+
provider: zod.ZodType<"github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "zoom" | "notion" | "paypal" | (string & {}), unknown, zod_v4_core.$ZodTypeInternals<"github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "zoom" | "notion" | "paypal" | (string & {}), unknown>>;
|
|
4675
4675
|
idToken: zod.ZodOptional<zod.ZodObject<{
|
|
4676
4676
|
token: zod.ZodString;
|
|
4677
4677
|
nonce: zod.ZodOptional<zod.ZodString>;
|
|
@@ -5223,23 +5223,11 @@ declare function getTestInstanceMemory<O extends Partial<BetterAuthOptions>, C e
|
|
|
5223
5223
|
}): Promise<[AsResponse] extends [true] ? Response : [ReturnHeaders] extends [true] ? {
|
|
5224
5224
|
headers: Headers;
|
|
5225
5225
|
response: {
|
|
5226
|
-
user:
|
|
5227
|
-
id: string | number;
|
|
5228
|
-
name?: string;
|
|
5229
|
-
email?: string | null;
|
|
5230
|
-
image?: string;
|
|
5231
|
-
emailVerified: boolean;
|
|
5232
|
-
};
|
|
5226
|
+
user: OAuth2UserInfo;
|
|
5233
5227
|
data: Record<string, any>;
|
|
5234
5228
|
} | null;
|
|
5235
5229
|
} : {
|
|
5236
|
-
user:
|
|
5237
|
-
id: string | number;
|
|
5238
|
-
name?: string;
|
|
5239
|
-
email?: string | null;
|
|
5240
|
-
image?: string;
|
|
5241
|
-
emailVerified: boolean;
|
|
5242
|
-
};
|
|
5230
|
+
user: OAuth2UserInfo;
|
|
5243
5231
|
data: Record<string, any>;
|
|
5244
5232
|
} | null>;
|
|
5245
5233
|
options: {
|
|
@@ -6027,7 +6015,7 @@ declare function getTestInstanceMemory<O extends Partial<BetterAuthOptions>, C e
|
|
|
6027
6015
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
6028
6016
|
newUserCallbackURL: zod.ZodOptional<zod.ZodString>;
|
|
6029
6017
|
errorCallbackURL: zod.ZodOptional<zod.ZodString>;
|
|
6030
|
-
provider: zod.ZodType<"github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "zoom" | "notion" | (string & {}), unknown, zod_v4_core.$ZodTypeInternals<"github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "zoom" | "notion" | (string & {}), unknown>>;
|
|
6018
|
+
provider: zod.ZodType<"github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "zoom" | "notion" | "paypal" | (string & {}), unknown, zod_v4_core.$ZodTypeInternals<"github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "zoom" | "notion" | "paypal" | (string & {}), unknown>>;
|
|
6031
6019
|
disableRedirect: zod.ZodOptional<zod.ZodBoolean>;
|
|
6032
6020
|
idToken: zod.ZodOptional<zod.ZodObject<{
|
|
6033
6021
|
token: zod.ZodString;
|
|
@@ -8188,7 +8176,7 @@ declare function getTestInstanceMemory<O extends Partial<BetterAuthOptions>, C e
|
|
|
8188
8176
|
requireHeaders: true;
|
|
8189
8177
|
body: zod.ZodObject<{
|
|
8190
8178
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
8191
|
-
provider: zod.ZodType<"github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "zoom" | "notion" | (string & {}), unknown, zod_v4_core.$ZodTypeInternals<"github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "zoom" | "notion" | (string & {}), unknown>>;
|
|
8179
|
+
provider: zod.ZodType<"github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "zoom" | "notion" | "paypal" | (string & {}), unknown, zod_v4_core.$ZodTypeInternals<"github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "zoom" | "notion" | "paypal" | (string & {}), unknown>>;
|
|
8192
8180
|
idToken: zod.ZodOptional<zod.ZodObject<{
|
|
8193
8181
|
token: zod.ZodString;
|
|
8194
8182
|
nonce: zod.ZodOptional<zod.ZodString>;
|
|
@@ -8740,23 +8728,11 @@ declare function getTestInstanceMemory<O extends Partial<BetterAuthOptions>, C e
|
|
|
8740
8728
|
}): Promise<[AsResponse] extends [true] ? Response : [ReturnHeaders] extends [true] ? {
|
|
8741
8729
|
headers: Headers;
|
|
8742
8730
|
response: {
|
|
8743
|
-
user:
|
|
8744
|
-
id: string | number;
|
|
8745
|
-
name?: string;
|
|
8746
|
-
email?: string | null;
|
|
8747
|
-
image?: string;
|
|
8748
|
-
emailVerified: boolean;
|
|
8749
|
-
};
|
|
8731
|
+
user: OAuth2UserInfo;
|
|
8750
8732
|
data: Record<string, any>;
|
|
8751
8733
|
} | null;
|
|
8752
8734
|
} : {
|
|
8753
|
-
user:
|
|
8754
|
-
id: string | number;
|
|
8755
|
-
name?: string;
|
|
8756
|
-
email?: string | null;
|
|
8757
|
-
image?: string;
|
|
8758
|
-
emailVerified: boolean;
|
|
8759
|
-
};
|
|
8735
|
+
user: OAuth2UserInfo;
|
|
8760
8736
|
data: Record<string, any>;
|
|
8761
8737
|
} | null>;
|
|
8762
8738
|
options: {
|
|
@@ -9040,7 +9016,7 @@ declare function getTestInstanceMemory<O extends Partial<BetterAuthOptions>, C e
|
|
|
9040
9016
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
9041
9017
|
newUserCallbackURL: zod.ZodOptional<zod.ZodString>;
|
|
9042
9018
|
errorCallbackURL: zod.ZodOptional<zod.ZodString>;
|
|
9043
|
-
provider: zod.ZodType<"github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "zoom" | "notion" | (string & {}), unknown, zod_v4_core.$ZodTypeInternals<"github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "zoom" | "notion" | (string & {}), unknown>>;
|
|
9019
|
+
provider: zod.ZodType<"github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "zoom" | "notion" | "paypal" | (string & {}), unknown, zod_v4_core.$ZodTypeInternals<"github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "zoom" | "notion" | "paypal" | (string & {}), unknown>>;
|
|
9044
9020
|
disableRedirect: zod.ZodOptional<zod.ZodBoolean>;
|
|
9045
9021
|
idToken: zod.ZodOptional<zod.ZodObject<{
|
|
9046
9022
|
token: zod.ZodString;
|
|
@@ -11201,7 +11177,7 @@ declare function getTestInstanceMemory<O extends Partial<BetterAuthOptions>, C e
|
|
|
11201
11177
|
requireHeaders: true;
|
|
11202
11178
|
body: zod.ZodObject<{
|
|
11203
11179
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
11204
|
-
provider: zod.ZodType<"github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "zoom" | "notion" | (string & {}), unknown, zod_v4_core.$ZodTypeInternals<"github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "zoom" | "notion" | (string & {}), unknown>>;
|
|
11180
|
+
provider: zod.ZodType<"github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "zoom" | "notion" | "paypal" | (string & {}), unknown, zod_v4_core.$ZodTypeInternals<"github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "zoom" | "notion" | "paypal" | (string & {}), unknown>>;
|
|
11205
11181
|
idToken: zod.ZodOptional<zod.ZodObject<{
|
|
11206
11182
|
token: zod.ZodString;
|
|
11207
11183
|
nonce: zod.ZodOptional<zod.ZodString>;
|
|
@@ -11753,23 +11729,11 @@ declare function getTestInstanceMemory<O extends Partial<BetterAuthOptions>, C e
|
|
|
11753
11729
|
}): Promise<[AsResponse] extends [true] ? Response : [ReturnHeaders] extends [true] ? {
|
|
11754
11730
|
headers: Headers;
|
|
11755
11731
|
response: {
|
|
11756
|
-
user:
|
|
11757
|
-
id: string | number;
|
|
11758
|
-
name?: string;
|
|
11759
|
-
email?: string | null;
|
|
11760
|
-
image?: string;
|
|
11761
|
-
emailVerified: boolean;
|
|
11762
|
-
};
|
|
11732
|
+
user: OAuth2UserInfo;
|
|
11763
11733
|
data: Record<string, any>;
|
|
11764
11734
|
} | null;
|
|
11765
11735
|
} : {
|
|
11766
|
-
user:
|
|
11767
|
-
id: string | number;
|
|
11768
|
-
name?: string;
|
|
11769
|
-
email?: string | null;
|
|
11770
|
-
image?: string;
|
|
11771
|
-
emailVerified: boolean;
|
|
11772
|
-
};
|
|
11736
|
+
user: OAuth2UserInfo;
|
|
11773
11737
|
data: Record<string, any>;
|
|
11774
11738
|
} | null>;
|
|
11775
11739
|
options: {
|
|
@@ -12075,7 +12039,7 @@ declare function getTestInstanceMemory<O extends Partial<BetterAuthOptions>, C e
|
|
|
12075
12039
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
12076
12040
|
newUserCallbackURL: zod.ZodOptional<zod.ZodString>;
|
|
12077
12041
|
errorCallbackURL: zod.ZodOptional<zod.ZodString>;
|
|
12078
|
-
provider: zod.ZodType<"github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "zoom" | "notion" | (string & {}), unknown, zod_v4_core.$ZodTypeInternals<"github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "zoom" | "notion" | (string & {}), unknown>>;
|
|
12042
|
+
provider: zod.ZodType<"github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "zoom" | "notion" | "paypal" | (string & {}), unknown, zod_v4_core.$ZodTypeInternals<"github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "zoom" | "notion" | "paypal" | (string & {}), unknown>>;
|
|
12079
12043
|
disableRedirect: zod.ZodOptional<zod.ZodBoolean>;
|
|
12080
12044
|
idToken: zod.ZodOptional<zod.ZodObject<{
|
|
12081
12045
|
token: zod.ZodString;
|
|
@@ -14236,7 +14200,7 @@ declare function getTestInstanceMemory<O extends Partial<BetterAuthOptions>, C e
|
|
|
14236
14200
|
requireHeaders: true;
|
|
14237
14201
|
body: zod.ZodObject<{
|
|
14238
14202
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
14239
|
-
provider: zod.ZodType<"github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "zoom" | "notion" | (string & {}), unknown, zod_v4_core.$ZodTypeInternals<"github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "zoom" | "notion" | (string & {}), unknown>>;
|
|
14203
|
+
provider: zod.ZodType<"github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "zoom" | "notion" | "paypal" | (string & {}), unknown, zod_v4_core.$ZodTypeInternals<"github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "zoom" | "notion" | "paypal" | (string & {}), unknown>>;
|
|
14240
14204
|
idToken: zod.ZodOptional<zod.ZodObject<{
|
|
14241
14205
|
token: zod.ZodString;
|
|
14242
14206
|
nonce: zod.ZodOptional<zod.ZodString>;
|
|
@@ -14788,23 +14752,11 @@ declare function getTestInstanceMemory<O extends Partial<BetterAuthOptions>, C e
|
|
|
14788
14752
|
}): Promise<[AsResponse] extends [true] ? Response : [ReturnHeaders] extends [true] ? {
|
|
14789
14753
|
headers: Headers;
|
|
14790
14754
|
response: {
|
|
14791
|
-
user:
|
|
14792
|
-
id: string | number;
|
|
14793
|
-
name?: string;
|
|
14794
|
-
email?: string | null;
|
|
14795
|
-
image?: string;
|
|
14796
|
-
emailVerified: boolean;
|
|
14797
|
-
};
|
|
14755
|
+
user: OAuth2UserInfo;
|
|
14798
14756
|
data: Record<string, any>;
|
|
14799
14757
|
} | null;
|
|
14800
14758
|
} : {
|
|
14801
|
-
user:
|
|
14802
|
-
id: string | number;
|
|
14803
|
-
name?: string;
|
|
14804
|
-
email?: string | null;
|
|
14805
|
-
image?: string;
|
|
14806
|
-
emailVerified: boolean;
|
|
14807
|
-
};
|
|
14759
|
+
user: OAuth2UserInfo;
|
|
14808
14760
|
data: Record<string, any>;
|
|
14809
14761
|
} | null>;
|
|
14810
14762
|
options: {
|
|
@@ -15088,7 +15040,7 @@ declare function getTestInstanceMemory<O extends Partial<BetterAuthOptions>, C e
|
|
|
15088
15040
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
15089
15041
|
newUserCallbackURL: zod.ZodOptional<zod.ZodString>;
|
|
15090
15042
|
errorCallbackURL: zod.ZodOptional<zod.ZodString>;
|
|
15091
|
-
provider: zod.ZodType<"github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "zoom" | "notion" | (string & {}), unknown, zod_v4_core.$ZodTypeInternals<"github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "zoom" | "notion" | (string & {}), unknown>>;
|
|
15043
|
+
provider: zod.ZodType<"github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "zoom" | "notion" | "paypal" | (string & {}), unknown, zod_v4_core.$ZodTypeInternals<"github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "zoom" | "notion" | "paypal" | (string & {}), unknown>>;
|
|
15092
15044
|
disableRedirect: zod.ZodOptional<zod.ZodBoolean>;
|
|
15093
15045
|
idToken: zod.ZodOptional<zod.ZodObject<{
|
|
15094
15046
|
token: zod.ZodString;
|
|
@@ -17249,7 +17201,7 @@ declare function getTestInstanceMemory<O extends Partial<BetterAuthOptions>, C e
|
|
|
17249
17201
|
requireHeaders: true;
|
|
17250
17202
|
body: zod.ZodObject<{
|
|
17251
17203
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
17252
|
-
provider: zod.ZodType<"github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "zoom" | "notion" | (string & {}), unknown, zod_v4_core.$ZodTypeInternals<"github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "zoom" | "notion" | (string & {}), unknown>>;
|
|
17204
|
+
provider: zod.ZodType<"github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "zoom" | "notion" | "paypal" | (string & {}), unknown, zod_v4_core.$ZodTypeInternals<"github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "zoom" | "notion" | "paypal" | (string & {}), unknown>>;
|
|
17253
17205
|
idToken: zod.ZodOptional<zod.ZodObject<{
|
|
17254
17206
|
token: zod.ZodString;
|
|
17255
17207
|
nonce: zod.ZodOptional<zod.ZodString>;
|
|
@@ -17801,23 +17753,11 @@ declare function getTestInstanceMemory<O extends Partial<BetterAuthOptions>, C e
|
|
|
17801
17753
|
}): Promise<[AsResponse] extends [true] ? Response : [ReturnHeaders] extends [true] ? {
|
|
17802
17754
|
headers: Headers;
|
|
17803
17755
|
response: {
|
|
17804
|
-
user:
|
|
17805
|
-
id: string | number;
|
|
17806
|
-
name?: string;
|
|
17807
|
-
email?: string | null;
|
|
17808
|
-
image?: string;
|
|
17809
|
-
emailVerified: boolean;
|
|
17810
|
-
};
|
|
17756
|
+
user: OAuth2UserInfo;
|
|
17811
17757
|
data: Record<string, any>;
|
|
17812
17758
|
} | null;
|
|
17813
17759
|
} : {
|
|
17814
|
-
user:
|
|
17815
|
-
id: string | number;
|
|
17816
|
-
name?: string;
|
|
17817
|
-
email?: string | null;
|
|
17818
|
-
image?: string;
|
|
17819
|
-
emailVerified: boolean;
|
|
17820
|
-
};
|
|
17760
|
+
user: OAuth2UserInfo;
|
|
17821
17761
|
data: Record<string, any>;
|
|
17822
17762
|
} | null>;
|
|
17823
17763
|
options: {
|
|
@@ -18189,7 +18129,7 @@ declare function getTestInstanceMemory<O extends Partial<BetterAuthOptions>, C e
|
|
|
18189
18129
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
18190
18130
|
newUserCallbackURL: zod.ZodOptional<zod.ZodString>;
|
|
18191
18131
|
errorCallbackURL: zod.ZodOptional<zod.ZodString>;
|
|
18192
|
-
provider: zod.ZodType<"github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "zoom" | "notion" | (string & {}), unknown, zod_v4_core.$ZodTypeInternals<"github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "zoom" | "notion" | (string & {}), unknown>>;
|
|
18132
|
+
provider: zod.ZodType<"github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "zoom" | "notion" | "paypal" | (string & {}), unknown, zod_v4_core.$ZodTypeInternals<"github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "zoom" | "notion" | "paypal" | (string & {}), unknown>>;
|
|
18193
18133
|
disableRedirect: zod.ZodOptional<zod.ZodBoolean>;
|
|
18194
18134
|
idToken: zod.ZodOptional<zod.ZodObject<{
|
|
18195
18135
|
token: zod.ZodString;
|
|
@@ -20350,7 +20290,7 @@ declare function getTestInstanceMemory<O extends Partial<BetterAuthOptions>, C e
|
|
|
20350
20290
|
requireHeaders: true;
|
|
20351
20291
|
body: zod.ZodObject<{
|
|
20352
20292
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
20353
|
-
provider: zod.ZodType<"github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "zoom" | "notion" | (string & {}), unknown, zod_v4_core.$ZodTypeInternals<"github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "zoom" | "notion" | (string & {}), unknown>>;
|
|
20293
|
+
provider: zod.ZodType<"github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "zoom" | "notion" | "paypal" | (string & {}), unknown, zod_v4_core.$ZodTypeInternals<"github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "zoom" | "notion" | "paypal" | (string & {}), unknown>>;
|
|
20354
20294
|
idToken: zod.ZodOptional<zod.ZodObject<{
|
|
20355
20295
|
token: zod.ZodString;
|
|
20356
20296
|
nonce: zod.ZodOptional<zod.ZodString>;
|
|
@@ -20902,23 +20842,11 @@ declare function getTestInstanceMemory<O extends Partial<BetterAuthOptions>, C e
|
|
|
20902
20842
|
}): Promise<[AsResponse] extends [true] ? Response : [ReturnHeaders] extends [true] ? {
|
|
20903
20843
|
headers: Headers;
|
|
20904
20844
|
response: {
|
|
20905
|
-
user:
|
|
20906
|
-
id: string | number;
|
|
20907
|
-
name?: string;
|
|
20908
|
-
email?: string | null;
|
|
20909
|
-
image?: string;
|
|
20910
|
-
emailVerified: boolean;
|
|
20911
|
-
};
|
|
20845
|
+
user: OAuth2UserInfo;
|
|
20912
20846
|
data: Record<string, any>;
|
|
20913
20847
|
} | null;
|
|
20914
20848
|
} : {
|
|
20915
|
-
user:
|
|
20916
|
-
id: string | number;
|
|
20917
|
-
name?: string;
|
|
20918
|
-
email?: string | null;
|
|
20919
|
-
image?: string;
|
|
20920
|
-
emailVerified: boolean;
|
|
20921
|
-
};
|
|
20849
|
+
user: OAuth2UserInfo;
|
|
20922
20850
|
data: Record<string, any>;
|
|
20923
20851
|
} | null>;
|
|
20924
20852
|
options: {
|
|
@@ -21202,7 +21130,7 @@ declare function getTestInstanceMemory<O extends Partial<BetterAuthOptions>, C e
|
|
|
21202
21130
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
21203
21131
|
newUserCallbackURL: zod.ZodOptional<zod.ZodString>;
|
|
21204
21132
|
errorCallbackURL: zod.ZodOptional<zod.ZodString>;
|
|
21205
|
-
provider: zod.ZodType<"github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "zoom" | "notion" | (string & {}), unknown, zod_v4_core.$ZodTypeInternals<"github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "zoom" | "notion" | (string & {}), unknown>>;
|
|
21133
|
+
provider: zod.ZodType<"github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "zoom" | "notion" | "paypal" | (string & {}), unknown, zod_v4_core.$ZodTypeInternals<"github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "zoom" | "notion" | "paypal" | (string & {}), unknown>>;
|
|
21206
21134
|
disableRedirect: zod.ZodOptional<zod.ZodBoolean>;
|
|
21207
21135
|
idToken: zod.ZodOptional<zod.ZodObject<{
|
|
21208
21136
|
token: zod.ZodString;
|
|
@@ -23363,7 +23291,7 @@ declare function getTestInstanceMemory<O extends Partial<BetterAuthOptions>, C e
|
|
|
23363
23291
|
requireHeaders: true;
|
|
23364
23292
|
body: zod.ZodObject<{
|
|
23365
23293
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
23366
|
-
provider: zod.ZodType<"github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "zoom" | "notion" | (string & {}), unknown, zod_v4_core.$ZodTypeInternals<"github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "zoom" | "notion" | (string & {}), unknown>>;
|
|
23294
|
+
provider: zod.ZodType<"github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "zoom" | "notion" | "paypal" | (string & {}), unknown, zod_v4_core.$ZodTypeInternals<"github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "zoom" | "notion" | "paypal" | (string & {}), unknown>>;
|
|
23367
23295
|
idToken: zod.ZodOptional<zod.ZodObject<{
|
|
23368
23296
|
token: zod.ZodString;
|
|
23369
23297
|
nonce: zod.ZodOptional<zod.ZodString>;
|
|
@@ -23915,23 +23843,11 @@ declare function getTestInstanceMemory<O extends Partial<BetterAuthOptions>, C e
|
|
|
23915
23843
|
}): Promise<[AsResponse] extends [true] ? Response : [ReturnHeaders] extends [true] ? {
|
|
23916
23844
|
headers: Headers;
|
|
23917
23845
|
response: {
|
|
23918
|
-
user:
|
|
23919
|
-
id: string | number;
|
|
23920
|
-
name?: string;
|
|
23921
|
-
email?: string | null;
|
|
23922
|
-
image?: string;
|
|
23923
|
-
emailVerified: boolean;
|
|
23924
|
-
};
|
|
23846
|
+
user: OAuth2UserInfo;
|
|
23925
23847
|
data: Record<string, any>;
|
|
23926
23848
|
} | null;
|
|
23927
23849
|
} : {
|
|
23928
|
-
user:
|
|
23929
|
-
id: string | number;
|
|
23930
|
-
name?: string;
|
|
23931
|
-
email?: string | null;
|
|
23932
|
-
image?: string;
|
|
23933
|
-
emailVerified: boolean;
|
|
23934
|
-
};
|
|
23850
|
+
user: OAuth2UserInfo;
|
|
23935
23851
|
data: Record<string, any>;
|
|
23936
23852
|
} | null>;
|
|
23937
23853
|
options: {
|