better-auth 1.3.0-beta.1 → 1.3.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.cjs +1 -1
- package/dist/adapters/drizzle-adapter/index.d.cts +2 -3
- package/dist/adapters/drizzle-adapter/index.d.mts +2 -3
- package/dist/adapters/drizzle-adapter/index.d.ts +2 -3
- package/dist/adapters/drizzle-adapter/index.mjs +1 -1
- package/dist/adapters/index.cjs +1 -1
- package/dist/adapters/index.d.cts +3 -4
- package/dist/adapters/index.d.mts +3 -4
- package/dist/adapters/index.d.ts +3 -4
- package/dist/adapters/index.mjs +1 -1
- package/dist/adapters/kysely-adapter/index.cjs +2 -2
- package/dist/adapters/kysely-adapter/index.d.cts +2 -3
- package/dist/adapters/kysely-adapter/index.d.mts +2 -3
- package/dist/adapters/kysely-adapter/index.d.ts +2 -3
- package/dist/adapters/kysely-adapter/index.mjs +2 -2
- package/dist/adapters/memory-adapter/index.cjs +2 -2
- package/dist/adapters/memory-adapter/index.d.cts +2 -3
- package/dist/adapters/memory-adapter/index.d.mts +2 -3
- package/dist/adapters/memory-adapter/index.d.ts +2 -3
- package/dist/adapters/memory-adapter/index.mjs +2 -2
- package/dist/adapters/mongodb-adapter/index.cjs +2 -2
- package/dist/adapters/mongodb-adapter/index.d.cts +2 -3
- package/dist/adapters/mongodb-adapter/index.d.mts +2 -3
- package/dist/adapters/mongodb-adapter/index.d.ts +2 -3
- package/dist/adapters/mongodb-adapter/index.mjs +2 -2
- package/dist/adapters/prisma-adapter/index.cjs +1 -1
- package/dist/adapters/prisma-adapter/index.d.cts +2 -3
- package/dist/adapters/prisma-adapter/index.d.mts +2 -3
- package/dist/adapters/prisma-adapter/index.d.ts +2 -3
- package/dist/adapters/prisma-adapter/index.mjs +1 -1
- package/dist/adapters/test.d.cts +2 -3
- package/dist/adapters/test.d.mts +2 -3
- package/dist/adapters/test.d.ts +2 -3
- package/dist/api/index.cjs +1 -1
- package/dist/api/index.d.cts +2 -3
- package/dist/api/index.d.mts +2 -3
- package/dist/api/index.d.ts +2 -3
- package/dist/api/index.mjs +2 -2
- package/dist/client/index.d.cts +4 -5
- package/dist/client/index.d.mts +4 -5
- package/dist/client/index.d.ts +4 -5
- package/dist/client/plugins/index.d.cts +4 -5
- package/dist/client/plugins/index.d.mts +4 -5
- package/dist/client/plugins/index.d.ts +4 -5
- package/dist/client/react/index.d.cts +4 -5
- package/dist/client/react/index.d.mts +4 -5
- package/dist/client/react/index.d.ts +4 -5
- package/dist/client/solid/index.d.cts +4 -5
- package/dist/client/solid/index.d.mts +4 -5
- package/dist/client/solid/index.d.ts +4 -5
- package/dist/client/svelte/index.d.cts +4 -5
- package/dist/client/svelte/index.d.mts +4 -5
- package/dist/client/svelte/index.d.ts +4 -5
- package/dist/client/vue/index.d.cts +4 -5
- package/dist/client/vue/index.d.mts +4 -5
- package/dist/client/vue/index.d.ts +4 -5
- package/dist/cookies/index.d.cts +2 -3
- package/dist/cookies/index.d.mts +2 -3
- package/dist/cookies/index.d.ts +2 -3
- package/dist/db/index.cjs +4 -4
- package/dist/db/index.d.cts +3 -4
- package/dist/db/index.d.mts +3 -4
- package/dist/db/index.d.ts +3 -4
- package/dist/db/index.mjs +4 -4
- package/dist/index.cjs +6 -6
- package/dist/index.d.cts +4 -5
- package/dist/index.d.mts +4 -5
- package/dist/index.d.ts +4 -5
- package/dist/index.mjs +6 -6
- package/dist/integrations/next-js.cjs +2 -2
- package/dist/integrations/next-js.d.cts +2 -3
- package/dist/integrations/next-js.d.mts +2 -3
- package/dist/integrations/next-js.d.ts +2 -3
- package/dist/integrations/next-js.mjs +2 -2
- package/dist/integrations/node.d.cts +2 -3
- package/dist/integrations/node.d.mts +2 -3
- package/dist/integrations/node.d.ts +2 -3
- package/dist/integrations/react-start.cjs +2 -2
- package/dist/integrations/react-start.d.cts +2 -3
- package/dist/integrations/react-start.d.mts +2 -3
- package/dist/integrations/react-start.d.ts +2 -3
- package/dist/integrations/react-start.mjs +2 -2
- package/dist/integrations/svelte-kit.cjs +1 -1
- package/dist/integrations/svelte-kit.d.cts +2 -3
- package/dist/integrations/svelte-kit.d.mts +2 -3
- package/dist/integrations/svelte-kit.d.ts +2 -3
- package/dist/integrations/svelte-kit.mjs +1 -1
- package/dist/oauth2/index.cjs +1 -1
- 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 +1 -1
- package/dist/plugins/admin/index.cjs +2 -2
- package/dist/plugins/admin/index.d.cts +8 -9
- package/dist/plugins/admin/index.d.mts +8 -9
- package/dist/plugins/admin/index.d.ts +8 -9
- package/dist/plugins/admin/index.mjs +2 -2
- package/dist/plugins/anonymous/index.cjs +2 -2
- package/dist/plugins/anonymous/index.d.cts +3 -4
- package/dist/plugins/anonymous/index.d.mts +3 -4
- package/dist/plugins/anonymous/index.d.ts +3 -4
- package/dist/plugins/anonymous/index.mjs +2 -2
- package/dist/plugins/bearer/index.cjs +1 -1
- package/dist/plugins/bearer/index.d.cts +2 -3
- package/dist/plugins/bearer/index.d.mts +2 -3
- package/dist/plugins/bearer/index.d.ts +2 -3
- package/dist/plugins/bearer/index.mjs +1 -1
- package/dist/plugins/captcha/index.d.cts +2 -3
- package/dist/plugins/captcha/index.d.mts +2 -3
- package/dist/plugins/captcha/index.d.ts +2 -3
- package/dist/plugins/custom-session/index.cjs +1 -1
- package/dist/plugins/custom-session/index.d.cts +2 -3
- package/dist/plugins/custom-session/index.d.mts +2 -3
- package/dist/plugins/custom-session/index.d.ts +2 -3
- package/dist/plugins/custom-session/index.mjs +1 -1
- package/dist/plugins/email-otp/index.cjs +13 -2
- package/dist/plugins/email-otp/index.d.cts +2 -3
- package/dist/plugins/email-otp/index.d.mts +2 -3
- package/dist/plugins/email-otp/index.d.ts +2 -3
- package/dist/plugins/email-otp/index.mjs +13 -2
- package/dist/plugins/generic-oauth/index.cjs +1 -1
- package/dist/plugins/generic-oauth/index.d.cts +2 -3
- package/dist/plugins/generic-oauth/index.d.mts +2 -3
- package/dist/plugins/generic-oauth/index.d.ts +2 -3
- package/dist/plugins/generic-oauth/index.mjs +1 -1
- package/dist/plugins/haveibeenpwned/index.cjs +1 -1
- package/dist/plugins/haveibeenpwned/index.d.cts +2 -3
- package/dist/plugins/haveibeenpwned/index.d.mts +2 -3
- package/dist/plugins/haveibeenpwned/index.d.ts +2 -3
- package/dist/plugins/haveibeenpwned/index.mjs +1 -1
- package/dist/plugins/index.cjs +6 -6
- package/dist/plugins/index.d.cts +4 -5
- package/dist/plugins/index.d.mts +4 -5
- package/dist/plugins/index.d.ts +4 -5
- package/dist/plugins/index.mjs +8 -8
- package/dist/plugins/jwt/index.cjs +1 -1
- package/dist/plugins/jwt/index.d.cts +2 -3
- package/dist/plugins/jwt/index.d.mts +2 -3
- package/dist/plugins/jwt/index.d.ts +2 -3
- package/dist/plugins/jwt/index.mjs +1 -1
- package/dist/plugins/magic-link/index.cjs +1 -1
- package/dist/plugins/magic-link/index.mjs +1 -1
- package/dist/plugins/multi-session/index.cjs +1 -1
- package/dist/plugins/multi-session/index.d.cts +2 -3
- package/dist/plugins/multi-session/index.d.mts +2 -3
- package/dist/plugins/multi-session/index.d.ts +2 -3
- package/dist/plugins/multi-session/index.mjs +1 -1
- package/dist/plugins/oauth-proxy/index.cjs +1 -1
- package/dist/plugins/oauth-proxy/index.d.cts +2 -3
- package/dist/plugins/oauth-proxy/index.d.mts +2 -3
- package/dist/plugins/oauth-proxy/index.d.ts +2 -3
- package/dist/plugins/oauth-proxy/index.mjs +1 -1
- package/dist/plugins/oidc-provider/index.cjs +2 -2
- package/dist/plugins/oidc-provider/index.d.cts +7 -8
- package/dist/plugins/oidc-provider/index.d.mts +7 -8
- package/dist/plugins/oidc-provider/index.d.ts +7 -8
- package/dist/plugins/oidc-provider/index.mjs +2 -2
- package/dist/plugins/one-tap/index.cjs +1 -1
- package/dist/plugins/one-tap/index.mjs +1 -1
- package/dist/plugins/one-time-token/index.cjs +2 -2
- package/dist/plugins/one-time-token/index.d.cts +2 -3
- package/dist/plugins/one-time-token/index.d.mts +2 -3
- package/dist/plugins/one-time-token/index.d.ts +2 -3
- package/dist/plugins/one-time-token/index.mjs +2 -2
- package/dist/plugins/open-api/index.cjs +1 -1
- package/dist/plugins/open-api/index.d.cts +2 -3
- package/dist/plugins/open-api/index.d.mts +2 -3
- package/dist/plugins/open-api/index.d.ts +2 -3
- package/dist/plugins/open-api/index.mjs +1 -1
- package/dist/plugins/organization/index.cjs +2 -2
- package/dist/plugins/organization/index.d.cts +16 -5
- package/dist/plugins/organization/index.d.mts +16 -5
- package/dist/plugins/organization/index.d.ts +16 -5
- package/dist/plugins/organization/index.mjs +2 -2
- package/dist/plugins/passkey/index.cjs +1 -1
- package/dist/plugins/passkey/index.d.cts +2 -3
- package/dist/plugins/passkey/index.d.mts +2 -3
- package/dist/plugins/passkey/index.d.ts +2 -3
- package/dist/plugins/passkey/index.mjs +1 -1
- package/dist/plugins/phone-number/index.cjs +4 -1
- package/dist/plugins/phone-number/index.d.cts +2 -3
- package/dist/plugins/phone-number/index.d.mts +2 -3
- package/dist/plugins/phone-number/index.d.ts +2 -3
- package/dist/plugins/phone-number/index.mjs +4 -1
- package/dist/plugins/sso/index.cjs +1 -1
- package/dist/plugins/sso/index.d.cts +5 -6
- package/dist/plugins/sso/index.d.mts +5 -6
- package/dist/plugins/sso/index.d.ts +5 -6
- package/dist/plugins/sso/index.mjs +1 -1
- package/dist/plugins/two-factor/index.cjs +2 -2
- package/dist/plugins/two-factor/index.d.cts +5 -6
- package/dist/plugins/two-factor/index.d.mts +5 -6
- package/dist/plugins/two-factor/index.d.ts +5 -6
- package/dist/plugins/two-factor/index.mjs +2 -2
- package/dist/plugins/username/index.cjs +1 -1
- package/dist/plugins/username/index.d.cts +2 -3
- package/dist/plugins/username/index.d.mts +2 -3
- package/dist/plugins/username/index.d.ts +2 -3
- package/dist/plugins/username/index.mjs +1 -1
- package/dist/shared/{better-auth.CQV-2y_Y.mjs → better-auth.B1UvcDzZ.mjs} +1 -1
- package/dist/shared/{better-auth.BwzbjrL-.cjs → better-auth.B7Dt9CoJ.cjs} +1 -1
- package/dist/shared/{better-auth.BS3Demkz.d.mts → better-auth.BEKm37Eq.d.mts} +98 -4
- package/dist/shared/{better-auth.R5j4pcIB.cjs → better-auth.BK4bljal.cjs} +2 -2
- package/dist/shared/{better-auth.BSgag_pZ.d.mts → better-auth.BxzpFmqs.d.mts} +54 -78
- package/dist/shared/{better-auth.BSZkdMz9.d.mts → better-auth.BzQpV2kN.d.cts} +1 -1
- package/dist/shared/{better-auth.BwYdnxVP.mjs → better-auth.C3eCZf9N.mjs} +11 -4
- package/dist/shared/{better-auth.PJsOIE-w.mjs → better-auth.CBQcGOAy.mjs} +2 -2
- package/dist/shared/{better-auth.CPSgQTIC.d.cts → better-auth.CC9Ms4aB.d.cts} +98 -4
- package/dist/shared/{better-auth.DB2JDmZa.cjs → better-auth.CGOCIshw.cjs} +11 -4
- package/dist/shared/{better-auth.DFnceYs-.d.ts → better-auth.CJByo5vt.d.ts} +98 -4
- package/dist/shared/{better-auth.t-odN4bR.mjs → better-auth.CRISE-Is.mjs} +1 -1
- package/dist/shared/{better-auth.BRX9HmW3.cjs → better-auth.CTYN90cw.cjs} +8 -6
- package/dist/shared/{better-auth.DqX7a5VM.cjs → better-auth.CkL-IpXS.cjs} +1 -1
- package/dist/shared/{better-auth.DYTOYCeC.mjs → better-auth.ClyLnOjY.mjs} +103 -3
- package/dist/shared/{better-auth.Cwl5Knwc.d.ts → better-auth.D-rDifxj.d.ts} +1 -1
- package/dist/shared/{better-auth.Je-9x2o0.cjs → better-auth.D0zUlh1z.cjs} +2 -2
- package/dist/shared/{better-auth.BKlhXtHL.d.cts → better-auth.D3SwPO56.d.cts} +54 -78
- package/dist/shared/{better-auth.Crm9vBst.mjs → better-auth.DBODKok7.mjs} +1 -1
- package/dist/shared/better-auth.DEj39-fy.mjs +252 -0
- package/dist/shared/{better-auth.Cq_IRqUa.d.cts → better-auth.DVPJntsB.d.mts} +1 -1
- package/dist/shared/{better-auth.aoWSAn0M.d.ts → better-auth.DZKkrxpr.d.ts} +1 -1
- package/dist/shared/{better-auth.O1zfcGEF.d.ts → better-auth.DjkhD5zP.d.ts} +1 -1
- package/dist/shared/{better-auth.DTug7vFc.cjs → better-auth.Ds-w2spb.cjs} +102 -1
- package/dist/shared/{better-auth.B94WXQfY.d.cts → better-auth.EtzduzaF.d.cts} +1 -1
- package/dist/shared/{better-auth.9fzgvb1r.mjs → better-auth.J-FkYMpb.mjs} +8 -6
- package/dist/shared/better-auth.KCmQsDm-.cjs +254 -0
- package/dist/shared/{better-auth.B9DkIw04.mjs → better-auth.Lq361xtr.mjs} +1 -1
- package/dist/shared/{better-auth.CS2IBOWl.cjs → better-auth.RTMLk2Ya.cjs} +1 -1
- package/dist/shared/{better-auth.BggB1vcW.d.ts → better-auth.UFMnMTeX.d.ts} +54 -78
- package/dist/shared/{better-auth.KbWT0bhq.d.mts → better-auth.UKdFtWX0.d.mts} +1 -1
- package/dist/shared/{better-auth.ZDWCre_u.d.mts → better-auth.WBEBOTsK.d.mts} +1 -1
- package/dist/shared/{better-auth.Dh7DqaVh.mjs → better-auth.ZAqiQx_W.mjs} +2 -2
- package/dist/shared/{better-auth.Dfx21eYQ.cjs → better-auth._dAJf_oa.cjs} +1 -1
- package/dist/shared/{better-auth.DvXeGdnI.d.cts → better-auth.gttVRrLD.d.cts} +1 -1
- package/dist/social-providers/index.cjs +2 -1
- package/dist/social-providers/index.d.cts +1 -2
- package/dist/social-providers/index.d.mts +1 -2
- package/dist/social-providers/index.d.ts +1 -2
- package/dist/social-providers/index.mjs +1 -1
- package/dist/test-utils/index.cjs +8 -8
- package/dist/test-utils/index.d.cts +59 -102
- package/dist/test-utils/index.d.mts +59 -102
- package/dist/test-utils/index.d.ts +59 -102
- package/dist/test-utils/index.mjs +8 -8
- package/dist/types/index.d.cts +3 -4
- package/dist/types/index.d.mts +3 -4
- package/dist/types/index.d.ts +3 -4
- package/package.json +15 -2
- package/dist/shared/better-auth.BRk0Y4r_.cjs +0 -240
- package/dist/shared/better-auth.BZhNnOzT.mjs +0 -238
|
@@ -11,24 +11,23 @@ export { twoFactorClient } from '../../plugins/two-factor/index.js';
|
|
|
11
11
|
import { magicLink } from '../../plugins/magic-link/index.js';
|
|
12
12
|
import { phoneNumber } from '../../plugins/phone-number/index.js';
|
|
13
13
|
import { anonymous } from '../../plugins/anonymous/index.js';
|
|
14
|
-
import { a4 as FieldAttribute, B as BetterAuthOptions, h as BetterAuthPlugin } from '../../shared/better-auth.
|
|
14
|
+
import { a4 as FieldAttribute, B as BetterAuthOptions, h as BetterAuthPlugin } from '../../shared/better-auth.UFMnMTeX.js';
|
|
15
15
|
import { admin } from '../../plugins/admin/index.js';
|
|
16
16
|
import { genericOAuth } from '../../plugins/generic-oauth/index.js';
|
|
17
17
|
import { jwt } from '../../plugins/jwt/index.js';
|
|
18
18
|
import { multiSession } from '../../plugins/multi-session/index.js';
|
|
19
19
|
import { emailOTP } from '../../plugins/email-otp/index.js';
|
|
20
|
-
import { S as Store } from '../../shared/better-auth.
|
|
20
|
+
import { S as Store } from '../../shared/better-auth.DZKkrxpr.js';
|
|
21
21
|
import { sso } from '../../plugins/sso/index.js';
|
|
22
22
|
import { oidcProvider } from '../../plugins/oidc-provider/index.js';
|
|
23
|
-
import { a as apiKey } from '../../shared/better-auth.
|
|
23
|
+
import { a as apiKey } from '../../shared/better-auth.D-rDifxj.js';
|
|
24
24
|
import { oneTimeToken } from '../../plugins/one-time-token/index.js';
|
|
25
25
|
export * from '@simplewebauthn/server';
|
|
26
26
|
export { global } from '@simplewebauthn/server';
|
|
27
27
|
import 'zod';
|
|
28
28
|
import 'better-call';
|
|
29
29
|
import '../../plugins/organization/access/index.js';
|
|
30
|
-
import '../../shared/better-auth.
|
|
31
|
-
import 'jose';
|
|
30
|
+
import '../../shared/better-auth.CJByo5vt.js';
|
|
32
31
|
import 'kysely';
|
|
33
32
|
import 'better-sqlite3';
|
|
34
33
|
import 'bun:sqlite';
|
|
@@ -4,14 +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.
|
|
7
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.EtzduzaF.cjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.9XhOL8gb.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.D3SwPO56.cjs';
|
|
11
11
|
import 'better-call';
|
|
12
12
|
import 'zod';
|
|
13
|
-
import '../../shared/better-auth.
|
|
14
|
-
import 'jose';
|
|
13
|
+
import '../../shared/better-auth.CC9Ms4aB.cjs';
|
|
15
14
|
import 'kysely';
|
|
16
15
|
import 'better-sqlite3';
|
|
17
16
|
import 'bun:sqlite';
|
|
@@ -103,13 +102,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
103
102
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
104
103
|
};
|
|
105
104
|
})[];
|
|
105
|
+
redirect?: RequestRedirect;
|
|
106
106
|
method: string;
|
|
107
107
|
headers?: (HeadersInit & (HeadersInit | {
|
|
108
108
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
109
109
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
110
110
|
authorization: "Bearer" | "Basic";
|
|
111
111
|
})) | undefined;
|
|
112
|
-
redirect?: RequestRedirect;
|
|
113
112
|
cache?: RequestCache;
|
|
114
113
|
credentials?: RequestCredentials;
|
|
115
114
|
integrity?: string;
|
|
@@ -4,14 +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.
|
|
7
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.WBEBOTsK.mjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.9XhOL8gb.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.BxzpFmqs.mjs';
|
|
11
11
|
import 'better-call';
|
|
12
12
|
import 'zod';
|
|
13
|
-
import '../../shared/better-auth.
|
|
14
|
-
import 'jose';
|
|
13
|
+
import '../../shared/better-auth.BEKm37Eq.mjs';
|
|
15
14
|
import 'kysely';
|
|
16
15
|
import 'better-sqlite3';
|
|
17
16
|
import 'bun:sqlite';
|
|
@@ -103,13 +102,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
103
102
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
104
103
|
};
|
|
105
104
|
})[];
|
|
105
|
+
redirect?: RequestRedirect;
|
|
106
106
|
method: string;
|
|
107
107
|
headers?: (HeadersInit & (HeadersInit | {
|
|
108
108
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
109
109
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
110
110
|
authorization: "Bearer" | "Basic";
|
|
111
111
|
})) | undefined;
|
|
112
|
-
redirect?: RequestRedirect;
|
|
113
112
|
cache?: RequestCache;
|
|
114
113
|
credentials?: RequestCredentials;
|
|
115
114
|
integrity?: string;
|
|
@@ -4,14 +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.
|
|
7
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.DZKkrxpr.js';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.9XhOL8gb.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.UFMnMTeX.js';
|
|
11
11
|
import 'better-call';
|
|
12
12
|
import 'zod';
|
|
13
|
-
import '../../shared/better-auth.
|
|
14
|
-
import 'jose';
|
|
13
|
+
import '../../shared/better-auth.CJByo5vt.js';
|
|
15
14
|
import 'kysely';
|
|
16
15
|
import 'better-sqlite3';
|
|
17
16
|
import 'bun:sqlite';
|
|
@@ -103,13 +102,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
103
102
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
104
103
|
};
|
|
105
104
|
})[];
|
|
105
|
+
redirect?: RequestRedirect;
|
|
106
106
|
method: string;
|
|
107
107
|
headers?: (HeadersInit & (HeadersInit | {
|
|
108
108
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
109
109
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
110
110
|
authorization: "Bearer" | "Basic";
|
|
111
111
|
})) | undefined;
|
|
112
|
-
redirect?: RequestRedirect;
|
|
113
112
|
cache?: RequestCache;
|
|
114
113
|
credentials?: RequestCredentials;
|
|
115
114
|
integrity?: string;
|
|
@@ -1,15 +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.EtzduzaF.cjs';
|
|
5
5
|
import { Accessor } from 'solid-js';
|
|
6
6
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.9XhOL8gb.cjs';
|
|
7
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
7
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.D3SwPO56.cjs';
|
|
8
8
|
export * from 'nanostores';
|
|
9
9
|
import 'better-call';
|
|
10
10
|
import 'zod';
|
|
11
|
-
import '../../shared/better-auth.
|
|
12
|
-
import 'jose';
|
|
11
|
+
import '../../shared/better-auth.CC9Ms4aB.cjs';
|
|
13
12
|
import 'kysely';
|
|
14
13
|
import 'better-sqlite3';
|
|
15
14
|
import 'bun:sqlite';
|
|
@@ -59,13 +58,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
59
58
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
60
59
|
};
|
|
61
60
|
})[];
|
|
61
|
+
redirect?: RequestRedirect;
|
|
62
62
|
method: string;
|
|
63
63
|
headers?: (HeadersInit & (HeadersInit | {
|
|
64
64
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
65
65
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
66
66
|
authorization: "Bearer" | "Basic";
|
|
67
67
|
})) | undefined;
|
|
68
|
-
redirect?: RequestRedirect;
|
|
69
68
|
cache?: RequestCache;
|
|
70
69
|
credentials?: RequestCredentials;
|
|
71
70
|
integrity?: string;
|
|
@@ -1,15 +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.WBEBOTsK.mjs';
|
|
5
5
|
import { Accessor } from 'solid-js';
|
|
6
6
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.9XhOL8gb.mjs';
|
|
7
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
7
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.BxzpFmqs.mjs';
|
|
8
8
|
export * from 'nanostores';
|
|
9
9
|
import 'better-call';
|
|
10
10
|
import 'zod';
|
|
11
|
-
import '../../shared/better-auth.
|
|
12
|
-
import 'jose';
|
|
11
|
+
import '../../shared/better-auth.BEKm37Eq.mjs';
|
|
13
12
|
import 'kysely';
|
|
14
13
|
import 'better-sqlite3';
|
|
15
14
|
import 'bun:sqlite';
|
|
@@ -59,13 +58,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
59
58
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
60
59
|
};
|
|
61
60
|
})[];
|
|
61
|
+
redirect?: RequestRedirect;
|
|
62
62
|
method: string;
|
|
63
63
|
headers?: (HeadersInit & (HeadersInit | {
|
|
64
64
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
65
65
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
66
66
|
authorization: "Bearer" | "Basic";
|
|
67
67
|
})) | undefined;
|
|
68
|
-
redirect?: RequestRedirect;
|
|
69
68
|
cache?: RequestCache;
|
|
70
69
|
credentials?: RequestCredentials;
|
|
71
70
|
integrity?: string;
|
|
@@ -1,15 +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.DZKkrxpr.js';
|
|
5
5
|
import { Accessor } from 'solid-js';
|
|
6
6
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.9XhOL8gb.js';
|
|
7
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
7
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.UFMnMTeX.js';
|
|
8
8
|
export * from 'nanostores';
|
|
9
9
|
import 'better-call';
|
|
10
10
|
import 'zod';
|
|
11
|
-
import '../../shared/better-auth.
|
|
12
|
-
import 'jose';
|
|
11
|
+
import '../../shared/better-auth.CJByo5vt.js';
|
|
13
12
|
import 'kysely';
|
|
14
13
|
import 'better-sqlite3';
|
|
15
14
|
import 'bun:sqlite';
|
|
@@ -59,13 +58,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
59
58
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
60
59
|
};
|
|
61
60
|
})[];
|
|
61
|
+
redirect?: RequestRedirect;
|
|
62
62
|
method: string;
|
|
63
63
|
headers?: (HeadersInit & (HeadersInit | {
|
|
64
64
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
65
65
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
66
66
|
authorization: "Bearer" | "Basic";
|
|
67
67
|
})) | undefined;
|
|
68
|
-
redirect?: RequestRedirect;
|
|
69
68
|
cache?: RequestCache;
|
|
70
69
|
credentials?: RequestCredentials;
|
|
71
70
|
integrity?: string;
|
|
@@ -4,13 +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.EtzduzaF.cjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.9XhOL8gb.cjs';
|
|
9
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.D3SwPO56.cjs';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'zod';
|
|
12
|
-
import '../../shared/better-auth.
|
|
13
|
-
import 'jose';
|
|
12
|
+
import '../../shared/better-auth.CC9Ms4aB.cjs';
|
|
14
13
|
import 'kysely';
|
|
15
14
|
import 'better-sqlite3';
|
|
16
15
|
import 'bun:sqlite';
|
|
@@ -45,13 +44,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
45
44
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
46
45
|
};
|
|
47
46
|
})[];
|
|
47
|
+
redirect?: RequestRedirect;
|
|
48
48
|
method: string;
|
|
49
49
|
headers?: (HeadersInit & (HeadersInit | {
|
|
50
50
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
51
51
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
52
52
|
authorization: "Bearer" | "Basic";
|
|
53
53
|
})) | undefined;
|
|
54
|
-
redirect?: RequestRedirect;
|
|
55
54
|
cache?: RequestCache;
|
|
56
55
|
credentials?: RequestCredentials;
|
|
57
56
|
integrity?: string;
|
|
@@ -4,13 +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.WBEBOTsK.mjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.9XhOL8gb.mjs';
|
|
9
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.BxzpFmqs.mjs';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'zod';
|
|
12
|
-
import '../../shared/better-auth.
|
|
13
|
-
import 'jose';
|
|
12
|
+
import '../../shared/better-auth.BEKm37Eq.mjs';
|
|
14
13
|
import 'kysely';
|
|
15
14
|
import 'better-sqlite3';
|
|
16
15
|
import 'bun:sqlite';
|
|
@@ -45,13 +44,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
45
44
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
46
45
|
};
|
|
47
46
|
})[];
|
|
47
|
+
redirect?: RequestRedirect;
|
|
48
48
|
method: string;
|
|
49
49
|
headers?: (HeadersInit & (HeadersInit | {
|
|
50
50
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
51
51
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
52
52
|
authorization: "Bearer" | "Basic";
|
|
53
53
|
})) | undefined;
|
|
54
|
-
redirect?: RequestRedirect;
|
|
55
54
|
cache?: RequestCache;
|
|
56
55
|
credentials?: RequestCredentials;
|
|
57
56
|
integrity?: string;
|
|
@@ -4,13 +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.DZKkrxpr.js';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.9XhOL8gb.js';
|
|
9
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.UFMnMTeX.js';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'zod';
|
|
12
|
-
import '../../shared/better-auth.
|
|
13
|
-
import 'jose';
|
|
12
|
+
import '../../shared/better-auth.CJByo5vt.js';
|
|
14
13
|
import 'kysely';
|
|
15
14
|
import 'better-sqlite3';
|
|
16
15
|
import 'bun:sqlite';
|
|
@@ -45,13 +44,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
45
44
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
46
45
|
};
|
|
47
46
|
})[];
|
|
47
|
+
redirect?: RequestRedirect;
|
|
48
48
|
method: string;
|
|
49
49
|
headers?: (HeadersInit & (HeadersInit | {
|
|
50
50
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
51
51
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
52
52
|
authorization: "Bearer" | "Basic";
|
|
53
53
|
})) | undefined;
|
|
54
|
-
redirect?: RequestRedirect;
|
|
55
54
|
cache?: RequestCache;
|
|
56
55
|
credentials?: RequestCredentials;
|
|
57
56
|
integrity?: string;
|
|
@@ -4,13 +4,12 @@ import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
|
4
4
|
import { BetterFetchError } from '@better-fetch/fetch';
|
|
5
5
|
export * from '@better-fetch/fetch';
|
|
6
6
|
import { DeepReadonly, Ref } from 'vue';
|
|
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.EtzduzaF.cjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.9XhOL8gb.cjs';
|
|
9
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.D3SwPO56.cjs';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'zod';
|
|
12
|
-
import '../../shared/better-auth.
|
|
13
|
-
import 'jose';
|
|
12
|
+
import '../../shared/better-auth.CC9Ms4aB.cjs';
|
|
14
13
|
import 'kysely';
|
|
15
14
|
import 'better-sqlite3';
|
|
16
15
|
import 'bun:sqlite';
|
|
@@ -83,13 +82,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
83
82
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
84
83
|
};
|
|
85
84
|
})[];
|
|
85
|
+
redirect?: RequestRedirect;
|
|
86
86
|
method: string;
|
|
87
87
|
headers?: (HeadersInit & (HeadersInit | {
|
|
88
88
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
89
89
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
90
90
|
authorization: "Bearer" | "Basic";
|
|
91
91
|
})) | undefined;
|
|
92
|
-
redirect?: RequestRedirect;
|
|
93
92
|
cache?: RequestCache;
|
|
94
93
|
credentials?: RequestCredentials;
|
|
95
94
|
integrity?: string;
|
|
@@ -4,13 +4,12 @@ import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
|
4
4
|
import { BetterFetchError } from '@better-fetch/fetch';
|
|
5
5
|
export * from '@better-fetch/fetch';
|
|
6
6
|
import { DeepReadonly, Ref } from 'vue';
|
|
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.WBEBOTsK.mjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.9XhOL8gb.mjs';
|
|
9
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.BxzpFmqs.mjs';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'zod';
|
|
12
|
-
import '../../shared/better-auth.
|
|
13
|
-
import 'jose';
|
|
12
|
+
import '../../shared/better-auth.BEKm37Eq.mjs';
|
|
14
13
|
import 'kysely';
|
|
15
14
|
import 'better-sqlite3';
|
|
16
15
|
import 'bun:sqlite';
|
|
@@ -83,13 +82,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
83
82
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
84
83
|
};
|
|
85
84
|
})[];
|
|
85
|
+
redirect?: RequestRedirect;
|
|
86
86
|
method: string;
|
|
87
87
|
headers?: (HeadersInit & (HeadersInit | {
|
|
88
88
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
89
89
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
90
90
|
authorization: "Bearer" | "Basic";
|
|
91
91
|
})) | undefined;
|
|
92
|
-
redirect?: RequestRedirect;
|
|
93
92
|
cache?: RequestCache;
|
|
94
93
|
credentials?: RequestCredentials;
|
|
95
94
|
integrity?: string;
|
|
@@ -4,13 +4,12 @@ import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
|
4
4
|
import { BetterFetchError } from '@better-fetch/fetch';
|
|
5
5
|
export * from '@better-fetch/fetch';
|
|
6
6
|
import { DeepReadonly, Ref } from 'vue';
|
|
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.DZKkrxpr.js';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.9XhOL8gb.js';
|
|
9
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.UFMnMTeX.js';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'zod';
|
|
12
|
-
import '../../shared/better-auth.
|
|
13
|
-
import 'jose';
|
|
12
|
+
import '../../shared/better-auth.CJByo5vt.js';
|
|
14
13
|
import 'kysely';
|
|
15
14
|
import 'better-sqlite3';
|
|
16
15
|
import 'bun:sqlite';
|
|
@@ -83,13 +82,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
83
82
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
84
83
|
};
|
|
85
84
|
})[];
|
|
85
|
+
redirect?: RequestRedirect;
|
|
86
86
|
method: string;
|
|
87
87
|
headers?: (HeadersInit & (HeadersInit | {
|
|
88
88
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
89
89
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
90
90
|
authorization: "Bearer" | "Basic";
|
|
91
91
|
})) | undefined;
|
|
92
|
-
redirect?: RequestRedirect;
|
|
93
92
|
cache?: RequestCache;
|
|
94
93
|
credentials?: RequestCredentials;
|
|
95
94
|
integrity?: string;
|
package/dist/cookies/index.d.cts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import 'better-call';
|
|
2
|
-
export { ay as BetterAuthCookies, aD as EligibleCookies, aw as createCookieGetter, aB as deleteSessionCookie, aF as getCookieCache, ax as getCookies, aE as getSessionCookie, aC as parseCookies, aG as parseSetCookieHeader, az as setCookieCache, D as setCookieToHeader, aA as setSessionCookie } from '../shared/better-auth.
|
|
2
|
+
export { ay as BetterAuthCookies, aD as EligibleCookies, aw as createCookieGetter, aB as deleteSessionCookie, aF as getCookieCache, ax as getCookies, aE as getSessionCookie, aC as parseCookies, aG as parseSetCookieHeader, az as setCookieCache, D as setCookieToHeader, aA as setSessionCookie } from '../shared/better-auth.D3SwPO56.cjs';
|
|
3
3
|
import '../shared/better-auth.9XhOL8gb.cjs';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../shared/better-auth.
|
|
6
|
-
import 'jose';
|
|
5
|
+
import '../shared/better-auth.CC9Ms4aB.cjs';
|
|
7
6
|
import 'kysely';
|
|
8
7
|
import 'better-sqlite3';
|
|
9
8
|
import 'bun:sqlite';
|
package/dist/cookies/index.d.mts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import 'better-call';
|
|
2
|
-
export { ay as BetterAuthCookies, aD as EligibleCookies, aw as createCookieGetter, aB as deleteSessionCookie, aF as getCookieCache, ax as getCookies, aE as getSessionCookie, aC as parseCookies, aG as parseSetCookieHeader, az as setCookieCache, D as setCookieToHeader, aA as setSessionCookie } from '../shared/better-auth.
|
|
2
|
+
export { ay as BetterAuthCookies, aD as EligibleCookies, aw as createCookieGetter, aB as deleteSessionCookie, aF as getCookieCache, ax as getCookies, aE as getSessionCookie, aC as parseCookies, aG as parseSetCookieHeader, az as setCookieCache, D as setCookieToHeader, aA as setSessionCookie } from '../shared/better-auth.BxzpFmqs.mjs';
|
|
3
3
|
import '../shared/better-auth.9XhOL8gb.mjs';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../shared/better-auth.
|
|
6
|
-
import 'jose';
|
|
5
|
+
import '../shared/better-auth.BEKm37Eq.mjs';
|
|
7
6
|
import 'kysely';
|
|
8
7
|
import 'better-sqlite3';
|
|
9
8
|
import 'bun:sqlite';
|
package/dist/cookies/index.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import 'better-call';
|
|
2
|
-
export { ay as BetterAuthCookies, aD as EligibleCookies, aw as createCookieGetter, aB as deleteSessionCookie, aF as getCookieCache, ax as getCookies, aE as getSessionCookie, aC as parseCookies, aG as parseSetCookieHeader, az as setCookieCache, D as setCookieToHeader, aA as setSessionCookie } from '../shared/better-auth.
|
|
2
|
+
export { ay as BetterAuthCookies, aD as EligibleCookies, aw as createCookieGetter, aB as deleteSessionCookie, aF as getCookieCache, ax as getCookies, aE as getSessionCookie, aC as parseCookies, aG as parseSetCookieHeader, az as setCookieCache, D as setCookieToHeader, aA as setSessionCookie } from '../shared/better-auth.UFMnMTeX.js';
|
|
3
3
|
import '../shared/better-auth.9XhOL8gb.js';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../shared/better-auth.
|
|
6
|
-
import 'jose';
|
|
5
|
+
import '../shared/better-auth.CJByo5vt.js';
|
|
7
6
|
import 'kysely';
|
|
8
7
|
import 'better-sqlite3';
|
|
9
8
|
import 'bun:sqlite';
|
package/dist/db/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const getMigration = require('../shared/better-auth.
|
|
3
|
+
const getMigration = require('../shared/better-auth.CTYN90cw.cjs');
|
|
4
4
|
const getTables = require('../shared/better-auth.BEphVDyL.cjs');
|
|
5
5
|
const zod = require('zod');
|
|
6
6
|
const schema = require('../shared/better-auth.DcWKCjjf.cjs');
|
|
@@ -23,10 +23,10 @@ require('@better-auth/utils/hex');
|
|
|
23
23
|
require('@noble/hashes/utils');
|
|
24
24
|
require('../shared/better-auth.CYeOI8C-.cjs');
|
|
25
25
|
require('../shared/better-auth.ANpbi45u.cjs');
|
|
26
|
-
require('../shared/better-auth.
|
|
26
|
+
require('../shared/better-auth._dAJf_oa.cjs');
|
|
27
27
|
require('kysely');
|
|
28
|
-
require('../shared/better-auth.
|
|
29
|
-
require('../shared/better-auth.
|
|
28
|
+
require('../shared/better-auth.CGOCIshw.cjs');
|
|
29
|
+
require('../shared/better-auth.CkL-IpXS.cjs');
|
|
30
30
|
|
|
31
31
|
const createFieldAttribute = (type, config) => {
|
|
32
32
|
return {
|
package/dist/db/index.d.cts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { a as Adapter, B as BetterAuthOptions, G as GenericEndpointContext, O as Where, a4 as FieldAttribute, a5 as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.
|
|
2
|
-
export { af as BetterAuthDbSchema, a8 as FieldAttributeConfig, x as InferFieldsFromOptions, w as InferFieldsFromPlugins, ac as InferFieldsInput, ad as InferFieldsInputClient, ab as InferFieldsOutput, aa as InferValueType, a7 as InternalAdapter, ae as PluginFieldAttribute, ah as accountSchema, a9 as createFieldAttribute, a6 as createInternalAdapter, am as getAllFields, ag as getAuthTables, av as mergeSchema, at as parseAccountInput, ao as parseAccountOutput, as as parseAdditionalUserInput, aq as parseInputData, al as parseOutputData, au as parseSessionInput, ap as parseSessionOutput, ar as parseUserInput, an as parseUserOutput, aj as sessionSchema, ai as userSchema, ak as verificationSchema } from '../shared/better-auth.
|
|
1
|
+
import { a as Adapter, B as BetterAuthOptions, G as GenericEndpointContext, O as Where, a4 as FieldAttribute, a5 as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.D3SwPO56.cjs';
|
|
2
|
+
export { af as BetterAuthDbSchema, a8 as FieldAttributeConfig, x as InferFieldsFromOptions, w as InferFieldsFromPlugins, ac as InferFieldsInput, ad as InferFieldsInputClient, ab as InferFieldsOutput, aa as InferValueType, a7 as InternalAdapter, ae as PluginFieldAttribute, ah as accountSchema, a9 as createFieldAttribute, a6 as createInternalAdapter, am as getAllFields, ag as getAuthTables, av as mergeSchema, at as parseAccountInput, ao as parseAccountOutput, as as parseAdditionalUserInput, aq as parseInputData, al as parseOutputData, au as parseSessionInput, ap as parseSessionOutput, ar as parseUserInput, an as parseUserOutput, aj as sessionSchema, ai as userSchema, ak as verificationSchema } from '../shared/better-auth.D3SwPO56.cjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import '../shared/better-auth.9XhOL8gb.cjs';
|
|
5
|
-
import '../shared/better-auth.
|
|
6
|
-
import 'jose';
|
|
5
|
+
import '../shared/better-auth.CC9Ms4aB.cjs';
|
|
7
6
|
import 'kysely';
|
|
8
7
|
import 'better-call';
|
|
9
8
|
import 'better-sqlite3';
|
package/dist/db/index.d.mts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { a as Adapter, B as BetterAuthOptions, G as GenericEndpointContext, O as Where, a4 as FieldAttribute, a5 as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.
|
|
2
|
-
export { af as BetterAuthDbSchema, a8 as FieldAttributeConfig, x as InferFieldsFromOptions, w as InferFieldsFromPlugins, ac as InferFieldsInput, ad as InferFieldsInputClient, ab as InferFieldsOutput, aa as InferValueType, a7 as InternalAdapter, ae as PluginFieldAttribute, ah as accountSchema, a9 as createFieldAttribute, a6 as createInternalAdapter, am as getAllFields, ag as getAuthTables, av as mergeSchema, at as parseAccountInput, ao as parseAccountOutput, as as parseAdditionalUserInput, aq as parseInputData, al as parseOutputData, au as parseSessionInput, ap as parseSessionOutput, ar as parseUserInput, an as parseUserOutput, aj as sessionSchema, ai as userSchema, ak as verificationSchema } from '../shared/better-auth.
|
|
1
|
+
import { a as Adapter, B as BetterAuthOptions, G as GenericEndpointContext, O as Where, a4 as FieldAttribute, a5 as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.BxzpFmqs.mjs';
|
|
2
|
+
export { af as BetterAuthDbSchema, a8 as FieldAttributeConfig, x as InferFieldsFromOptions, w as InferFieldsFromPlugins, ac as InferFieldsInput, ad as InferFieldsInputClient, ab as InferFieldsOutput, aa as InferValueType, a7 as InternalAdapter, ae as PluginFieldAttribute, ah as accountSchema, a9 as createFieldAttribute, a6 as createInternalAdapter, am as getAllFields, ag as getAuthTables, av as mergeSchema, at as parseAccountInput, ao as parseAccountOutput, as as parseAdditionalUserInput, aq as parseInputData, al as parseOutputData, au as parseSessionInput, ap as parseSessionOutput, ar as parseUserInput, an as parseUserOutput, aj as sessionSchema, ai as userSchema, ak as verificationSchema } from '../shared/better-auth.BxzpFmqs.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import '../shared/better-auth.9XhOL8gb.mjs';
|
|
5
|
-
import '../shared/better-auth.
|
|
6
|
-
import 'jose';
|
|
5
|
+
import '../shared/better-auth.BEKm37Eq.mjs';
|
|
7
6
|
import 'kysely';
|
|
8
7
|
import 'better-call';
|
|
9
8
|
import 'better-sqlite3';
|
package/dist/db/index.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { a as Adapter, B as BetterAuthOptions, G as GenericEndpointContext, O as Where, a4 as FieldAttribute, a5 as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.
|
|
2
|
-
export { af as BetterAuthDbSchema, a8 as FieldAttributeConfig, x as InferFieldsFromOptions, w as InferFieldsFromPlugins, ac as InferFieldsInput, ad as InferFieldsInputClient, ab as InferFieldsOutput, aa as InferValueType, a7 as InternalAdapter, ae as PluginFieldAttribute, ah as accountSchema, a9 as createFieldAttribute, a6 as createInternalAdapter, am as getAllFields, ag as getAuthTables, av as mergeSchema, at as parseAccountInput, ao as parseAccountOutput, as as parseAdditionalUserInput, aq as parseInputData, al as parseOutputData, au as parseSessionInput, ap as parseSessionOutput, ar as parseUserInput, an as parseUserOutput, aj as sessionSchema, ai as userSchema, ak as verificationSchema } from '../shared/better-auth.
|
|
1
|
+
import { a as Adapter, B as BetterAuthOptions, G as GenericEndpointContext, O as Where, a4 as FieldAttribute, a5 as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.UFMnMTeX.js';
|
|
2
|
+
export { af as BetterAuthDbSchema, a8 as FieldAttributeConfig, x as InferFieldsFromOptions, w as InferFieldsFromPlugins, ac as InferFieldsInput, ad as InferFieldsInputClient, ab as InferFieldsOutput, aa as InferValueType, a7 as InternalAdapter, ae as PluginFieldAttribute, ah as accountSchema, a9 as createFieldAttribute, a6 as createInternalAdapter, am as getAllFields, ag as getAuthTables, av as mergeSchema, at as parseAccountInput, ao as parseAccountOutput, as as parseAdditionalUserInput, aq as parseInputData, al as parseOutputData, au as parseSessionInput, ap as parseSessionOutput, ar as parseUserInput, an as parseUserOutput, aj as sessionSchema, ai as userSchema, ak as verificationSchema } from '../shared/better-auth.UFMnMTeX.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import '../shared/better-auth.9XhOL8gb.js';
|
|
5
|
-
import '../shared/better-auth.
|
|
6
|
-
import 'jose';
|
|
5
|
+
import '../shared/better-auth.CJByo5vt.js';
|
|
7
6
|
import 'kysely';
|
|
8
7
|
import 'better-call';
|
|
9
8
|
import 'better-sqlite3';
|
package/dist/db/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { d as convertFromDB, b as convertToDB, c as createInternalAdapter, a as getAdapter, e as getMigrations, f as getSchema, g as getWithHooks, m as matchType } from '../shared/better-auth.
|
|
1
|
+
export { d as convertFromDB, b as convertToDB, c as createInternalAdapter, a as getAdapter, e as getMigrations, f as getSchema, g as getWithHooks, m as matchType } from '../shared/better-auth.J-FkYMpb.mjs';
|
|
2
2
|
export { g as getAuthTables } from '../shared/better-auth.DORkW_Ge.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
export { a as accountSchema, g as getAllFields, m as mergeSchema, i as parseAccountInput, c as parseAccountOutput, h as parseAdditionalUserInput, e as parseInputData, p as parseOutputData, j as parseSessionInput, d as parseSessionOutput, f as parseUserInput, b as parseUserOutput, s as sessionSchema, u as userSchema, v as verificationSchema } from '../shared/better-auth.Cc72UxUH.mjs';
|
|
@@ -21,10 +21,10 @@ import '@better-auth/utils/hex';
|
|
|
21
21
|
import '@noble/hashes/utils';
|
|
22
22
|
import '../shared/better-auth.B4Qoxdgc.mjs';
|
|
23
23
|
import '../shared/better-auth.DdzSJf-n.mjs';
|
|
24
|
-
import '../shared/better-auth.
|
|
24
|
+
import '../shared/better-auth.B1UvcDzZ.mjs';
|
|
25
25
|
import 'kysely';
|
|
26
|
-
import '../shared/better-auth.
|
|
27
|
-
import '../shared/better-auth.
|
|
26
|
+
import '../shared/better-auth.C3eCZf9N.mjs';
|
|
27
|
+
import '../shared/better-auth.Lq361xtr.mjs';
|
|
28
28
|
|
|
29
29
|
const createFieldAttribute = (type, config) => {
|
|
30
30
|
return {
|
package/dist/index.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const auth = require('./shared/better-auth.
|
|
3
|
+
const auth = require('./shared/better-auth.BK4bljal.cjs');
|
|
4
4
|
const index = require('./shared/better-auth.ANpbi45u.cjs');
|
|
5
5
|
const misc = require('./shared/better-auth.BLDOwz3i.cjs');
|
|
6
|
-
const socialProviders_index = require('./shared/better-auth.
|
|
6
|
+
const socialProviders_index = require('./shared/better-auth.Ds-w2spb.cjs');
|
|
7
7
|
const logger = require('./shared/better-auth.CXhVNgXP.cjs');
|
|
8
8
|
require('./api/index.cjs');
|
|
9
9
|
require('better-call');
|
|
@@ -24,7 +24,7 @@ require('@noble/hashes/scrypt');
|
|
|
24
24
|
require('@better-auth/utils');
|
|
25
25
|
require('@better-auth/utils/hex');
|
|
26
26
|
require('@noble/hashes/utils');
|
|
27
|
-
require('./shared/better-auth.
|
|
27
|
+
require('./shared/better-auth.CTYN90cw.cjs');
|
|
28
28
|
require('@better-auth/utils/hash');
|
|
29
29
|
require('@noble/ciphers/chacha');
|
|
30
30
|
require('@noble/ciphers/utils');
|
|
@@ -33,10 +33,10 @@ require('jose');
|
|
|
33
33
|
require('./shared/better-auth.CYeOI8C-.cjs');
|
|
34
34
|
require('@better-auth/utils/random');
|
|
35
35
|
require('./shared/better-auth.BEphVDyL.cjs');
|
|
36
|
-
require('./shared/better-auth.
|
|
36
|
+
require('./shared/better-auth._dAJf_oa.cjs');
|
|
37
37
|
require('kysely');
|
|
38
|
-
require('./shared/better-auth.
|
|
39
|
-
require('./shared/better-auth.
|
|
38
|
+
require('./shared/better-auth.CGOCIshw.cjs');
|
|
39
|
+
require('./shared/better-auth.CkL-IpXS.cjs');
|
|
40
40
|
require('./shared/better-auth.CDXNofOe.cjs');
|
|
41
41
|
require('@better-fetch/fetch');
|
|
42
42
|
require('./shared/better-auth.BMYo0QR-.cjs');
|