better-auth 0.2.5-beta.3 → 0.2.5-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.
@@ -1,4 +1,4 @@
1
- import { A as Adapter } from '../index-CcdDoX76.js';
1
+ import { A as Adapter } from '../index-Cogjv0Dp.js';
2
2
  import 'kysely';
3
3
  import '../index-CE92ti2Z.js';
4
4
  import 'arctic';
@@ -1,4 +1,4 @@
1
- import { W as Where } from '../index-CcdDoX76.js';
1
+ import { W as Where } from '../index-Cogjv0Dp.js';
2
2
  import 'kysely';
3
3
  import '../index-CE92ti2Z.js';
4
4
  import 'arctic';
@@ -1,4 +1,4 @@
1
- import { A as Adapter } from '../index-CcdDoX76.js';
1
+ import { A as Adapter } from '../index-Cogjv0Dp.js';
2
2
  import 'kysely';
3
3
  import '../index-CE92ti2Z.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, a1 as csrfMiddleware, _ as error, M as forgetPassword, N as forgetPasswordCallback, Z as getCSRFToken, u as getEndpoints, z as getSession, C as getSessionFromCtx, E as listSessions, $ 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, a0 as signUpEmail, V as updateUser, U as verifyEmail } from './index-CcdDoX76.js';
1
+ export { b as AuthEndpoint, d as AuthMiddleware, y as callbackOAuth, X as changePassword, a as createAuthEndpoint, c as createAuthMiddleware, Q as createEmailVerificationToken, a1 as csrfMiddleware, _ as error, M as forgetPassword, N as forgetPasswordCallback, Z as getCSRFToken, u as getEndpoints, z as getSession, C as getSessionFromCtx, E as listSessions, $ 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, a0 as signUpEmail, V as updateUser, U as verifyEmail } from './index-Cogjv0Dp.js';
2
2
  import 'zod';
3
3
  import './helper-C1ihmerM.js';
4
4
  import 'better-call';
