better-auth 0.8.4-beta.4 → 0.8.4-beta.5
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/memory.d.cts +1 -1
- package/dist/adapters/memory.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-CCnYENKN.d.ts → auth-CDRNfbOe.d.ts} +48 -48
- package/dist/{auth-BOYUYk_K.d.cts → auth-CMnBuRjP.d.cts} +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.cjs +1 -1
- package/dist/db.d.cts +2 -2
- package/dist/db.d.ts +2 -2
- package/dist/db.js +1 -1
- package/dist/{index-B9AaB466.d.ts → index-B9XgU6Vv.d.ts} +1 -1
- package/dist/{index-DDGDxmdU.d.cts → index-DLWAm-6u.d.cts} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/next-js.d.cts +1 -1
- package/dist/next-js.d.ts +1 -1
- 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-DlcA5jPK.d.ts → state-C-uDXxDk.d.ts} +1 -1
- package/dist/{state-C51fnT8O.d.cts → state-Dqdaj2Mp.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, W as Where } from '../auth-
|
|
2
|
+
import { B as BetterAuthOptions, K as KyselyDatabaseType, W as Where } from '../auth-CMnBuRjP.cjs';
|
|
3
3
|
import 'zod';
|
|
4
4
|
import 'better-call';
|
|
5
5
|
import '../helper-DPDj8Nix.cjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Kysely } from 'kysely';
|
|
2
|
-
import { B as BetterAuthOptions, K as KyselyDatabaseType, W as Where } from '../auth-
|
|
2
|
+
import { B as BetterAuthOptions, K as KyselyDatabaseType, W as Where } from '../auth-CDRNfbOe.js';
|
|
3
3
|
import 'zod';
|
|
4
4
|
import 'better-call';
|
|
5
5
|
import '../helper-DPDj8Nix.js';
|
package/dist/api.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { z as AuthEndpoint, C as AuthMiddleware, a4 as callbackOAuth, an as changeEmail, ak as changePassword, y as createAuthEndpoint, x as createAuthMiddleware, ag as createEmailVerificationToken, am as deleteUser, ao as error, ad as forgetPassword, ae as forgetPasswordCallback, a0 as getEndpoints, a5 as getSession, a6 as getSessionFromCtx, as as linkSocialAccount, a8 as listSessions, ar as listUserAccounts, ap as ok, w as optionsMiddleware, at as originCheckMiddleware, af as resetPassword, ab as revokeOtherSessions, a9 as revokeSession, aa as revokeSessions, a1 as router, ah as sendVerificationEmail, a7 as sessionMiddleware, al as setPassword, a3 as signInEmail, a2 as signInSocial, ac as signOut, aq as signUpEmail, aj as updateUser, ai as verifyEmail } from './auth-
|
|
1
|
+
export { z as AuthEndpoint, C as AuthMiddleware, a4 as callbackOAuth, an as changeEmail, ak as changePassword, y as createAuthEndpoint, x as createAuthMiddleware, ag as createEmailVerificationToken, am as deleteUser, ao as error, ad as forgetPassword, ae as forgetPasswordCallback, a0 as getEndpoints, a5 as getSession, a6 as getSessionFromCtx, as as linkSocialAccount, a8 as listSessions, ar as listUserAccounts, ap as ok, w as optionsMiddleware, at as originCheckMiddleware, af as resetPassword, ab as revokeOtherSessions, a9 as revokeSession, aa as revokeSessions, a1 as router, ah as sendVerificationEmail, a7 as sessionMiddleware, al as setPassword, a3 as signInEmail, a2 as signInSocial, ac as signOut, aq as signUpEmail, aj as updateUser, ai as verifyEmail } from './auth-CMnBuRjP.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 { z as AuthEndpoint, C as AuthMiddleware, a4 as callbackOAuth, an as changeEmail, ak as changePassword, y as createAuthEndpoint, x as createAuthMiddleware, ag as createEmailVerificationToken, am as deleteUser, ao as error, ad as forgetPassword, ae as forgetPasswordCallback, a0 as getEndpoints, a5 as getSession, a6 as getSessionFromCtx, as as linkSocialAccount, a8 as listSessions, ar as listUserAccounts, ap as ok, w as optionsMiddleware, at as originCheckMiddleware, af as resetPassword, ab as revokeOtherSessions, a9 as revokeSession, aa as revokeSessions, a1 as router, ah as sendVerificationEmail, a7 as sessionMiddleware, al as setPassword, a3 as signInEmail, a2 as signInSocial, ac as signOut, aq as signUpEmail, aj as updateUser, ai as verifyEmail } from './auth-
|
|
1
|
+
export { z as AuthEndpoint, C as AuthMiddleware, a4 as callbackOAuth, an as changeEmail, ak as changePassword, y as createAuthEndpoint, x as createAuthMiddleware, ag as createEmailVerificationToken, am as deleteUser, ao as error, ad as forgetPassword, ae as forgetPasswordCallback, a0 as getEndpoints, a5 as getSession, a6 as getSessionFromCtx, as as linkSocialAccount, a8 as listSessions, ar as listUserAccounts, ap as ok, w as optionsMiddleware, at as originCheckMiddleware, af as resetPassword, ab as revokeOtherSessions, a9 as revokeSession, aa as revokeSessions, a1 as router, ah as sendVerificationEmail, a7 as sessionMiddleware, al as setPassword, a3 as signInEmail, a2 as signInSocial, ac as signOut, aq as signUpEmail, aj as updateUser, ai as verifyEmail } from './auth-CDRNfbOe.js';
|
|
2
2
|
import './helper-DPDj8Nix.js';
|
|
3
3
|
export { APIError } from 'better-call';
|
|
4
4
|
import 'zod';
|
|
@@ -1507,7 +1507,7 @@ declare const signInSocial: {
|
|
|
1507
1507
|
/**
|
|
1508
1508
|
* OAuth2 provider to use`
|
|
1509
1509
|
*/
|
|
1510
|
-
provider: z.ZodEnum<["github", ...("
|
|
1510
|
+
provider: z.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab")[]]>;
|
|
1511
1511
|
/**
|
|
1512
1512
|
* ID token from the provider
|
|
1513
1513
|
*
|
|
@@ -1554,7 +1554,7 @@ declare const signInSocial: {
|
|
|
1554
1554
|
nonce?: string | undefined;
|
|
1555
1555
|
}>>;
|
|
1556
1556
|
}, "strip", z.ZodTypeAny, {
|
|
1557
|
-
provider: "
|
|
1557
|
+
provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
1558
1558
|
idToken?: {
|
|
1559
1559
|
token: string;
|
|
1560
1560
|
accessToken?: string | undefined;
|
|
@@ -1564,7 +1564,7 @@ declare const signInSocial: {
|
|
|
1564
1564
|
} | undefined;
|
|
1565
1565
|
callbackURL?: string | undefined;
|
|
1566
1566
|
}, {
|
|
1567
|
-
provider: "
|
|
1567
|
+
provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
1568
1568
|
idToken?: {
|
|
1569
1569
|
token: string;
|
|
1570
1570
|
accessToken?: string | undefined;
|
|
@@ -1602,7 +1602,7 @@ declare const signInSocial: {
|
|
|
1602
1602
|
/**
|
|
1603
1603
|
* OAuth2 provider to use`
|
|
1604
1604
|
*/
|
|
1605
|
-
provider: z.ZodEnum<["github", ...("
|
|
1605
|
+
provider: z.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab")[]]>;
|
|
1606
1606
|
/**
|
|
1607
1607
|
* ID token from the provider
|
|
1608
1608
|
*
|
|
@@ -1649,7 +1649,7 @@ declare const signInSocial: {
|
|
|
1649
1649
|
nonce?: string | undefined;
|
|
1650
1650
|
}>>;
|
|
1651
1651
|
}, "strip", z.ZodTypeAny, {
|
|
1652
|
-
provider: "
|
|
1652
|
+
provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
1653
1653
|
idToken?: {
|
|
1654
1654
|
token: string;
|
|
1655
1655
|
accessToken?: string | undefined;
|
|
@@ -1659,7 +1659,7 @@ declare const signInSocial: {
|
|
|
1659
1659
|
} | undefined;
|
|
1660
1660
|
callbackURL?: string | undefined;
|
|
1661
1661
|
}, {
|
|
1662
|
-
provider: "
|
|
1662
|
+
provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
1663
1663
|
idToken?: {
|
|
1664
1664
|
token: string;
|
|
1665
1665
|
accessToken?: string | undefined;
|
|
@@ -3017,12 +3017,12 @@ declare const linkSocialAccount: {
|
|
|
3017
3017
|
/**
|
|
3018
3018
|
* OAuth2 provider to use`
|
|
3019
3019
|
*/
|
|
3020
|
-
provider: z.ZodEnum<["github", ...("
|
|
3020
|
+
provider: z.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab")[]]>;
|
|
3021
3021
|
}, "strip", z.ZodTypeAny, {
|
|
3022
|
-
provider: "
|
|
3022
|
+
provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
3023
3023
|
callbackURL?: string | undefined;
|
|
3024
3024
|
}, {
|
|
3025
|
-
provider: "
|
|
3025
|
+
provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
3026
3026
|
callbackURL?: string | undefined;
|
|
3027
3027
|
}>;
|
|
3028
3028
|
use: better_call.Endpoint<better_call.Handler<string, better_call.EndpointOptions, {
|
|
@@ -3074,12 +3074,12 @@ declare const linkSocialAccount: {
|
|
|
3074
3074
|
/**
|
|
3075
3075
|
* OAuth2 provider to use`
|
|
3076
3076
|
*/
|
|
3077
|
-
provider: z.ZodEnum<["github", ...("
|
|
3077
|
+
provider: z.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab")[]]>;
|
|
3078
3078
|
}, "strip", z.ZodTypeAny, {
|
|
3079
|
-
provider: "
|
|
3079
|
+
provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
3080
3080
|
callbackURL?: string | undefined;
|
|
3081
3081
|
}, {
|
|
3082
|
-
provider: "
|
|
3082
|
+
provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
3083
3083
|
callbackURL?: string | undefined;
|
|
3084
3084
|
}>;
|
|
3085
3085
|
use: better_call.Endpoint<better_call.Handler<string, better_call.EndpointOptions, {
|
|
@@ -3166,7 +3166,7 @@ declare function getEndpoints<C extends AuthContext, Option extends BetterAuthOp
|
|
|
3166
3166
|
}>>;
|
|
3167
3167
|
body: zod.ZodObject<{
|
|
3168
3168
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
3169
|
-
provider: zod.ZodEnum<["github", ...("
|
|
3169
|
+
provider: zod.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab")[]]>;
|
|
3170
3170
|
idToken: zod.ZodOptional<zod.ZodObject<{
|
|
3171
3171
|
token: zod.ZodString;
|
|
3172
3172
|
nonce: zod.ZodOptional<zod.ZodString>;
|
|
@@ -3187,7 +3187,7 @@ declare function getEndpoints<C extends AuthContext, Option extends BetterAuthOp
|
|
|
3187
3187
|
nonce?: string | undefined;
|
|
3188
3188
|
}>>;
|
|
3189
3189
|
}, "strip", zod.ZodTypeAny, {
|
|
3190
|
-
provider: "
|
|
3190
|
+
provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
3191
3191
|
idToken?: {
|
|
3192
3192
|
token: string;
|
|
3193
3193
|
accessToken?: string | undefined;
|
|
@@ -3197,7 +3197,7 @@ declare function getEndpoints<C extends AuthContext, Option extends BetterAuthOp
|
|
|
3197
3197
|
} | undefined;
|
|
3198
3198
|
callbackURL?: string | undefined;
|
|
3199
3199
|
}, {
|
|
3200
|
-
provider: "
|
|
3200
|
+
provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
3201
3201
|
idToken?: {
|
|
3202
3202
|
token: string;
|
|
3203
3203
|
accessToken?: string | undefined;
|
|
@@ -3225,7 +3225,7 @@ declare function getEndpoints<C extends AuthContext, Option extends BetterAuthOp
|
|
|
3225
3225
|
}>>;
|
|
3226
3226
|
body: zod.ZodObject<{
|
|
3227
3227
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
3228
|
-
provider: zod.ZodEnum<["github", ...("
|
|
3228
|
+
provider: zod.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab")[]]>;
|
|
3229
3229
|
idToken: zod.ZodOptional<zod.ZodObject<{
|
|
3230
3230
|
token: zod.ZodString;
|
|
3231
3231
|
nonce: zod.ZodOptional<zod.ZodString>;
|
|
@@ -3246,7 +3246,7 @@ declare function getEndpoints<C extends AuthContext, Option extends BetterAuthOp
|
|
|
3246
3246
|
nonce?: string | undefined;
|
|
3247
3247
|
}>>;
|
|
3248
3248
|
}, "strip", zod.ZodTypeAny, {
|
|
3249
|
-
provider: "
|
|
3249
|
+
provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
3250
3250
|
idToken?: {
|
|
3251
3251
|
token: string;
|
|
3252
3252
|
accessToken?: string | undefined;
|
|
@@ -3256,7 +3256,7 @@ declare function getEndpoints<C extends AuthContext, Option extends BetterAuthOp
|
|
|
3256
3256
|
} | undefined;
|
|
3257
3257
|
callbackURL?: string | undefined;
|
|
3258
3258
|
}, {
|
|
3259
|
-
provider: "
|
|
3259
|
+
provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
3260
3260
|
idToken?: {
|
|
3261
3261
|
token: string;
|
|
3262
3262
|
accessToken?: string | undefined;
|
|
@@ -4492,12 +4492,12 @@ declare function getEndpoints<C extends AuthContext, Option extends BetterAuthOp
|
|
|
4492
4492
|
}>>;
|
|
4493
4493
|
body: zod.ZodObject<{
|
|
4494
4494
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
4495
|
-
provider: zod.ZodEnum<["github", ...("
|
|
4495
|
+
provider: zod.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab")[]]>;
|
|
4496
4496
|
}, "strip", zod.ZodTypeAny, {
|
|
4497
|
-
provider: "
|
|
4497
|
+
provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
4498
4498
|
callbackURL?: string | undefined;
|
|
4499
4499
|
}, {
|
|
4500
|
-
provider: "
|
|
4500
|
+
provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
4501
4501
|
callbackURL?: string | undefined;
|
|
4502
4502
|
}>;
|
|
4503
4503
|
use: Endpoint<better_call.Handler<string, better_call.EndpointOptions, {
|
|
@@ -4539,12 +4539,12 @@ declare function getEndpoints<C extends AuthContext, Option extends BetterAuthOp
|
|
|
4539
4539
|
}>>;
|
|
4540
4540
|
body: zod.ZodObject<{
|
|
4541
4541
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
4542
|
-
provider: zod.ZodEnum<["github", ...("
|
|
4542
|
+
provider: zod.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab")[]]>;
|
|
4543
4543
|
}, "strip", zod.ZodTypeAny, {
|
|
4544
|
-
provider: "
|
|
4544
|
+
provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
4545
4545
|
callbackURL?: string | undefined;
|
|
4546
4546
|
}, {
|
|
4547
|
-
provider: "
|
|
4547
|
+
provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
4548
4548
|
callbackURL?: string | undefined;
|
|
4549
4549
|
}>;
|
|
4550
4550
|
use: Endpoint<better_call.Handler<string, better_call.EndpointOptions, {
|
|
@@ -4690,7 +4690,7 @@ declare const router: <C extends AuthContext, Option extends BetterAuthOptions>(
|
|
|
4690
4690
|
}>>;
|
|
4691
4691
|
body: zod.ZodObject<{
|
|
4692
4692
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
4693
|
-
provider: zod.ZodEnum<["github", ...("
|
|
4693
|
+
provider: zod.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab")[]]>;
|
|
4694
4694
|
idToken: zod.ZodOptional<zod.ZodObject<{
|
|
4695
4695
|
token: zod.ZodString;
|
|
4696
4696
|
nonce: zod.ZodOptional<zod.ZodString>;
|
|
@@ -4711,7 +4711,7 @@ declare const router: <C extends AuthContext, Option extends BetterAuthOptions>(
|
|
|
4711
4711
|
nonce?: string | undefined;
|
|
4712
4712
|
}>>;
|
|
4713
4713
|
}, "strip", zod.ZodTypeAny, {
|
|
4714
|
-
provider: "
|
|
4714
|
+
provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
4715
4715
|
idToken?: {
|
|
4716
4716
|
token: string;
|
|
4717
4717
|
accessToken?: string | undefined;
|
|
@@ -4721,7 +4721,7 @@ declare const router: <C extends AuthContext, Option extends BetterAuthOptions>(
|
|
|
4721
4721
|
} | undefined;
|
|
4722
4722
|
callbackURL?: string | undefined;
|
|
4723
4723
|
}, {
|
|
4724
|
-
provider: "
|
|
4724
|
+
provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
4725
4725
|
idToken?: {
|
|
4726
4726
|
token: string;
|
|
4727
4727
|
accessToken?: string | undefined;
|
|
@@ -4749,7 +4749,7 @@ declare const router: <C extends AuthContext, Option extends BetterAuthOptions>(
|
|
|
4749
4749
|
}>>;
|
|
4750
4750
|
body: zod.ZodObject<{
|
|
4751
4751
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
4752
|
-
provider: zod.ZodEnum<["github", ...("
|
|
4752
|
+
provider: zod.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab")[]]>;
|
|
4753
4753
|
idToken: zod.ZodOptional<zod.ZodObject<{
|
|
4754
4754
|
token: zod.ZodString;
|
|
4755
4755
|
nonce: zod.ZodOptional<zod.ZodString>;
|
|
@@ -4770,7 +4770,7 @@ declare const router: <C extends AuthContext, Option extends BetterAuthOptions>(
|
|
|
4770
4770
|
nonce?: string | undefined;
|
|
4771
4771
|
}>>;
|
|
4772
4772
|
}, "strip", zod.ZodTypeAny, {
|
|
4773
|
-
provider: "
|
|
4773
|
+
provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
4774
4774
|
idToken?: {
|
|
4775
4775
|
token: string;
|
|
4776
4776
|
accessToken?: string | undefined;
|
|
@@ -4780,7 +4780,7 @@ declare const router: <C extends AuthContext, Option extends BetterAuthOptions>(
|
|
|
4780
4780
|
} | undefined;
|
|
4781
4781
|
callbackURL?: string | undefined;
|
|
4782
4782
|
}, {
|
|
4783
|
-
provider: "
|
|
4783
|
+
provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
4784
4784
|
idToken?: {
|
|
4785
4785
|
token: string;
|
|
4786
4786
|
accessToken?: string | undefined;
|
|
@@ -6016,12 +6016,12 @@ declare const router: <C extends AuthContext, Option extends BetterAuthOptions>(
|
|
|
6016
6016
|
}>>;
|
|
6017
6017
|
body: zod.ZodObject<{
|
|
6018
6018
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
6019
|
-
provider: zod.ZodEnum<["github", ...("
|
|
6019
|
+
provider: zod.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab")[]]>;
|
|
6020
6020
|
}, "strip", zod.ZodTypeAny, {
|
|
6021
|
-
provider: "
|
|
6021
|
+
provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
6022
6022
|
callbackURL?: string | undefined;
|
|
6023
6023
|
}, {
|
|
6024
|
-
provider: "
|
|
6024
|
+
provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
6025
6025
|
callbackURL?: string | undefined;
|
|
6026
6026
|
}>;
|
|
6027
6027
|
use: Endpoint<better_call.Handler<string, better_call.EndpointOptions, {
|
|
@@ -6063,12 +6063,12 @@ declare const router: <C extends AuthContext, Option extends BetterAuthOptions>(
|
|
|
6063
6063
|
}>>;
|
|
6064
6064
|
body: zod.ZodObject<{
|
|
6065
6065
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
6066
|
-
provider: zod.ZodEnum<["github", ...("
|
|
6066
|
+
provider: zod.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab")[]]>;
|
|
6067
6067
|
}, "strip", zod.ZodTypeAny, {
|
|
6068
|
-
provider: "
|
|
6068
|
+
provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
6069
6069
|
callbackURL?: string | undefined;
|
|
6070
6070
|
}, {
|
|
6071
|
-
provider: "
|
|
6071
|
+
provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
6072
6072
|
callbackURL?: string | undefined;
|
|
6073
6073
|
}>;
|
|
6074
6074
|
use: Endpoint<better_call.Handler<string, better_call.EndpointOptions, {
|
|
@@ -6216,7 +6216,7 @@ declare const betterAuth: <O extends BetterAuthOptions>(options: O) => {
|
|
|
6216
6216
|
}>>;
|
|
6217
6217
|
body: zod.ZodObject<{
|
|
6218
6218
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
6219
|
-
provider: zod.ZodEnum<["github", ...("
|
|
6219
|
+
provider: zod.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab")[]]>;
|
|
6220
6220
|
idToken: zod.ZodOptional<zod.ZodObject<{
|
|
6221
6221
|
token: zod.ZodString;
|
|
6222
6222
|
nonce: zod.ZodOptional<zod.ZodString>;
|
|
@@ -6237,7 +6237,7 @@ declare const betterAuth: <O extends BetterAuthOptions>(options: O) => {
|
|
|
6237
6237
|
nonce?: string | undefined;
|
|
6238
6238
|
}>>;
|
|
6239
6239
|
}, "strip", zod.ZodTypeAny, {
|
|
6240
|
-
provider: "
|
|
6240
|
+
provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
6241
6241
|
idToken?: {
|
|
6242
6242
|
token: string;
|
|
6243
6243
|
accessToken?: string | undefined;
|
|
@@ -6247,7 +6247,7 @@ declare const betterAuth: <O extends BetterAuthOptions>(options: O) => {
|
|
|
6247
6247
|
} | undefined;
|
|
6248
6248
|
callbackURL?: string | undefined;
|
|
6249
6249
|
}, {
|
|
6250
|
-
provider: "
|
|
6250
|
+
provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
6251
6251
|
idToken?: {
|
|
6252
6252
|
token: string;
|
|
6253
6253
|
accessToken?: string | undefined;
|
|
@@ -6275,7 +6275,7 @@ declare const betterAuth: <O extends BetterAuthOptions>(options: O) => {
|
|
|
6275
6275
|
}>>;
|
|
6276
6276
|
body: zod.ZodObject<{
|
|
6277
6277
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
6278
|
-
provider: zod.ZodEnum<["github", ...("
|
|
6278
|
+
provider: zod.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab")[]]>;
|
|
6279
6279
|
idToken: zod.ZodOptional<zod.ZodObject<{
|
|
6280
6280
|
token: zod.ZodString;
|
|
6281
6281
|
nonce: zod.ZodOptional<zod.ZodString>;
|
|
@@ -6296,7 +6296,7 @@ declare const betterAuth: <O extends BetterAuthOptions>(options: O) => {
|
|
|
6296
6296
|
nonce?: string | undefined;
|
|
6297
6297
|
}>>;
|
|
6298
6298
|
}, "strip", zod.ZodTypeAny, {
|
|
6299
|
-
provider: "
|
|
6299
|
+
provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
6300
6300
|
idToken?: {
|
|
6301
6301
|
token: string;
|
|
6302
6302
|
accessToken?: string | undefined;
|
|
@@ -6306,7 +6306,7 @@ declare const betterAuth: <O extends BetterAuthOptions>(options: O) => {
|
|
|
6306
6306
|
} | undefined;
|
|
6307
6307
|
callbackURL?: string | undefined;
|
|
6308
6308
|
}, {
|
|
6309
|
-
provider: "
|
|
6309
|
+
provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
6310
6310
|
idToken?: {
|
|
6311
6311
|
token: string;
|
|
6312
6312
|
accessToken?: string | undefined;
|
|
@@ -7542,12 +7542,12 @@ declare const betterAuth: <O extends BetterAuthOptions>(options: O) => {
|
|
|
7542
7542
|
}>>;
|
|
7543
7543
|
body: zod.ZodObject<{
|
|
7544
7544
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
7545
|
-
provider: zod.ZodEnum<["github", ...("
|
|
7545
|
+
provider: zod.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab")[]]>;
|
|
7546
7546
|
}, "strip", zod.ZodTypeAny, {
|
|
7547
|
-
provider: "
|
|
7547
|
+
provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
7548
7548
|
callbackURL?: string | undefined;
|
|
7549
7549
|
}, {
|
|
7550
|
-
provider: "
|
|
7550
|
+
provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
7551
7551
|
callbackURL?: string | undefined;
|
|
7552
7552
|
}>;
|
|
7553
7553
|
use: Endpoint<better_call.Handler<string, better_call.EndpointOptions, {
|
|
@@ -7589,12 +7589,12 @@ declare const betterAuth: <O extends BetterAuthOptions>(options: O) => {
|
|
|
7589
7589
|
}>>;
|
|
7590
7590
|
body: zod.ZodObject<{
|
|
7591
7591
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
7592
|
-
provider: zod.ZodEnum<["github", ...("
|
|
7592
|
+
provider: zod.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab")[]]>;
|
|
7593
7593
|
}, "strip", zod.ZodTypeAny, {
|
|
7594
|
-
provider: "
|
|
7594
|
+
provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
7595
7595
|
callbackURL?: string | undefined;
|
|
7596
7596
|
}, {
|
|
7597
|
-
provider: "
|
|
7597
|
+
provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab";
|
|
7598
7598
|
callbackURL?: string | undefined;
|
|
7599
7599
|
}>;
|
|
7600
7600
|
use: Endpoint<better_call.Handler<string, better_call.EndpointOptions, {
|