better-auth 0.2.8-beta.10 → 0.2.8-beta.11

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.
@@ -1,4 +1,4 @@
1
- import { A as Adapter } from '../index-DFyIXQyt.js';
1
+ import { A as Adapter } from '../index-BosUc0Am.js';
2
2
  import 'kysely';
3
3
  import '../index-JM-i6hLs.js';
4
4
  import 'arctic';
@@ -1,4 +1,4 @@
1
- import { W as Where } from '../index-DFyIXQyt.js';
1
+ import { W as Where } from '../index-BosUc0Am.js';
2
2
  import 'kysely';
3
3
  import '../index-JM-i6hLs.js';
4
4
  import 'arctic';
@@ -1,4 +1,4 @@
1
- import { A as Adapter } from '../index-DFyIXQyt.js';
1
+ import { A as Adapter } from '../index-BosUc0Am.js';
2
2
  import 'kysely';
3
3
  import '../index-JM-i6hLs.js';
4
4
  import 'arctic';
package/dist/api.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { b as AuthEndpoint, d as AuthMiddleware, y as callbackOAuth, X as changePassword, a as createAuthEndpoint, c as createAuthMiddleware, Q as createEmailVerificationToken, a2 as csrfMiddleware, Z as deleteUser, $ as error, M as forgetPassword, N as forgetPasswordCallback, _ as getCSRFToken, u as getEndpoints, z as getSession, C as getSessionFromCtx, E as listSessions, a0 as ok, o as optionsMiddleware, O as resetPassword, J as revokeSession, K as revokeSessions, v as router, T as sendVerificationEmail, D as sessionMiddleware, Y as setPassword, x as signInEmail, w as signInOAuth, L as signOut, a1 as signUpEmail, V as updateUser, U as verifyEmail } from './index-DFyIXQyt.js';
1
+ export { b as AuthEndpoint, d as AuthMiddleware, y as callbackOAuth, X as changePassword, a as createAuthEndpoint, c as createAuthMiddleware, Q as createEmailVerificationToken, a2 as csrfMiddleware, Z as deleteUser, $ as error, M as forgetPassword, N as forgetPasswordCallback, _ as getCSRFToken, u as getEndpoints, z as getSession, C as getSessionFromCtx, E as listSessions, a0 as ok, o as optionsMiddleware, O as resetPassword, J as revokeSession, K as revokeSessions, v as router, T as sendVerificationEmail, D as sessionMiddleware, Y as setPassword, x as signInEmail, w as signInOAuth, L as signOut, a1 as signUpEmail, V as updateUser, U as verifyEmail } from './index-BosUc0Am.js';
2
2
  import 'zod';
3
3
  import './helper-DPDj8Nix.js';
4
4
  import 'better-call';
@@ -2,14 +2,14 @@ import * as nanostores from 'nanostores';
2
2
  import { A as AccessControl, S as StatementsPrimitive, R as Role } from '../statement-CfnyN34h.js';
3
3
  import * as _better_fetch_fetch from '@better-fetch/fetch';
4
4
  import { BetterFetchOption } from '@better-fetch/fetch';
5
- import { o as organization, e as Organization, M as Member, I as Invitation, u as username, m as magicLink, d as phoneNumber } from '../index-C1aItpHl.js';
6
- export { g as getPasskeyActions, c as passkeyClient, a as twoFactorClient } from '../index-C1aItpHl.js';
5
+ import { o as organization, e as Organization, M as Member, I as Invitation, u as username, m as magicLink, d as phoneNumber } from '../index-BuLuOfi0.js';
6
+ export { g as getPasskeyActions, c as passkeyClient, a as twoFactorClient } from '../index-BuLuOfi0.js';
7
7
  import { P as Prettify } from '../helper-DPDj8Nix.js';
8
8
  import '../index-JM-i6hLs.js';
9
9
  import 'arctic';
10
10
  import 'zod';
11
11
  import 'better-call';
12
- import '../index-DFyIXQyt.js';
12
+ import '../index-BosUc0Am.js';
13
13
  import 'kysely';
14
14
  import 'better-sqlite3';
15
15
  import 'mysql2';
package/dist/client.d.ts CHANGED
@@ -6,7 +6,7 @@ import { BetterFetch, BetterFetchError, BetterFetchOption } from '@better-fetch/
6
6
  import { U as UnionToIntersection, P as Prettify, S as StripEmptyObjects } from './helper-DPDj8Nix.js';