package/dist/cli.js CHANGED
@@ -925,11 +925,11 @@ var generate = new Command2("generate").option(
925
925
  ).option(
926
926
  "--config <config>",
927
927
  "the path to the configuration file. defaults to the first configuration file found."
928
- ).option("--out <output>", "the file to output to the generated schema").option("--y", "").action(async (opts) => {
928
+ ).option("--output <output>", "the file to output to the generated schema").option("--y", "").action(async (opts) => {
929
929
  const options = z3.object({
930
930
  cwd: z3.string(),
931
931
  config: z3.string().optional(),
932
- out: z3.string().optional()
932
+ output: z3.string().optional()
933
933
  }).parse(opts);
934
934
  const cwd = path3.resolve(options.cwd);
935
935
  if (!existsSync2(cwd)) {
@@ -957,7 +957,7 @@ var generate = new Command2("generate").option(
957
957
  const spinner = ora4("preparing schema...").start();
958
958
  const { code, fileName, append } = await adapter.createSchema(
959
959
  config,
960
- options.out
960
+ options.output
961
961
  );
962
962
  spinner.stop();
963
963
  if (!code) {
@@ -998,7 +998,7 @@ var generate = new Command2("generate").option(
998
998
  recursive: true
999
999
  });
1000
1000
  }
1001
- await fs.writeFile(options.out || path3.join(cwd, fileName), code);
1001
+ await fs.writeFile(options.output || path3.join(cwd, fileName), code);
1002
1002
  logger.success(`\u{1F680} schema was generated successfully!`);
1003
1003
  process.exit(0);
1004
1004
  });
@@ -2,14 +2,14 @@ import * as nanostores from 'nanostores';
2
2
  import { A as AccessControl, S as StatementsPrimitive, R as Role } from '../statement-CU-fdHXK.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, d as Organization, M as Member, I as Invitation, u as username, m as magicLink } from '../index-D4lHPI1i.js';
6
- export { g as getPasskeyActions, c as passkeyClient, a as twoFactorClient } from '../index-D4lHPI1i.js';
5
+ import { o as organization, d as Organization, M as Member, I as Invitation, u as username, m as magicLink } from '../index-X6b_CjA3.js';
6
+ export { g as getPasskeyActions, c as passkeyClient, a as twoFactorClient } from '../index-X6b_CjA3.js';
7
7
  import { P as Prettify } from '../helper-C1ihmerM.js';
8
8
  import '../index-CE92ti2Z.js';
9
9
  import 'arctic';
10
10
  import 'zod';
11
11
  import 'better-call';
12
- import '../index-CcdDoX76.js';
12
+ import '../index-Cogjv0Dp.js';
13
13
  import 'kysely';
14
14
  import '@simplewebauthn/types';
15
15
 
package/dist/client.d.ts CHANGED
@@ -3,7 +3,7 @@ import * as nanostores from 'nanostores';
3
3
  import { PreinitializedWritableAtom } from 'nanostores';
4
4
  import * as _better_fetch_fetch from '@better-fetch/fetch';
5
5
  import { BetterFetch, BetterFetchError, BetterFetchOption } from '@better-fetch/fetch';
6
- import { B as BetterAuthPlugin, F as FieldAttribute, I as InferFieldOutput } from './index-CcdDoX76.js';
6
+ import { B as BetterAuthPlugin, F as FieldAttribute, I as InferFieldOutput } from './index-Cogjv0Dp.js';
7
7
  import { U as UnionToIntersection, P as Prettify } from './helper-C1ihmerM.js';
8
8
  import { ClientOptions, InferClientAPI, InferActions, BetterAuthClientPlugin, InferSessionFromClient, InferUserFromClient, IsSignal } from './types.js';
9
9
  export { AtomListener, InferPluginsFromClient } from './types.js';
@@ -1291,17 +1291,17 @@ declare const signInOAuth: {
1291
1291
  /**
1292
1292
  * OAuth2 provider to use`
1293
1293
  */
1294
- provider: z.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "spotify" | "twitch" | "twitter")[]]>;
1294
+ provider: z.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "google" | "spotify" | "twitch" | "twitter")[]]>;
1295
1295
  /**
1296
1296
  * If this is true the session will only be valid for the current browser session
1297
1297
  */
1298
1298
  dontRememberMe: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1299
1299
  }, "strip", z.ZodTypeAny, {
1300
- provider: "apple" | "discord" | "facebook" | "github" | "google" | "spotify" | "twitch" | "twitter";
1300
+ provider: "github" | "apple" | "discord" | "facebook" | "google" | "spotify" | "twitch" | "twitter";
1301
1301
  callbackURL?: string | undefined;
1302
1302
  dontRememberMe?: boolean | undefined;
1303
1303
  }, {
1304
- provider: "apple" | "discord" | "facebook" | "github" | "google" | "spotify" | "twitch" | "twitter";
1304
+ provider: "github" | "apple" | "discord" | "facebook" | "google" | "spotify" | "twitch" | "twitter";
1305
1305
  callbackURL?: string | undefined;
1306
1306
  dontRememberMe?: boolean | undefined;
1307
1307
  }>;
@@ -1334,17 +1334,17 @@ declare const signInOAuth: {
1334
1334
  /**
1335
1335
  * OAuth2 provider to use`
1336
1336
  */
1337
- provider: z.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "spotify" | "twitch" | "twitter")[]]>;
1337
+ provider: z.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "google" | "spotify" | "twitch" | "twitter")[]]>;
1338
1338
  /**
1339
1339
  * If this is true the session will only be valid for the current browser session
1340
1340
  */
1341
1341
  dontRememberMe: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1342
