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.
- package/dist/adapters/drizzle.d.ts +1 -1
- package/dist/adapters/mongodb.d.ts +1 -1
- package/dist/adapters/prisma.d.ts +1 -1
- package/dist/api.d.ts +1 -1
- package/dist/client/plugins.d.ts +3 -3
- package/dist/client.d.ts +1 -1
- package/dist/{index-DFyIXQyt.d.ts → index-BosUc0Am.d.ts} +24 -24
- package/dist/{index-C1aItpHl.d.ts → index-BuLuOfi0.d.ts} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/next-js.d.ts +1 -1
- package/dist/node.d.ts +1 -1
- package/dist/plugins.d.ts +3 -3
- package/dist/react.d.ts +1 -1
- package/dist/solid-start.d.ts +1 -1
- package/dist/solid.d.ts +1 -1
- package/dist/svelte-kit.d.ts +1 -1
- package/dist/svelte.d.ts +1 -1
- package/dist/types.d.ts +2 -2
- package/dist/utils.d.ts +2 -2
- package/dist/vue.d.ts +1 -1
- package/package.json +2 -2
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-
|
|
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';
|
package/dist/client/plugins.d.ts
CHANGED
|
@@ -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-
|
|
6
|
-
export { g as getPasskeyActions, c as passkeyClient, a as twoFactorClient } from '../index-
|
|
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-
|
|
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-
|
|
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", ...("
|
|
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: "
|
|
1268
|
+
provider: "github" | "apple" | "discord" | "facebook" | "google" | "spotify" | "twitch" | "twitter";
|
|
1269
1269
|
callbackURL?: string | undefined;
|
|
1270
1270
|
dontRememberMe?: boolean | undefined;
|
|
1271
1271
|
}, {
|
|
1272
|
-
provider: "
|
|
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", ...("
|
|
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: "
|
|
1311
|
+
provider: "github" | "apple" | "discord" | "facebook" | "google" | "spotify" | "twitch" | "twitter";
|
|
1312
1312
|
callbackURL?: string | undefined;
|
|
1313
1313
|
dontRememberMe?: boolean | undefined;
|
|
1314
1314
|
}, {
|
|
1315
|
-
provider: "
|
|
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", ...("
|
|
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: "
|
|
2467
|
+
provider: "github" | "apple" | "discord" | "facebook" | "google" | "spotify" | "twitch" | "twitter";
|
|
2468
2468
|
callbackURL?: string | undefined;
|
|
2469
2469
|
dontRememberMe?: boolean | undefined;
|
|
2470
2470
|
}, {
|
|
2471
|
-
provider: "
|
|
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", ...("
|
|
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: "
|
|
2497
|
+
provider: "github" | "apple" | "discord" | "facebook" | "google" | "spotify" | "twitch" | "twitter";
|
|
2498
2498
|
callbackURL?: string | undefined;
|
|
2499
2499
|
dontRememberMe?: boolean | undefined;
|
|
2500
2500
|
}, {
|
|
2501
|
-
provider: "
|
|
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", ...("
|
|
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: "
|
|
3529
|
+
provider: "github" | "apple" | "discord" | "facebook" | "google" | "spotify" | "twitch" | "twitter";
|
|
3530
3530
|
callbackURL?: string | undefined;
|
|
3531
3531
|
dontRememberMe?: boolean | undefined;
|
|
3532
3532
|
}, {
|
|
3533
|
-
provider: "
|
|
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", ...("
|
|
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: "
|
|
3559
|
+
provider: "github" | "apple" | "discord" | "facebook" | "google" | "spotify" | "twitch" | "twitter";
|
|
3560
3560
|
callbackURL?: string | undefined;
|
|
3561
3561
|
dontRememberMe?: boolean | undefined;
|
|
3562
3562
|
}, {
|
|
3563
|
-
provider: "
|
|
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", ...("
|
|
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: "
|
|
4593
|
+
provider: "github" | "apple" | "discord" | "facebook" | "google" | "spotify" | "twitch" | "twitter";
|
|
4594
4594
|
callbackURL?: string | undefined;
|
|
4595
4595
|
dontRememberMe?: boolean | undefined;
|
|
4596
4596
|
}, {
|
|
4597
|
-
provider: "
|
|
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", ...("
|
|
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: "
|
|
4623
|
+
provider: "github" | "apple" | "discord" | "facebook" | "google" | "spotify" | "twitch" | "twitter";
|
|
4624
4624
|
callbackURL?: string | undefined;
|
|
4625
4625
|
dontRememberMe?: boolean | undefined;
|
|
4626
4626
|
}, {
|
|
4627
|
-
provider: "
|
|
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-
|
|
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
package/dist/next-js.d.ts
CHANGED
package/dist/node.d.ts
CHANGED
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-
|
|
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-
|
|
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-
|
|
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-
|
|
6
|
+
import './index-BosUc0Am.js';
|
|
7
7
|
import 'kysely';
|
|
8
8
|
import './index-JM-i6hLs.js';
|
|
9
9
|
import 'arctic';
|
package/dist/solid-start.d.ts
CHANGED
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-
|
|
6
|
+
import './index-BosUc0Am.js';
|
|
7
7
|
import 'kysely';
|
|
8
8
|
import './index-JM-i6hLs.js';
|
|
9
9
|
import 'arctic';
|
package/dist/svelte-kit.d.ts
CHANGED
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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.
|
|
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",
|