7
7
  import { ClientOptions, InferClientAPI, InferActions, InferAdditionalFromClient, InferSessionFromClient, InferUserFromClient, BetterAuthClientPlugin, IsSignal } from './types.js';
8
8
  export { AtomListener, InferPluginsFromClient } from './types.js';
9
- import './index-DFyIXQyt.js';
9
+ import './index-BosUc0Am.js';
10
10
  import 'kysely';
11
11
  import './index-JM-i6hLs.js';
12
12
  import 'arctic';
@@ -1259,17 +1259,17 @@ declare const signInOAuth: {
1259
1259
  /**
1260
1260
  * OAuth2 provider to use`
1261
1261
  */
1262
- provider: z.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "spotify" | "twitch" | "twitter")[]]>;
1262
+ provider: z.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "google" | "spotify" | "twitch" | "twitter")[]]>;
1263
1263
  /**
1264
1264
  * If this is true the session will only be valid for the current browser session
1265
1265
  */
1266
1266
  dontRememberMe: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1267
1267
  }, "strip", z.ZodTypeAny, {
1268
- provider: "apple" | "discord" | "facebook" | "github" | "google" | "spotify" | "twitch" | "twitter";
1268
+ provider: "github" | "apple" | "discord" | "facebook" | "google" | "spotify" | "twitch" | "twitter";
1269
1269
  callbackURL?: string | undefined;
1270
1270
  dontRememberMe?: boolean | undefined;
1271
1271
  }, {
1272
- provider: "apple" | "discord" | "facebook" | "github" | "google" | "spotify" | "twitch" | "twitter";
1272
+ provider: "github" | "apple" | "discord" | "facebook" | "google" | "spotify" | "twitch" | "twitter";
1273
1273
  callbackURL?: string | undefined;
1274
1274
  dontRememberMe?: boolean | undefined;
1275
1275
  }>;
@@ -1302,17 +1302,17 @@ declare const signInOAuth: {
1302
1302
  /**
1303
1303
  * OAuth2 provider to use`
1304
1304
  */
1305
- provider: z.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "spotify" | "twitch" | "twitter")[]]>;
1305
+ provider: z.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "google" | "spotify" | "twitch" | "twitter")[]]>;
1306
1306
  /**
1307
1307
  * If this is true the session will only be valid for the current browser session
1308
1308
  */
1309
1309
  dontRememberMe: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1310
1310
  }, "strip", z.ZodTypeAny, {
1311
- provider: "apple" | "discord" | "facebook" | "github" | "google" | "spotify" | "twitch" | "twitter";
1311
+ provider: "github" | "apple" | "discord" | "facebook" | "google" | "spotify" | "twitch" | "twitter";
1312
1312
  callbackURL?: string | undefined;
1313
1313
  dontRememberMe?: boolean | undefined;
1314
1314
  }, {
1315
- provider: "apple" | "discord" | "facebook" | "github" | "google" | "spotify" | "twitch" | "twitter";
1315
+ provider: "github" | "apple" | "discord" | "facebook" | "google" | "spotify" | "twitch" | "twitter";
1316
1316
  callbackURL?: string | undefined;
1317
1317
  dontRememberMe?: boolean | undefined;
1318
1318
  }>;
@@ -2461,14 +2461,14 @@ declare function getEndpoints<C extends AuthContext, Option extends BetterAuthOp
2461
2461
  }>>;
2462
2462
  body: zod.ZodObject<{
2463
2463
  callbackURL: zod.ZodOptional<zod.ZodString>;
2464
- provider: zod.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "spotify" | "twitch" | "twitter")[]]>;
2464
+ provider: zod.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "google" | "spotify" | "twitch" | "twitter")[]]>;
2465
2465
  dontRememberMe: zod.ZodOptional<zod.ZodDefault<zod.ZodBoolean>>;
2466
2466
  }, "strip", zod.ZodTypeAny, {
2467
- provider: "apple" | "discord" | "facebook" | "github" | "google" | "spotify" | "twitch" | "twitter";
2467
+ provider: "github" | "apple" | "discord" | "facebook" | "google" | "spotify" | "twitch" | "twitter";
2468
2468
  callbackURL?: string | undefined;
2469
2469
  dontRememberMe?: boolean | undefined;
2470
2470
  }, {
2471
- provider: "apple" | "discord" | "facebook" | "github" | "google" | "spotify" | "twitch" | "twitter";
2471
+ provider: "github" | "apple" | "discord" | "facebook" | "google" | "spotify" | "twitch" | "twitter";
2472
2472
  callbackURL?: string | undefined;
2473
2473
  dontRememberMe?: boolean | undefined;
2474
2474
  }>;