1342
  }, "strip", z.ZodTypeAny, {
1343
- provider: "apple" | "discord" | "facebook" | "github" | "google" | "spotify" | "twitch" | "twitter";
1343
+ provider: "github" | "apple" | "discord" | "facebook" | "google" | "spotify" | "twitch" | "twitter";
1344
1344
  callbackURL?: string | undefined;
1345
1345
  dontRememberMe?: boolean | undefined;
1346
1346
  }, {
1347
- provider: "apple" | "discord" | "facebook" | "github" | "google" | "spotify" | "twitch" | "twitter";
1347
+ provider: "github" | "apple" | "discord" | "facebook" | "google" | "spotify" | "twitch" | "twitter";
1348
1348
  callbackURL?: string | undefined;
1349
1349
  dontRememberMe?: boolean | undefined;
1350
1350
  }>;
@@ -2428,14 +2428,14 @@ declare function getEndpoints<C extends AuthContext, Option extends BetterAuthOp
2428
2428
  }>>;
2429
2429
  body: zod.ZodObject<{
2430
2430
  callbackURL: zod.ZodOptional<zod.ZodString>;
2431
- provider: zod.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "spotify" | "twitch" | "twitter")[]]>;
2431
+ provider: zod.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "google" | "spotify" | "twitch" | "twitter")[]]>;
2432
2432
  dontRememberMe: zod.ZodOptional<zod.ZodDefault<zod.ZodBoolean>>;
2433
2433
  }, "strip", zod.ZodTypeAny, {
2434
- provider: "apple" | "discord" | "facebook" | "github" | "google" | "spotify" | "twitch" | "twitter";
2434
+ provider: "github" | "apple" | "discord" | "facebook" | "google" | "spotify" | "twitch" | "twitter";
2435
2435
  callbackURL?: string | undefined;
2436
2436
  dontRememberMe?: boolean | undefined;
2437
2437
  }, {
2438
- provider: "apple" | "discord" | "facebook" | "github" | "google" | "spotify" | "twitch" | "twitter";
2438
+ provider: "github" | "apple" | "discord" | "facebook" | "google" | "spotify" | "twitch" | "twitter";
2439
2439
  callbackURL?: string | undefined;
2440
2440
  dontRememberMe?: boolean | undefined;
2441
2441
  }>;
@@ -2458,14 +2458,14 @@ declare function getEndpoints<C extends AuthContext, Option extends BetterAuthOp
2458
2458
  }>>;
2459
2459
  body: zod.ZodObject<{
2460
2460
  callbackURL: zod.ZodOptional<zod.ZodString>;
2461
- provider: zod.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "spotify" | "twitch" | "twitter")[]]>;
2461
+ provider: zod.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "google" | "spotify" | "twitch" | "twitter")[]]>;
2462
2462
  dontRememberMe: zod.ZodOptional<zod.ZodDefault<zod.ZodBoolean>>;
2463
2463
  }, "strip", zod.ZodTypeAny, {
2464
- provider: "apple" | "discord" | "facebook" | "github" | "google" | "spotify" | "twitch" | "twitter";
2464
+ provider: "github" | "apple" | "discord" | "facebook" | "google" | "spotify" | "twitch" | "twitter";
2465
2465
  callbackURL?: string | undefined;
2466
2466
  dontRememberMe?: boolean | undefined;
2467
2467
  }, {
2468
- provider: "apple" | "discord" | "facebook" | "github" | "google" | "spotify" | "twitch" | "twitter";
2468
+ provider: "github" | "apple" | "discord" | "facebook" | "google" | "spotify" | "twitch" | "twitter";
2469
2469
  callbackURL?: string | undefined;
2470
2470
  dontRememberMe?: boolean | undefined;
2471
2471
  }>;
@@ -3425,14 +3425,14 @@ declare const router: <C extends AuthContext, Option extends BetterAuthOptions>(
3425
3425
  }>>;
3426
3426
  body: zod.ZodObject<{
3427
3427
  callbackURL: zod.ZodOptional<zod.ZodString>;
3428
- provider: zod.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "spotify" | "twitch" | "twitter")[]]>;
3428
+ provider: zod.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "google" | "spotify" | "twitch" | "twitter")[]]>;
3429
3429
  dontRememberMe: zod.ZodOptional<zod.ZodDefault<zod.ZodBoolean>>;
