better-auth 0.6.1-beta.2 → 0.6.1-beta.3
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-BtP3dp91.d.cts → auth-Alrjjvqg.d.cts} +48 -48
- package/dist/{auth-CVh_Ub4w.d.ts → auth-CJHebtQw.d.ts} +48 -48
- package/dist/client/plugins.cjs +1 -1
- package/dist/client/plugins.d.cts +9 -4
- package/dist/client/plugins.d.ts +9 -4
- package/dist/client/plugins.js +1 -1
- 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-DhR7hPVF.d.ts → index-BH-kEfxP.d.ts} +173 -2
- package/dist/{index-B0PNN6P7.d.cts → index-CiR1TeSb.d.cts} +173 -2
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/node.d.cts +1 -1
- package/dist/node.d.ts +1 -1
- package/dist/plugins.cjs +5 -5
- package/dist/plugins.d.cts +3 -3
- package/dist/plugins.d.ts +3 -3
- package/dist/plugins.js +5 -5
- 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/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-Alrjjvqg.cjs';
|
|
3
3
|
import 'zod';
|
|
4
4
|
import '../types-DGbY_2Am.cjs';
|
|
5
5
|
import '../helper-DPDj8Nix.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-CJHebtQw.js';
|
|
3
3
|
import 'zod';
|
|
4
4
|
import '../types-BYWAbFsn.js';
|
|
5
5
|
import '../helper-DPDj8Nix.js';
|
package/dist/api.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
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, aq as csrfMiddleware, ai as deleteUser, al as error, a9 as forgetPassword, aa as forgetPasswordCallback, ak as getCSRFToken, Z as getEndpoints, a2 as getSession, a3 as getSessionFromCtx, ap as linkSocialAccount, a5 as listSessions, ao as listUserAccounts, am as ok, o as optionsMiddleware, ab as resetPassword, a6 as revokeSession, a7 as revokeSessions, _ as router, ad as sendVerificationEmail, a4 as sessionMiddleware, ah as setPassword, a0 as signInEmail, $ as signInOAuth, a8 as signOut, an as signUpEmail, af as updateUser, ae as verifyEmail } from './auth-
|
|
1
|
+
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, aq as csrfMiddleware, ai as deleteUser, al as error, a9 as forgetPassword, aa as forgetPasswordCallback, ak as getCSRFToken, Z as getEndpoints, a2 as getSession, a3 as getSessionFromCtx, ap as linkSocialAccount, a5 as listSessions, ao as listUserAccounts, am as ok, o as optionsMiddleware, ab as resetPassword, a6 as revokeSession, a7 as revokeSessions, _ as router, ad as sendVerificationEmail, a4 as sessionMiddleware, ah as setPassword, a0 as signInEmail, $ as signInOAuth, a8 as signOut, an as signUpEmail, af as updateUser, ae as verifyEmail } from './auth-Alrjjvqg.cjs';
|
|
2
2
|
import './helper-DPDj8Nix.cjs';
|
|
3
3
|
export { APIError } from 'better-call';
|
|
4
4
|
import 'zod';
|
package/dist/api.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
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, aq as csrfMiddleware, ai as deleteUser, al as error, a9 as forgetPassword, aa as forgetPasswordCallback, ak as getCSRFToken, Z as getEndpoints, a2 as getSession, a3 as getSessionFromCtx, ap as linkSocialAccount, a5 as listSessions, ao as listUserAccounts, am as ok, o as optionsMiddleware, ab as resetPassword, a6 as revokeSession, a7 as revokeSessions, _ as router, ad as sendVerificationEmail, a4 as sessionMiddleware, ah as setPassword, a0 as signInEmail, $ as signInOAuth, a8 as signOut, an as signUpEmail, af as updateUser, ae as verifyEmail } from './auth-
|
|
1
|
+
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, aq as csrfMiddleware, ai as deleteUser, al as error, a9 as forgetPassword, aa as forgetPasswordCallback, ak as getCSRFToken, Z as getEndpoints, a2 as getSession, a3 as getSessionFromCtx, ap as linkSocialAccount, a5 as listSessions, ao as listUserAccounts, am as ok, o as optionsMiddleware, ab as resetPassword, a6 as revokeSession, a7 as revokeSessions, _ as router, ad as sendVerificationEmail, a4 as sessionMiddleware, ah as setPassword, a0 as signInEmail, $ as signInOAuth, a8 as signOut, an as signUpEmail, af as updateUser, ae as verifyEmail } from './auth-CJHebtQw.js';
|
|
2
2
|
import './helper-DPDj8Nix.js';
|
|
3
3
|
export { APIError } from 'better-call';
|
|
4
4
|
import 'zod';
|
|
@@ -1303,12 +1303,12 @@ declare const signInOAuth: {
|
|
|
1303
1303
|
/**
|
|
1304
1304
|
* OAuth2 provider to use`
|
|
1305
1305
|
*/
|
|
1306
|
-
provider: z.ZodEnum<["github", ...("
|
|
1306
|
+
provider: z.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin")[]]>;
|
|
1307
1307
|
}, "strip", z.ZodTypeAny, {
|
|
1308
|
-
provider: "
|
|
1308
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
|
|
1309
1309
|
callbackURL?: string | undefined;
|
|
1310
1310
|
}, {
|
|
1311
|
-
provider: "
|
|
1311
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
|
|
1312
1312
|
callbackURL?: string | undefined;
|
|
1313
1313
|
}>;
|
|
1314
1314
|
use: better_call.Endpoint<better_call.Handler<string, better_call.EndpointOptions, void>, better_call.EndpointOptions>[];
|
|
@@ -1346,12 +1346,12 @@ declare const signInOAuth: {
|
|
|
1346
1346
|
/**
|
|
1347
1347
|
* OAuth2 provider to use`
|
|
1348
1348
|
*/
|
|
1349
|
-
provider: z.ZodEnum<["github", ...("
|
|
1349
|
+
provider: z.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin")[]]>;
|
|
1350
1350
|
}, "strip", z.ZodTypeAny, {
|
|
1351
|
-
provider: "
|
|
1351
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
|
|
1352
1352
|
callbackURL?: string | undefined;
|
|
1353
1353
|
}, {
|
|
1354
|
-
provider: "
|
|
1354
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
|
|
1355
1355
|
callbackURL?: string | undefined;
|
|
1356
1356
|
}>;
|
|
1357
1357
|
use: better_call.Endpoint<better_call.Handler<string, better_call.EndpointOptions, void>, better_call.EndpointOptions>[];
|
|
@@ -2677,12 +2677,12 @@ declare const linkSocialAccount: {
|
|
|
2677
2677
|
/**
|
|
2678
2678
|
* OAuth2 provider to use`
|
|
2679
2679
|
*/
|
|
2680
|
-
provider: z.ZodEnum<["github", ...("
|
|
2680
|
+
provider: z.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin")[]]>;
|
|
2681
2681
|
}, "strip", z.ZodTypeAny, {
|
|
2682
|
-
provider: "
|
|
2682
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
|
|
2683
2683
|
callbackURL?: string | undefined;
|
|
2684
2684
|
}, {
|
|
2685
|
-
provider: "
|
|
2685
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
|
|
2686
2686
|
callbackURL?: string | undefined;
|
|
2687
2687
|
}>;
|
|
2688
2688
|
use: (better_call.Endpoint<better_call.Handler<string, better_call.EndpointOptions, void>, better_call.EndpointOptions> | better_call.Endpoint<better_call.Handler<string, better_call.EndpointOptions, {
|
|
@@ -2739,12 +2739,12 @@ declare const linkSocialAccount: {
|
|
|
2739
2739
|
/**
|
|
2740
2740
|
* OAuth2 provider to use`
|
|
2741
2741
|
*/
|
|
2742
|
-
provider: z.ZodEnum<["github", ...("
|
|
2742
|
+
provider: z.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin")[]]>;
|
|
2743
2743
|
}, "strip", z.ZodTypeAny, {
|
|
2744
|
-
provider: "
|
|
2744
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
|
|
2745
2745
|
callbackURL?: string | undefined;
|
|
2746
2746
|
}, {
|
|
2747
|
-
provider: "
|
|
2747
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
|
|
2748
2748
|
callbackURL?: string | undefined;
|
|
2749
2749
|
}>;
|
|
2750
2750
|
use: (better_call.Endpoint<better_call.Handler<string, better_call.EndpointOptions, void>, better_call.EndpointOptions> | better_call.Endpoint<better_call.Handler<string, better_call.EndpointOptions, {
|
|
@@ -2849,12 +2849,12 @@ declare function getEndpoints<C extends AuthContext, Option extends BetterAuthOp
|
|
|
2849
2849
|
}>>;
|
|
2850
2850
|
body: zod.ZodObject<{
|
|
2851
2851
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
2852
|
-
provider: zod.ZodEnum<["github", ...("
|
|
2852
|
+
provider: zod.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin")[]]>;
|
|
2853
2853
|
}, "strip", zod.ZodTypeAny, {
|
|
2854
|
-
provider: "
|
|
2854
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
|
|
2855
2855
|
callbackURL?: string | undefined;
|
|
2856
2856
|
}, {
|
|
2857
|
-
provider: "
|
|
2857
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
|
|
2858
2858
|
callbackURL?: string | undefined;
|
|
2859
2859
|
}>;
|
|
2860
2860
|
use: Endpoint<better_call.Handler<string, better_call.EndpointOptions, void>, better_call.EndpointOptions>[];
|
|
@@ -2882,12 +2882,12 @@ declare function getEndpoints<C extends AuthContext, Option extends BetterAuthOp
|
|
|
2882
2882
|
}>>;
|
|
2883
2883
|
body: zod.ZodObject<{
|
|
2884
2884
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
2885
|
-
provider: zod.ZodEnum<["github", ...("
|
|
2885
|
+
provider: zod.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin")[]]>;
|
|
2886
2886
|
}, "strip", zod.ZodTypeAny, {
|
|
2887
|
-
provider: "
|
|
2887
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
|
|
2888
2888
|
callbackURL?: string | undefined;
|
|
2889
2889
|
}, {
|
|
2890
|
-
provider: "
|
|
2890
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
|
|
2891
2891
|
callbackURL?: string | undefined;
|
|
2892
2892
|
}>;
|
|
2893
2893
|
use: Endpoint<better_call.Handler<string, better_call.EndpointOptions, void>, better_call.EndpointOptions>[];
|
|
@@ -4085,12 +4085,12 @@ declare function getEndpoints<C extends AuthContext, Option extends BetterAuthOp
|
|
|
4085
4085
|
}>>;
|
|
4086
4086
|
body: zod.ZodObject<{
|
|
4087
4087
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
4088
|
-
provider: zod.ZodEnum<["github", ...("
|
|
4088
|
+
provider: zod.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin")[]]>;
|
|
4089
4089
|
}, "strip", zod.ZodTypeAny, {
|
|
4090
|
-
provider: "
|
|
4090
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
|
|
4091
4091
|
callbackURL?: string | undefined;
|
|
4092
4092
|
}, {
|
|
4093
|
-
provider: "
|
|
4093
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
|
|
4094
4094
|
callbackURL?: string | undefined;
|
|
4095
4095
|
}>;
|
|
4096
4096
|
use: (Endpoint<better_call.Handler<string, better_call.EndpointOptions, void>, better_call.EndpointOptions> | Endpoint<better_call.Handler<string, better_call.EndpointOptions, {
|
|
@@ -4137,12 +4137,12 @@ declare function getEndpoints<C extends AuthContext, Option extends BetterAuthOp
|
|
|
4137
4137
|
}>>;
|
|
4138
4138
|
body: zod.ZodObject<{
|
|
4139
4139
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
4140
|
-
provider: zod.ZodEnum<["github", ...("
|
|
4140
|
+
provider: zod.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin")[]]>;
|
|
4141
4141
|
}, "strip", zod.ZodTypeAny, {
|
|
4142
|
-
provider: "
|
|
4142
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
|
|
4143
4143
|
callbackURL?: string | undefined;
|
|
4144
4144
|
}, {
|
|
4145
|
-
provider: "
|
|
4145
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
|
|
4146
4146
|
callbackURL?: string | undefined;
|
|
4147
4147
|
}>;
|
|
4148
4148
|
use: (Endpoint<better_call.Handler<string, better_call.EndpointOptions, void>, better_call.EndpointOptions> | Endpoint<better_call.Handler<string, better_call.EndpointOptions, {
|
|
@@ -4296,12 +4296,12 @@ declare const router: <C extends AuthContext, Option extends BetterAuthOptions>(
|
|
|
4296
4296
|
}>>;
|
|
4297
4297
|
body: zod.ZodObject<{
|
|
4298
4298
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
4299
|
-
provider: zod.ZodEnum<["github", ...("
|
|
4299
|
+
provider: zod.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin")[]]>;
|
|
4300
4300
|
}, "strip", zod.ZodTypeAny, {
|
|
4301
|
-
provider: "
|
|
4301
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
|
|
4302
4302
|
callbackURL?: string | undefined;
|
|
4303
4303
|
}, {
|
|
4304
|
-
provider: "
|
|
4304
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
|
|
4305
4305
|
callbackURL?: string | undefined;
|
|
4306
4306
|
}>;
|
|
4307
4307
|
use: Endpoint<better_call.Handler<string, better_call.EndpointOptions, void>, better_call.EndpointOptions>[];
|
|
@@ -4329,12 +4329,12 @@ declare const router: <C extends AuthContext, Option extends BetterAuthOptions>(
|
|
|
4329
4329
|
}>>;
|
|
4330
4330
|
body: zod.ZodObject<{
|
|
4331
4331
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
4332
|
-
provider: zod.ZodEnum<["github", ...("
|
|
4332
|
+
provider: zod.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin")[]]>;
|
|
4333
4333
|
}, "strip", zod.ZodTypeAny, {
|
|
4334
|
-
provider: "
|
|
4334
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
|
|
4335
4335
|
callbackURL?: string | undefined;
|
|
4336
4336
|
}, {
|
|
4337
|
-
provider: "
|
|
4337
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
|
|
4338
4338
|
callbackURL?: string | undefined;
|
|
4339
4339
|
}>;
|
|
4340
4340
|
use: Endpoint<better_call.Handler<string, better_call.EndpointOptions, void>, better_call.EndpointOptions>[];
|
|
@@ -5532,12 +5532,12 @@ declare const router: <C extends AuthContext, Option extends BetterAuthOptions>(
|
|
|
5532
5532
|
}>>;
|
|
5533
5533
|
body: zod.ZodObject<{
|
|
5534
5534
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
5535
|
-
provider: zod.ZodEnum<["github", ...("
|
|
5535
|
+
provider: zod.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin")[]]>;
|
|
5536
5536
|
}, "strip", zod.ZodTypeAny, {
|
|
5537
|
-
provider: "
|
|
5537
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
|
|
5538
5538
|
callbackURL?: string | undefined;
|
|
5539
5539
|
}, {
|
|
5540
|
-
provider: "
|
|
5540
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
|
|
5541
5541
|
callbackURL?: string | undefined;
|
|
5542
5542
|
}>;
|
|
5543
5543
|
use: (Endpoint<better_call.Handler<string, better_call.EndpointOptions, void>, better_call.EndpointOptions> | Endpoint<better_call.Handler<string, better_call.EndpointOptions, {
|
|
@@ -5584,12 +5584,12 @@ declare const router: <C extends AuthContext, Option extends BetterAuthOptions>(
|
|
|
5584
5584
|
}>>;
|
|
5585
5585
|
body: zod.ZodObject<{
|
|
5586
5586
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
5587
|
-
provider: zod.ZodEnum<["github", ...("
|
|
5587
|
+
provider: zod.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin")[]]>;
|
|
5588
5588
|
}, "strip", zod.ZodTypeAny, {
|
|
5589
|
-
provider: "
|
|
5589
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
|
|
5590
5590
|
callbackURL?: string | undefined;
|
|
5591
5591
|
}, {
|
|
5592
|
-
provider: "
|
|
5592
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
|
|
5593
5593
|
callbackURL?: string | undefined;
|
|
5594
5594
|
}>;
|
|
5595
5595
|
use: (Endpoint<better_call.Handler<string, better_call.EndpointOptions, void>, better_call.EndpointOptions> | Endpoint<better_call.Handler<string, better_call.EndpointOptions, {
|
|
@@ -5745,12 +5745,12 @@ declare const betterAuth: <O extends BetterAuthOptions>(options: O) => {
|
|
|
5745
5745
|
}>>;
|
|
5746
5746
|
body: zod.ZodObject<{
|
|
5747
5747
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
5748
|
-
provider: zod.ZodEnum<["github", ...("
|
|
5748
|
+
provider: zod.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin")[]]>;
|
|
5749
5749
|
}, "strip", zod.ZodTypeAny, {
|
|
5750
|
-
provider: "
|
|
5750
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
|
|
5751
5751
|
callbackURL?: string | undefined;
|
|
5752
5752
|
}, {
|
|
5753
|
-
provider: "
|
|
5753
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
|
|
5754
5754
|
callbackURL?: string | undefined;
|
|
5755
5755
|
}>;
|
|
5756
5756
|
use: Endpoint<better_call.Handler<string, better_call.EndpointOptions, void>, better_call.EndpointOptions>[];
|
|
@@ -5778,12 +5778,12 @@ declare const betterAuth: <O extends BetterAuthOptions>(options: O) => {
|
|
|
5778
5778
|
}>>;
|
|
5779
5779
|
body: zod.ZodObject<{
|
|
5780
5780
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
5781
|
-
provider: zod.ZodEnum<["github", ...("
|
|
5781
|
+
provider: zod.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin")[]]>;
|
|
5782
5782
|
}, "strip", zod.ZodTypeAny, {
|
|
5783
|
-
provider: "
|
|
5783
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
|
|
5784
5784
|
callbackURL?: string | undefined;
|
|
5785
5785
|
}, {
|
|
5786
|
-
provider: "
|
|
5786
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
|
|
5787
5787
|
callbackURL?: string | undefined;
|
|
5788
5788
|
}>;
|
|
5789
5789
|
use: Endpoint<better_call.Handler<string, better_call.EndpointOptions, void>, better_call.EndpointOptions>[];
|
|
@@ -6981,12 +6981,12 @@ declare const betterAuth: <O extends BetterAuthOptions>(options: O) => {
|
|
|
6981
6981
|
}>>;
|
|
6982
6982
|
body: zod.ZodObject<{
|
|
6983
6983
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
6984
|
-
provider: zod.ZodEnum<["github", ...("
|
|
6984
|
+
provider: zod.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin")[]]>;
|
|
6985
6985
|
}, "strip", zod.ZodTypeAny, {
|
|
6986
|
-
provider: "
|
|
6986
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
|
|
6987
6987
|
callbackURL?: string | undefined;
|
|
6988
6988
|
}, {
|
|
6989
|
-
provider: "
|
|
6989
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
|
|
6990
6990
|
callbackURL?: string | undefined;
|
|
6991
6991
|
}>;
|
|
6992
6992
|
use: (Endpoint<better_call.Handler<string, better_call.EndpointOptions, void>, better_call.EndpointOptions> | Endpoint<better_call.Handler<string, better_call.EndpointOptions, {
|
|
@@ -7033,12 +7033,12 @@ declare const betterAuth: <O extends BetterAuthOptions>(options: O) => {
|
|
|
7033
7033
|
}>>;
|
|
7034
7034
|
body: zod.ZodObject<{
|
|
7035
7035
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
7036
|
-
provider: zod.ZodEnum<["github", ...("
|
|
7036
|
+
provider: zod.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin")[]]>;
|
|
7037
7037
|
}, "strip", zod.ZodTypeAny, {
|
|
7038
|
-
provider: "
|
|
7038
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
|
|
7039
7039
|
callbackURL?: string | undefined;
|
|
7040
7040
|
}, {
|
|
7041
|
-
provider: "
|
|
7041
|
+
provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
|
|
7042
7042
|
callbackURL?: string | undefined;
|
|
7043
7043
|
}>;
|
|
7044
7044
|
use: (Endpoint<better_call.Handler<string, better_call.EndpointOptions, void>, better_call.EndpointOptions> | Endpoint<better_call.Handler<string, better_call.EndpointOptions, {
|