better-auth 1.4.0-beta.2 → 1.4.0-beta.4
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.d.cts +2 -2
- package/dist/adapters/drizzle-adapter/index.d.mts +2 -2
- package/dist/adapters/drizzle-adapter/index.d.ts +2 -2
- package/dist/adapters/index.d.cts +3 -3
- package/dist/adapters/index.d.mts +3 -3
- package/dist/adapters/index.d.ts +3 -3
- package/dist/adapters/kysely-adapter/index.cjs +1 -1
- package/dist/adapters/kysely-adapter/index.d.cts +2 -2
- package/dist/adapters/kysely-adapter/index.d.mts +2 -2
- package/dist/adapters/kysely-adapter/index.d.ts +2 -2
- package/dist/adapters/kysely-adapter/index.mjs +1 -1
- package/dist/adapters/memory-adapter/index.cjs +1 -1
- package/dist/adapters/memory-adapter/index.d.cts +2 -2
- package/dist/adapters/memory-adapter/index.d.mts +2 -2
- package/dist/adapters/memory-adapter/index.d.ts +2 -2
- package/dist/adapters/memory-adapter/index.mjs +1 -1
- package/dist/adapters/mongodb-adapter/index.d.cts +2 -2
- package/dist/adapters/mongodb-adapter/index.d.mts +2 -2
- package/dist/adapters/mongodb-adapter/index.d.ts +2 -2
- package/dist/adapters/prisma-adapter/index.d.cts +2 -2
- package/dist/adapters/prisma-adapter/index.d.mts +2 -2
- package/dist/adapters/prisma-adapter/index.d.ts +2 -2
- package/dist/adapters/test.d.cts +2 -2
- package/dist/adapters/test.d.mts +2 -2
- package/dist/adapters/test.d.ts +2 -2
- package/dist/api/index.cjs +7 -6
- package/dist/api/index.d.cts +2 -2
- package/dist/api/index.d.mts +2 -2
- package/dist/api/index.d.ts +2 -2
- package/dist/api/index.mjs +9 -8
- package/dist/client/index.cjs +4 -4
- package/dist/client/index.d.cts +4 -4
- package/dist/client/index.d.mts +4 -4
- package/dist/client/index.d.ts +4 -4
- package/dist/client/index.mjs +4 -4
- package/dist/client/plugins/index.d.cts +4 -4
- package/dist/client/plugins/index.d.mts +4 -4
- package/dist/client/plugins/index.d.ts +4 -4
- package/dist/client/react/index.cjs +3 -3
- package/dist/client/react/index.d.cts +7 -7
- package/dist/client/react/index.d.mts +7 -7
- package/dist/client/react/index.d.ts +7 -7
- package/dist/client/react/index.mjs +3 -3
- package/dist/client/solid/index.cjs +3 -3
- package/dist/client/solid/index.d.cts +13 -13
- package/dist/client/solid/index.d.mts +13 -13
- package/dist/client/solid/index.d.ts +13 -13
- package/dist/client/solid/index.mjs +3 -3
- package/dist/client/svelte/index.cjs +3 -3
- package/dist/client/svelte/index.d.cts +7 -7
- package/dist/client/svelte/index.d.mts +7 -7
- package/dist/client/svelte/index.d.ts +7 -7
- package/dist/client/svelte/index.mjs +3 -3
- package/dist/client/vue/index.cjs +4 -4
- package/dist/client/vue/index.d.cts +7 -7
- package/dist/client/vue/index.d.mts +7 -7
- package/dist/client/vue/index.d.ts +7 -7
- package/dist/client/vue/index.mjs +4 -4
- package/dist/cookies/index.cjs +2 -2
- package/dist/cookies/index.d.cts +2 -2
- package/dist/cookies/index.d.mts +2 -2
- package/dist/cookies/index.d.ts +2 -2
- package/dist/cookies/index.mjs +2 -2
- package/dist/db/index.cjs +4 -4
- package/dist/db/index.d.cts +11 -3
- package/dist/db/index.d.mts +11 -3
- package/dist/db/index.d.ts +11 -3
- package/dist/db/index.mjs +4 -4
- package/dist/index.cjs +10 -9
- package/dist/index.d.cts +5 -5
- package/dist/index.d.mts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.mjs +10 -9
- package/dist/integrations/next-js.cjs +7 -6
- package/dist/integrations/next-js.d.cts +2 -2
- package/dist/integrations/next-js.d.mts +2 -2
- package/dist/integrations/next-js.d.ts +2 -2
- package/dist/integrations/next-js.mjs +7 -6
- package/dist/integrations/node.d.cts +2 -2
- package/dist/integrations/node.d.mts +2 -2
- package/dist/integrations/node.d.ts +2 -2
- package/dist/integrations/react-start.cjs +7 -6
- package/dist/integrations/react-start.d.cts +2 -2
- package/dist/integrations/react-start.d.mts +2 -2
- package/dist/integrations/react-start.d.ts +2 -2
- package/dist/integrations/react-start.mjs +7 -6
- package/dist/integrations/svelte-kit.cjs +6 -5
- package/dist/integrations/svelte-kit.d.cts +2 -2
- package/dist/integrations/svelte-kit.d.mts +2 -2
- package/dist/integrations/svelte-kit.d.ts +2 -2
- package/dist/integrations/svelte-kit.mjs +6 -5
- package/dist/oauth2/index.cjs +6 -5
- package/dist/oauth2/index.d.cts +4 -4
- package/dist/oauth2/index.d.mts +4 -4
- package/dist/oauth2/index.d.ts +4 -4
- package/dist/oauth2/index.mjs +6 -5
- package/dist/plugins/admin/index.cjs +7 -6
- package/dist/plugins/admin/index.d.cts +21 -5
- package/dist/plugins/admin/index.d.mts +21 -5
- package/dist/plugins/admin/index.d.ts +21 -5
- package/dist/plugins/admin/index.mjs +7 -6
- package/dist/plugins/anonymous/index.cjs +6 -5
- package/dist/plugins/anonymous/index.d.cts +2 -2
- package/dist/plugins/anonymous/index.d.mts +2 -2
- package/dist/plugins/anonymous/index.d.ts +2 -2
- package/dist/plugins/anonymous/index.mjs +6 -5
- package/dist/plugins/bearer/index.cjs +6 -5
- package/dist/plugins/bearer/index.d.cts +2 -2
- package/dist/plugins/bearer/index.d.mts +2 -2
- package/dist/plugins/bearer/index.d.ts +2 -2
- package/dist/plugins/bearer/index.mjs +6 -5
- package/dist/plugins/captcha/index.cjs +5 -4
- package/dist/plugins/captcha/index.d.cts +2 -2
- package/dist/plugins/captcha/index.d.mts +2 -2
- package/dist/plugins/captcha/index.d.ts +2 -2
- package/dist/plugins/captcha/index.mjs +5 -4
- package/dist/plugins/custom-session/index.cjs +6 -5
- package/dist/plugins/custom-session/index.d.cts +2 -2
- package/dist/plugins/custom-session/index.d.mts +2 -2
- package/dist/plugins/custom-session/index.d.ts +2 -2
- package/dist/plugins/custom-session/index.mjs +6 -5
- package/dist/plugins/device-authorization/index.cjs +5 -4
- package/dist/plugins/device-authorization/index.d.cts +2 -2
- package/dist/plugins/device-authorization/index.d.mts +2 -2
- package/dist/plugins/device-authorization/index.d.ts +2 -2
- package/dist/plugins/device-authorization/index.mjs +5 -4
- package/dist/plugins/email-otp/index.cjs +6 -5
- package/dist/plugins/email-otp/index.d.cts +2 -2
- package/dist/plugins/email-otp/index.d.mts +2 -2
- package/dist/plugins/email-otp/index.d.ts +2 -2
- package/dist/plugins/email-otp/index.mjs +6 -5
- package/dist/plugins/generic-oauth/index.cjs +6 -5
- package/dist/plugins/generic-oauth/index.d.cts +2 -2
- package/dist/plugins/generic-oauth/index.d.mts +2 -2
- package/dist/plugins/generic-oauth/index.d.ts +2 -2
- package/dist/plugins/generic-oauth/index.mjs +6 -5
- package/dist/plugins/haveibeenpwned/index.cjs +6 -5
- package/dist/plugins/haveibeenpwned/index.d.cts +2 -2
- package/dist/plugins/haveibeenpwned/index.d.mts +2 -2
- package/dist/plugins/haveibeenpwned/index.d.ts +2 -2
- package/dist/plugins/haveibeenpwned/index.mjs +6 -5
- package/dist/plugins/index.cjs +13 -12
- package/dist/plugins/index.d.cts +5 -5
- package/dist/plugins/index.d.mts +5 -5
- package/dist/plugins/index.d.ts +5 -5
- package/dist/plugins/index.mjs +15 -14
- package/dist/plugins/jwt/index.cjs +6 -5
- package/dist/plugins/jwt/index.d.cts +2 -2
- package/dist/plugins/jwt/index.d.mts +2 -2
- package/dist/plugins/jwt/index.d.ts +2 -2
- package/dist/plugins/jwt/index.mjs +6 -5
- package/dist/plugins/magic-link/index.cjs +6 -5
- package/dist/plugins/magic-link/index.mjs +6 -5
- package/dist/plugins/multi-session/index.cjs +6 -5
- package/dist/plugins/multi-session/index.d.cts +2 -2
- package/dist/plugins/multi-session/index.d.mts +2 -2
- package/dist/plugins/multi-session/index.d.ts +2 -2
- package/dist/plugins/multi-session/index.mjs +6 -5
- package/dist/plugins/oauth-proxy/index.cjs +9 -6
- package/dist/plugins/oauth-proxy/index.d.cts +3 -2
- package/dist/plugins/oauth-proxy/index.d.mts +3 -2
- package/dist/plugins/oauth-proxy/index.d.ts +3 -2
- package/dist/plugins/oauth-proxy/index.mjs +9 -6
- package/dist/plugins/oidc-provider/index.cjs +7 -6
- package/dist/plugins/oidc-provider/index.d.cts +10 -10
- package/dist/plugins/oidc-provider/index.d.mts +10 -10
- package/dist/plugins/oidc-provider/index.d.ts +10 -10
- package/dist/plugins/oidc-provider/index.mjs +7 -6
- package/dist/plugins/one-tap/index.cjs +6 -5
- package/dist/plugins/one-tap/index.mjs +6 -5
- package/dist/plugins/one-time-token/index.cjs +9 -8
- package/dist/plugins/one-time-token/index.d.cts +2 -2
- package/dist/plugins/one-time-token/index.d.mts +2 -2
- package/dist/plugins/one-time-token/index.d.ts +2 -2
- package/dist/plugins/one-time-token/index.mjs +9 -8
- package/dist/plugins/open-api/index.cjs +6 -5
- package/dist/plugins/open-api/index.d.cts +2 -2
- package/dist/plugins/open-api/index.d.mts +2 -2
- package/dist/plugins/open-api/index.d.ts +2 -2
- package/dist/plugins/open-api/index.mjs +6 -5
- package/dist/plugins/organization/index.cjs +9 -8
- package/dist/plugins/organization/index.d.cts +86 -22
- package/dist/plugins/organization/index.d.mts +86 -22
- package/dist/plugins/organization/index.d.ts +86 -22
- package/dist/plugins/organization/index.mjs +9 -8
- package/dist/plugins/passkey/index.cjs +6 -5
- package/dist/plugins/passkey/index.d.cts +2 -2
- package/dist/plugins/passkey/index.d.mts +2 -2
- package/dist/plugins/passkey/index.d.ts +2 -2
- package/dist/plugins/passkey/index.mjs +6 -5
- package/dist/plugins/phone-number/index.cjs +6 -5
- package/dist/plugins/phone-number/index.d.cts +2 -2
- package/dist/plugins/phone-number/index.d.mts +2 -2
- package/dist/plugins/phone-number/index.d.ts +2 -2
- package/dist/plugins/phone-number/index.mjs +6 -5
- package/dist/plugins/siwe/index.cjs +6 -5
- package/dist/plugins/siwe/index.d.cts +2 -2
- package/dist/plugins/siwe/index.d.mts +2 -2
- package/dist/plugins/siwe/index.d.ts +2 -2
- package/dist/plugins/siwe/index.mjs +6 -5
- package/dist/plugins/sso/index.cjs +6 -5
- package/dist/plugins/sso/index.d.cts +4 -4
- package/dist/plugins/sso/index.d.mts +4 -4
- package/dist/plugins/sso/index.d.ts +4 -4
- package/dist/plugins/sso/index.mjs +6 -5
- package/dist/plugins/two-factor/index.cjs +6 -5
- package/dist/plugins/two-factor/index.d.cts +2 -2
- package/dist/plugins/two-factor/index.d.mts +2 -2
- package/dist/plugins/two-factor/index.d.ts +2 -2
- package/dist/plugins/two-factor/index.mjs +6 -5
- package/dist/plugins/username/index.cjs +8 -7
- package/dist/plugins/username/index.d.cts +20 -20
- package/dist/plugins/username/index.d.mts +20 -20
- package/dist/plugins/username/index.d.ts +20 -20
- package/dist/plugins/username/index.mjs +8 -7
- package/dist/shared/{better-auth.CveVqL58.cjs → better-auth.1iHKsGdY.cjs} +3 -3
- package/dist/shared/{better-auth.BQv0wGSb.d.ts → better-auth.3es9ZU_K.d.ts} +84 -41
- package/dist/shared/{better-auth.C6qXK08w.d.ts → better-auth.4SXCyo06.d.ts} +2 -2
- package/dist/shared/{better-auth.C1AWk7z7.mjs → better-auth.AYS43XM1.mjs} +1 -1
- package/dist/shared/{better-auth.1YBeofpK.cjs → better-auth.B2Bmtu6f.cjs} +5 -5
- package/dist/shared/{better-auth.3naUdTMW.mjs → better-auth.BAPVOPl3.mjs} +4 -4
- package/dist/shared/{better-auth.DxV4YGX3.mjs → better-auth.BAQSo96z.mjs} +6 -4
- package/dist/shared/{better-auth.Bhva6lEh.cjs → better-auth.BBk8MRta.cjs} +1 -1
- package/dist/shared/{better-auth.DWm9SJv0.mjs → better-auth.BHwIy11H.mjs} +5 -5
- package/dist/shared/{better-auth.BLORa3vY.d.ts → better-auth.BLDIAFp8.d.cts} +2 -2
- package/dist/shared/{better-auth.CLmuULOM.d.cts → better-auth.BOKSn3AP.d.cts} +84 -41
- package/dist/shared/{better-auth.DqKvGWll.d.cts → better-auth.BW0VS3vZ.d.cts} +1 -1
- package/dist/shared/{better-auth.-8Mk4DBL.mjs → better-auth.Bc2H_kPB.mjs} +4 -4
- package/dist/shared/{better-auth.DL8idXrv.mjs → better-auth.BoY6Vo7c.mjs} +1 -1
- package/dist/shared/{better-auth.DsRTWTq9.mjs → better-auth.C-9OPnjJ.mjs} +10 -10
- package/dist/shared/{better-auth.BDdoXh_7.cjs → better-auth.C0WkvM-b.cjs} +10 -10
- package/dist/shared/{better-auth.CvVm_hFg.cjs → better-auth.C2xLgiCv.cjs} +1 -1
- package/dist/shared/{better-auth.DIAGL28F.cjs → better-auth.C4gSFtQb.cjs} +4 -4
- package/dist/shared/{better-auth.DBmu12iE.d.ts → better-auth.CAc8m5ps.d.ts} +1 -1
- package/dist/shared/{better-auth.XB1l7SdM.d.ts → better-auth.CBpfh9gd.d.ts} +1 -1
- package/dist/shared/{better-auth.Bbkp5JKM.d.mts → better-auth.CHakYG_s.d.mts} +1 -1
- package/dist/shared/{better-auth.CBY7cUGy.mjs → better-auth.CIqzVuC5.mjs} +6 -4
- package/dist/shared/{better-auth.Dlh8OCID.mjs → better-auth.CJ2rnsDV.mjs} +3 -0
- package/dist/shared/{better-auth.CnD_hzZ_.mjs → better-auth.CJk6lu9H.mjs} +7 -7
- package/dist/shared/{better-auth.CAcHGnwq.cjs → better-auth.CWoe8tep.cjs} +6 -4
- package/dist/shared/{better-auth.aytbwQG-.mjs → better-auth.Cs4ObP2J.mjs} +9 -8
- package/dist/shared/{better-auth.Dx5-aWCB.mjs → better-auth.Cw2Wb5xl.mjs} +3 -3
- package/dist/shared/{better-auth.CV6SLN2A.mjs → better-auth.CyhdLtgz.mjs} +28 -9
- package/dist/shared/{better-auth.gfiicitY.d.cts → better-auth.D1mfnXw8.d.ts} +2 -2
- package/dist/shared/{better-auth.DXGtScCP.cjs → better-auth.D2444EHu.cjs} +2 -2
- package/dist/shared/better-auth.D2xndZ2p.mjs +5 -0
- package/dist/shared/{better-auth.DabBNJnG.d.mts → better-auth.D63GoHoT.d.mts} +1 -1
- package/dist/shared/{better-auth.DhsGZ30Q.cjs → better-auth.DUNU0obG.cjs} +1 -1
- package/dist/shared/{better-auth.Ddv1-cj-.mjs → better-auth.DUTxy-hg.mjs} +2 -2
- package/dist/shared/{better-auth.DIPz2ymP.cjs → better-auth.DVpUemsq.cjs} +159 -34
- package/dist/shared/{better-auth.owJK4RTO.cjs → better-auth.DcLnIy5M.cjs} +28 -9
- package/dist/shared/{better-auth.CX8orviF.cjs → better-auth.DcYLM7Us.cjs} +3 -0
- package/dist/shared/{better-auth.BkcRiga0.cjs → better-auth.Df7v65t4.cjs} +4 -4
- package/dist/shared/{better-auth.C1TnI_Rz.mjs → better-auth.DpE8ZxDZ.mjs} +159 -34
- package/dist/shared/{better-auth.CreeZQ__.d.mts → better-auth.DqouI_5s.d.cts} +1 -1
- package/dist/shared/{better-auth.DRmln2Nr.cjs → better-auth.DxBcELEX.cjs} +6 -4
- package/dist/shared/{better-auth.B7A2AeSg.cjs → better-auth.Fhb5xDFB.cjs} +7 -7
- package/dist/shared/{better-auth.b3V1DCfW.cjs → better-auth.W6wY8Xk1.cjs} +9 -8
- package/dist/shared/{better-auth.BHPr8J54.d.mts → better-auth.XefKa8DI.d.mts} +2 -2
- package/dist/shared/{better-auth.ffWeg50w.mjs → better-auth.msGOU0m9.mjs} +1 -1
- package/dist/shared/{better-auth.CXM9s0dx.cjs → better-auth.oHfRlmfe.cjs} +2 -2
- package/dist/shared/{better-auth.fV_ra52g.mjs → better-auth.pyHheoY8.mjs} +2 -2
- package/dist/shared/better-auth.uykCWCYS.cjs +7 -0
- package/dist/shared/{better-auth.B_xbPKKL.d.mts → better-auth.vNMd9aBC.d.mts} +84 -41
- package/dist/shared/{better-auth.7zTmTxT4.d.cts → better-auth.v_lf-jeY.d.cts} +2 -2
- package/dist/shared/{better-auth.CxLMKBFr.d.cts → better-auth.x83uJ-Ru.d.mts} +1 -1
- package/dist/social-providers/index.cjs +6 -5
- package/dist/social-providers/index.d.cts +1 -1
- package/dist/social-providers/index.d.mts +1 -1
- package/dist/social-providers/index.d.ts +1 -1
- package/dist/social-providers/index.mjs +6 -5
- package/dist/test-utils/index.cjs +14 -13
- package/dist/test-utils/index.d.cts +63 -61
- package/dist/test-utils/index.d.mts +63 -61
- package/dist/test-utils/index.d.ts +63 -61
- package/dist/test-utils/index.mjs +14 -13
- package/dist/types/index.d.cts +3 -3
- package/dist/types/index.d.mts +3 -3
- package/dist/types/index.d.ts +3 -3
- package/package.json +4 -7
|
@@ -2,11 +2,11 @@ import { OrganizationOptions, organization, InferMember, InferInvitation, Team,
|
|
|
2
2
|
import { AccessControl, Role, Statements } from '../../plugins/access/index.js';
|
|
3
3
|
import * as nanostores from 'nanostores';
|
|
4
4
|
import { atom } from 'nanostores';
|
|
5
|
-
import { L as FieldAttribute, B as BetterAuthOptions, U as User, n as BetterAuthPlugin } from '../../shared/better-auth.
|
|
5
|
+
import { L as FieldAttribute, B as BetterAuthOptions, U as User, n as BetterAuthPlugin } from '../../shared/better-auth.3es9ZU_K.js';
|
|
6
6
|
import { a as Prettify } from '../../shared/better-auth.DTtXpZYr.js';
|
|
7
7
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
8
8
|
import { BetterFetch, BetterFetchOption } from '@better-fetch/fetch';
|
|
9
|
-
import { e as Store, C as ClientOptions, S as SessionQueryParams } from '../../shared/better-auth.
|
|
9
|
+
import { e as Store, C as ClientOptions, S as SessionQueryParams } from '../../shared/better-auth.CAc8m5ps.js';
|
|
10
10
|
import { username } from '../../plugins/username/index.js';
|
|
11
11
|
import { Session } from 'inspector';
|
|
12
12
|
import { Passkey, passkey } from '../../plugins/passkey/index.js';
|
|
@@ -21,7 +21,7 @@ import { multiSession } from '../../plugins/multi-session/index.js';
|
|
|
21
21
|
import { emailOTP } from '../../plugins/email-otp/index.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.D1mfnXw8.js';
|
|
25
25
|
import { oneTimeToken } from '../../plugins/one-time-token/index.js';
|
|
26
26
|
import { siwe } from '../../plugins/siwe/index.js';
|
|
27
27
|
export { deviceAuthorizationClient } from '../../plugins/device-authorization/index.js';
|
|
@@ -31,7 +31,7 @@ import 'zod';
|
|
|
31
31
|
import 'better-call';
|
|
32
32
|
import '../../plugins/organization/access/index.js';
|
|
33
33
|
import 'kysely';
|
|
34
|
-
import '../../shared/better-auth.
|
|
34
|
+
import '../../shared/better-auth.4SXCyo06.js';
|
|
35
35
|
import 'zod/v4/core';
|
|
36
36
|
import 'better-sqlite3';
|
|
37
37
|
import 'bun:sqlite';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const proxy = require('../../shared/better-auth.
|
|
3
|
+
const proxy = require('../../shared/better-auth.Df7v65t4.cjs');
|
|
4
4
|
const nanostores = require('nanostores');
|
|
5
5
|
const react = require('react');
|
|
6
6
|
require('@better-fetch/fetch');
|
|
7
|
-
require('../../shared/better-auth.
|
|
7
|
+
require('../../shared/better-auth.DxBcELEX.cjs');
|
|
8
8
|
require('../../shared/better-auth.B6fIklBU.cjs');
|
|
9
9
|
require('../../shared/better-auth.ANpbi45u.cjs');
|
|
10
10
|
require('../../shared/better-auth.D9AYOecd.cjs');
|
|
11
|
-
require('../../shared/better-auth.
|
|
11
|
+
require('../../shared/better-auth.DUNU0obG.cjs');
|
|
12
12
|
|
|
13
13
|
function useStore(store, options = {}) {
|
|
14
14
|
let snapshotRef = react.useRef(store.get());
|
|
@@ -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, S as SessionQueryParams, c as InferErrorCodes } from '../../shared/better-auth.
|
|
7
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, S as SessionQueryParams, c as InferErrorCodes } from '../../shared/better-auth.BW0VS3vZ.cjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.cjs';
|
|
9
9
|
import { DependencyList } from 'react';
|
|
10
|
-
import { b as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
10
|
+
import { b as BASE_ERROR_CODES } from '../../shared/better-auth.BOKSn3AP.cjs';
|
|
11
11
|
import 'better-call';
|
|
12
12
|
import 'kysely';
|
|
13
|
-
import '../../shared/better-auth.
|
|
13
|
+
import '../../shared/better-auth.v_lf-jeY.cjs';
|
|
14
14
|
import 'zod';
|
|
15
15
|
import 'zod/v4/core';
|
|
16
16
|
import 'better-sqlite3';
|
|
@@ -115,19 +115,19 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
115
115
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
116
116
|
};
|
|
117
117
|
})[];
|
|
118
|
-
|
|
119
|
-
|
|
118
|
+
redirect?: RequestRedirect | undefined;
|
|
119
|
+
method: string;
|
|
120
120
|
headers?: (HeadersInit & (HeadersInit | {
|
|
121
121
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
122
122
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
123
123
|
authorization: "Bearer" | "Basic";
|
|
124
124
|
})) | undefined;
|
|
125
|
+
cache?: RequestCache | undefined;
|
|
126
|
+
credentials?: RequestCredentials;
|
|
125
127
|
integrity?: string | undefined;
|
|
126
128
|
keepalive?: boolean | undefined;
|
|
127
|
-
method: string;
|
|
128
129
|
mode?: RequestMode | undefined;
|
|
129
130
|
priority?: RequestPriority | undefined;
|
|
130
|
-
redirect?: RequestRedirect | undefined;
|
|
131
131
|
referrer?: string | undefined;
|
|
132
132
|
referrerPolicy?: ReferrerPolicy | undefined;
|
|
133
133
|
signal?: (AbortSignal | null) | undefined;
|
|
@@ -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, S as SessionQueryParams, c as InferErrorCodes } from '../../shared/better-auth.
|
|
7
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, S as SessionQueryParams, c as InferErrorCodes } from '../../shared/better-auth.D63GoHoT.mjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.mjs';
|
|
9
9
|
import { DependencyList } from 'react';
|
|
10
|
-
import { b as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
10
|
+
import { b as BASE_ERROR_CODES } from '../../shared/better-auth.vNMd9aBC.mjs';
|
|
11
11
|
import 'better-call';
|
|
12
12
|
import 'kysely';
|
|
13
|
-
import '../../shared/better-auth.
|
|
13
|
+
import '../../shared/better-auth.XefKa8DI.mjs';
|
|
14
14
|
import 'zod';
|
|
15
15
|
import 'zod/v4/core';
|
|
16
16
|
import 'better-sqlite3';
|
|
@@ -115,19 +115,19 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
115
115
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
116
116
|
};
|
|
117
117
|
})[];
|
|
118
|
-
|
|
119
|
-
|
|
118
|
+
redirect?: RequestRedirect | undefined;
|
|
119
|
+
method: string;
|
|
120
120
|
headers?: (HeadersInit & (HeadersInit | {
|
|
121
121
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
122
122
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
123
123
|
authorization: "Bearer" | "Basic";
|
|
124
124
|
})) | undefined;
|
|
125
|
+
cache?: RequestCache | undefined;
|
|
126
|
+
credentials?: RequestCredentials;
|
|
125
127
|
integrity?: string | undefined;
|
|
126
128
|
keepalive?: boolean | undefined;
|
|
127
|
-
method: string;
|
|
128
129
|
mode?: RequestMode | undefined;
|
|
129
130
|
priority?: RequestPriority | undefined;
|
|
130
|
-
redirect?: RequestRedirect | undefined;
|
|
131
131
|
referrer?: string | undefined;
|
|
132
132
|
referrerPolicy?: ReferrerPolicy | undefined;
|
|
133
133
|
signal?: (AbortSignal | null) | undefined;
|
|
@@ -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, S as SessionQueryParams, c as InferErrorCodes } from '../../shared/better-auth.
|
|
7
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, S as SessionQueryParams, c as InferErrorCodes } from '../../shared/better-auth.CAc8m5ps.js';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.js';
|
|
9
9
|
import { DependencyList } from 'react';
|
|
10
|
-
import { b as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
10
|
+
import { b as BASE_ERROR_CODES } from '../../shared/better-auth.3es9ZU_K.js';
|
|
11
11
|
import 'better-call';
|
|
12
12
|
import 'kysely';
|
|
13
|
-
import '../../shared/better-auth.
|
|
13
|
+
import '../../shared/better-auth.4SXCyo06.js';
|
|
14
14
|
import 'zod';
|
|
15
15
|
import 'zod/v4/core';
|
|
16
16
|
import 'better-sqlite3';
|
|
@@ -115,19 +115,19 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
115
115
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
116
116
|
};
|
|
117
117
|
})[];
|
|
118
|
-
|
|
119
|
-
|
|
118
|
+
redirect?: RequestRedirect | undefined;
|
|
119
|
+
method: string;
|
|
120
120
|
headers?: (HeadersInit & (HeadersInit | {
|
|
121
121
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
122
122
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
123
123
|
authorization: "Bearer" | "Basic";
|
|
124
124
|
})) | undefined;
|
|
125
|
+
cache?: RequestCache | undefined;
|
|
126
|
+
credentials?: RequestCredentials;
|
|
125
127
|
integrity?: string | undefined;
|
|
126
128
|
keepalive?: boolean | undefined;
|
|
127
|
-
method: string;
|
|
128
129
|
mode?: RequestMode | undefined;
|
|
129
130
|
priority?: RequestPriority | undefined;
|
|
130
|
-
redirect?: RequestRedirect | undefined;
|
|
131
131
|
referrer?: string | undefined;
|
|
132
132
|
referrerPolicy?: ReferrerPolicy | undefined;
|
|
133
133
|
signal?: (AbortSignal | null) | undefined;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { g as getClientConfig, c as createDynamicPathProxy } from '../../shared/better-auth.
|
|
1
|
+
import { g as getClientConfig, c as createDynamicPathProxy } from '../../shared/better-auth.BAPVOPl3.mjs';
|
|
2
2
|
import { listenKeys } from 'nanostores';
|
|
3
3
|
import { useRef, useCallback, useSyncExternalStore } from 'react';
|
|
4
4
|
import '@better-fetch/fetch';
|
|
5
|
-
import '../../shared/better-auth.
|
|
5
|
+
import '../../shared/better-auth.BAQSo96z.mjs';
|
|
6
6
|
import '../../shared/better-auth.CiuwFiHM.mjs';
|
|
7
7
|
import '../../shared/better-auth.DdzSJf-n.mjs';
|
|
8
8
|
import '../../shared/better-auth.BYWGbmZ5.mjs';
|
|
9
|
-
import '../../shared/better-auth.
|
|
9
|
+
import '../../shared/better-auth.msGOU0m9.mjs';
|
|
10
10
|
|
|
11
11
|
function useStore(store, options = {}) {
|
|
12
12
|
let snapshotRef = useRef(store.get());
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const proxy = require('../../shared/better-auth.
|
|
3
|
+
const proxy = require('../../shared/better-auth.Df7v65t4.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');
|
|
7
7
|
require('@better-fetch/fetch');
|
|
8
|
-
require('../../shared/better-auth.
|
|
8
|
+
require('../../shared/better-auth.DxBcELEX.cjs');
|
|
9
9
|
require('../../shared/better-auth.B6fIklBU.cjs');
|
|
10
10
|
require('../../shared/better-auth.ANpbi45u.cjs');
|
|
11
11
|
require('nanostores');
|
|
12
12
|
require('../../shared/better-auth.D9AYOecd.cjs');
|
|
13
|
-
require('../../shared/better-auth.
|
|
13
|
+
require('../../shared/better-auth.DUNU0obG.cjs');
|
|
14
14
|
|
|
15
15
|
function useStore(store$1) {
|
|
16
16
|
const unbindActivation = store$1.listen(() => {
|
|
@@ -1,14 +1,14 @@
|
|
|
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.BW0VS3vZ.cjs';
|
|
5
5
|
import { Accessor } from 'solid-js';
|
|
6
6
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.cjs';
|
|
7
|
-
import { b as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
7
|
+
import { b as BASE_ERROR_CODES } from '../../shared/better-auth.BOKSn3AP.cjs';
|
|
8
8
|
export * from 'nanostores';
|
|
9
9
|
import 'better-call';
|
|
10
10
|
import 'kysely';
|
|
11
|
-
import '../../shared/better-auth.
|
|
11
|
+
import '../../shared/better-auth.v_lf-jeY.cjs';
|
|
12
12
|
import 'zod';
|
|
13
13
|
import 'zod/v4/core';
|
|
14
14
|
import 'better-sqlite3';
|
|
@@ -23,15 +23,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
23
23
|
data: InferClientAPI<Option> extends {
|
|
24
24
|
getSession: () => Promise<infer Res>;
|
|
25
25
|
} ? Res extends {
|
|
26
|
+
data: infer S;
|
|
27
|
+
error: null;
|
|
28
|
+
} | {
|
|
26
29
|
data: null;
|
|
27
30
|
error: {
|
|
28
31
|
message?: string | undefined;
|
|
29
32
|
status: number;
|
|
30
33
|
statusText: string;
|
|
31
34
|
};
|
|
32
|
-
} | {
|
|
33
|
-
data: infer S;
|
|
34
|
-
error: null;
|
|
35
35
|
} ? S : Res extends Record<string, any> ? Res : never : never;
|
|
36
36
|
isPending: boolean;
|
|
37
37
|
isRefetching: boolean;
|
|
@@ -41,15 +41,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
41
41
|
Session: NonNullable<InferClientAPI<Option> extends {
|
|
42
42
|
getSession: () => Promise<infer Res>;
|
|
43
43
|
} ? Res extends {
|
|
44
|
+
data: infer S;
|
|
45
|
+
error: null;
|
|
46
|
+
} | {
|
|
44
47
|
data: null;
|
|
45
48
|
error: {
|
|
46
49
|
message?: string | undefined;
|
|
47
50
|
status: number;
|
|
48
51
|
statusText: string;
|
|
49
52
|
};
|
|
50
|
-
} | {
|
|
51
|
-
data: infer S;
|
|
52
|
-
error: null;
|
|
53
53
|
} ? S : Res extends Record<string, any> ? Res : never : never>;
|
|
54
54
|
};
|
|
55
55
|
$fetch: _better_fetch_fetch.BetterFetch<{
|
|
@@ -69,19 +69,19 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
69
69
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
70
70
|
};
|
|
71
71
|
})[];
|
|
72
|
-
|
|
73
|
-
|
|
72
|
+
redirect?: RequestRedirect | undefined;
|
|
73
|
+
method: string;
|
|
74
74
|
headers?: (HeadersInit & (HeadersInit | {
|
|
75
75
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
76
76
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
77
77
|
authorization: "Bearer" | "Basic";
|
|
78
78
|
})) | undefined;
|
|
79
|
+
cache?: RequestCache | undefined;
|
|
80
|
+
credentials?: RequestCredentials;
|
|
79
81
|
integrity?: string | undefined;
|
|
80
82
|
keepalive?: boolean | undefined;
|
|
81
|
-
method: string;
|
|
82
83
|
mode?: RequestMode | undefined;
|
|
83
84
|
priority?: RequestPriority | undefined;
|
|
84
|
-
redirect?: RequestRedirect | undefined;
|
|
85
85
|
referrer?: string | undefined;
|
|
86
86
|
referrerPolicy?: ReferrerPolicy | undefined;
|
|
87
87
|
signal?: (AbortSignal | null) | undefined;
|
|
@@ -1,14 +1,14 @@
|
|
|
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.D63GoHoT.mjs';
|
|
5
5
|
import { Accessor } from 'solid-js';
|
|
6
6
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.mjs';
|
|
7
|
-
import { b as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
7
|
+
import { b as BASE_ERROR_CODES } from '../../shared/better-auth.vNMd9aBC.mjs';
|
|
8
8
|
export * from 'nanostores';
|
|
9
9
|
import 'better-call';
|
|
10
10
|
import 'kysely';
|
|
11
|
-
import '../../shared/better-auth.
|
|
11
|
+
import '../../shared/better-auth.XefKa8DI.mjs';
|
|
12
12
|
import 'zod';
|
|
13
13
|
import 'zod/v4/core';
|
|
14
14
|
import 'better-sqlite3';
|
|
@@ -23,15 +23,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
23
23
|
data: InferClientAPI<Option> extends {
|
|
24
24
|
getSession: () => Promise<infer Res>;
|
|
25
25
|
} ? Res extends {
|
|
26
|
+
data: infer S;
|
|
27
|
+
error: null;
|
|
28
|
+
} | {
|
|
26
29
|
data: null;
|
|
27
30
|
error: {
|
|
28
31
|
message?: string | undefined;
|
|
29
32
|
status: number;
|
|
30
33
|
statusText: string;
|
|
31
34
|
};
|
|
32
|
-
} | {
|
|
33
|
-
data: infer S;
|
|
34
|
-
error: null;
|
|
35
35
|
} ? S : Res extends Record<string, any> ? Res : never : never;
|
|
36
36
|
isPending: boolean;
|
|
37
37
|
isRefetching: boolean;
|
|
@@ -41,15 +41,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
41
41
|
Session: NonNullable<InferClientAPI<Option> extends {
|
|
42
42
|
getSession: () => Promise<infer Res>;
|
|
43
43
|
} ? Res extends {
|
|
44
|
+
data: infer S;
|
|
45
|
+
error: null;
|
|
46
|
+
} | {
|
|
44
47
|
data: null;
|
|
45
48
|
error: {
|
|
46
49
|
message?: string | undefined;
|
|
47
50
|
status: number;
|
|
48
51
|
statusText: string;
|
|
49
52
|
};
|
|
50
|
-
} | {
|
|
51
|
-
data: infer S;
|
|
52
|
-
error: null;
|
|
53
53
|
} ? S : Res extends Record<string, any> ? Res : never : never>;
|
|
54
54
|
};
|
|
55
55
|
$fetch: _better_fetch_fetch.BetterFetch<{
|
|
@@ -69,19 +69,19 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
69
69
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
70
70
|
};
|
|
71
71
|
})[];
|
|
72
|
-
|
|
73
|
-
|
|
72
|
+
redirect?: RequestRedirect | undefined;
|
|
73
|
+
method: string;
|
|
74
74
|
headers?: (HeadersInit & (HeadersInit | {
|
|
75
75
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
76
76
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
77
77
|
authorization: "Bearer" | "Basic";
|
|
78
78
|
})) | undefined;
|
|
79
|
+
cache?: RequestCache | undefined;
|
|
80
|
+
credentials?: RequestCredentials;
|
|
79
81
|
integrity?: string | undefined;
|
|
80
82
|
keepalive?: boolean | undefined;
|
|
81
|
-
method: string;
|
|
82
83
|
mode?: RequestMode | undefined;
|
|
83
84
|
priority?: RequestPriority | undefined;
|
|
84
|
-
redirect?: RequestRedirect | undefined;
|
|
85
85
|
referrer?: string | undefined;
|
|
86
86
|
referrerPolicy?: ReferrerPolicy | undefined;
|
|
87
87
|
signal?: (AbortSignal | null) | undefined;
|
|
@@ -1,14 +1,14 @@
|
|
|
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.CAc8m5ps.js';
|
|
5
5
|
import { Accessor } from 'solid-js';
|
|
6
6
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.js';
|
|
7
|
-
import { b as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
7
|
+
import { b as BASE_ERROR_CODES } from '../../shared/better-auth.3es9ZU_K.js';
|
|
8
8
|
export * from 'nanostores';
|
|
9
9
|
import 'better-call';
|
|
10
10
|
import 'kysely';
|
|
11
|
-
import '../../shared/better-auth.
|
|
11
|
+
import '../../shared/better-auth.4SXCyo06.js';
|
|
12
12
|
import 'zod';
|
|
13
13
|
import 'zod/v4/core';
|
|
14
14
|
import 'better-sqlite3';
|
|
@@ -23,15 +23,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
23
23
|
data: InferClientAPI<Option> extends {
|
|
24
24
|
getSession: () => Promise<infer Res>;
|
|
25
25
|
} ? Res extends {
|
|
26
|
+
data: infer S;
|
|
27
|
+
error: null;
|
|
28
|
+
} | {
|
|
26
29
|
data: null;
|
|
27
30
|
error: {
|
|
28
31
|
message?: string | undefined;
|
|
29
32
|
status: number;
|
|
30
33
|
statusText: string;
|
|
31
34
|
};
|
|
32
|
-
} | {
|
|
33
|
-
data: infer S;
|
|
34
|
-
error: null;
|
|
35
35
|
} ? S : Res extends Record<string, any> ? Res : never : never;
|
|
36
36
|
isPending: boolean;
|
|
37
37
|
isRefetching: boolean;
|
|
@@ -41,15 +41,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
41
41
|
Session: NonNullable<InferClientAPI<Option> extends {
|
|
42
42
|
getSession: () => Promise<infer Res>;
|
|
43
43
|
} ? Res extends {
|
|
44
|
+
data: infer S;
|
|
45
|
+
error: null;
|
|
46
|
+
} | {
|
|
44
47
|
data: null;
|
|
45
48
|
error: {
|
|
46
49
|
message?: string | undefined;
|
|
47
50
|
status: number;
|
|
48
51
|
statusText: string;
|
|
49
52
|
};
|
|
50
|
-
} | {
|
|
51
|
-
data: infer S;
|
|
52
|
-
error: null;
|
|
53
53
|
} ? S : Res extends Record<string, any> ? Res : never : never>;
|
|
54
54
|
};
|
|
55
55
|
$fetch: _better_fetch_fetch.BetterFetch<{
|
|
@@ -69,19 +69,19 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
69
69
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
70
70
|
};
|
|
71
71
|
})[];
|
|
72
|
-
|
|
73
|
-
|
|
72
|
+
redirect?: RequestRedirect | undefined;
|
|
73
|
+
method: string;
|
|
74
74
|
headers?: (HeadersInit & (HeadersInit | {
|
|
75
75
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
76
76
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
77
77
|
authorization: "Bearer" | "Basic";
|
|
78
78
|
})) | undefined;
|
|
79
|
+
cache?: RequestCache | undefined;
|
|
80
|
+
credentials?: RequestCredentials;
|
|
79
81
|
integrity?: string | undefined;
|
|
80
82
|
keepalive?: boolean | undefined;
|
|
81
|
-
method: string;
|
|
82
83
|
mode?: RequestMode | undefined;
|
|
83
84
|
priority?: RequestPriority | undefined;
|
|
84
|
-
redirect?: RequestRedirect | undefined;
|
|
85
85
|
referrer?: string | undefined;
|
|
86
86
|
referrerPolicy?: ReferrerPolicy | undefined;
|
|
87
87
|
signal?: (AbortSignal | null) | undefined;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { g as getClientConfig, c as createDynamicPathProxy } from '../../shared/better-auth.
|
|
1
|
+
import { g as getClientConfig, c as createDynamicPathProxy } from '../../shared/better-auth.BAPVOPl3.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';
|
|
5
5
|
import '@better-fetch/fetch';
|
|
6
|
-
import '../../shared/better-auth.
|
|
6
|
+
import '../../shared/better-auth.BAQSo96z.mjs';
|
|
7
7
|
import '../../shared/better-auth.CiuwFiHM.mjs';
|
|
8
8
|
import '../../shared/better-auth.DdzSJf-n.mjs';
|
|
9
9
|
import 'nanostores';
|
|
10
10
|
import '../../shared/better-auth.BYWGbmZ5.mjs';
|
|
11
|
-
import '../../shared/better-auth.
|
|
11
|
+
import '../../shared/better-auth.msGOU0m9.mjs';
|
|
12
12
|
|
|
13
13
|
function useStore(store) {
|
|
14
14
|
const unbindActivation = store.listen(() => {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const proxy = require('../../shared/better-auth.
|
|
3
|
+
const proxy = require('../../shared/better-auth.Df7v65t4.cjs');
|
|
4
4
|
const misc = require('../../shared/better-auth.BLDOwz3i.cjs');
|
|
5
5
|
require('@better-fetch/fetch');
|
|
6
|
-
require('../../shared/better-auth.
|
|
6
|
+
require('../../shared/better-auth.DxBcELEX.cjs');
|
|
7
7
|
require('../../shared/better-auth.B6fIklBU.cjs');
|
|
8
8
|
require('../../shared/better-auth.ANpbi45u.cjs');
|
|
9
9
|
require('nanostores');
|
|
10
10
|
require('../../shared/better-auth.D9AYOecd.cjs');
|
|
11
|
-
require('../../shared/better-auth.
|
|
11
|
+
require('../../shared/better-auth.DUNU0obG.cjs');
|
|
12
12
|
|
|
13
13
|
function createAuthClient(options) {
|
|
14
14
|
const {
|
|
@@ -4,12 +4,12 @@ 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.
|
|
7
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.BW0VS3vZ.cjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.cjs';
|
|
9
|
-
import { b as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { b as BASE_ERROR_CODES } from '../../shared/better-auth.BOKSn3AP.cjs';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'kysely';
|
|
12
|
-
import '../../shared/better-auth.
|
|
12
|
+
import '../../shared/better-auth.v_lf-jeY.cjs';
|
|
13
13
|
import 'zod';
|
|
14
14
|
import 'zod/v4/core';
|
|
15
15
|
import 'better-sqlite3';
|
|
@@ -55,19 +55,19 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
55
55
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
56
56
|
};
|
|
57
57
|
})[];
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
redirect?: RequestRedirect | undefined;
|
|
59
|
+
method: string;
|
|
60
60
|
headers?: (HeadersInit & (HeadersInit | {
|
|
61
61
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
62
62
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
63
63
|
authorization: "Bearer" | "Basic";
|
|
64
64
|
})) | undefined;
|
|
65
|
+
cache?: RequestCache | undefined;
|
|
66
|
+
credentials?: RequestCredentials;
|
|
65
67
|
integrity?: string | undefined;
|
|
66
68
|
keepalive?: boolean | undefined;
|
|
67
|
-
method: string;
|
|
68
69
|
mode?: RequestMode | undefined;
|
|
69
70
|
priority?: RequestPriority | undefined;
|
|
70
|
-
redirect?: RequestRedirect | undefined;
|
|
71
71
|
referrer?: string | undefined;
|
|
72
72
|
referrerPolicy?: ReferrerPolicy | undefined;
|
|
73
73
|
signal?: (AbortSignal | null) | undefined;
|
|
@@ -4,12 +4,12 @@ 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.
|
|
7
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.D63GoHoT.mjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.mjs';
|
|
9
|
-
import { b as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { b as BASE_ERROR_CODES } from '../../shared/better-auth.vNMd9aBC.mjs';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'kysely';
|
|
12
|
-
import '../../shared/better-auth.
|
|
12
|
+
import '../../shared/better-auth.XefKa8DI.mjs';
|
|
13
13
|
import 'zod';
|
|
14
14
|
import 'zod/v4/core';
|
|
15
15
|
import 'better-sqlite3';
|
|
@@ -55,19 +55,19 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
55
55
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
56
56
|
};
|
|
57
57
|
})[];
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
redirect?: RequestRedirect | undefined;
|
|
59
|
+
method: string;
|
|
60
60
|
headers?: (HeadersInit & (HeadersInit | {
|
|
61
61
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
62
62
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
63
63
|
authorization: "Bearer" | "Basic";
|
|
64
64
|
})) | undefined;
|
|
65
|
+
cache?: RequestCache | undefined;
|
|
66
|
+
credentials?: RequestCredentials;
|
|
65
67
|
integrity?: string | undefined;
|
|
66
68
|
keepalive?: boolean | undefined;
|
|
67
|
-
method: string;
|
|
68
69
|
mode?: RequestMode | undefined;
|
|
69
70
|
priority?: RequestPriority | undefined;
|
|
70
|
-
redirect?: RequestRedirect | undefined;
|
|
71
71
|
referrer?: string | undefined;
|
|
72
72
|
referrerPolicy?: ReferrerPolicy | undefined;
|
|
73
73
|
signal?: (AbortSignal | null) | undefined;
|
|
@@ -4,12 +4,12 @@ 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.
|
|
7
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.CAc8m5ps.js';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.js';
|
|
9
|
-
import { b as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { b as BASE_ERROR_CODES } from '../../shared/better-auth.3es9ZU_K.js';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'kysely';
|
|
12
|
-
import '../../shared/better-auth.
|
|
12
|
+
import '../../shared/better-auth.4SXCyo06.js';
|
|
13
13
|
import 'zod';
|
|
14
14
|
import 'zod/v4/core';
|
|
15
15
|
import 'better-sqlite3';
|
|
@@ -55,19 +55,19 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
55
55
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
56
56
|
};
|
|
57
57
|
})[];
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
redirect?: RequestRedirect | undefined;
|
|
59
|
+
method: string;
|
|
60
60
|
headers?: (HeadersInit & (HeadersInit | {
|
|
61
61
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
62
62
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
63
63
|
authorization: "Bearer" | "Basic";
|
|
64
64
|
})) | undefined;
|
|
65
|
+
cache?: RequestCache | undefined;
|
|
66
|
+
credentials?: RequestCredentials;
|
|
65
67
|
integrity?: string | undefined;
|
|
66
68
|
keepalive?: boolean | undefined;
|
|
67
|
-
method: string;
|
|
68
69
|
mode?: RequestMode | undefined;
|
|
69
70
|
priority?: RequestPriority | undefined;
|
|
70
|
-
redirect?: RequestRedirect | undefined;
|
|
71
71
|
referrer?: string | undefined;
|
|
72
72
|
referrerPolicy?: ReferrerPolicy | undefined;
|
|
73
73
|
signal?: (AbortSignal | null) | undefined;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { g as getClientConfig, c as createDynamicPathProxy } from '../../shared/better-auth.
|
|
1
|
+
import { g as getClientConfig, c as createDynamicPathProxy } from '../../shared/better-auth.BAPVOPl3.mjs';
|
|
2
2
|
import { c as capitalizeFirstLetter } from '../../shared/better-auth.D-2CmEwz.mjs';
|
|
3
3
|
import '@better-fetch/fetch';
|
|
4
|
-
import '../../shared/better-auth.
|
|
4
|
+
import '../../shared/better-auth.BAQSo96z.mjs';
|
|
5
5
|
import '../../shared/better-auth.CiuwFiHM.mjs';
|
|
6
6
|
import '../../shared/better-auth.DdzSJf-n.mjs';
|
|
7
7
|
import 'nanostores';
|
|
8
8
|
import '../../shared/better-auth.BYWGbmZ5.mjs';
|
|
9
|
-
import '../../shared/better-auth.
|
|
9
|
+
import '../../shared/better-auth.msGOU0m9.mjs';
|
|
10
10
|
|
|
11
11
|
function createAuthClient(options) {
|
|
12
12
|
const {
|