3430
3430
  }, "strip", zod.ZodTypeAny, {
3431
- provider: "apple" | "discord" | "facebook" | "github" | "google" | "spotify" | "twitch" | "twitter";
3431
+ provider: "github" | "apple" | "discord" | "facebook" | "google" | "spotify" | "twitch" | "twitter";
3432
3432
  callbackURL?: string | undefined;
3433
3433
  dontRememberMe?: boolean | undefined;
3434
3434
  }, {
3435
- provider: "apple" | "discord" | "facebook" | "github" | "google" | "spotify" | "twitch" | "twitter";
3435
+ provider: "github" | "apple" | "discord" | "facebook" | "google" | "spotify" | "twitch" | "twitter";
3436
3436
  callbackURL?: string | undefined;
3437
3437
  dontRememberMe?: boolean | undefined;
3438
3438
  }>;
@@ -3455,14 +3455,14 @@ declare const router: <C extends AuthContext, Option extends BetterAuthOptions>(
3455
3455
  }>>;
3456
3456
  body: zod.ZodObject<{
3457
3457
  callbackURL: zod.ZodOptional<zod.ZodString>;
3458
- provider: zod.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "spotify" | "twitch" | "twitter")[]]>;
3458
+ provider: zod.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "google" | "spotify" | "twitch" | "twitter")[]]>;
3459
3459
  dontRememberMe: zod.ZodOptional<zod.ZodDefault<zod.ZodBoolean>>;
3460
3460
  }, "strip", zod.ZodTypeAny, {
3461
- provider: "apple" | "discord" | "facebook" | "github" | "google" | "spotify" | "twitch" | "twitter";
3461
+ provider: "github" | "apple" | "discord" | "facebook" | "google" | "spotify" | "twitch" | "twitter";
3462
3462
  callbackURL?: string | undefined;
3463
3463
  dontRememberMe?: boolean | undefined;
3464
3464
  }, {
3465
- provider: "apple" | "discord" | "facebook" | "github" | "google" | "spotify" | "twitch" | "twitter";
3465
+ provider: "github" | "apple" | "discord" | "facebook" | "google" | "spotify" | "twitch" | "twitter";
3466
3466
  callbackURL?: string | undefined;
3467
3467
  dontRememberMe?: boolean | undefined;
3468
3468
  }>;
@@ -4424,14 +4424,14 @@ declare const betterAuth: <O extends BetterAuthOptions>(options: O) => {
4424
4424
  }>>;
4425
4425
  body: zod.ZodObject<{
4426
4426
  callbackURL: zod.ZodOptional<zod.ZodString>;
4427
- provider: zod.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "spotify" | "twitch" | "twitter")[]]>;
4427
+ provider: zod.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "google" | "spotify" | "twitch" | "twitter")[]]>;
4428
4428
  dontRememberMe: zod.ZodOptional<zod.ZodDefault<zod.ZodBoolean>>;
4429
4429
  }, "strip", zod.ZodTypeAny, {
4430
- provider: "apple" | "discord" | "facebook" | "github" | "google" | "spotify" | "twitch" | "twitter";
4430
+ provider: "github" | "apple" | "discord" | "facebook" | "google" | "spotify" | "twitch" | "twitter";
4431
4431
  callbackURL?: string | undefined;
4432
4432
  dontRememberMe?: boolean | undefined;
4433
4433
  }, {
4434
- provider: "apple" | "discord" | "facebook" | "github" | "google" | "spotify" | "twitch" | "twitter";
4434
+ provider: "github" | "apple" | "discord" | "facebook" | "google" | "spotify" | "twitch" | "twitter";
4435
4435
  callbackURL?: string | undefined;
4436
4436
  dontRememberMe?: boolean | undefined;
4437
4437
  }>;
@@ -4454,14 +4454,14 @@ declare const betterAuth: <O extends BetterAuthOptions>(options: O) => {
4454
4454
  }>>;
