better-auth 0.7.3-beta.8 → 0.7.3-beta.9
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.cts +1 -1
- package/dist/adapters/drizzle.d.ts +1 -1
- package/dist/adapters/kysely.d.cts +1 -1
- package/dist/adapters/kysely.d.ts +1 -1
- package/dist/adapters/mongodb.d.cts +1 -1
- package/dist/adapters/mongodb.d.ts +1 -1
- package/dist/adapters/prisma.d.cts +1 -1
- package/dist/adapters/prisma.d.ts +1 -1
- package/dist/api.d.cts +1 -1
- package/dist/api.d.ts +1 -1
- package/dist/{auth-C4SPZfzU.d.cts → auth-BkJnc76F.d.cts} +48 -48
- package/dist/{auth-DbiTXQpj.d.ts → auth-G61_RA8H.d.ts} +48 -48
- package/dist/client/plugins.d.cts +3 -3
- package/dist/client/plugins.d.ts +3 -3
- package/dist/client.d.cts +1 -1
- package/dist/client.d.ts +1 -1
- package/dist/cookies.d.cts +1 -1
- package/dist/cookies.d.ts +1 -1
- package/dist/db.d.cts +2 -2
- package/dist/db.d.ts +2 -2
- package/dist/{index-CrdZaxHZ.d.cts → index-KdWDL1fo.d.cts} +1 -1
- package/dist/{index-Cra0xnvf.d.ts → index-cKD4sHma.d.ts} +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/node.d.cts +1 -1
- package/dist/node.d.ts +1 -1
- package/dist/oauth2.d.cts +2 -2
- package/dist/oauth2.d.ts +2 -2
- package/dist/plugins.d.cts +3 -3
- package/dist/plugins.d.ts +3 -3
- package/dist/react.d.cts +1 -1
- package/dist/react.d.ts +1 -1
- package/dist/solid-start.d.cts +1 -1
- package/dist/solid-start.d.ts +1 -1
- package/dist/solid.d.cts +1 -1
- package/dist/solid.d.ts +1 -1
- package/dist/{state-Bk9kyyvA.d.ts → state-CTWPRYsC.d.ts} +1 -1
- package/dist/{state-CpGxEoYR.d.cts → state-UgidHWa5.d.cts} +1 -1
- package/dist/svelte-kit.d.cts +1 -1
- package/dist/svelte-kit.d.ts +1 -1
- package/dist/svelte.d.cts +1 -1
- package/dist/svelte.d.ts +1 -1
- package/dist/types.d.cts +2 -2
- package/dist/types.d.ts +2 -2
- package/dist/vue.d.cts +1 -1
- package/dist/vue.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Kysely } from 'kysely';
|
|
2
|
-
import { B as BetterAuthOptions, K as KyselyDatabaseType, F as FieldAttribute, A as Adapter } from '../auth-
|
|
2
|
+
import { B as BetterAuthOptions, K as KyselyDatabaseType, F as FieldAttribute, A as Adapter } from '../auth-BkJnc76F.cjs';
|
|
3
3
|
import 'node_modules/better-call/dist/router-Bn7zn81P';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import '../index-DUqGSAH3.cjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Kysely } from 'kysely';
|
|
2
|
-
import { B as BetterAuthOptions, K as KyselyDatabaseType, F as FieldAttribute, A as Adapter } from '../auth-
|
|
2
|
+
import { B as BetterAuthOptions, K as KyselyDatabaseType, F as FieldAttribute, A as Adapter } from '../auth-G61_RA8H.js';
|
|
3
3
|
import 'node_modules/better-call/dist/router-Bn7zn81P';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import '../index-DUqGSAH3.js';
|
|
@@ -3,7 +3,7 @@ import { EventEmitter } from 'events';
|
|
|
3
3
|
import { TcpNetConnectOpts } from 'net';
|
|
4
4
|
import { Readable } from 'stream';
|
|
5
5
|
import { ConnectionOptions as ConnectionOptions$1, TLSSocketOptions } from 'tls';
|
|
6
|
-
import { W as Where } from '../auth-
|
|
6
|
+
import { W as Where } from '../auth-BkJnc76F.cjs';
|
|
7
7
|
import 'node_modules/better-call/dist/router-Bn7zn81P';
|
|
8
8
|
import 'zod';
|
|
9
9
|
import 'kysely';
|
|
@@ -3,7 +3,7 @@ import { EventEmitter } from 'events';
|
|
|
3
3
|
import { TcpNetConnectOpts } from 'net';
|
|
4
4
|
import { Readable } from 'stream';
|
|
5
5
|
import { ConnectionOptions as ConnectionOptions$1, TLSSocketOptions } from 'tls';
|
|
6
|
-
import { W as Where } from '../auth-
|
|
6
|
+
import { W as Where } from '../auth-G61_RA8H.js';
|
|
7
7
|
import 'node_modules/better-call/dist/router-Bn7zn81P';
|
|
8
8
|
import 'zod';
|
|
9
9
|
import 'kysely';
|
package/dist/api.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import 'node_modules/better-call/dist/router-Bn7zn81P';
|
|
2
|
-
export { e as AuthEndpoint, f as AuthMiddleware, a1 as callbackOAuth, aj as changeEmail, ag as changePassword, d as createAuthEndpoint, c as createAuthMiddleware, ac as createEmailVerificationToken, ai as deleteUser, ak as error, a9 as forgetPassword, aa as forgetPasswordCallback, Z as getEndpoints, a2 as getSession, a3 as getSessionFromCtx, ao as linkSocialAccount, a5 as listSessions, an as listUserAccounts, al as ok, o as optionsMiddleware, ap as originCheckMiddleware, ab as resetPassword, a6 as revokeSession, a7 as revokeSessions, _ as router, ad as sendVerificationEmail, a4 as sessionMiddleware, ah as setPassword, a0 as signInEmail, $ as signInSocial, a8 as signOut, am as signUpEmail, af as updateUser, ae as verifyEmail } from './auth-
|
|
2
|
+
export { e as AuthEndpoint, f as AuthMiddleware, a1 as callbackOAuth, aj as changeEmail, ag as changePassword, d as createAuthEndpoint, c as createAuthMiddleware, ac as createEmailVerificationToken, ai as deleteUser, ak as error, a9 as forgetPassword, aa as forgetPasswordCallback, Z as getEndpoints, a2 as getSession, a3 as getSessionFromCtx, ao as linkSocialAccount, a5 as listSessions, an as listUserAccounts, al as ok, o as optionsMiddleware, ap as originCheckMiddleware, ab as resetPassword, a6 as revokeSession, a7 as revokeSessions, _ as router, ad as sendVerificationEmail, a4 as sessionMiddleware, ah as setPassword, a0 as signInEmail, $ as signInSocial, a8 as signOut, am as signUpEmail, af as updateUser, ae as verifyEmail } from './auth-BkJnc76F.cjs';
|
|
3
3
|
import './index-DUqGSAH3.cjs';
|
|
4
4
|
export { APIError } from 'better-call';
|
|
5
5
|
import 'zod';
|
package/dist/api.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import 'node_modules/better-call/dist/router-Bn7zn81P';
|
|
2
|
-
export { e as AuthEndpoint, f as AuthMiddleware, a1 as callbackOAuth, aj as changeEmail, ag as changePassword, d as createAuthEndpoint, c as createAuthMiddleware, ac as createEmailVerificationToken, ai as deleteUser, ak as error, a9 as forgetPassword, aa as forgetPasswordCallback, Z as getEndpoints, a2 as getSession, a3 as getSessionFromCtx, ao as linkSocialAccount, a5 as listSessions, an as listUserAccounts, al as ok, o as optionsMiddleware, ap as originCheckMiddleware, ab as resetPassword, a6 as revokeSession, a7 as revokeSessions, _ as router, ad as sendVerificationEmail, a4 as sessionMiddleware, ah as setPassword, a0 as signInEmail, $ as signInSocial, a8 as signOut, am as signUpEmail, af as updateUser, ae as verifyEmail } from './auth-
|
|
2
|
+
export { e as AuthEndpoint, f as AuthMiddleware, a1 as callbackOAuth, aj as changeEmail, ag as changePassword, d as createAuthEndpoint, c as createAuthMiddleware, ac as createEmailVerificationToken, ai as deleteUser, ak as error, a9 as forgetPassword, aa as forgetPasswordCallback, Z as getEndpoints, a2 as getSession, a3 as getSessionFromCtx, ao as linkSocialAccount, a5 as listSessions, an as listUserAccounts, al as ok, o as optionsMiddleware, ap as originCheckMiddleware, ab as resetPassword, a6 as revokeSession, a7 as revokeSessions, _ as router, ad as sendVerificationEmail, a4 as sessionMiddleware, ah as setPassword, a0 as signInEmail, $ as signInSocial, a8 as signOut, am as signUpEmail, af as updateUser, ae as verifyEmail } from './auth-G61_RA8H.js';
|
|
3
3
|
import './index-DUqGSAH3.js';
|
|
4
4
|
export { APIError } from 'better-call';
|
|
5
5
|
import 'zod';
|
|
@@ -1296,12 +1296,12 @@ declare const signInSocial: {
|
|
|
1296
1296
|
/**
|
|
1297
1297
|
* OAuth2 provider to use`
|
|
1298
1298
|
*/
|
|
1299
|
-
provider: z.ZodEnum<["github", ...("
|
|
1299
|
+
provider: z.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab")[]]>;
|
|
1300
1300
|
}, "strip", z.ZodTypeAny, {
|
|
1301
|
-
provider: "
|
|
1301
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
1302
1302
|
callbackURL?: string | undefined;
|
|
1303
1303
|
}, {
|
|
1304
|
-
provider: "
|
|
1304
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
1305
1305
|
callbackURL?: string | undefined;
|
|
1306
1306
|
}>;
|
|
1307
1307
|
}>]>(...ctx: C): Promise<C extends [{
|
|
@@ -1332,12 +1332,12 @@ declare const signInSocial: {
|
|
|
1332
1332
|
/**
|
|
1333
1333
|
* OAuth2 provider to use`
|
|
1334
1334
|
*/
|
|
1335
|
-
provider: z.ZodEnum<["github", ...("
|
|
1335
|
+
provider: z.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab")[]]>;
|
|
1336
1336
|
}, "strip", z.ZodTypeAny, {
|
|
1337
|
-
provider: "
|
|
1337
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
1338
1338
|
callbackURL?: string | undefined;
|
|
1339
1339
|
}, {
|
|
1340
|
-
provider: "
|
|
1340
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
1341
1341
|
callbackURL?: string | undefined;
|
|
1342
1342
|
}>;
|
|
1343
1343
|
};
|
|
@@ -2644,12 +2644,12 @@ declare const linkSocialAccount: {
|
|
|
2644
2644
|
/**
|
|
2645
2645
|
* OAuth2 provider to use`
|
|
2646
2646
|
*/
|
|
2647
|
-
provider: z.ZodEnum<["github", ...("
|
|
2647
|
+
provider: z.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab")[]]>;
|
|
2648
2648
|
}, "strip", z.ZodTypeAny, {
|
|
2649
|
-
provider: "
|
|
2649
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
2650
2650
|
callbackURL?: string | undefined;
|
|
2651
2651
|
}, {
|
|
2652
|
-
provider: "
|
|
2652
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
2653
2653
|
callbackURL?: string | undefined;
|
|
2654
2654
|
}>;
|
|
2655
2655
|
use: better_call.Endpoint<better_call.Handler<string, better_call.EndpointOptions, {
|
|
@@ -2701,12 +2701,12 @@ declare const linkSocialAccount: {
|
|
|
2701
2701
|
/**
|
|
2702
2702
|
* OAuth2 provider to use`
|
|
2703
2703
|
*/
|
|
2704
|
-
provider: z.ZodEnum<["github", ...("
|
|
2704
|
+
provider: z.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab")[]]>;
|
|
2705
2705
|
}, "strip", z.ZodTypeAny, {
|
|
2706
|
-
provider: "
|
|
2706
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
2707
2707
|
callbackURL?: string | undefined;
|
|
2708
2708
|
}, {
|
|
2709
|
-
provider: "
|
|
2709
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
2710
2710
|
callbackURL?: string | undefined;
|
|
2711
2711
|
}>;
|
|
2712
2712
|
use: better_call.Endpoint<better_call.Handler<string, better_call.EndpointOptions, {
|
|
@@ -2793,12 +2793,12 @@ declare function getEndpoints<C extends AuthContext, Option extends BetterAuthOp
|
|
|
2793
2793
|
}>>;
|
|
2794
2794
|
body: zod.ZodObject<{
|
|
2795
2795
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
2796
|
-
provider: zod.ZodEnum<["github", ...("
|
|
2796
|
+
provider: zod.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab")[]]>;
|
|
2797
2797
|
}, "strip", zod.ZodTypeAny, {
|
|
2798
|
-
provider: "
|
|
2798
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
2799
2799
|
callbackURL?: string | undefined;
|
|
2800
2800
|
}, {
|
|
2801
|
-
provider: "
|
|
2801
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
2802
2802
|
callbackURL?: string | undefined;
|
|
2803
2803
|
}>;
|
|
2804
2804
|
}>]>(...ctx: C_1): Promise<C_1 extends [{
|
|
@@ -2819,12 +2819,12 @@ declare function getEndpoints<C extends AuthContext, Option extends BetterAuthOp
|
|
|
2819
2819
|
}>>;
|
|
2820
2820
|
body: zod.ZodObject<{
|
|
2821
2821
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
2822
|
-
provider: zod.ZodEnum<["github", ...("
|
|
2822
|
+
provider: zod.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab")[]]>;
|
|
2823
2823
|
}, "strip", zod.ZodTypeAny, {
|
|
2824
|
-
provider: "
|
|
2824
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
2825
2825
|
callbackURL?: string | undefined;
|
|
2826
2826
|
}, {
|
|
2827
|
-
provider: "
|
|
2827
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
2828
2828
|
callbackURL?: string | undefined;
|
|
2829
2829
|
}>;
|
|
2830
2830
|
};
|
|
@@ -3988,12 +3988,12 @@ declare function getEndpoints<C extends AuthContext, Option extends BetterAuthOp
|
|
|
3988
3988
|
}>>;
|
|
3989
3989
|
body: zod.ZodObject<{
|
|
3990
3990
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
3991
|
-
provider: zod.ZodEnum<["github", ...("
|
|
3991
|
+
provider: zod.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab")[]]>;
|
|
3992
3992
|
}, "strip", zod.ZodTypeAny, {
|
|
3993
|
-
provider: "
|
|
3993
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
3994
3994
|
callbackURL?: string | undefined;
|
|
3995
3995
|
}, {
|
|
3996
|
-
provider: "
|
|
3996
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
3997
3997
|
callbackURL?: string | undefined;
|
|
3998
3998
|
}>;
|
|
3999
3999
|
use: Endpoint<better_call.Handler<string, better_call.EndpointOptions, {
|
|
@@ -4035,12 +4035,12 @@ declare function getEndpoints<C extends AuthContext, Option extends BetterAuthOp
|
|
|
4035
4035
|
}>>;
|
|
4036
4036
|
body: zod.ZodObject<{
|
|
4037
4037
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
4038
|
-
provider: zod.ZodEnum<["github", ...("
|
|
4038
|
+
provider: zod.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab")[]]>;
|
|
4039
4039
|
}, "strip", zod.ZodTypeAny, {
|
|
4040
|
-
provider: "
|
|
4040
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
4041
4041
|
callbackURL?: string | undefined;
|
|
4042
4042
|
}, {
|
|
4043
|
-
provider: "
|
|
4043
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
4044
4044
|
callbackURL?: string | undefined;
|
|
4045
4045
|
}>;
|
|
4046
4046
|
use: Endpoint<better_call.Handler<string, better_call.EndpointOptions, {
|
|
@@ -4193,12 +4193,12 @@ declare const router: <C extends AuthContext, Option extends BetterAuthOptions>(
|
|
|
4193
4193
|
}>>;
|
|
4194
4194
|
body: zod.ZodObject<{
|
|
4195
4195
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
4196
|
-
provider: zod.ZodEnum<["github", ...("
|
|
4196
|
+
provider: zod.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab")[]]>;
|
|
4197
4197
|
}, "strip", zod.ZodTypeAny, {
|
|
4198
|
-
provider: "
|
|
4198
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
4199
4199
|
callbackURL?: string | undefined;
|
|
4200
4200
|
}, {
|
|
4201
|
-
provider: "
|
|
4201
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
4202
4202
|
callbackURL?: string | undefined;
|
|
4203
4203
|
}>;
|
|
4204
4204
|
}>]>(...ctx: C_1): Promise<C_1 extends [{
|
|
@@ -4219,12 +4219,12 @@ declare const router: <C extends AuthContext, Option extends BetterAuthOptions>(
|
|
|
4219
4219
|
}>>;
|
|
4220
4220
|
body: zod.ZodObject<{
|
|
4221
4221
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
4222
|
-
provider: zod.ZodEnum<["github", ...("
|
|
4222
|
+
provider: zod.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab")[]]>;
|
|
4223
4223
|
}, "strip", zod.ZodTypeAny, {
|
|
4224
|
-
provider: "
|
|
4224
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
4225
4225
|
callbackURL?: string | undefined;
|
|
4226
4226
|
}, {
|
|
4227
|
-
provider: "
|
|
4227
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
4228
4228
|
callbackURL?: string | undefined;
|
|
4229
4229
|
}>;
|
|
4230
4230
|
};
|
|
@@ -5388,12 +5388,12 @@ declare const router: <C extends AuthContext, Option extends BetterAuthOptions>(
|
|
|
5388
5388
|
}>>;
|
|
5389
5389
|
body: zod.ZodObject<{
|
|
5390
5390
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
5391
|
-
provider: zod.ZodEnum<["github", ...("
|
|
5391
|
+
provider: zod.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab")[]]>;
|
|
5392
5392
|
}, "strip", zod.ZodTypeAny, {
|
|
5393
|
-
provider: "
|
|
5393
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
5394
5394
|
callbackURL?: string | undefined;
|
|
5395
5395
|
}, {
|
|
5396
|
-
provider: "
|
|
5396
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
5397
5397
|
callbackURL?: string | undefined;
|
|
5398
5398
|
}>;
|
|
5399
5399
|
use: Endpoint<better_call.Handler<string, better_call.EndpointOptions, {
|
|
@@ -5435,12 +5435,12 @@ declare const router: <C extends AuthContext, Option extends BetterAuthOptions>(
|
|
|
5435
5435
|
}>>;
|
|
5436
5436
|
body: zod.ZodObject<{
|
|
5437
5437
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
5438
|
-
provider: zod.ZodEnum<["github", ...("
|
|
5438
|
+
provider: zod.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab")[]]>;
|
|
5439
5439
|
}, "strip", zod.ZodTypeAny, {
|
|
5440
|
-
provider: "
|
|
5440
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
5441
5441
|
callbackURL?: string | undefined;
|
|
5442
5442
|
}, {
|
|
5443
|
-
provider: "
|
|
5443
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
5444
5444
|
callbackURL?: string | undefined;
|
|
5445
5445
|
}>;
|
|
5446
5446
|
use: Endpoint<better_call.Handler<string, better_call.EndpointOptions, {
|
|
@@ -5595,12 +5595,12 @@ declare const betterAuth: <O extends BetterAuthOptions>(options: O) => {
|
|
|
5595
5595
|
}>>;
|
|
5596
5596
|
body: zod.ZodObject<{
|
|
5597
5597
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
5598
|
-
provider: zod.ZodEnum<["github", ...("
|
|
5598
|
+
provider: zod.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab")[]]>;
|
|
5599
5599
|
}, "strip", zod.ZodTypeAny, {
|
|
5600
|
-
provider: "
|
|
5600
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
5601
5601
|
callbackURL?: string | undefined;
|
|
5602
5602
|
}, {
|
|
5603
|
-
provider: "
|
|
5603
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
5604
5604
|
callbackURL?: string | undefined;
|
|
5605
5605
|
}>;
|
|
5606
5606
|
}>]>(...ctx: C): Promise<C extends [{
|
|
@@ -5621,12 +5621,12 @@ declare const betterAuth: <O extends BetterAuthOptions>(options: O) => {
|
|
|
5621
5621
|
}>>;
|
|
5622
5622
|
body: zod.ZodObject<{
|
|
5623
5623
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
5624
|
-
provider: zod.ZodEnum<["github", ...("
|
|
5624
|
+
provider: zod.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab")[]]>;
|
|
5625
5625
|
}, "strip", zod.ZodTypeAny, {
|
|
5626
|
-
provider: "
|
|
5626
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
5627
5627
|
callbackURL?: string | undefined;
|
|
5628
5628
|
}, {
|
|
5629
|
-
provider: "
|
|
5629
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
5630
5630
|
callbackURL?: string | undefined;
|
|
5631
5631
|
}>;
|
|
5632
5632
|
};
|
|
@@ -6790,12 +6790,12 @@ declare const betterAuth: <O extends BetterAuthOptions>(options: O) => {
|
|
|
6790
6790
|
}>>;
|
|
6791
6791
|
body: zod.ZodObject<{
|
|
6792
6792
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
6793
|
-
provider: zod.ZodEnum<["github", ...("
|
|
6793
|
+
provider: zod.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab")[]]>;
|
|
6794
6794
|
}, "strip", zod.ZodTypeAny, {
|
|
6795
|
-
provider: "
|
|
6795
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
6796
6796
|
callbackURL?: string | undefined;
|
|
6797
6797
|
}, {
|
|
6798
|
-
provider: "
|
|
6798
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
6799
6799
|
callbackURL?: string | undefined;
|
|
6800
6800
|
}>;
|
|
6801
6801
|
use: Endpoint<better_call.Handler<string, better_call.EndpointOptions, {
|
|
@@ -6837,12 +6837,12 @@ declare const betterAuth: <O extends BetterAuthOptions>(options: O) => {
|
|
|
6837
6837
|
}>>;
|
|
6838
6838
|
body: zod.ZodObject<{
|
|
6839
6839
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
6840
|
-
provider: zod.ZodEnum<["github", ...("
|
|
6840
|
+
provider: zod.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab")[]]>;
|
|
6841
6841
|
}, "strip", zod.ZodTypeAny, {
|
|
6842
|
-
provider: "
|
|
6842
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
6843
6843
|
callbackURL?: string | undefined;
|
|
6844
6844
|
}, {
|
|
6845
|
-
provider: "
|
|
6845
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
6846
6846
|
callbackURL?: string | undefined;
|
|
6847
6847
|
}>;
|
|
6848
6848
|
use: Endpoint<better_call.Handler<string, better_call.EndpointOptions, {
|
|
@@ -1296,12 +1296,12 @@ declare const signInSocial: {
|
|
|
1296
1296
|
/**
|
|
1297
1297
|
* OAuth2 provider to use`
|
|
1298
1298
|
*/
|
|
1299
|
-
provider: z.ZodEnum<["github", ...("
|
|
1299
|
+
provider: z.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab")[]]>;
|
|
1300
1300
|
}, "strip", z.ZodTypeAny, {
|
|
1301
|
-
provider: "
|
|
1301
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
1302
1302
|
callbackURL?: string | undefined;
|
|
1303
1303
|
}, {
|
|
1304
|
-
provider: "
|
|
1304
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
1305
1305
|
callbackURL?: string | undefined;
|
|
1306
1306
|
}>;
|
|
1307
1307
|
}>]>(...ctx: C): Promise<C extends [{
|
|
@@ -1332,12 +1332,12 @@ declare const signInSocial: {
|
|
|
1332
1332
|
/**
|
|
1333
1333
|
* OAuth2 provider to use`
|
|
1334
1334
|
*/
|
|
1335
|
-
provider: z.ZodEnum<["github", ...("
|
|
1335
|
+
provider: z.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab")[]]>;
|
|
1336
1336
|
}, "strip", z.ZodTypeAny, {
|
|
1337
|
-
provider: "
|
|
1337
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
1338
1338
|
callbackURL?: string | undefined;
|
|
1339
1339
|
}, {
|
|
1340
|
-
provider: "
|
|
1340
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
1341
1341
|
callbackURL?: string | undefined;
|
|
1342
1342
|
}>;
|
|
1343
1343
|
};
|
|
@@ -2644,12 +2644,12 @@ declare const linkSocialAccount: {
|
|
|
2644
2644
|
/**
|
|
2645
2645
|
* OAuth2 provider to use`
|
|
2646
2646
|
*/
|
|
2647
|
-
provider: z.ZodEnum<["github", ...("
|
|
2647
|
+
provider: z.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab")[]]>;
|
|
2648
2648
|
}, "strip", z.ZodTypeAny, {
|
|
2649
|
-
provider: "
|
|
2649
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
2650
2650
|
callbackURL?: string | undefined;
|
|
2651
2651
|
}, {
|
|
2652
|
-
provider: "
|
|
2652
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
2653
2653
|
callbackURL?: string | undefined;
|
|
2654
2654
|
}>;
|
|
2655
2655
|
use: better_call.Endpoint<better_call.Handler<string, better_call.EndpointOptions, {
|
|
@@ -2701,12 +2701,12 @@ declare const linkSocialAccount: {
|
|
|
2701
2701
|
/**
|
|
2702
2702
|
* OAuth2 provider to use`
|
|
2703
2703
|
*/
|
|
2704
|
-
provider: z.ZodEnum<["github", ...("
|
|
2704
|
+
provider: z.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab")[]]>;
|
|
2705
2705
|
}, "strip", z.ZodTypeAny, {
|
|
2706
|
-
provider: "
|
|
2706
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
2707
2707
|
callbackURL?: string | undefined;
|
|
2708
2708
|
}, {
|
|
2709
|
-
provider: "
|
|
2709
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
2710
2710
|
callbackURL?: string | undefined;
|
|
2711
2711
|
}>;
|
|
2712
2712
|
use: better_call.Endpoint<better_call.Handler<string, better_call.EndpointOptions, {
|
|
@@ -2793,12 +2793,12 @@ declare function getEndpoints<C extends AuthContext, Option extends BetterAuthOp
|
|
|
2793
2793
|
}>>;
|
|
2794
2794
|
body: zod.ZodObject<{
|
|
2795
2795
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
2796
|
-
provider: zod.ZodEnum<["github", ...("
|
|
2796
|
+
provider: zod.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab")[]]>;
|
|
2797
2797
|
}, "strip", zod.ZodTypeAny, {
|
|
2798
|
-
provider: "
|
|
2798
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
2799
2799
|
callbackURL?: string | undefined;
|
|
2800
2800
|
}, {
|
|
2801
|
-
provider: "
|
|
2801
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
2802
2802
|
callbackURL?: string | undefined;
|
|
2803
2803
|
}>;
|
|
2804
2804
|
}>]>(...ctx: C_1): Promise<C_1 extends [{
|
|
@@ -2819,12 +2819,12 @@ declare function getEndpoints<C extends AuthContext, Option extends BetterAuthOp
|
|
|
2819
2819
|
}>>;
|
|
2820
2820
|
body: zod.ZodObject<{
|
|
2821
2821
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
2822
|
-
provider: zod.ZodEnum<["github", ...("
|
|
2822
|
+
provider: zod.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab")[]]>;
|
|
2823
2823
|
}, "strip", zod.ZodTypeAny, {
|
|
2824
|
-
provider: "
|
|
2824
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
2825
2825
|
callbackURL?: string | undefined;
|
|
2826
2826
|
}, {
|
|
2827
|
-
provider: "
|
|
2827
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
2828
2828
|
callbackURL?: string | undefined;
|
|
2829
2829
|
}>;
|
|
2830
2830
|
};
|
|
@@ -3988,12 +3988,12 @@ declare function getEndpoints<C extends AuthContext, Option extends BetterAuthOp
|
|
|
3988
3988
|
}>>;
|
|
3989
3989
|
body: zod.ZodObject<{
|
|
3990
3990
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
3991
|
-
provider: zod.ZodEnum<["github", ...("
|
|
3991
|
+
provider: zod.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab")[]]>;
|
|
3992
3992
|
}, "strip", zod.ZodTypeAny, {
|
|
3993
|
-
provider: "
|
|
3993
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
3994
3994
|
callbackURL?: string | undefined;
|
|
3995
3995
|
}, {
|
|
3996
|
-
provider: "
|
|
3996
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
3997
3997
|
callbackURL?: string | undefined;
|
|
3998
3998
|
}>;
|
|
3999
3999
|
use: Endpoint<better_call.Handler<string, better_call.EndpointOptions, {
|
|
@@ -4035,12 +4035,12 @@ declare function getEndpoints<C extends AuthContext, Option extends BetterAuthOp
|
|
|
4035
4035
|
}>>;
|
|
4036
4036
|
body: zod.ZodObject<{
|
|
4037
4037
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
4038
|
-
provider: zod.ZodEnum<["github", ...("
|
|
4038
|
+
provider: zod.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab")[]]>;
|
|
4039
4039
|
}, "strip", zod.ZodTypeAny, {
|
|
4040
|
-
provider: "
|
|
4040
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
4041
4041
|
callbackURL?: string | undefined;
|
|
4042
4042
|
}, {
|
|
4043
|
-
provider: "
|
|
4043
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
4044
4044
|
callbackURL?: string | undefined;
|
|
4045
4045
|
}>;
|
|
4046
4046
|
use: Endpoint<better_call.Handler<string, better_call.EndpointOptions, {
|
|
@@ -4193,12 +4193,12 @@ declare const router: <C extends AuthContext, Option extends BetterAuthOptions>(
|
|
|
4193
4193
|
}>>;
|
|
4194
4194
|
body: zod.ZodObject<{
|
|
4195
4195
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
4196
|
-
provider: zod.ZodEnum<["github", ...("
|
|
4196
|
+
provider: zod.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab")[]]>;
|
|
4197
4197
|
}, "strip", zod.ZodTypeAny, {
|
|
4198
|
-
provider: "
|
|
4198
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
4199
4199
|
callbackURL?: string | undefined;
|
|
4200
4200
|
}, {
|
|
4201
|
-
provider: "
|
|
4201
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
4202
4202
|
callbackURL?: string | undefined;
|
|
4203
4203
|
}>;
|
|
4204
4204
|
}>]>(...ctx: C_1): Promise<C_1 extends [{
|
|
@@ -4219,12 +4219,12 @@ declare const router: <C extends AuthContext, Option extends BetterAuthOptions>(
|
|
|
4219
4219
|
}>>;
|
|
4220
4220
|
body: zod.ZodObject<{
|
|
4221
4221
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
4222
|
-
provider: zod.ZodEnum<["github", ...("
|
|
4222
|
+
provider: zod.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab")[]]>;
|
|
4223
4223
|
}, "strip", zod.ZodTypeAny, {
|
|
4224
|
-
provider: "
|
|
4224
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
4225
4225
|
callbackURL?: string | undefined;
|
|
4226
4226
|
}, {
|
|
4227
|
-
provider: "
|
|
4227
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
4228
4228
|
callbackURL?: string | undefined;
|
|
4229
4229
|
}>;
|
|
4230
4230
|
};
|
|
@@ -5388,12 +5388,12 @@ declare const router: <C extends AuthContext, Option extends BetterAuthOptions>(
|
|
|
5388
5388
|
}>>;
|
|
5389
5389
|
body: zod.ZodObject<{
|
|
5390
5390
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
5391
|
-
provider: zod.ZodEnum<["github", ...("
|
|
5391
|
+
provider: zod.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab")[]]>;
|
|
5392
5392
|
}, "strip", zod.ZodTypeAny, {
|
|
5393
|
-
provider: "
|
|
5393
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
5394
5394
|
callbackURL?: string | undefined;
|
|
5395
5395
|
}, {
|
|
5396
|
-
provider: "
|
|
5396
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
5397
5397
|
callbackURL?: string | undefined;
|
|
5398
5398
|
}>;
|
|
5399
5399
|
use: Endpoint<better_call.Handler<string, better_call.EndpointOptions, {
|
|
@@ -5435,12 +5435,12 @@ declare const router: <C extends AuthContext, Option extends BetterAuthOptions>(
|
|
|
5435
5435
|
}>>;
|
|
5436
5436
|
body: zod.ZodObject<{
|
|
5437
5437
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
5438
|
-
provider: zod.ZodEnum<["github", ...("
|
|
5438
|
+
provider: zod.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab")[]]>;
|
|
5439
5439
|
}, "strip", zod.ZodTypeAny, {
|
|
5440
|
-
provider: "
|
|
5440
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
5441
5441
|
callbackURL?: string | undefined;
|
|
5442
5442
|
}, {
|
|
5443
|
-
provider: "
|
|
5443
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
5444
5444
|
callbackURL?: string | undefined;
|
|
5445
5445
|
}>;
|
|
5446
5446
|
use: Endpoint<better_call.Handler<string, better_call.EndpointOptions, {
|
|
@@ -5595,12 +5595,12 @@ declare const betterAuth: <O extends BetterAuthOptions>(options: O) => {
|
|
|
5595
5595
|
}>>;
|
|
5596
5596
|
body: zod.ZodObject<{
|
|
5597
5597
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
5598
|
-
provider: zod.ZodEnum<["github", ...("
|
|
5598
|
+
provider: zod.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab")[]]>;
|
|
5599
5599
|
}, "strip", zod.ZodTypeAny, {
|
|
5600
|
-
provider: "
|
|
5600
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
5601
5601
|
callbackURL?: string | undefined;
|
|
5602
5602
|
}, {
|
|
5603
|
-
provider: "
|
|
5603
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
5604
5604
|
callbackURL?: string | undefined;
|
|
5605
5605
|
}>;
|
|
5606
5606
|
}>]>(...ctx: C): Promise<C extends [{
|
|
@@ -5621,12 +5621,12 @@ declare const betterAuth: <O extends BetterAuthOptions>(options: O) => {
|
|
|
5621
5621
|
}>>;
|
|
5622
5622
|
body: zod.ZodObject<{
|
|
5623
5623
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
5624
|
-
provider: zod.ZodEnum<["github", ...("
|
|
5624
|
+
provider: zod.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab")[]]>;
|
|
5625
5625
|
}, "strip", zod.ZodTypeAny, {
|
|
5626
|
-
provider: "
|
|
5626
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
5627
5627
|
callbackURL?: string | undefined;
|
|
5628
5628
|
}, {
|
|
5629
|
-
provider: "
|
|
5629
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
5630
5630
|
callbackURL?: string | undefined;
|
|
5631
5631
|
}>;
|
|
5632
5632
|
};
|
|
@@ -6790,12 +6790,12 @@ declare const betterAuth: <O extends BetterAuthOptions>(options: O) => {
|
|
|
6790
6790
|
}>>;
|
|
6791
6791
|
body: zod.ZodObject<{
|
|
6792
6792
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
6793
|
-
provider: zod.ZodEnum<["github", ...("
|
|
6793
|
+
provider: zod.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab")[]]>;
|
|
6794
6794
|
}, "strip", zod.ZodTypeAny, {
|
|
6795
|
-
provider: "
|
|
6795
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
6796
6796
|
callbackURL?: string | undefined;
|
|
6797
6797
|
}, {
|
|
6798
|
-
provider: "
|
|
6798
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
6799
6799
|
callbackURL?: string | undefined;
|
|
6800
6800
|
}>;
|
|
6801
6801
|
use: Endpoint<better_call.Handler<string, better_call.EndpointOptions, {
|
|
@@ -6837,12 +6837,12 @@ declare const betterAuth: <O extends BetterAuthOptions>(options: O) => {
|
|
|
6837
6837
|
}>>;
|
|
6838
6838
|
body: zod.ZodObject<{
|
|
6839
6839
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
6840
|
-
provider: zod.ZodEnum<["github", ...("
|
|
6840
|
+
provider: zod.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab")[]]>;
|
|
6841
6841
|
}, "strip", zod.ZodTypeAny, {
|
|
6842
|
-
provider: "
|
|
6842
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
6843
6843
|
callbackURL?: string | undefined;
|
|
6844
6844
|
}, {
|
|
6845
|
-
provider: "
|
|
6845
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
6846
6846
|
callbackURL?: string | undefined;
|
|
6847
6847
|
}>;
|
|
6848
6848
|
use: Endpoint<better_call.Handler<string, better_call.EndpointOptions, {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as nanostores from 'nanostores';
|
|
2
|
-
import { o as organization, q as Organization, M as Member, I as Invitation, r as AccessControl, S as StatementsPrimitive, R as Role, u as username, m as magicLink, d as phoneNumber, e as anonymous, i as admin, j as genericOAuth, k as jwt, l as multiSession, n as emailOTP } from '../index-
|
|
3
|
-
export { g as getPasskeyActions, c as passkeyClient, a as twoFactorClient } from '../index-
|
|
2
|
+
import { o as organization, q as Organization, M as Member, I as Invitation, r as AccessControl, S as StatementsPrimitive, R as Role, u as username, m as magicLink, d as phoneNumber, e as anonymous, i as admin, j as genericOAuth, k as jwt, l as multiSession, n as emailOTP } from '../index-KdWDL1fo.cjs';
|
|
3
|
+
export { g as getPasskeyActions, c as passkeyClient, a as twoFactorClient } from '../index-KdWDL1fo.cjs';
|
|
4
4
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
5
5
|
import { BetterFetchOption } from '@better-fetch/fetch';
|
|
6
6
|
import { P as Prettify } from '../index-DUqGSAH3.cjs';
|
|
7
|
-
import { F as FieldAttribute, B as BetterAuthOptions, b as BetterAuthPlugin } from '../auth-
|
|
7
|
+
import { F as FieldAttribute, B as BetterAuthOptions, b as BetterAuthPlugin } from '../auth-BkJnc76F.cjs';
|
|
8
8
|
import { Store } from '../types.cjs';
|
|
9
9
|
import 'zod';
|
|
10
10
|
import 'better-call';
|
package/dist/client/plugins.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as nanostores from 'nanostores';
|
|
2
|
-
import { o as organization, q as Organization, M as Member, I as Invitation, r as AccessControl, S as StatementsPrimitive, R as Role, u as username, m as magicLink, d as phoneNumber, e as anonymous, i as admin, j as genericOAuth, k as jwt, l as multiSession, n as emailOTP } from '../index-
|
|
3
|
-
export { g as getPasskeyActions, c as passkeyClient, a as twoFactorClient } from '../index-
|
|
2
|
+
import { o as organization, q as Organization, M as Member, I as Invitation, r as AccessControl, S as StatementsPrimitive, R as Role, u as username, m as magicLink, d as phoneNumber, e as anonymous, i as admin, j as genericOAuth, k as jwt, l as multiSession, n as emailOTP } from '../index-cKD4sHma.js';
|
|
3
|
+
export { g as getPasskeyActions, c as passkeyClient, a as twoFactorClient } from '../index-cKD4sHma.js';
|
|
4
4
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
5
5
|
import { BetterFetchOption } from '@better-fetch/fetch';
|
|
6
6
|
import { P as Prettify } from '../index-DUqGSAH3.js';
|
|
7
|
-
import { F as FieldAttribute, B as BetterAuthOptions, b as BetterAuthPlugin } from '../auth-
|
|
7
|
+
import { F as FieldAttribute, B as BetterAuthOptions, b as BetterAuthPlugin } from '../auth-G61_RA8H.js';
|
|
8
8
|
import { Store } from '../types.js';
|
|
9
9
|
import 'zod';
|
|
10
10
|
import 'better-call';
|
package/dist/client.d.cts
CHANGED
|
@@ -6,7 +6,7 @@ import { BetterFetchError, BetterFetch, BetterFetchOption } from '@better-fetch/
|
|
|
6
6
|
import { ClientOptions, InferClientAPI, InferActions, InferSessionFromClient, InferUserFromClient, BetterAuthClientPlugin, IsSignal } from './types.cjs';
|
|
7
7
|
export { AtomListener, InferAdditionalFromClient, InferPluginsFromClient, Store } from './types.cjs';
|
|
8
8
|
import { U as UnionToIntersection } from './index-DUqGSAH3.cjs';
|
|
9
|
-
import './auth-
|
|
9
|
+
import './auth-BkJnc76F.cjs';
|
|
10
10
|
import 'node_modules/better-call/dist/router-Bn7zn81P';
|
|
11
11
|
import 'kysely';
|
|
12
12
|
import 'better-call';
|
package/dist/client.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { BetterFetchError, BetterFetch, BetterFetchOption } from '@better-fetch/
|
|
|
6
6
|
import { ClientOptions, InferClientAPI, InferActions, InferSessionFromClient, InferUserFromClient, BetterAuthClientPlugin, IsSignal } from './types.js';
|
|
7
7
|
export { AtomListener, InferAdditionalFromClient, InferPluginsFromClient, Store } from './types.js';
|
|
8
8
|
import { U as UnionToIntersection } from './index-DUqGSAH3.js';
|
|
9
|
-
import './auth-
|
|
9
|
+
import './auth-G61_RA8H.js';
|
|
10
10
|
import 'node_modules/better-call/dist/router-Bn7zn81P';
|
|
11
11
|
import 'kysely';
|
|
12
12
|
import 'better-call';
|
package/dist/cookies.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import 'better-call';
|
|
2
|
-
export { s as BetterAuthCookies, E as EligibleCookies, q as createCookieGetter, u as deleteSessionCookie, r as getCookies, w as parseCookies, v as parseSetCookieHeader, t as setSessionCookie } from './auth-
|
|
2
|
+
export { s as BetterAuthCookies, E as EligibleCookies, q as createCookieGetter, u as deleteSessionCookie, r as getCookies, w as parseCookies, v as parseSetCookieHeader, t as setSessionCookie } from './auth-BkJnc76F.cjs';
|
|
3
3
|
import './index-DUqGSAH3.cjs';
|
|
4
4
|
import 'node_modules/better-call/dist/router-Bn7zn81P';
|
|
5
5
|
import 'zod';
|
package/dist/cookies.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import 'better-call';
|
|
2
|
-
export { s as BetterAuthCookies, E as EligibleCookies, q as createCookieGetter, u as deleteSessionCookie, r as getCookies, w as parseCookies, v as parseSetCookieHeader, t as setSessionCookie } from './auth-
|
|
2
|
+
export { s as BetterAuthCookies, E as EligibleCookies, q as createCookieGetter, u as deleteSessionCookie, r as getCookies, w as parseCookies, v as parseSetCookieHeader, t as setSessionCookie } from './auth-G61_RA8H.js';
|
|
3
3
|
import './index-DUqGSAH3.js';
|
|
4
4
|
import 'node_modules/better-call/dist/router-Bn7zn81P';
|
|
5
5
|
import 'zod';
|
package/dist/db.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as Adapter, B as BetterAuthOptions, W as Where, F as FieldAttribute, z as FieldType, K as KyselyDatabaseType } from './auth-
|
|
2
|
-
export { X as BetterAuthDbSchema, J as FieldAttributeConfig, V as InferFieldsFromOptions, U as InferFieldsFromPlugins, O as InferFieldsInput, Q as InferFieldsInputClient, N as InferFieldsOutput, M as InferValueType, D as InternalAdapter, T as PluginFieldAttribute, L as createFieldAttribute, C as createInternalAdapter, Y as getAuthTables } from './auth-
|
|
1
|
+
import { A as Adapter, B as BetterAuthOptions, W as Where, F as FieldAttribute, z as FieldType, K as KyselyDatabaseType } from './auth-BkJnc76F.cjs';
|
|
2
|
+
export { X as BetterAuthDbSchema, J as FieldAttributeConfig, V as InferFieldsFromOptions, U as InferFieldsFromPlugins, O as InferFieldsInput, Q as InferFieldsInputClient, N as InferFieldsOutput, M as InferValueType, D as InternalAdapter, T as PluginFieldAttribute, L as createFieldAttribute, C as createInternalAdapter, Y as getAuthTables } from './auth-BkJnc76F.cjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import 'node_modules/better-call/dist/router-Bn7zn81P';
|
|
5
5
|
import 'kysely';
|
package/dist/db.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as Adapter, B as BetterAuthOptions, W as Where, F as FieldAttribute, z as FieldType, K as KyselyDatabaseType } from './auth-
|
|
2
|
-
export { X as BetterAuthDbSchema, J as FieldAttributeConfig, V as InferFieldsFromOptions, U as InferFieldsFromPlugins, O as InferFieldsInput, Q as InferFieldsInputClient, N as InferFieldsOutput, M as InferValueType, D as InternalAdapter, T as PluginFieldAttribute, L as createFieldAttribute, C as createInternalAdapter, Y as getAuthTables } from './auth-
|
|
1
|
+
import { A as Adapter, B as BetterAuthOptions, W as Where, F as FieldAttribute, z as FieldType, K as KyselyDatabaseType } from './auth-G61_RA8H.js';
|
|
2
|
+
export { X as BetterAuthDbSchema, J as FieldAttributeConfig, V as InferFieldsFromOptions, U as InferFieldsFromPlugins, O as InferFieldsInput, Q as InferFieldsInputClient, N as InferFieldsOutput, M as InferValueType, D as InternalAdapter, T as PluginFieldAttribute, L as createFieldAttribute, C as createInternalAdapter, Y as getAuthTables } from './auth-G61_RA8H.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import 'node_modules/better-call/dist/router-Bn7zn81P';
|
|
5
5
|
import 'kysely';
|
|
@@ -3,7 +3,7 @@ import { L as LiteralString, a as User, S as Session, P as Prettify, O as OAuth2
|
|
|
3
3
|
import * as better_call from 'better-call';
|
|
4
4
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
5
5
|
import { BetterFetch, BetterFetchOption } from '@better-fetch/fetch';
|
|
6
|
-
import { H as HookEndpointContext, p as AuthContext, P as PluginSchema } from './auth-
|
|
6
|
+
import { H as HookEndpointContext, p as AuthContext, P as PluginSchema } from './auth-BkJnc76F.cjs';
|
|
7
7
|
import * as nanostores from 'nanostores';
|
|
8
8
|
import { atom } from 'nanostores';
|
|
9
9
|
import { PublicKeyCredentialRpEntity, PublicKeyCredentialParameters, AuthenticatorSelectionCriteria, AttestationConveyancePreference, AuthenticationExtensionsClientInputs, UserVerificationRequirement, PublicKeyCredentialType } from './dom.js';
|
|
@@ -3,7 +3,7 @@ import { L as LiteralString, a as User, S as Session, P as Prettify, O as OAuth2
|
|
|
3
3
|
import * as better_call from 'better-call';
|
|
4
4
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
5
5
|
import { BetterFetch, BetterFetchOption } from '@better-fetch/fetch';
|
|
6
|
-
import { H as HookEndpointContext, p as AuthContext, P as PluginSchema } from './auth-
|
|
6
|
+
import { H as HookEndpointContext, p as AuthContext, P as PluginSchema } from './auth-G61_RA8H.js';
|
|
7
7
|
import * as nanostores from 'nanostores';
|
|
8
8
|
import { atom } from 'nanostores';
|
|
9
9
|
import { PublicKeyCredentialRpEntity, PublicKeyCredentialParameters, AuthenticatorSelectionCriteria, AttestationConveyancePreference, AuthenticationExtensionsClientInputs, UserVerificationRequirement, PublicKeyCredentialType } from './dom.js';
|
package/dist/index.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { A as Adapter, j as AdditionalSessionFieldsInput, k as AdditionalSessionFieldsOutput, h as AdditionalUserFieldsInput, i as AdditionalUserFieldsOutput, a as Auth, p as AuthContext, s as BetterAuthCookies, B as BetterAuthOptions, b as BetterAuthPlugin, E as EligibleCookies, G as GenericEndpointContext, H as HookEndpointContext, m as InferPluginTypes, l as InferSession, I as InferUser, P as PluginSchema, R as RateLimit, S as SecondaryStorage, W as Where, g as betterAuth, q as createCookieGetter, x as createLogger, u as deleteSessionCookie, r as getCookies, n as init, y as logger, w as parseCookies, v as parseSetCookieHeader, t as setSessionCookie } from './auth-
|
|
1
|
+
export { A as Adapter, j as AdditionalSessionFieldsInput, k as AdditionalSessionFieldsOutput, h as AdditionalUserFieldsInput, i as AdditionalUserFieldsOutput, a as Auth, p as AuthContext, s as BetterAuthCookies, B as BetterAuthOptions, b as BetterAuthPlugin, E as EligibleCookies, G as GenericEndpointContext, H as HookEndpointContext, m as InferPluginTypes, l as InferSession, I as InferUser, P as PluginSchema, R as RateLimit, S as SecondaryStorage, W as Where, g as betterAuth, q as createCookieGetter, x as createLogger, u as deleteSessionCookie, r as getCookies, n as init, y as logger, w as parseCookies, v as parseSetCookieHeader, t as setSessionCookie } from './auth-BkJnc76F.cjs';
|
|
2
2
|
export { D as DeepPartial, H as HasRequiredKeys, L as LiteralString, b as LiteralUnion, P as Prettify, R as RequiredKeysOf, S as Session, c as StripEmptyObjects, U as UnionToIntersection, a as User, W as WithoutEmpty } from './index-DUqGSAH3.cjs';
|
|
3
3
|
export { AtomListener, BetterAuthClientPlugin, ClientOptions, InferActions, InferAdditionalFromClient, InferClientAPI, InferPluginsFromClient, InferSessionFromClient, InferUserFromClient, IsSignal, Store } from './types.cjs';
|
|
4
4
|
export { H as HIDE_METADATA } from './hide-metadata-DEHJp1rk.cjs';
|
|
5
|
-
export { g as generateState, p as parseState } from './state-
|
|
5
|
+
export { g as generateState, p as parseState } from './state-UgidHWa5.cjs';
|
|
6
6
|
import 'node_modules/better-call/dist/router-Bn7zn81P';
|
|
7
7
|
import 'zod';
|
|
8
8
|
import 'kysely';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { A as Adapter, j as AdditionalSessionFieldsInput, k as AdditionalSessionFieldsOutput, h as AdditionalUserFieldsInput, i as AdditionalUserFieldsOutput, a as Auth, p as AuthContext, s as BetterAuthCookies, B as BetterAuthOptions, b as BetterAuthPlugin, E as EligibleCookies, G as GenericEndpointContext, H as HookEndpointContext, m as InferPluginTypes, l as InferSession, I as InferUser, P as PluginSchema, R as RateLimit, S as SecondaryStorage, W as Where, g as betterAuth, q as createCookieGetter, x as createLogger, u as deleteSessionCookie, r as getCookies, n as init, y as logger, w as parseCookies, v as parseSetCookieHeader, t as setSessionCookie } from './auth-
|
|
1
|
+
export { A as Adapter, j as AdditionalSessionFieldsInput, k as AdditionalSessionFieldsOutput, h as AdditionalUserFieldsInput, i as AdditionalUserFieldsOutput, a as Auth, p as AuthContext, s as BetterAuthCookies, B as BetterAuthOptions, b as BetterAuthPlugin, E as EligibleCookies, G as GenericEndpointContext, H as HookEndpointContext, m as InferPluginTypes, l as InferSession, I as InferUser, P as PluginSchema, R as RateLimit, S as SecondaryStorage, W as Where, g as betterAuth, q as createCookieGetter, x as createLogger, u as deleteSessionCookie, r as getCookies, n as init, y as logger, w as parseCookies, v as parseSetCookieHeader, t as setSessionCookie } from './auth-G61_RA8H.js';
|
|
2
2
|
export { D as DeepPartial, H as HasRequiredKeys, L as LiteralString, b as LiteralUnion, P as Prettify, R as RequiredKeysOf, S as Session, c as StripEmptyObjects, U as UnionToIntersection, a as User, W as WithoutEmpty } from './index-DUqGSAH3.js';
|
|
3
3
|
export { AtomListener, BetterAuthClientPlugin, ClientOptions, InferActions, InferAdditionalFromClient, InferClientAPI, InferPluginsFromClient, InferSessionFromClient, InferUserFromClient, IsSignal, Store } from './types.js';
|
|
4
4
|
export { H as HIDE_METADATA } from './hide-metadata-DEHJp1rk.js';
|
|
5
|
-
export { g as generateState, p as parseState } from './state-
|
|
5
|
+
export { g as generateState, p as parseState } from './state-CTWPRYsC.js';
|
|
6
6
|
import 'node_modules/better-call/dist/router-Bn7zn81P';
|
|
7
7
|
import 'zod';
|
|
8
8
|
import 'kysely';
|
package/dist/node.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as http from 'http';
|
|
2
2
|
import { IncomingHttpHeaders } from 'http';
|
|
3
|
-
import { a as Auth } from './auth-
|
|
3
|
+
import { a as Auth } from './auth-BkJnc76F.cjs';
|
|
4
4
|
import 'node_modules/better-call/dist/router-Bn7zn81P';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import 'kysely';
|
package/dist/node.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as http from 'http';
|
|
2
2
|
import { IncomingHttpHeaders } from 'http';
|
|
3
|
-
import { a as Auth } from './auth-
|
|
3
|
+
import { a as Auth } from './auth-G61_RA8H.js';
|
|
4
4
|
import 'node_modules/better-call/dist/router-Bn7zn81P';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import 'kysely';
|
package/dist/oauth2.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { d as ProviderOptions, O as OAuth2Tokens } from './index-DUqGSAH3.cjs';
|
|
2
2
|
export { e as OAuthProvider } from './index-DUqGSAH3.cjs';
|
|
3
|
-
export { g as generateState, p as parseState } from './state-
|
|
3
|
+
export { g as generateState, p as parseState } from './state-UgidHWa5.cjs';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import './auth-
|
|
5
|
+
import './auth-BkJnc76F.cjs';
|
|
6
6
|
import 'node_modules/better-call/dist/router-Bn7zn81P';
|
|
7
7
|
import 'kysely';
|
|
8
8
|
import 'better-call';
|
package/dist/oauth2.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { d as ProviderOptions, O as OAuth2Tokens } from './index-DUqGSAH3.js';
|
|
2
2
|
export { e as OAuthProvider } from './index-DUqGSAH3.js';
|
|
3
|
-
export { g as generateState, p as parseState } from './state-
|
|
3
|
+
export { g as generateState, p as parseState } from './state-CTWPRYsC.js';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import './auth-
|
|
5
|
+
import './auth-G61_RA8H.js';
|
|
6
6
|
import 'node_modules/better-call/dist/router-Bn7zn81P';
|
|
7
7
|
import 'kysely';
|
|
8
8
|
import 'better-call';
|
package/dist/plugins.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { A as AnonymousOptions, J as JwtOptions, O as OrganizationOptions, b as Passkey, P as PasskeyOptions, U as UserWithPhoneNumber, f as UserWithRole, i as admin, h as adminMiddleware, e as anonymous, n as emailOTP, j as genericOAuth, g as getPasskeyActions, k as jwt, m as magicLink, l as multiSession, o as organization, p as passkey, c as passkeyClient, d as phoneNumber, t as twoFactor, a as twoFactorClient, u as username } from './index-
|
|
2
|
-
import { H as HookEndpointContext } from './auth-
|
|
3
|
-
export { e as AuthEndpoint, f as AuthMiddleware, b as BetterAuthPlugin, P as PluginSchema, d as createAuthEndpoint, c as createAuthMiddleware, o as optionsMiddleware } from './auth-
|
|
1
|
+
export { A as AnonymousOptions, J as JwtOptions, O as OrganizationOptions, b as Passkey, P as PasskeyOptions, U as UserWithPhoneNumber, f as UserWithRole, i as admin, h as adminMiddleware, e as anonymous, n as emailOTP, j as genericOAuth, g as getPasskeyActions, k as jwt, m as magicLink, l as multiSession, o as organization, p as passkey, c as passkeyClient, d as phoneNumber, t as twoFactor, a as twoFactorClient, u as username } from './index-KdWDL1fo.cjs';
|
|
2
|
+
import { H as HookEndpointContext } from './auth-BkJnc76F.cjs';
|
|
3
|
+
export { e as AuthEndpoint, f as AuthMiddleware, b as BetterAuthPlugin, P as PluginSchema, d as createAuthEndpoint, c as createAuthMiddleware, o as optionsMiddleware } from './auth-BkJnc76F.cjs';
|
|
4
4
|
export { H as HIDE_METADATA } from './hide-metadata-DEHJp1rk.cjs';
|
|
5
5
|
import * as better_call from 'better-call';
|
|
6
6
|
import { z } from 'zod';
|
package/dist/plugins.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { A as AnonymousOptions, J as JwtOptions, O as OrganizationOptions, b as Passkey, P as PasskeyOptions, U as UserWithPhoneNumber, f as UserWithRole, i as admin, h as adminMiddleware, e as anonymous, n as emailOTP, j as genericOAuth, g as getPasskeyActions, k as jwt, m as magicLink, l as multiSession, o as organization, p as passkey, c as passkeyClient, d as phoneNumber, t as twoFactor, a as twoFactorClient, u as username } from './index-
|
|
2
|
-
import { H as HookEndpointContext } from './auth-
|
|
3
|
-
export { e as AuthEndpoint, f as AuthMiddleware, b as BetterAuthPlugin, P as PluginSchema, d as createAuthEndpoint, c as createAuthMiddleware, o as optionsMiddleware } from './auth-
|
|
1
|
+
export { A as AnonymousOptions, J as JwtOptions, O as OrganizationOptions, b as Passkey, P as PasskeyOptions, U as UserWithPhoneNumber, f as UserWithRole, i as admin, h as adminMiddleware, e as anonymous, n as emailOTP, j as genericOAuth, g as getPasskeyActions, k as jwt, m as magicLink, l as multiSession, o as organization, p as passkey, c as passkeyClient, d as phoneNumber, t as twoFactor, a as twoFactorClient, u as username } from './index-cKD4sHma.js';
|
|
2
|
+
import { H as HookEndpointContext } from './auth-G61_RA8H.js';
|
|
3
|
+
export { e as AuthEndpoint, f as AuthMiddleware, b as BetterAuthPlugin, P as PluginSchema, d as createAuthEndpoint, c as createAuthMiddleware, o as optionsMiddleware } from './auth-G61_RA8H.js';
|
|
4
4
|
export { H as HIDE_METADATA } from './hide-metadata-DEHJp1rk.js';
|
|
5
5
|
import * as better_call from 'better-call';
|
|
6
6
|
import { z } from 'zod';
|
package/dist/react.d.cts
CHANGED
|
@@ -5,7 +5,7 @@ import { BetterFetchError } from '@better-fetch/fetch';
|
|
|
5
5
|
import { useStore } from '@nanostores/react';
|
|
6
6
|
import { ClientOptions, InferClientAPI, InferActions, InferSessionFromClient, InferUserFromClient, BetterAuthClientPlugin, IsSignal } from './types.cjs';
|
|
7
7
|
import { U as UnionToIntersection } from './index-DUqGSAH3.cjs';
|
|
8
|
-
import './auth-
|
|
8
|
+
import './auth-BkJnc76F.cjs';
|
|
9
9
|
import 'node_modules/better-call/dist/router-Bn7zn81P';
|
|
10
10
|
import 'kysely';
|
|
11
11
|
import 'better-call';
|
package/dist/react.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { BetterFetchError } from '@better-fetch/fetch';
|
|
|
5
5
|
import { useStore } from '@nanostores/react';
|
|
6
6
|
import { ClientOptions, InferClientAPI, InferActions, InferSessionFromClient, InferUserFromClient, BetterAuthClientPlugin, IsSignal } from './types.js';
|
|
7
7
|
import { U as UnionToIntersection } from './index-DUqGSAH3.js';
|
|
8
|
-
import './auth-
|
|
8
|
+
import './auth-G61_RA8H.js';
|
|
9
9
|
import 'node_modules/better-call/dist/router-Bn7zn81P';
|
|
10
10
|
import 'kysely';
|
|
11
11
|
import 'better-call';
|
package/dist/solid-start.d.cts
CHANGED
package/dist/solid-start.d.ts
CHANGED
package/dist/solid.d.cts
CHANGED
|
@@ -4,7 +4,7 @@ import { BetterFetchError } from '@better-fetch/fetch';
|
|
|
4
4
|
import { ClientOptions, InferClientAPI, InferActions, InferSessionFromClient, InferUserFromClient, BetterAuthClientPlugin, IsSignal } from './types.cjs';
|
|
5
5
|
import { U as UnionToIntersection } from './index-DUqGSAH3.cjs';
|
|
6
6
|
import { Accessor } from './reactive/signal.js';
|
|
7
|
-
import './auth-
|
|
7
|
+
import './auth-BkJnc76F.cjs';
|
|
8
8
|
import 'node_modules/better-call/dist/router-Bn7zn81P';
|
|
9
9
|
import 'kysely';
|
|
10
10
|
import 'better-call';
|
package/dist/solid.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { BetterFetchError } from '@better-fetch/fetch';
|
|
|
4
4
|
import { ClientOptions, InferClientAPI, InferActions, InferSessionFromClient, InferUserFromClient, BetterAuthClientPlugin, IsSignal } from './types.js';
|
|
5
5
|
import { U as UnionToIntersection } from './index-DUqGSAH3.js';
|
|
6
6
|
import { Accessor } from './reactive/signal.js';
|
|
7
|
-
import './auth-
|
|
7
|
+
import './auth-G61_RA8H.js';
|
|
8
8
|
import 'node_modules/better-call/dist/router-Bn7zn81P';
|
|
9
9
|
import 'kysely';
|
|
10
10
|
import 'better-call';
|
package/dist/svelte-kit.d.cts
CHANGED
package/dist/svelte-kit.d.ts
CHANGED
package/dist/svelte.d.cts
CHANGED
|
@@ -5,7 +5,7 @@ import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
|
5
5
|
import { BetterFetchError } from '@better-fetch/fetch';
|
|
6
6
|
import { ClientOptions, InferClientAPI, InferActions, InferSessionFromClient, InferUserFromClient, BetterAuthClientPlugin, IsSignal } from './types.cjs';
|
|
7
7
|
import { U as UnionToIntersection } from './index-DUqGSAH3.cjs';
|
|
8
|
-
import './auth-
|
|
8
|
+
import './auth-BkJnc76F.cjs';
|
|
9
9
|
import 'node_modules/better-call/dist/router-Bn7zn81P';
|
|
10
10
|
import 'kysely';
|
|
11
11
|
import 'better-call';
|
package/dist/svelte.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
|
5
5
|
import { BetterFetchError } from '@better-fetch/fetch';
|
|
6
6
|
import { ClientOptions, InferClientAPI, InferActions, InferSessionFromClient, InferUserFromClient, BetterAuthClientPlugin, IsSignal } from './types.js';
|
|
7
7
|
import { U as UnionToIntersection } from './index-DUqGSAH3.js';
|
|
8
|
-
import './auth-
|
|
8
|
+
import './auth-G61_RA8H.js';
|
|
9
9
|
import 'node_modules/better-call/dist/router-Bn7zn81P';
|
|
10
10
|
import 'kysely';
|
|
11
11
|
import 'better-call';
|
package/dist/types.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as BetterAuthPlugin, a as Auth, Q as InferFieldsInputClient, N as InferFieldsOutput } from './auth-
|
|
2
|
-
export { A as Adapter, j as AdditionalSessionFieldsInput, k as AdditionalSessionFieldsOutput, h as AdditionalUserFieldsInput, i as AdditionalUserFieldsOutput, p as AuthContext, B as BetterAuthOptions, G as GenericEndpointContext, H as HookEndpointContext, m as InferPluginTypes, l as InferSession, I as InferUser, P as PluginSchema, R as RateLimit, S as SecondaryStorage, W as Where, n as init } from './auth-
|
|
1
|
+
import { b as BetterAuthPlugin, a as Auth, Q as InferFieldsInputClient, N as InferFieldsOutput } from './auth-BkJnc76F.cjs';
|
|
2
|
+
export { A as Adapter, j as AdditionalSessionFieldsInput, k as AdditionalSessionFieldsOutput, h as AdditionalUserFieldsInput, i as AdditionalUserFieldsOutput, p as AuthContext, B as BetterAuthOptions, G as GenericEndpointContext, H as HookEndpointContext, m as InferPluginTypes, l as InferSession, I as InferUser, P as PluginSchema, R as RateLimit, S as SecondaryStorage, W as Where, n as init } from './auth-BkJnc76F.cjs';
|
|
3
3
|
import { U as UnionToIntersection, H as HasRequiredKeys, P as Prettify, c as StripEmptyObjects, L as LiteralString, S as Session, a as User } from './index-DUqGSAH3.cjs';
|
|
4
4
|
export { D as DeepPartial, b as LiteralUnion, R as RequiredKeysOf, W as WithoutEmpty } from './index-DUqGSAH3.cjs';
|
|
5
5
|
import { BetterFetchOption, BetterFetchResponse, BetterFetch, BetterFetchPlugin } from '@better-fetch/fetch';
|
package/dist/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as BetterAuthPlugin, a as Auth, Q as InferFieldsInputClient, N as InferFieldsOutput } from './auth-
|
|
2
|
-
export { A as Adapter, j as AdditionalSessionFieldsInput, k as AdditionalSessionFieldsOutput, h as AdditionalUserFieldsInput, i as AdditionalUserFieldsOutput, p as AuthContext, B as BetterAuthOptions, G as GenericEndpointContext, H as HookEndpointContext, m as InferPluginTypes, l as InferSession, I as InferUser, P as PluginSchema, R as RateLimit, S as SecondaryStorage, W as Where, n as init } from './auth-
|
|
1
|
+
import { b as BetterAuthPlugin, a as Auth, Q as InferFieldsInputClient, N as InferFieldsOutput } from './auth-G61_RA8H.js';
|
|
2
|
+
export { A as Adapter, j as AdditionalSessionFieldsInput, k as AdditionalSessionFieldsOutput, h as AdditionalUserFieldsInput, i as AdditionalUserFieldsOutput, p as AuthContext, B as BetterAuthOptions, G as GenericEndpointContext, H as HookEndpointContext, m as InferPluginTypes, l as InferSession, I as InferUser, P as PluginSchema, R as RateLimit, S as SecondaryStorage, W as Where, n as init } from './auth-G61_RA8H.js';
|
|
3
3
|
import { U as UnionToIntersection, H as HasRequiredKeys, P as Prettify, c as StripEmptyObjects, L as LiteralString, S as Session, a as User } from './index-DUqGSAH3.js';
|
|
4
4
|
export { D as DeepPartial, b as LiteralUnion, R as RequiredKeysOf, W as WithoutEmpty } from './index-DUqGSAH3.js';
|
|
5
5
|
import { BetterFetchOption, BetterFetchResponse, BetterFetch, BetterFetchPlugin } from '@better-fetch/fetch';
|
package/dist/vue.d.cts
CHANGED
|
@@ -4,7 +4,7 @@ import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
|
4
4
|
import { BetterFetchError } from '@better-fetch/fetch';
|
|
5
5
|
import { ClientOptions, InferClientAPI, InferActions, InferSessionFromClient, InferUserFromClient, BetterAuthClientPlugin, IsSignal } from './types.cjs';
|
|
6
6
|
import { U as UnionToIntersection$1 } from './index-DUqGSAH3.cjs';
|
|
7
|
-
import './auth-
|
|
7
|
+
import './auth-BkJnc76F.cjs';
|
|
8
8
|
import 'node_modules/better-call/dist/router-Bn7zn81P';
|
|
9
9
|
import 'kysely';
|
|
10
10
|
import 'better-call';
|
package/dist/vue.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
|
4
4
|
import { BetterFetchError } from '@better-fetch/fetch';
|
|
5
5
|
import { ClientOptions, InferClientAPI, InferActions, InferSessionFromClient, InferUserFromClient, BetterAuthClientPlugin, IsSignal } from './types.js';
|
|
6
6
|
import { U as UnionToIntersection$1 } from './index-DUqGSAH3.js';
|
|
7
|
-
import './auth-
|
|
7
|
+
import './auth-G61_RA8H.js';
|
|
8
8
|
import 'node_modules/better-call/dist/router-Bn7zn81P';
|
|
9
9
|
import 'kysely';
|
|
10
10
|
import 'better-call';
|