@@ -2491,14 +2491,14 @@ declare function getEndpoints<C extends AuthContext, Option extends BetterAuthOp
2491
2491
  }>>;
2492
2492
  body: zod.ZodObject<{
2493
2493
  callbackURL: zod.ZodOptional<zod.ZodString>;
2494
- provider: zod.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "spotify" | "twitch" | "twitter")[]]>;
2494
+ provider: zod.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "google" | "spotify" | "twitch" | "twitter")[]]>;
2495
2495
  dontRememberMe: zod.ZodOptional<zod.ZodDefault<zod.ZodBoolean>>;
2496
2496
  }, "strip", zod.ZodTypeAny, {
2497
- provider: "apple" | "discord" | "facebook" | "github" | "google" | "spotify" | "twitch" | "twitter";
2497
+ provider: "github" | "apple" | "discord" | "facebook" | "google" | "spotify" | "twitch" | "twitter";
2498
2498
  callbackURL?: string | undefined;
2499
2499
  dontRememberMe?: boolean | undefined;
2500
2500
  }, {
2501
- provider: "apple" | "discord" | "facebook" | "github" | "google" | "spotify" | "twitch" | "twitter";
2501
+ provider: "github" | "apple" | "discord" | "facebook" | "google" | "spotify" | "twitch" | "twitter";
2502
2502
  callbackURL?: string | undefined;
2503
2503
  dontRememberMe?: boolean | undefined;
2504
2504
  }>;
@@ -3523,14 +3523,14 @@ declare const router: <C extends AuthContext, Option extends BetterAuthOptions>(
3523
3523
  }>>;
3524
3524
  body: zod.ZodObject<{
3525
3525
  callbackURL: zod.ZodOptional<zod.ZodString>;
3526
- provider: zod.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "spotify" | "twitch" | "twitter")[]]>;
3526
+ provider: zod.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "google" | "spotify" | "twitch" | "twitter")[]]>;
3527
3527
  dontRememberMe: zod.ZodOptional<zod.ZodDefault<zod.ZodBoolean>>;
3528
3528
  }, "strip", zod.ZodTypeAny, {
3529
- provider: "apple" | "discord" | "facebook" | "github" | "google" | "spotify" | "twitch" | "twitter";
3529
+ provider: "github" | "apple" | "discord" | "facebook" | "google" | "spotify" | "twitch" | "twitter";
3530
3530
  callbackURL?: string | undefined;
3531
3531
  dontRememberMe?: boolean | undefined;
3532
3532
  }, {
3533
- provider: "apple" | "discord" | "facebook" | "github" | "google" | "spotify" | "twitch" | "twitter";
3533
+ provider: "github" | "apple" | "discord" | "facebook" | "google" | "spotify" | "twitch" | "twitter";
3534
3534
  callbackURL?: string | undefined;
3535
3535
  dontRememberMe?: boolean | undefined;
3536
3536
  }>;
@@ -3553,14 +3553,14 @@ declare const router: <C extends AuthContext, Option extends BetterAuthOptions>(
3553
3553
  }>>;
3554
3554
  body: zod.ZodObject<{
3555
3555
  callbackURL: zod.ZodOptional<zod.ZodString>;
3556
- provider: zod.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "spotify" | "twitch" | "twitter")[]]>;
3556
+ provider: zod.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "google" | "spotify" | "twitch" | "twitter")[]]>;
3557
3557
  dontRememberMe: zod.ZodOptional<zod.ZodDefault<zod.ZodBoolean>>;
3558
3558
  }, "strip", zod.ZodTypeAny, {
3559
- provider: "apple" | "discord" | "facebook" | "github" | "google" | "spotify" | "twitch" | "twitter";
3559
+ provider: "github" | "apple" | "discord" | "facebook" | "google" | "spotify" | "twitch" | "twitter";
3560
3560
  callbackURL?: string | undefined;
3561
3561
  dontRememberMe?: boolean | undefined;
3562
3562
  }, {
3563
- provider: "apple" | "discord" | "facebook" | "github" | "google" | "spotify" | "twitch" | "twitter";
3563
+ provider: "github" | "apple" | "discord" | "facebook" | "google" | "spotify" | "twitch" | "twitter";
3564
3564
  callbackURL?: string | undefined;
3565
3565
  dontRememberMe?: boolean | undefined;
3566
3566
  }>;