4455
4455
  body: zod.ZodObject<{
4456
4456
  callbackURL: zod.ZodOptional<zod.ZodString>;
4457
- provider: zod.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "spotify" | "twitch" | "twitter")[]]>;
4457
+ provider: zod.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "google" | "spotify" | "twitch" | "twitter")[]]>;
4458
4458
  dontRememberMe: zod.ZodOptional<zod.ZodDefault<zod.ZodBoolean>>;
4459
4459
  }, "strip", zod.ZodTypeAny, {
4460
- provider: "apple" | "discord" | "facebook" | "github" | "google" | "spotify" | "twitch" | "twitter";
4460
+ provider: "github" | "apple" | "discord" | "facebook" | "google" | "spotify" | "twitch" | "twitter";
4461
4461
  callbackURL?: string | undefined;
4462
4462
  dontRememberMe?: boolean | undefined;
4463
4463
  }, {
4464
- provider: "apple" | "discord" | "facebook" | "github" | "google" | "spotify" | "twitch" | "twitter";
4464
+ provider: "github" | "apple" | "discord" | "facebook" | "google" | "spotify" | "twitch" | "twitter";
4465
4465
  callbackURL?: string | undefined;
4466
4466
  dontRememberMe?: boolean | undefined;
4467
4467
  }>;
@@ -5,7 +5,7 @@ import { P as Prettify } from './helper-C1ihmerM.js';
5
5
  import { A as AccessControl, R as Role, S as StatementsPrimitive, g as defaultRoles } from './statement-CU-fdHXK.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-CcdDoX76.js';
8
+ import { H as HookEndpointContext } from './index-Cogjv0Dp.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, a2 as betterAuth } from './index-CcdDoX76.js';
1
+ export { e as Auth, a2 as betterAuth } from './index-Cogjv0Dp.js';
2
2
  import 'kysely';
3
3
  import './index-CE92ti2Z.js';
4
4
  import 'arctic';
package/dist/next-js.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { e as Auth } from './index-CcdDoX76.js';
1
+ import { e as Auth } from './index-Cogjv0Dp.js';
2
2
  import { U as User, S as Session } from './index-CE92ti2Z.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-CcdDoX76.js';
2
+ import { e as Auth } from './index-Cogjv0Dp.js';
3
3
  import 'kysely';
4
4
  import './index-CE92ti2Z.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, t as twoFactor, a as twoFactorClient, u as username } from './index-D4lHPI1i.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, t as twoFactor, a as twoFactorClient, u as username } from './index-X6b_CjA3.js';
2
2
  export { i as ac } from './index-D6NOkCRo.js';
3
- import { H as HookEndpointContext } from './index-CcdDoX76.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-CcdDoX76.js';
3
+ import { H as HookEndpointContext } from './index-Cogjv0Dp.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-Cogjv0Dp.js';
5
5
  export { H as HIDE_METADATA } from './hide-metadata-DEHJp1rk.js';
6
6
  import './index-CE92ti2Z.js';
7
7
  import 'arctic';
package/dist/react.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as _better_fetch_fetch from '@better-fetch/fetch';
2
- import { B as BetterAuthPlugin, F as FieldAttribute, I as InferFieldOutput } from './index-CcdDoX76.js';
2
+ import { B as BetterAuthPlugin, F as FieldAttribute, I as InferFieldOutput } from './index-Cogjv0Dp.js';
3
3
  import { U as UnionToIntersection, P as Prettify } from './helper-C1ihmerM.js';
4
4
  import { ClientOptions, InferClientAPI, InferActions, BetterAuthClientPlugin, IsSignal } from './types.js';
5
5
  import { useStore } from '@nanostores/react';
@@ -1,4 +1,4 @@
1
- import { e as Auth } from './index-CcdDoX76.js';
1
+ import { e as Auth } from './index-Cogjv0Dp.js';
2
2
  import 'kysely';
3
3
  import './index-CE92ti2Z.js';
4
4
  import 'arctic';
