better-auth 0.5.2-beta.14 → 0.5.2-beta.15
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.cjs +4 -4
- package/dist/api.d.cts +1 -1
- package/dist/api.d.ts +1 -1
- package/dist/api.js +4 -4
- package/dist/{auth-D1kVkHCi.d.ts → auth-SMzIERpz.d.ts} +24 -24
- package/dist/{auth-D7_h4yVD.d.cts → auth-kXZUEU5B.d.cts} +24 -24
- 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-Ctg062Fg.d.ts → index-DOKc35nY.d.ts} +1 -1
- package/dist/{index-BFsm4pYA.d.cts → index-R4tR6ojQ.d.cts} +1 -1
- package/dist/index.cjs +4 -4
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4 -4
- 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
|
@@ -1253,12 +1253,12 @@ declare const signInOAuth: {
|
|
|
1253
1253
|
/**
|
|
1254
1254
|
* OAuth2 provider to use`
|
|
1255
1255
|
*/
|
|
1256
|
-
provider: z.ZodEnum<["github", ...("
|
|
1256
|
+
provider: z.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter")[]]>;
|
|
1257
1257
|
}, "strip", z.ZodTypeAny, {
|
|
1258
|
-
provider: "
|
|
1258
|
+
provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter";
|
|
1259
1259
|
callbackURL?: string | undefined;
|
|
1260
1260
|
}, {
|
|
1261
|
-
provider: "
|
|
1261
|
+
provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter";
|
|
1262
1262
|
callbackURL?: string | undefined;
|
|
1263
1263
|
}>;
|
|
1264
1264
|
use: better_call.Endpoint<better_call.Handler<string, better_call.EndpointOptions, void>, better_call.EndpointOptions>[];
|
|
@@ -1296,12 +1296,12 @@ declare const signInOAuth: {
|
|
|
1296
1296
|
/**
|
|
1297
1297
|
* OAuth2 provider to use`
|
|
1298
1298
|
*/
|
|
1299
|
-
provider: z.ZodEnum<["github", ...("
|
|
1299
|
+
provider: z.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter")[]]>;
|
|
1300
1300
|
}, "strip", z.ZodTypeAny, {
|
|
1301
|
-
provider: "
|
|
1301
|
+
provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter";
|
|
1302
1302
|
callbackURL?: string | undefined;
|
|
1303
1303
|
}, {
|
|
1304
|
-
provider: "
|
|
1304
|
+
provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter";
|
|
1305
1305
|
callbackURL?: string | undefined;
|
|
1306
1306
|
}>;
|
|
1307
1307
|
use: better_call.Endpoint<better_call.Handler<string, better_call.EndpointOptions, void>, better_call.EndpointOptions>[];
|
|
@@ -2595,12 +2595,12 @@ declare function getEndpoints<C extends AuthContext, Option extends BetterAuthOp
|
|
|
2595
2595
|
}>>;
|
|
2596
2596
|
body: zod.ZodObject<{
|
|
2597
2597
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
2598
|
-
provider: zod.ZodEnum<["github", ...("
|
|
2598
|
+
provider: zod.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter")[]]>;
|
|
2599
2599
|
}, "strip", zod.ZodTypeAny, {
|
|
2600
|
-
provider: "
|
|
2600
|
+
provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter";
|
|
2601
2601
|
callbackURL?: string | undefined;
|
|
2602
2602
|
}, {
|
|
2603
|
-
provider: "
|
|
2603
|
+
provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter";
|
|
2604
2604
|
callbackURL?: string | undefined;
|
|
2605
2605
|
}>;
|
|
2606
2606
|
use: Endpoint<better_call.Handler<string, better_call.EndpointOptions, void>, better_call.EndpointOptions>[];
|
|
@@ -2628,12 +2628,12 @@ declare function getEndpoints<C extends AuthContext, Option extends BetterAuthOp
|
|
|
2628
2628
|
}>>;
|
|
2629
2629
|
body: zod.ZodObject<{
|
|
2630
2630
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
2631
|
-
provider: zod.ZodEnum<["github", ...("
|
|
2631
|
+
provider: zod.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter")[]]>;
|
|
2632
2632
|
}, "strip", zod.ZodTypeAny, {
|
|
2633
|
-
provider: "
|
|
2633
|
+
provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter";
|
|
2634
2634
|
callbackURL?: string | undefined;
|
|
2635
2635
|
}, {
|
|
2636
|
-
provider: "
|
|
2636
|
+
provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter";
|
|
2637
2637
|
callbackURL?: string | undefined;
|
|
2638
2638
|
}>;
|
|
2639
2639
|
use: Endpoint<better_call.Handler<string, better_call.EndpointOptions, void>, better_call.EndpointOptions>[];
|
|
@@ -3783,12 +3783,12 @@ declare const router: <C extends AuthContext, Option extends BetterAuthOptions>(
|
|
|
3783
3783
|
}>>;
|
|
3784
3784
|
body: zod.ZodObject<{
|
|
3785
3785
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
3786
|
-
provider: zod.ZodEnum<["github", ...("
|
|
3786
|
+
provider: zod.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter")[]]>;
|
|
3787
3787
|
}, "strip", zod.ZodTypeAny, {
|
|
3788
|
-
provider: "
|
|
3788
|
+
provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter";
|
|
3789
3789
|
callbackURL?: string | undefined;
|
|
3790
3790
|
}, {
|
|
3791
|
-
provider: "
|
|
3791
|
+
provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter";
|
|
3792
3792
|
callbackURL?: string | undefined;
|
|
3793
3793
|
}>;
|
|
3794
3794
|
use: Endpoint<better_call.Handler<string, better_call.EndpointOptions, void>, better_call.EndpointOptions>[];
|
|
@@ -3816,12 +3816,12 @@ declare const router: <C extends AuthContext, Option extends BetterAuthOptions>(
|
|
|
3816
3816
|
}>>;
|
|
3817
3817
|
body: zod.ZodObject<{
|
|
3818
3818
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
3819
|
-
provider: zod.ZodEnum<["github", ...("
|
|
3819
|
+
provider: zod.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter")[]]>;
|
|
3820
3820
|
}, "strip", zod.ZodTypeAny, {
|
|
3821
|
-
provider: "
|
|
3821
|
+
provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter";
|
|
3822
3822
|
callbackURL?: string | undefined;
|
|
3823
3823
|
}, {
|
|
3824
|
-
provider: "
|
|
3824
|
+
provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter";
|
|
3825
3825
|
callbackURL?: string | undefined;
|
|
3826
3826
|
}>;
|
|
3827
3827
|
use: Endpoint<better_call.Handler<string, better_call.EndpointOptions, void>, better_call.EndpointOptions>[];
|
|
@@ -4973,12 +4973,12 @@ declare const betterAuth: <O extends BetterAuthOptions>(options: O) => {
|
|
|
4973
4973
|
}>>;
|
|
4974
4974
|
body: zod.ZodObject<{
|
|
4975
4975
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
4976
|
-
provider: zod.ZodEnum<["github", ...("
|
|
4976
|
+
provider: zod.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter")[]]>;
|
|
4977
4977
|
}, "strip", zod.ZodTypeAny, {
|
|
4978
|
-
provider: "
|
|
4978
|
+
provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter";
|
|
4979
4979
|
callbackURL?: string | undefined;
|
|
4980
4980
|
}, {
|
|
4981
|
-
provider: "
|
|
4981
|
+
provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter";
|
|
4982
4982
|
callbackURL?: string | undefined;
|
|
4983
4983
|
}>;
|
|
4984
4984
|
use: Endpoint<better_call.Handler<string, better_call.EndpointOptions, void>, better_call.EndpointOptions>[];
|
|
@@ -5006,12 +5006,12 @@ declare const betterAuth: <O extends BetterAuthOptions>(options: O) => {
|
|
|
5006
5006
|
}>>;
|
|
5007
5007
|
body: zod.ZodObject<{
|
|
5008
5008
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
5009
|
-
provider: zod.ZodEnum<["github", ...("
|
|
5009
|
+
provider: zod.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter")[]]>;
|
|
5010
5010
|
}, "strip", zod.ZodTypeAny, {
|
|
5011
|
-
provider: "
|
|
5011
|
+
provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter";
|
|
5012
5012
|
callbackURL?: string | undefined;
|
|
5013
5013
|
}, {
|
|
5014
|
-
provider: "
|
|
5014
|
+
provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter";
|
|
5015
5015
|
callbackURL?: string | undefined;
|
|
5016
5016
|
}>;
|
|
5017
5017
|
use: Endpoint<better_call.Handler<string, better_call.EndpointOptions, void>, better_call.EndpointOptions>[];
|
|
@@ -1253,12 +1253,12 @@ declare const signInOAuth: {
|
|
|
1253
1253
|
/**
|
|
1254
1254
|
* OAuth2 provider to use`
|
|
1255
1255
|
*/
|
|
1256
|
-
provider: z.ZodEnum<["github", ...("
|
|
1256
|
+
provider: z.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter")[]]>;
|
|
1257
1257
|
}, "strip", z.ZodTypeAny, {
|
|
1258
|
-
provider: "
|
|
1258
|
+
provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter";
|
|
1259
1259
|
callbackURL?: string | undefined;
|
|
1260
1260
|
}, {
|
|
1261
|
-
provider: "
|
|
1261
|
+
provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter";
|
|
1262
1262
|
callbackURL?: string | undefined;
|
|
1263
1263
|
}>;
|
|
1264
1264
|
use: better_call.Endpoint<better_call.Handler<string, better_call.EndpointOptions, void>, better_call.EndpointOptions>[];
|
|
@@ -1296,12 +1296,12 @@ declare const signInOAuth: {
|
|
|
1296
1296
|
/**
|
|
1297
1297
|
* OAuth2 provider to use`
|
|
1298
1298
|
*/
|
|
1299
|
-
provider: z.ZodEnum<["github", ...("
|
|
1299
|
+
provider: z.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter")[]]>;
|
|
1300
1300
|
}, "strip", z.ZodTypeAny, {
|
|
1301
|
-
provider: "
|
|
1301
|
+
provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter";
|
|
1302
1302
|
callbackURL?: string | undefined;
|
|
1303
1303
|
}, {
|
|
1304
|
-
provider: "
|
|
1304
|
+
provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter";
|
|
1305
1305
|
callbackURL?: string | undefined;
|
|
1306
1306
|
}>;
|
|
1307
1307
|
use: better_call.Endpoint<better_call.Handler<string, better_call.EndpointOptions, void>, better_call.EndpointOptions>[];
|
|
@@ -2595,12 +2595,12 @@ declare function getEndpoints<C extends AuthContext, Option extends BetterAuthOp
|
|
|
2595
2595
|
}>>;
|
|
2596
2596
|
body: zod.ZodObject<{
|
|
2597
2597
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
2598
|
-
provider: zod.ZodEnum<["github", ...("
|
|
2598
|
+
provider: zod.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter")[]]>;
|
|
2599
2599
|
}, "strip", zod.ZodTypeAny, {
|
|
2600
|
-
provider: "
|
|
2600
|
+
provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter";
|
|
2601
2601
|
callbackURL?: string | undefined;
|
|
2602
2602
|
}, {
|
|
2603
|
-
provider: "
|
|
2603
|
+
provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter";
|
|
2604
2604
|
callbackURL?: string | undefined;
|
|
2605
2605
|
}>;
|
|
2606
2606
|
use: Endpoint<better_call.Handler<string, better_call.EndpointOptions, void>, better_call.EndpointOptions>[];
|
|
@@ -2628,12 +2628,12 @@ declare function getEndpoints<C extends AuthContext, Option extends BetterAuthOp
|
|
|
2628
2628
|
}>>;
|
|
2629
2629
|
body: zod.ZodObject<{
|
|
2630
2630
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
2631
|
-
provider: zod.ZodEnum<["github", ...("
|
|
2631
|
+
provider: zod.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter")[]]>;
|
|
2632
2632
|
}, "strip", zod.ZodTypeAny, {
|
|
2633
|
-
provider: "
|
|
2633
|
+
provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter";
|
|
2634
2634
|
callbackURL?: string | undefined;
|
|
2635
2635
|
}, {
|
|
2636
|
-
provider: "
|
|
2636
|
+
provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter";
|
|
2637
2637
|
callbackURL?: string | undefined;
|
|
2638
2638
|
}>;
|
|
2639
2639
|
use: Endpoint<better_call.Handler<string, better_call.EndpointOptions, void>, better_call.EndpointOptions>[];
|
|
@@ -3783,12 +3783,12 @@ declare const router: <C extends AuthContext, Option extends BetterAuthOptions>(
|
|
|
3783
3783
|
}>>;
|
|
3784
3784
|
body: zod.ZodObject<{
|
|
3785
3785
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
3786
|
-
provider: zod.ZodEnum<["github", ...("
|
|
3786
|
+
provider: zod.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter")[]]>;
|
|
3787
3787
|
}, "strip", zod.ZodTypeAny, {
|
|
3788
|
-
provider: "
|
|
3788
|
+
provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter";
|
|
3789
3789
|
callbackURL?: string | undefined;
|
|
3790
3790
|
}, {
|
|
3791
|
-
provider: "
|
|
3791
|
+
provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter";
|
|
3792
3792
|
callbackURL?: string | undefined;
|
|
3793
3793
|
}>;
|
|
3794
3794
|
use: Endpoint<better_call.Handler<string, better_call.EndpointOptions, void>, better_call.EndpointOptions>[];
|
|
@@ -3816,12 +3816,12 @@ declare const router: <C extends AuthContext, Option extends BetterAuthOptions>(
|
|
|
3816
3816
|
}>>;
|
|
3817
3817
|
body: zod.ZodObject<{
|
|
3818
3818
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
3819
|
-
provider: zod.ZodEnum<["github", ...("
|
|
3819
|
+
provider: zod.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter")[]]>;
|
|
3820
3820
|
}, "strip", zod.ZodTypeAny, {
|
|
3821
|
-
provider: "
|
|
3821
|
+
provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter";
|
|
3822
3822
|
callbackURL?: string | undefined;
|
|
3823
3823
|
}, {
|
|
3824
|
-
provider: "
|
|
3824
|
+
provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter";
|
|
3825
3825
|
callbackURL?: string | undefined;
|
|
3826
3826
|
}>;
|
|
3827
3827
|
use: Endpoint<better_call.Handler<string, better_call.EndpointOptions, void>, better_call.EndpointOptions>[];
|
|
@@ -4973,12 +4973,12 @@ declare const betterAuth: <O extends BetterAuthOptions>(options: O) => {
|
|
|
4973
4973
|
}>>;
|
|
4974
4974
|
body: zod.ZodObject<{
|
|
4975
4975
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
4976
|
-
provider: zod.ZodEnum<["github", ...("
|
|
4976
|
+
provider: zod.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter")[]]>;
|
|
4977
4977
|
}, "strip", zod.ZodTypeAny, {
|
|
4978
|
-
provider: "
|
|
4978
|
+
provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter";
|
|
4979
4979
|
callbackURL?: string | undefined;
|
|
4980
4980
|
}, {
|
|
4981
|
-
provider: "
|
|
4981
|
+
provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter";
|
|
4982
4982
|
callbackURL?: string | undefined;
|
|
4983
4983
|
}>;
|
|
4984
4984
|
use: Endpoint<better_call.Handler<string, better_call.EndpointOptions, void>, better_call.EndpointOptions>[];
|
|
@@ -5006,12 +5006,12 @@ declare const betterAuth: <O extends BetterAuthOptions>(options: O) => {
|
|
|
5006
5006
|
}>>;
|
|
5007
5007
|
body: zod.ZodObject<{
|
|
5008
5008
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
5009
|
-
provider: zod.ZodEnum<["github", ...("
|
|
5009
|
+
provider: zod.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter")[]]>;
|
|
5010
5010
|
}, "strip", zod.ZodTypeAny, {
|
|
5011
|
-
provider: "
|
|
5011
|
+
provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter";
|
|
5012
5012
|
callbackURL?: string | undefined;
|
|
5013
5013
|
}, {
|
|
5014
|
-
provider: "
|
|
5014
|
+
provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter";
|
|
5015
5015
|
callbackURL?: string | undefined;
|
|
5016
5016
|
}>;
|
|
5017
5017
|
use: Endpoint<better_call.Handler<string, better_call.EndpointOptions, void>, better_call.EndpointOptions>[];
|
|
@@ -2,10 +2,10 @@ import * as nanostores from 'nanostores';
|
|
|
2
2
|
import { A as AccessControl, S as StatementsPrimitive, R as Role } from '../statement-Da_cxgTI.cjs';
|
|
3
3
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
4
4
|
import { BetterFetchOption } from '@better-fetch/fetch';
|
|
5
|
-
import { o as organization, l as Organization, M as Member, I as Invitation, u as username, m as magicLink, d as phoneNumber, e as anonymous, i as admin, j as genericOAuth, k as multiSession } from '../index-
|
|
6
|
-
export { g as getPasskeyActions, c as passkeyClient, a as twoFactorClient } from '../index-
|
|
5
|
+
import { o as organization, l as Organization, M as Member, I as Invitation, u as username, m as magicLink, d as phoneNumber, e as anonymous, i as admin, j as genericOAuth, k as multiSession } from '../index-R4tR6ojQ.cjs';
|
|
6
|
+
export { g as getPasskeyActions, c as passkeyClient, a as twoFactorClient } from '../index-R4tR6ojQ.cjs';
|
|
7
7
|
import { P as Prettify } from '../helper-DPDj8Nix.cjs';
|
|
8
|
-
import { F as FieldAttribute, B as BetterAuthOptions, b as BetterAuthPlugin } from '../auth-
|
|
8
|
+
import { F as FieldAttribute, B as BetterAuthOptions, b as BetterAuthPlugin } from '../auth-kXZUEU5B.cjs';
|
|
9
9
|
import 'zod';
|
|
10
10
|
import '../schema-Dkt0LqYs.cjs';
|
|
11
11
|
import 'better-call';
|
package/dist/client/plugins.d.ts
CHANGED
|
@@ -2,10 +2,10 @@ import * as nanostores from 'nanostores';
|
|
|
2
2
|
import { A as AccessControl, S as StatementsPrimitive, R as Role } from '../statement-CfnyN34h.js';
|
|
3
3
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
4
4
|
import { BetterFetchOption } from '@better-fetch/fetch';
|
|
5
|
-
import { o as organization, l as Organization, M as Member, I as Invitation, u as username, m as magicLink, d as phoneNumber, e as anonymous, i as admin, j as genericOAuth, k as multiSession } from '../index-
|
|
6
|
-
export { g as getPasskeyActions, c as passkeyClient, a as twoFactorClient } from '../index-
|
|
5
|
+
import { o as organization, l as Organization, M as Member, I as Invitation, u as username, m as magicLink, d as phoneNumber, e as anonymous, i as admin, j as genericOAuth, k as multiSession } from '../index-DOKc35nY.js';
|
|
6
|
+
export { g as getPasskeyActions, c as passkeyClient, a as twoFactorClient } from '../index-DOKc35nY.js';
|
|
7
7
|
import { P as Prettify } from '../helper-DPDj8Nix.js';
|
|
8
|
-
import { F as FieldAttribute, B as BetterAuthOptions, b as BetterAuthPlugin } from '../auth-
|
|
8
|
+
import { F as FieldAttribute, B as BetterAuthOptions, b as BetterAuthPlugin } from '../auth-SMzIERpz.js';
|
|
9
9
|
import 'zod';
|
|
10
10
|
import '../schema-Dkt0LqYs.js';
|
|
11
11
|
import 'better-call';
|
package/dist/client.d.cts
CHANGED
|
@@ -6,7 +6,7 @@ import { BetterFetch, BetterFetchError, BetterFetchOption } from '@better-fetch/
|
|
|
6
6
|
import { U as UnionToIntersection, P as Prettify, S as StripEmptyObjects } from './helper-DPDj8Nix.cjs';
|
|
7
7
|
import { ClientOptions, InferClientAPI, InferActions, InferAdditionalFromClient, InferSessionFromClient, InferUserFromClient, BetterAuthClientPlugin, IsSignal } from './types.cjs';
|
|
8
8
|
export { AtomListener, InferPluginsFromClient } from './types.cjs';
|
|
9
|
-
import './auth-
|
|
9
|
+
import './auth-kXZUEU5B.cjs';
|
|
10
10
|
import 'kysely';
|
|
11
11
|
import './schema-Dkt0LqYs.cjs';
|
|
12
12
|
import 'better-call';
|
package/dist/client.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { BetterFetch, BetterFetchError, BetterFetchOption } from '@better-fetch/
|
|
|
6
6
|
import { U as UnionToIntersection, P as Prettify, S as StripEmptyObjects } from './helper-DPDj8Nix.js';
|
|
7
7
|
import { ClientOptions, InferClientAPI, InferActions, InferAdditionalFromClient, InferSessionFromClient, InferUserFromClient, BetterAuthClientPlugin, IsSignal } from './types.js';
|
|
8
8
|
export { AtomListener, InferPluginsFromClient } from './types.js';
|
|
9
|
-
import './auth-
|
|
9
|
+
import './auth-SMzIERpz.js';
|
|
10
10
|
import 'kysely';
|
|
11
11
|
import './schema-Dkt0LqYs.js';
|
|
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, r as createCookieGetter, u as deleteSessionCookie, q as getCookies, w as parseCookies, v as parseSetCookieHeader, t as setSessionCookie } from './auth-
|
|
2
|
+
export { s as BetterAuthCookies, E as EligibleCookies, r as createCookieGetter, u as deleteSessionCookie, q as getCookies, w as parseCookies, v as parseSetCookieHeader, t as setSessionCookie } from './auth-kXZUEU5B.cjs';
|
|
3
3
|
import 'zod';
|
|
4
4
|
import 'kysely';
|
|
5
5
|
import './schema-Dkt0LqYs.cjs';
|
package/dist/cookies.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import 'better-call';
|
|
2
|
-
export { s as BetterAuthCookies, E as EligibleCookies, r as createCookieGetter, u as deleteSessionCookie, q as getCookies, w as parseCookies, v as parseSetCookieHeader, t as setSessionCookie } from './auth-
|
|
2
|
+
export { s as BetterAuthCookies, E as EligibleCookies, r as createCookieGetter, u as deleteSessionCookie, q as getCookies, w as parseCookies, v as parseSetCookieHeader, t as setSessionCookie } from './auth-SMzIERpz.js';
|
|
3
3
|
import 'zod';
|
|
4
4
|
import 'kysely';
|
|
5
5
|
import './schema-Dkt0LqYs.js';
|
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-kXZUEU5B.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-kXZUEU5B.cjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import 'kysely';
|
|
5
5
|
import './schema-Dkt0LqYs.cjs';
|
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-SMzIERpz.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-SMzIERpz.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import 'kysely';
|
|
5
5
|
import './schema-Dkt0LqYs.js';
|
|
@@ -5,7 +5,7 @@ import { P as Prettify } from './helper-DPDj8Nix.js';
|
|
|
5
5
|
import { A as AccessControl, R as Role, S as StatementsPrimitive, g as defaultRoles } from './statement-CfnyN34h.js';
|
|
6
6
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
7
7
|
import { BetterFetch, BetterFetchOption } from '@better-fetch/fetch';
|
|
8
|
-
import { H as HookEndpointContext, p as AuthContext } from './auth-
|
|
8
|
+
import { H as HookEndpointContext, p as AuthContext } from './auth-SMzIERpz.js';
|
|
9
9
|
import * as nanostores from 'nanostores';
|
|
10
10
|
import { atom } from 'nanostores';
|
|
11
11
|
import * as _simplewebauthn_types from '@simplewebauthn/types';
|
|
@@ -5,7 +5,7 @@ import { P as Prettify } from './helper-DPDj8Nix.cjs';
|
|
|
5
5
|
import { A as AccessControl, R as Role, S as StatementsPrimitive, g as defaultRoles } from './statement-Da_cxgTI.cjs';
|
|
6
6
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
7
7
|
import { BetterFetch, BetterFetchOption } from '@better-fetch/fetch';
|
|
8
|
-
import { H as HookEndpointContext, p as AuthContext } from './auth-
|
|
8
|
+
import { H as HookEndpointContext, p as AuthContext } from './auth-kXZUEU5B.cjs';
|
|
9
9
|
import * as nanostores from 'nanostores';
|
|
10
10
|
import { atom } from 'nanostores';
|
|
11
11
|
import * as _simplewebauthn_types from '@simplewebauthn/types';
|