@@ -4587,14 +4587,14 @@ declare const betterAuth: <O extends BetterAuthOptions>(options: O) => {
4587
4587
  }>>;
4588
4588
  body: zod.ZodObject<{
4589
4589
  callbackURL: zod.ZodOptional<zod.ZodString>;
4590
- provider: zod.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "spotify" | "twitch" | "twitter")[]]>;
4590
+ provider: zod.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "google" | "spotify" | "twitch" | "twitter")[]]>;
4591
4591
  dontRememberMe: zod.ZodOptional<zod.ZodDefault<zod.ZodBoolean>>;
4592
4592
  }, "strip", zod.ZodTypeAny, {
4593
- provider: "apple" | "discord" | "facebook" | "github" | "google" | "spotify" | "twitch" | "twitter";
4593
+ provider: "github" | "apple" | "discord" | "facebook" | "google" | "spotify" | "twitch" | "twitter";
4594
4594
  callbackURL?: string | undefined;
4595
4595
  dontRememberMe?: boolean | undefined;
4596
4596
  }, {
4597
- provider: "apple" | "discord" | "facebook" | "github" | "google" | "spotify" | "twitch" | "twitter";
4597
+ provider: "github" | "apple" | "discord" | "facebook" | "google" | "spotify" | "twitch" | "twitter";
4598
4598
  callbackURL?: string | undefined;
4599
4599
  dontRememberMe?: boolean | undefined;
4600
4600
  }>;
@@ -4617,14 +4617,14 @@ declare const betterAuth: <O extends BetterAuthOptions>(options: O) => {
4617
4617
  }>>;
4618
4618
  body: zod.ZodObject<{
4619
4619
  callbackURL: zod.ZodOptional<zod.ZodString>;
4620
- provider: zod.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "spotify" | "twitch" | "twitter")[]]>;
4620
+ provider: zod.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "google" | "spotify" | "twitch" | "twitter")[]]>;
4621
4621
  dontRememberMe: zod.ZodOptional<zod.ZodDefault<zod.ZodBoolean>>;
4622
4622
  }, "strip", zod.ZodTypeAny, {
4623
- provider: "apple" | "discord" | "facebook" | "github" | "google" | "spotify" | "twitch" | "twitter";
4623
+ provider: "github" | "apple" | "discord" | "facebook" | "google" | "spotify" | "twitch" | "twitter";
4624
4624
  callbackURL?: string | undefined;
4625
4625
  dontRememberMe?: boolean | undefined;
4626
4626
  }, {
4627
- provider: "apple" | "discord" | "facebook" | "github" | "google" | "spotify" | "twitch" | "twitter";
4627
+ provider: "github" | "apple" | "discord" | "facebook" | "google" | "spotify" | "twitch" | "twitter";
4628
4628
  callbackURL?: string | undefined;
4629
4629
  dontRememberMe?: boolean | undefined;
4630
4630
  }>;
@@ -5,7 +5,7 @@ import { P as Prettify } from './helper-DPDj8Nix.js';
5
5
  import { A as AccessControl, R as Role, S as StatementsPrimitive, g as defaultRoles } from './statement-CfnyN34h.js';
6
6
  import * as _better_fetch_fetch from '@better-fetch/fetch';
7
7
  import { BetterFetch, BetterFetchOption } from '@better-fetch/fetch';
8
- import { H as HookEndpointContext } from './index-DFyIXQyt.js';
8
+ import { H as HookEndpointContext } from './index-BosUc0Am.js';
9
9
  import * as nanostores from 'nanostores';
10
10
  import { atom } from 'nanostores';
11
11
  import * as _simplewebauthn_types from '@simplewebauthn/types';
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { e as Auth, a3 as betterAuth } from './index-DFyIXQyt.js';
1
+ export { e as Auth, a3 as betterAuth } from './index-BosUc0Am.js';
2
2
  import 'kysely';
3
3
  import './index-JM-i6hLs.js';
4
4
  import 'arctic';