package/dist/solid.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as _better_fetch_fetch from '@better-fetch/fetch';
2
- import { B as BetterAuthPlugin, F as FieldAttribute, I as InferFieldOutput } from './index-CcdDoX76.js';
2
+ import { B as BetterAuthPlugin, F as FieldAttribute, I as InferFieldOutput } from './index-Cogjv0Dp.js';
3
3
  import { U as UnionToIntersection, P as Prettify } from './helper-C1ihmerM.js';
4
4
  import { ClientOptions, InferClientAPI, InferActions, BetterAuthClientPlugin, IsSignal } from './types.js';
5
5
  import { Accessor } from 'solid-js';
@@ -1,4 +1,4 @@
1
- import { e as Auth, f as BetterAuthOptions } from './index-CcdDoX76.js';
1
+ import { e as Auth, f as BetterAuthOptions } from './index-Cogjv0Dp.js';
2
2
  import 'kysely';
3
3
  import './index-CE92ti2Z.js';
4
4
  import 'arctic';
package/dist/svelte.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as nanostores from 'nanostores';
2
2
  import * as _better_fetch_fetch from '@better-fetch/fetch';
3
- import { B as BetterAuthPlugin, F as FieldAttribute, I as InferFieldOutput } from './index-CcdDoX76.js';
3
+ import { B as BetterAuthPlugin, F as FieldAttribute, I as InferFieldOutput } from './index-Cogjv0Dp.js';
4
4
  import { U as UnionToIntersection, P as Prettify } from './helper-C1ihmerM.js';
5
5
  import { ClientOptions, InferClientAPI, InferActions, BetterAuthClientPlugin, IsSignal } from './types.js';
6
6
  import 'kysely';
package/dist/types.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { B as BetterAuthPlugin, e as Auth, n as InferSession, q as InferUser } from './index-CcdDoX76.js';
2
- export { A as Adapter, g as AuthContext, f as BetterAuthOptions, G as GenericEndpointContext, H as HookEndpointContext, r as InferPluginTypes, P as PluginSchema, R as RateLimit, S as SessionAdapter, W as Where, t as init } from './index-CcdDoX76.js';
1
+ import { B as BetterAuthPlugin, e as Auth, n as InferSession, q as InferUser } from './index-Cogjv0Dp.js';
2
+ export { A as Adapter, g as AuthContext, f as BetterAuthOptions, G as GenericEndpointContext, H as HookEndpointContext, r as InferPluginTypes, P as PluginSchema, R as RateLimit, S as SessionAdapter, W as Where, t as init } from './index-Cogjv0Dp.js';
3
3
  import { U as UnionToIntersection, H as HasRequiredKeys, P as Prettify, L as LiteralString } from './helper-C1ihmerM.js';
4
4
  export { a as LiteralUnion, R as RequiredKeysOf, W as WithoutEmpty } from './helper-C1ihmerM.js';
5
5
  export { O as OAuthProvider, f as OAuthProviderList, P as ProviderOptions, S as Session, U as User } from './index-CE92ti2Z.js';
package/dist/utils.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { g as AuthContext, G as GenericEndpointContext } from './index-CcdDoX76.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-CcdDoX76.js';
1
+ import { g as AuthContext, G as GenericEndpointContext } from './index-Cogjv0Dp.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-Cogjv0Dp.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
@@ -1,5 +1,5 @@
1
1
  import * as _better_fetch_fetch from '@better-fetch/fetch';
2
- import { B as BetterAuthPlugin, F as FieldAttribute, I as InferFieldOutput } from './index-CcdDoX76.js';
2
+ import { B as BetterAuthPlugin, F as FieldAttribute, I as InferFieldOutput } from './index-Cogjv0Dp.js';
3
3
  import { U as UnionToIntersection, P as Prettify } from './helper-C1ihmerM.js';
4
4
  import { ClientOptions, InferClientAPI, InferActions, BetterAuthClientPlugin, IsSignal } from './types.js';
5
5
  import { Ref, DeepReadonly } from 'vue';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "better-auth",
3
- "version": "0.2.5-beta.3",
3
+ "version": "0.2.5-beta.4",
4
4
  "description": "The most comprehensive authentication library for TypeScript.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",