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
package/dist/client/index.d.mts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { f as BASE_ERROR_CODES, h as BetterAuthPlugin, B as BetterAuthOptions } from '../shared/better-auth.
|
|
1
|
+
import { f as BASE_ERROR_CODES, h as BetterAuthPlugin, B as BetterAuthOptions } from '../shared/better-auth.oCjO5qEz.mjs';
|
|
2
2
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
3
3
|
import { BetterFetchError, BetterFetch, BetterFetchOption } from '@better-fetch/fetch';
|
|
4
4
|
export * from '@better-fetch/fetch';
|
|
5
|
-
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../shared/better-auth.
|
|
6
|
-
export { A as AtomListener, h as InferAdditionalFromClient, e as InferPluginsFromClient, f as InferSessionFromClient, g as InferUserFromClient, S as Store } from '../shared/better-auth.
|
|
5
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../shared/better-auth.DoFtnL_B.mjs';
|
|
6
|
+
export { A as AtomListener, h as InferAdditionalFromClient, e as InferPluginsFromClient, f as InferSessionFromClient, g as InferUserFromClient, S as Store } from '../shared/better-auth.DoFtnL_B.mjs';
|
|
7
7
|
import * as nanostores from 'nanostores';
|
|
8
8
|
import { Atom, PreinitializedWritableAtom } from 'nanostores';
|
|
9
9
|
export * from 'nanostores';
|
|
10
|
-
import { U as UnionToIntersection, P as PrettifyDeep } from '../shared/better-auth.
|
|
10
|
+
import { U as UnionToIntersection, P as PrettifyDeep } from '../shared/better-auth.DTtXpZYr.mjs';
|
|
11
11
|
import 'kysely';
|
|
12
12
|
import 'better-call';
|
|
13
13
|
import 'zod/v4';
|
|
14
|
-
import '../shared/better-auth.
|
|
14
|
+
import '../shared/better-auth.F1OUHOUm.mjs';
|
|
15
15
|
import 'jose';
|
|
16
16
|
import 'zod/v4/core';
|
|
17
17
|
import 'zod';
|
package/dist/client/index.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { f as BASE_ERROR_CODES, h as BetterAuthPlugin, B as BetterAuthOptions } from '../shared/better-auth.
|
|
1
|
+
import { f as BASE_ERROR_CODES, h as BetterAuthPlugin, B as BetterAuthOptions } from '../shared/better-auth.Bxn_1Cii.js';
|
|
2
2
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
3
3
|
import { BetterFetchError, BetterFetch, BetterFetchOption } from '@better-fetch/fetch';
|
|
4
4
|
export * from '@better-fetch/fetch';
|
|
5
|
-
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../shared/better-auth.
|
|
6
|
-
export { A as AtomListener, h as InferAdditionalFromClient, e as InferPluginsFromClient, f as InferSessionFromClient, g as InferUserFromClient, S as Store } from '../shared/better-auth.
|
|
5
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../shared/better-auth.BYJu3IQC.js';
|
|
6
|
+
export { A as AtomListener, h as InferAdditionalFromClient, e as InferPluginsFromClient, f as InferSessionFromClient, g as InferUserFromClient, S as Store } from '../shared/better-auth.BYJu3IQC.js';
|
|
7
7
|
import * as nanostores from 'nanostores';
|
|
8
8
|
import { Atom, PreinitializedWritableAtom } from 'nanostores';
|
|
9
9
|
export * from 'nanostores';
|
|
10
|
-
import { U as UnionToIntersection, P as PrettifyDeep } from '../shared/better-auth.
|
|
10
|
+
import { U as UnionToIntersection, P as PrettifyDeep } from '../shared/better-auth.DTtXpZYr.js';
|
|
11
11
|
import 'kysely';
|
|
12
12
|
import 'better-call';
|
|
13
13
|
import 'zod/v4';
|
|
14
|
-
import '../shared/better-auth.
|
|
14
|
+
import '../shared/better-auth.D4yr0Ou1.js';
|
|
15
15
|
import 'jose';
|
|
16
16
|
import 'zod/v4/core';
|
|
17
17
|
import 'zod';
|
package/dist/client/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { c as createAuthClient } from '../shared/better-auth.
|
|
1
|
+
export { c as createAuthClient } from '../shared/better-auth.DVsI0DHa.mjs';
|
|
2
2
|
export { u as useAuthQuery } from '../shared/better-auth.Buni1mmI.mjs';
|
|
3
|
-
import '../shared/better-auth.
|
|
3
|
+
import '../shared/better-auth.CGGao4aY.mjs';
|
|
4
4
|
import '@better-fetch/fetch';
|
|
5
5
|
import '../shared/better-auth.CuS_eDdK.mjs';
|
|
6
6
|
import '../shared/better-auth.CMQ3rA-I.mjs';
|
|
@@ -10,6 +10,7 @@ const browser = require('@simplewebauthn/browser');
|
|
|
10
10
|
const client = require('../../shared/better-auth.DnER2-iT.cjs');
|
|
11
11
|
const plugins_admin_access_index = require('../../plugins/admin/access/index.cjs');
|
|
12
12
|
const hasPermission$1 = require('../../shared/better-auth.BW8BpneG.cjs');
|
|
13
|
+
const client$1 = require('../../shared/better-auth.BMgeJg3r.cjs');
|
|
13
14
|
require('../../plugins/access/index.cjs');
|
|
14
15
|
require('../../shared/better-auth.ANpbi45u.cjs');
|
|
15
16
|
|
|
@@ -562,6 +563,7 @@ const siweClient = () => {
|
|
|
562
563
|
};
|
|
563
564
|
|
|
564
565
|
exports.twoFactorClient = client.twoFactorClient;
|
|
566
|
+
exports.deviceAuthorizationClient = client$1.deviceAuthorizationClient;
|
|
565
567
|
exports.InferServerPlugin = InferServerPlugin;
|
|
566
568
|
exports.adminClient = adminClient;
|
|
567
569
|
exports.anonymousClient = anonymousClient;
|
|
@@ -4,8 +4,8 @@ import * as nanostores from 'nanostores';
|
|
|
4
4
|
import { atom } from 'nanostores';
|
|
5
5
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
6
6
|
import { BetterFetch, BetterFetchOption } from '@better-fetch/fetch';
|
|
7
|
-
import { a as Prettify } from '../../shared/better-auth.
|
|
8
|
-
import { J as FieldAttribute, B as BetterAuthOptions, U as User, h as BetterAuthPlugin } from '../../shared/better-auth.
|
|
7
|
+
import { a as Prettify } from '../../shared/better-auth.DTtXpZYr.cjs';
|
|
8
|
+
import { J as FieldAttribute, B as BetterAuthOptions, U as User, h as BetterAuthPlugin } from '../../shared/better-auth.BWfwO5vl.cjs';
|
|
9
9
|
import { username } from '../../plugins/username/index.cjs';
|
|
10
10
|
import { Session } from 'inspector';
|
|
11
11
|
import { Passkey, passkey } from '../../plugins/passkey/index.cjs';
|
|
@@ -18,19 +18,20 @@ import { genericOAuth } from '../../plugins/generic-oauth/index.cjs';
|
|
|
18
18
|
import { jwt } from '../../plugins/jwt/index.cjs';
|
|
19
19
|
import { multiSession } from '../../plugins/multi-session/index.cjs';
|
|
20
20
|
import { emailOTP } from '../../plugins/email-otp/index.cjs';
|
|
21
|
-
import { S as Store } from '../../shared/better-auth.
|
|
21
|
+
import { S as Store } from '../../shared/better-auth.B29NjI62.cjs';
|
|
22
22
|
import { sso } from '../../plugins/sso/index.cjs';
|
|
23
23
|
import { oidcProvider } from '../../plugins/oidc-provider/index.cjs';
|
|
24
|
-
import { a as apiKey } from '../../shared/better-auth.
|
|
24
|
+
import { a as apiKey } from '../../shared/better-auth.BU9YW_qQ.cjs';
|
|
25
25
|
import { oneTimeToken } from '../../plugins/one-time-token/index.cjs';
|
|
26
26
|
import { siwe } from '../../plugins/siwe/index.cjs';
|
|
27
|
+
export { deviceAuthorizationClient } from '../../plugins/device-authorization/index.cjs';
|
|
27
28
|
export * from '@simplewebauthn/server';
|
|
28
29
|
export { global } from '@simplewebauthn/server';
|
|
29
30
|
import 'zod/v4';
|
|
30
31
|
import 'better-call';
|
|
31
32
|
import '../../plugins/organization/access/index.cjs';
|
|
32
33
|
import 'kysely';
|
|
33
|
-
import '../../shared/better-auth.
|
|
34
|
+
import '../../shared/better-auth.Du7MKGKS.cjs';
|
|
34
35
|
import 'jose';
|
|
35
36
|
import 'zod/v4/core';
|
|
36
37
|
import 'zod';
|
|
@@ -4,8 +4,8 @@ import * as nanostores from 'nanostores';
|
|
|
4
4
|
import { atom } from 'nanostores';
|
|
5
5
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
6
6
|
import { BetterFetch, BetterFetchOption } from '@better-fetch/fetch';
|
|
7
|
-
import { a as Prettify } from '../../shared/better-auth.
|
|
8
|
-
import { J as FieldAttribute, B as BetterAuthOptions, U as User, h as BetterAuthPlugin } from '../../shared/better-auth.
|
|
7
|
+
import { a as Prettify } from '../../shared/better-auth.DTtXpZYr.mjs';
|
|
8
|
+
import { J as FieldAttribute, B as BetterAuthOptions, U as User, h as BetterAuthPlugin } from '../../shared/better-auth.oCjO5qEz.mjs';
|
|
9
9
|
import { username } from '../../plugins/username/index.mjs';
|
|
10
10
|
import { Session } from 'inspector';
|
|
11
11
|
import { Passkey, passkey } from '../../plugins/passkey/index.mjs';
|
|
@@ -18,19 +18,20 @@ import { genericOAuth } from '../../plugins/generic-oauth/index.mjs';
|
|
|
18
18
|
import { jwt } from '../../plugins/jwt/index.mjs';
|
|
19
19
|
import { multiSession } from '../../plugins/multi-session/index.mjs';
|
|
20
20
|
import { emailOTP } from '../../plugins/email-otp/index.mjs';
|
|
21
|
-
import { S as Store } from '../../shared/better-auth.
|
|
21
|
+
import { S as Store } from '../../shared/better-auth.DoFtnL_B.mjs';
|
|
22
22
|
import { sso } from '../../plugins/sso/index.mjs';
|
|
23
23
|
import { oidcProvider } from '../../plugins/oidc-provider/index.mjs';
|
|
24
|
-
import { a as apiKey } from '../../shared/better-auth.
|
|
24
|
+
import { a as apiKey } from '../../shared/better-auth.DymB1NxW.mjs';
|
|
25
25
|
import { oneTimeToken } from '../../plugins/one-time-token/index.mjs';
|
|
26
26
|
import { siwe } from '../../plugins/siwe/index.mjs';
|
|
27
|
+
export { deviceAuthorizationClient } from '../../plugins/device-authorization/index.mjs';
|
|
27
28
|
export * from '@simplewebauthn/server';
|
|
28
29
|
export { global } from '@simplewebauthn/server';
|
|
29
30
|
import 'zod/v4';
|
|
30
31
|
import 'better-call';
|
|
31
32
|
import '../../plugins/organization/access/index.mjs';
|
|
32
33
|
import 'kysely';
|
|
33
|
-
import '../../shared/better-auth.
|
|
34
|
+
import '../../shared/better-auth.F1OUHOUm.mjs';
|
|
34
35
|
import 'jose';
|
|
35
36
|
import 'zod/v4/core';
|
|
36
37
|
import 'zod';
|
|
@@ -4,8 +4,8 @@ import * as nanostores from 'nanostores';
|
|
|
4
4
|
import { atom } from 'nanostores';
|
|
5
5
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
6
6
|
import { BetterFetch, BetterFetchOption } from '@better-fetch/fetch';
|
|
7
|
-
import { a as Prettify } from '../../shared/better-auth.
|
|
8
|
-
import { J as FieldAttribute, B as BetterAuthOptions, U as User, h as BetterAuthPlugin } from '../../shared/better-auth.
|
|
7
|
+
import { a as Prettify } from '../../shared/better-auth.DTtXpZYr.js';
|
|
8
|
+
import { J as FieldAttribute, B as BetterAuthOptions, U as User, h as BetterAuthPlugin } from '../../shared/better-auth.Bxn_1Cii.js';
|
|
9
9
|
import { username } from '../../plugins/username/index.js';
|
|
10
10
|
import { Session } from 'inspector';
|
|
11
11
|
import { Passkey, passkey } from '../../plugins/passkey/index.js';
|
|
@@ -18,19 +18,20 @@ import { genericOAuth } from '../../plugins/generic-oauth/index.js';
|
|
|
18
18
|
import { jwt } from '../../plugins/jwt/index.js';
|
|
19
19
|
import { multiSession } from '../../plugins/multi-session/index.js';
|
|
20
20
|
import { emailOTP } from '../../plugins/email-otp/index.js';
|
|
21
|
-
import { S as Store } from '../../shared/better-auth.
|
|
21
|
+
import { S as Store } from '../../shared/better-auth.BYJu3IQC.js';
|
|
22
22
|
import { sso } from '../../plugins/sso/index.js';
|
|
23
23
|
import { oidcProvider } from '../../plugins/oidc-provider/index.js';
|
|
24
|
-
import { a as apiKey } from '../../shared/better-auth.
|
|
24
|
+
import { a as apiKey } from '../../shared/better-auth.tDeNcGKy.js';
|
|
25
25
|
import { oneTimeToken } from '../../plugins/one-time-token/index.js';
|
|
26
26
|
import { siwe } from '../../plugins/siwe/index.js';
|
|
27
|
+
export { deviceAuthorizationClient } from '../../plugins/device-authorization/index.js';
|
|
27
28
|
export * from '@simplewebauthn/server';
|
|
28
29
|
export { global } from '@simplewebauthn/server';
|
|
29
30
|
import 'zod/v4';
|
|
30
31
|
import 'better-call';
|
|
31
32
|
import '../../plugins/organization/access/index.js';
|
|
32
33
|
import 'kysely';
|
|
33
|
-
import '../../shared/better-auth.
|
|
34
|
+
import '../../shared/better-auth.D4yr0Ou1.js';
|
|
34
35
|
import 'jose';
|
|
35
36
|
import 'zod/v4/core';
|
|
36
37
|
import 'zod';
|
|
@@ -8,6 +8,7 @@ import { startRegistration, WebAuthnError, startAuthentication } from '@simplewe
|
|
|
8
8
|
export { t as twoFactorClient } from '../../shared/better-auth.Ddw8bVyV.mjs';
|
|
9
9
|
import { userAc, adminAc as adminAc$1 } from '../../plugins/admin/access/index.mjs';
|
|
10
10
|
import { h as hasPermission$1 } from '../../shared/better-auth.bkwPl2G4.mjs';
|
|
11
|
+
export { d as deviceAuthorizationClient } from '../../shared/better-auth.BpA03GIs.mjs';
|
|
11
12
|
import '../../plugins/access/index.mjs';
|
|
12
13
|
import '../../shared/better-auth.DdzSJf-n.mjs';
|
|
13
14
|
|
|
@@ -4,14 +4,14 @@ export * from 'nanostores';
|
|
|
4
4
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
5
5
|
import { BetterFetchError } from '@better-fetch/fetch';
|
|
6
6
|
export * from '@better-fetch/fetch';
|
|
7
|
-
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.
|
|
8
|
-
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.
|
|
7
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.B29NjI62.cjs';
|
|
8
|
+
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.cjs';
|
|
9
9
|
import { DependencyList } from 'react';
|
|
10
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
10
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.BWfwO5vl.cjs';
|
|
11
11
|
import 'better-call';
|
|
12
12
|
import 'kysely';
|
|
13
13
|
import 'zod/v4';
|
|
14
|
-
import '../../shared/better-auth.
|
|
14
|
+
import '../../shared/better-auth.Du7MKGKS.cjs';
|
|
15
15
|
import 'jose';
|
|
16
16
|
import 'zod/v4/core';
|
|
17
17
|
import 'zod';
|
|
@@ -4,14 +4,14 @@ export * from 'nanostores';
|
|
|
4
4
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
5
5
|
import { BetterFetchError } from '@better-fetch/fetch';
|
|
6
6
|
export * from '@better-fetch/fetch';
|
|
7
|
-
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.
|
|
8
|
-
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.
|
|
7
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.DoFtnL_B.mjs';
|
|
8
|
+
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.mjs';
|
|
9
9
|
import { DependencyList } from 'react';
|
|
10
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
10
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.oCjO5qEz.mjs';
|
|
11
11
|
import 'better-call';
|
|
12
12
|
import 'kysely';
|
|
13
13
|
import 'zod/v4';
|
|
14
|
-
import '../../shared/better-auth.
|
|
14
|
+
import '../../shared/better-auth.F1OUHOUm.mjs';
|
|
15
15
|
import 'jose';
|
|
16
16
|
import 'zod/v4/core';
|
|
17
17
|
import 'zod';
|
|
@@ -4,14 +4,14 @@ export * from 'nanostores';
|
|
|
4
4
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
5
5
|
import { BetterFetchError } from '@better-fetch/fetch';
|
|
6
6
|
export * from '@better-fetch/fetch';
|
|
7
|
-
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.
|
|
8
|
-
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.
|
|
7
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.BYJu3IQC.js';
|
|
8
|
+
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.js';
|
|
9
9
|
import { DependencyList } from 'react';
|
|
10
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
10
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.Bxn_1Cii.js';
|
|
11
11
|
import 'better-call';
|
|
12
12
|
import 'kysely';
|
|
13
13
|
import 'zod/v4';
|
|
14
|
-
import '../../shared/better-auth.
|
|
14
|
+
import '../../shared/better-auth.D4yr0Ou1.js';
|
|
15
15
|
import 'jose';
|
|
16
16
|
import 'zod/v4/core';
|
|
17
17
|
import 'zod';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as getClientConfig, c as createDynamicPathProxy } from '../../shared/better-auth.
|
|
1
|
+
import { g as getClientConfig, c as createDynamicPathProxy } from '../../shared/better-auth.CGGao4aY.mjs';
|
|
2
2
|
import { listenKeys } from 'nanostores';
|
|
3
3
|
import { useRef, useCallback, useSyncExternalStore } from 'react';
|
|
4
4
|
import '@better-fetch/fetch';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const proxy = require('../../shared/better-auth.
|
|
3
|
+
const proxy = require('../../shared/better-auth.CtToz4qL.cjs');
|
|
4
4
|
const misc = require('../../shared/better-auth.BLDOwz3i.cjs');
|
|
5
5
|
const store = require('solid-js/store');
|
|
6
6
|
const solidJs = require('solid-js');
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
2
2
|
import { BetterFetchError } from '@better-fetch/fetch';
|
|
3
3
|
export * from '@better-fetch/fetch';
|
|
4
|
-
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.
|
|
4
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.B29NjI62.cjs';
|
|
5
5
|
import { Accessor } from 'solid-js';
|
|
6
|
-
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.
|
|
7
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
6
|
+
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.cjs';
|
|
7
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.BWfwO5vl.cjs';
|
|
8
8
|
export * from 'nanostores';
|
|
9
9
|
import 'better-call';
|
|
10
10
|
import 'kysely';
|
|
11
11
|
import 'zod/v4';
|
|
12
|
-
import '../../shared/better-auth.
|
|
12
|
+
import '../../shared/better-auth.Du7MKGKS.cjs';
|
|
13
13
|
import 'jose';
|
|
14
14
|
import 'zod/v4/core';
|
|
15
15
|
import 'zod';
|
|
@@ -24,15 +24,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
24
24
|
data: InferClientAPI<Option> extends {
|
|
25
25
|
getSession: () => Promise<infer Res>;
|
|
26
26
|
} ? Res extends {
|
|
27
|
-
data: infer S;
|
|
28
|
-
error: null;
|
|
29
|
-
} | {
|
|
30
27
|
data: null;
|
|
31
28
|
error: {
|
|
32
29
|
message?: string | undefined;
|
|
33
30
|
status: number;
|
|
34
31
|
statusText: string;
|
|
35
32
|
};
|
|
33
|
+
} | {
|
|
34
|
+
data: infer S;
|
|
35
|
+
error: null;
|
|
36
36
|
} ? S : Res extends Record<string, any> ? Res : never : never;
|
|
37
37
|
isPending: boolean;
|
|
38
38
|
isRefetching: boolean;
|
|
@@ -42,15 +42,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
42
42
|
Session: NonNullable<InferClientAPI<Option> extends {
|
|
43
43
|
getSession: () => Promise<infer Res>;
|
|
44
44
|
} ? Res extends {
|
|
45
|
-
data: infer S;
|
|
46
|
-
error: null;
|
|
47
|
-
} | {
|
|
48
45
|
data: null;
|
|
49
46
|
error: {
|
|
50
47
|
message?: string | undefined;
|
|
51
48
|
status: number;
|
|
52
49
|
statusText: string;
|
|
53
50
|
};
|
|
51
|
+
} | {
|
|
52
|
+
data: infer S;
|
|
53
|
+
error: null;
|
|
54
54
|
} ? S : Res extends Record<string, any> ? Res : never : never>;
|
|
55
55
|
};
|
|
56
56
|
$fetch: _better_fetch_fetch.BetterFetch<{
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
2
2
|
import { BetterFetchError } from '@better-fetch/fetch';
|
|
3
3
|
export * from '@better-fetch/fetch';
|
|
4
|
-
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.
|
|
4
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.DoFtnL_B.mjs';
|
|
5
5
|
import { Accessor } from 'solid-js';
|
|
6
|
-
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.
|
|
7
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
6
|
+
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.mjs';
|
|
7
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.oCjO5qEz.mjs';
|
|
8
8
|
export * from 'nanostores';
|
|
9
9
|
import 'better-call';
|
|
10
10
|
import 'kysely';
|
|
11
11
|
import 'zod/v4';
|
|
12
|
-
import '../../shared/better-auth.
|
|
12
|
+
import '../../shared/better-auth.F1OUHOUm.mjs';
|
|
13
13
|
import 'jose';
|
|
14
14
|
import 'zod/v4/core';
|
|
15
15
|
import 'zod';
|
|
@@ -24,15 +24,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
24
24
|
data: InferClientAPI<Option> extends {
|
|
25
25
|
getSession: () => Promise<infer Res>;
|
|
26
26
|
} ? Res extends {
|
|
27
|
-
data: infer S;
|
|
28
|
-
error: null;
|
|
29
|
-
} | {
|
|
30
27
|
data: null;
|
|
31
28
|
error: {
|
|
32
29
|
message?: string | undefined;
|
|
33
30
|
status: number;
|
|
34
31
|
statusText: string;
|
|
35
32
|
};
|
|
33
|
+
} | {
|
|
34
|
+
data: infer S;
|
|
35
|
+
error: null;
|
|
36
36
|
} ? S : Res extends Record<string, any> ? Res : never : never;
|
|
37
37
|
isPending: boolean;
|
|
38
38
|
isRefetching: boolean;
|
|
@@ -42,15 +42,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
42
42
|
Session: NonNullable<InferClientAPI<Option> extends {
|
|
43
43
|
getSession: () => Promise<infer Res>;
|
|
44
44
|
} ? Res extends {
|
|
45
|
-
data: infer S;
|
|
46
|
-
error: null;
|
|
47
|
-
} | {
|
|
48
45
|
data: null;
|
|
49
46
|
error: {
|
|
50
47
|
message?: string | undefined;
|
|
51
48
|
status: number;
|
|
52
49
|
statusText: string;
|
|
53
50
|
};
|
|
51
|
+
} | {
|
|
52
|
+
data: infer S;
|
|
53
|
+
error: null;
|
|
54
54
|
} ? S : Res extends Record<string, any> ? Res : never : never>;
|
|
55
55
|
};
|
|
56
56
|
$fetch: _better_fetch_fetch.BetterFetch<{
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
2
2
|
import { BetterFetchError } from '@better-fetch/fetch';
|
|
3
3
|
export * from '@better-fetch/fetch';
|
|
4
|
-
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.
|
|
4
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.BYJu3IQC.js';
|
|
5
5
|
import { Accessor } from 'solid-js';
|
|
6
|
-
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.
|
|
7
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
6
|
+
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.js';
|
|
7
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.Bxn_1Cii.js';
|
|
8
8
|
export * from 'nanostores';
|
|
9
9
|
import 'better-call';
|
|
10
10
|
import 'kysely';
|
|
11
11
|
import 'zod/v4';
|
|
12
|
-
import '../../shared/better-auth.
|
|
12
|
+
import '../../shared/better-auth.D4yr0Ou1.js';
|
|
13
13
|
import 'jose';
|
|
14
14
|
import 'zod/v4/core';
|
|
15
15
|
import 'zod';
|
|
@@ -24,15 +24,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
24
24
|
data: InferClientAPI<Option> extends {
|
|
25
25
|
getSession: () => Promise<infer Res>;
|
|
26
26
|
} ? Res extends {
|
|
27
|
-
data: infer S;
|
|
28
|
-
error: null;
|
|
29
|
-
} | {
|
|
30
27
|
data: null;
|
|
31
28
|
error: {
|
|
32
29
|
message?: string | undefined;
|
|
33
30
|
status: number;
|
|
34
31
|
statusText: string;
|
|
35
32
|
};
|
|
33
|
+
} | {
|
|
34
|
+
data: infer S;
|
|
35
|
+
error: null;
|
|
36
36
|
} ? S : Res extends Record<string, any> ? Res : never : never;
|
|
37
37
|
isPending: boolean;
|
|
38
38
|
isRefetching: boolean;
|
|
@@ -42,15 +42,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
42
42
|
Session: NonNullable<InferClientAPI<Option> extends {
|
|
43
43
|
getSession: () => Promise<infer Res>;
|
|
44
44
|
} ? Res extends {
|
|
45
|
-
data: infer S;
|
|
46
|
-
error: null;
|
|
47
|
-
} | {
|
|
48
45
|
data: null;
|
|
49
46
|
error: {
|
|
50
47
|
message?: string | undefined;
|
|
51
48
|
status: number;
|
|
52
49
|
statusText: string;
|
|
53
50
|
};
|
|
51
|
+
} | {
|
|
52
|
+
data: infer S;
|
|
53
|
+
error: null;
|
|
54
54
|
} ? S : Res extends Record<string, any> ? Res : never : never>;
|
|
55
55
|
};
|
|
56
56
|
$fetch: _better_fetch_fetch.BetterFetch<{
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as getClientConfig, c as createDynamicPathProxy } from '../../shared/better-auth.
|
|
1
|
+
import { g as getClientConfig, c as createDynamicPathProxy } from '../../shared/better-auth.CGGao4aY.mjs';
|
|
2
2
|
import { c as capitalizeFirstLetter } from '../../shared/better-auth.D-2CmEwz.mjs';
|
|
3
3
|
import { createStore, reconcile } from 'solid-js/store';
|
|
4
4
|
import { onCleanup } from 'solid-js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const proxy = require('../../shared/better-auth.
|
|
3
|
+
const proxy = require('../../shared/better-auth.CtToz4qL.cjs');
|
|
4
4
|
const misc = require('../../shared/better-auth.BLDOwz3i.cjs');
|
|
5
5
|
require('@better-fetch/fetch');
|
|
6
6
|
require('../../shared/better-auth.DRmln2Nr.cjs');
|
|
@@ -4,13 +4,13 @@ export * from 'nanostores';
|
|
|
4
4
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
5
5
|
import { BetterFetchError } from '@better-fetch/fetch';
|
|
6
6
|
export * from '@better-fetch/fetch';
|
|
7
|
-
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.
|
|
8
|
-
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.
|
|
9
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
7
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.B29NjI62.cjs';
|
|
8
|
+
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.cjs';
|
|
9
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.BWfwO5vl.cjs';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'kysely';
|
|
12
12
|
import 'zod/v4';
|
|
13
|
-
import '../../shared/better-auth.
|
|
13
|
+
import '../../shared/better-auth.Du7MKGKS.cjs';
|
|
14
14
|
import 'jose';
|
|
15
15
|
import 'zod/v4/core';
|
|
16
16
|
import 'zod';
|
|
@@ -25,15 +25,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
25
25
|
data: InferClientAPI<Option> extends {
|
|
26
26
|
getSession: () => Promise<infer Res>;
|
|
27
27
|
} ? Res extends {
|
|
28
|
+
data: infer S;
|
|
29
|
+
error: null;
|
|
30
|
+
} | {
|
|
28
31
|
data: null;
|
|
29
32
|
error: {
|
|
30
33
|
message?: string | undefined;
|
|
31
34
|
status: number;
|
|
32
35
|
statusText: string;
|
|
33
36
|
};
|
|
34
|
-
} | {
|
|
35
|
-
data: infer S;
|
|
36
|
-
error: null;
|
|
37
37
|
} ? S : Res extends Record<string, any> ? Res : never : never;
|
|
38
38
|
error: BetterFetchError | null;
|
|
39
39
|
isPending: boolean;
|
|
@@ -113,15 +113,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
113
113
|
Session: NonNullable<InferClientAPI<Option> extends {
|
|
114
114
|
getSession: () => Promise<infer Res>;
|
|
115
115
|
} ? Res extends {
|
|
116
|
+
data: infer S;
|
|
117
|
+
error: null;
|
|
118
|
+
} | {
|
|
116
119
|
data: null;
|
|
117
120
|
error: {
|
|
118
121
|
message?: string | undefined;
|
|
119
122
|
status: number;
|
|
120
123
|
statusText: string;
|
|
121
124
|
};
|
|
122
|
-
} | {
|
|
123
|
-
data: infer S;
|
|
124
|
-
error: null;
|
|
125
125
|
} ? S : Res extends Record<string, any> ? Res : never : never>;
|
|
126
126
|
};
|
|
127
127
|
$ERROR_CODES: PrettifyDeep<InferErrorCodes<Option> & typeof BASE_ERROR_CODES>;
|
|
@@ -4,13 +4,13 @@ export * from 'nanostores';
|
|
|
4
4
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
5
5
|
import { BetterFetchError } from '@better-fetch/fetch';
|
|
6
6
|
export * from '@better-fetch/fetch';
|
|
7
|
-
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.
|
|
8
|
-
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.
|
|
9
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
7
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.DoFtnL_B.mjs';
|
|
8
|
+
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.mjs';
|
|
9
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.oCjO5qEz.mjs';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'kysely';
|
|
12
12
|
import 'zod/v4';
|
|
13
|
-
import '../../shared/better-auth.
|
|
13
|
+
import '../../shared/better-auth.F1OUHOUm.mjs';
|
|
14
14
|
import 'jose';
|
|
15
15
|
import 'zod/v4/core';
|
|
16
16
|
import 'zod';
|
|
@@ -25,15 +25,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
25
25
|
data: InferClientAPI<Option> extends {
|
|
26
26
|
getSession: () => Promise<infer Res>;
|
|
27
27
|
} ? Res extends {
|
|
28
|
+
data: infer S;
|
|
29
|
+
error: null;
|
|
30
|
+
} | {
|
|
28
31
|
data: null;
|
|
29
32
|
error: {
|
|
30
33
|
message?: string | undefined;
|
|
31
34
|
status: number;
|
|
32
35
|
statusText: string;
|
|
33
36
|
};
|
|
34
|
-
} | {
|
|
35
|
-
data: infer S;
|
|
36
|
-
error: null;
|
|
37
37
|
} ? S : Res extends Record<string, any> ? Res : never : never;
|
|
38
38
|
error: BetterFetchError | null;
|
|
39
39
|
isPending: boolean;
|
|
@@ -113,15 +113,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
113
113
|
Session: NonNullable<InferClientAPI<Option> extends {
|
|
114
114
|
getSession: () => Promise<infer Res>;
|
|
115
115
|
} ? Res extends {
|
|
116
|
+
data: infer S;
|
|
117
|
+
error: null;
|
|
118
|
+
} | {
|
|
116
119
|
data: null;
|
|
117
120
|
error: {
|
|
118
121
|
message?: string | undefined;
|
|
119
122
|
status: number;
|
|
120
123
|
statusText: string;
|
|
121
124
|
};
|
|
122
|
-
} | {
|
|
123
|
-
data: infer S;
|
|
124
|
-
error: null;
|
|
125
125
|
} ? S : Res extends Record<string, any> ? Res : never : never>;
|
|
126
126
|
};
|
|
127
127
|
$ERROR_CODES: PrettifyDeep<InferErrorCodes<Option> & typeof BASE_ERROR_CODES>;
|