package/dist/next-js.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { e as Auth } from './index-DFyIXQyt.js';
1
+ import { e as Auth } from './index-BosUc0Am.js';
2
2
  import { U as User, S as Session } from './index-JM-i6hLs.js';
3
3
  import { NextRequest } from 'next/server';
4
4
  import 'kysely';
package/dist/node.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as http from 'http';
2
- import { e as Auth } from './index-DFyIXQyt.js';
2
+ import { e as Auth } from './index-BosUc0Am.js';
3
3
  import 'kysely';
4
4
  import './index-JM-i6hLs.js';
5
5
  import 'arctic';
package/dist/plugins.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- export { O as OrganizationOptions, b as Passkey, P as PasskeyOptions, W as WebAuthnCookieType, g as getPasskeyActions, m as magicLink, o as organization, p as passkey, c as passkeyClient, d as phoneNumber, t as twoFactor, a as twoFactorClient, u as username } from './index-C1aItpHl.js';
1
+ export { O as OrganizationOptions, b as Passkey, P as PasskeyOptions, W as WebAuthnCookieType, g as getPasskeyActions, m as magicLink, o as organization, p as passkey, c as passkeyClient, d as phoneNumber, t as twoFactor, a as twoFactorClient, u as username } from './index-BuLuOfi0.js';
2
2
  export { i as ac } from './index-DfAHOgpj.js';
3
- import { H as HookEndpointContext } from './index-DFyIXQyt.js';
4
- export { b as AuthEndpoint, d as AuthMiddleware, B as BetterAuthPlugin, P as PluginSchema, a as createAuthEndpoint, c as createAuthMiddleware, o as optionsMiddleware } from './index-DFyIXQyt.js';
3
+ import { H as HookEndpointContext } from './index-BosUc0Am.js';
4
+ export { b as AuthEndpoint, d as AuthMiddleware, B as BetterAuthPlugin, P as PluginSchema, a as createAuthEndpoint, c as createAuthMiddleware, o as optionsMiddleware } from './index-BosUc0Am.js';
5
5
  export { H as HIDE_METADATA } from './hide-metadata-DEHJp1rk.js';
6
6
  import './index-JM-i6hLs.js';
7
7
  import 'arctic';
package/dist/react.d.ts CHANGED
@@ -3,7 +3,7 @@ import { U as UnionToIntersection, P as Prettify, S as StripEmptyObjects } from
3
3
  import { ClientOptions, InferClientAPI, InferActions, InferAdditionalFromClient, BetterAuthClientPlugin, IsSignal } from './types.js';
4
4
  import { useStore } from '@nanostores/react';
5
5
  import 'zod';
6
- import './index-DFyIXQyt.js';
6
+ import './index-BosUc0Am.js';
7
7
  import 'kysely';
8
8
  import './index-JM-i6hLs.js';
9
9
  import 'arctic';
@@ -1,4 +1,4 @@
1
- import { e as Auth } from './index-DFyIXQyt.js';
1
+ import { e as Auth } from './index-BosUc0Am.js';
2
2
  import 'kysely';
3
3
  import './index-JM-i6hLs.js';
4
4
  import 'arctic';
package/dist/solid.d.ts CHANGED
@@ -3,7 +3,7 @@ import { U as UnionToIntersection, P as Prettify, S as StripEmptyObjects } from
3
3
  import { ClientOptions, InferClientAPI, InferActions, InferAdditionalFromClient, BetterAuthClientPlugin, IsSignal } from './types.js';
4
4
  import { Accessor } from 'solid-js';
5
5
  import 'zod';
6
- import './index-DFyIXQyt.js';
6
+ import './index-BosUc0Am.js';
7
7
  import 'kysely';
8
8
  import './index-JM-i6hLs.js';
9
9
  import 'arctic';
@@ -1,4 +1,4 @@
1
- import { e as Auth, f as BetterAuthOptions } from './index-DFyIXQyt.js';
1
+ import { e as Auth, f as BetterAuthOptions } from './index-BosUc0Am.js';
2
2
  import 'kysely';
3
3
  import './index-JM-i6hLs.js';
4
4
  import 'arctic';
package/dist/svelte.d.ts CHANGED
@@ -3,7 +3,7 @@ import * as _better_fetch_fetch from '@better-fetch/fetch';
3
3
  import { U as UnionToIntersection, P as Prettify, S as StripEmptyObjects } from './helper-DPDj8Nix.js';
4
4
  import { ClientOptions, InferClientAPI, InferActions, InferAdditionalFromClient, BetterAuthClientPlugin, IsSignal } from './types.js';
5
5
  import 'zod';
6
- import './index-DFyIXQyt.js';
6
+ import './index-BosUc0Am.js';
7
7
  import 'kysely';
8
8
  import './index-JM-i6hLs.js';
9
9
  import 'arctic';
package/dist/types.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { B as BetterAuthPlugin, e as Auth, F as FieldAttribute, I as InferFieldOutput } from './index-DFyIXQyt.js';
2
- export { A as Adapter, g as AuthContext, f as BetterAuthOptions, G as GenericEndpointContext, H as HookEndpointContext, r as InferPluginTypes, q as InferSession, n as InferUser, P as PluginSchema, R as RateLimit, S as SessionAdapter, W as Where, t as init } from './index-DFyIXQyt.js';
1
+ import { B as BetterAuthPlugin, e as Auth, F as FieldAttribute, I as InferFieldOutput } from './index-BosUc0Am.js';
2
+ export { A as Adapter, g as AuthContext, f as BetterAuthOptions, G as GenericEndpointContext, H as HookEndpointContext, r as InferPluginTypes, q as InferSession, n as InferUser, P as PluginSchema, R as RateLimit, S as SessionAdapter, W as Where, t as init } from './index-BosUc0Am.js';
3
3
  import { U as UnionToIntersection, H as HasRequiredKeys, P as Prettify, S as StripEmptyObjects, L as LiteralString } from './helper-DPDj8Nix.js';
4
4
  export { D as DeepPartial, a as LiteralUnion, R as RequiredKeysOf, W as WithoutEmpty } from './helper-DPDj8Nix.js';
5
5
  import { S as Session, U as User } from './index-JM-i6hLs.js';
package/dist/utils.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { g as AuthContext, G as GenericEndpointContext } from './index-DFyIXQyt.js';
2
- export { j as BetterAuthCookies, i as createCookieGetter, l as createLogger, k as deleteSessionCookie, h as getCookies, m as logger, p as parseSetCookieHeader, s as setSessionCookie } from './index-DFyIXQyt.js';
1
+ import { g as AuthContext, G as GenericEndpointContext } from './index-BosUc0Am.js';
2
+ export { j as BetterAuthCookies, i as createCookieGetter, l as createLogger, k as deleteSessionCookie, h as getCookies, m as logger, p as parseSetCookieHeader, s as setSessionCookie } from './index-BosUc0Am.js';
3
3
  export { H as HIDE_METADATA } from './hide-metadata-DEHJp1rk.js';
4
4
  import { z } from 'zod';
5
5
  import 'kysely';
package/dist/vue.d.ts CHANGED
@@ -3,7 +3,7 @@ import { U as UnionToIntersection, P as Prettify, S as StripEmptyObjects } from
3
3
  import { ClientOptions, InferClientAPI, InferActions, InferAdditionalFromClient, BetterAuthClientPlugin, IsSignal } from './types.js';
4
4
  import { Ref, DeepReadonly } from 'vue';
5
5
  import 'zod';
6
- import './index-DFyIXQyt.js';
6
+ import './index-BosUc0Am.js';
7
7
  import 'kysely';
8
8
  import './index-JM-i6hLs.js';
9
9
  import 'arctic';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "better-auth",
3
- "version": "0.2.8-beta.10",
3
+ "version": "0.2.8-beta.11",
4
4
  "description": "The most comprehensive authentication library for TypeScript.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -45,6 +45,7 @@
45
45
  "devDependencies": {
46
46
  "@prisma/client": "^5.19.1",
47
47
  "@simplewebauthn/types": "^10.0.0",
48
+ "@mrleebo/prisma-ast": "^0.12.0",
48
49
  "@types/better-sqlite3": "^7.6.11",
49
50
  "better-sqlite3": "^11.3.0",
50
51
  "@types/pg": "^8.11.6",
@@ -72,7 +73,6 @@
72
73
  "@babel/preset-typescript": "^7.24.7",
73
74
  "@better-fetch/fetch": "^1.1.9",
74
75
  "@better-fetch/logger": "^1.1.3",
75
- "@mrleebo/prisma-ast": "^0.12.0",
76
76
  "@nanostores/query": "^0.3.4",
77
77
  "@nanostores/react": "^0.7.3",
78
78
  "@nanostores/solid": "^0.4.2",