better-auth 1.5.4 → 1.5.6
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/index.d.mts +25 -1
- package/dist/adapters/index.mjs +9 -1
- package/dist/adapters/index.mjs.map +1 -0
- package/dist/api/index.d.mts +36 -10
- package/dist/api/index.mjs +19 -4
- package/dist/api/index.mjs.map +1 -1
- package/dist/api/middlewares/origin-check.mjs +17 -8
- package/dist/api/middlewares/origin-check.mjs.map +1 -1
- package/dist/api/routes/account.d.mts +1 -1
- package/dist/api/routes/email-verification.d.mts +0 -1
- package/dist/api/routes/password.d.mts +1 -0
- package/dist/api/routes/password.mjs +2 -1
- package/dist/api/routes/password.mjs.map +1 -1
- package/dist/api/routes/session.d.mts +0 -1
- package/dist/api/routes/sign-in.d.mts +16 -2
- package/dist/api/routes/sign-in.mjs +10 -2
- package/dist/api/routes/sign-in.mjs.map +1 -1
- package/dist/api/routes/sign-up.d.mts +0 -1
- package/dist/api/routes/sign-up.mjs +3 -2
- package/dist/api/routes/sign-up.mjs.map +1 -1
- package/dist/api/routes/update-session.d.mts +0 -1
- package/dist/api/routes/update-user.d.mts +0 -1
- package/dist/api/to-auth-endpoints.mjs +49 -12
- package/dist/api/to-auth-endpoints.mjs.map +1 -1
- package/dist/auth/full.d.mts +0 -1
- package/dist/auth/minimal.d.mts +0 -1
- package/dist/client/index.d.mts +3 -4
- package/dist/client/index.mjs.map +1 -1
- package/dist/client/path-to-object.d.mts +9 -2
- package/dist/client/query.mjs +3 -2
- package/dist/client/query.mjs.map +1 -1
- package/dist/client/session-refresh.d.mts +11 -3
- package/dist/client/session-refresh.mjs +13 -8
- package/dist/client/session-refresh.mjs.map +1 -1
- package/dist/client/types.d.mts +0 -1
- package/dist/context/create-context.mjs +4 -1
- package/dist/context/create-context.mjs.map +1 -1
- package/dist/context/helpers.mjs +10 -4
- package/dist/context/helpers.mjs.map +1 -1
- package/dist/cookies/index.d.mts +0 -1
- package/dist/cookies/session-store.d.mts +0 -2
- package/dist/db/get-migration.mjs +3 -2
- package/dist/db/get-migration.mjs.map +1 -1
- package/dist/db/index.d.mts +2 -2
- package/dist/db/internal-adapter.d.mts +2 -1
- package/dist/db/internal-adapter.mjs +1 -1
- package/dist/db/internal-adapter.mjs.map +1 -1
- package/dist/db/schema.d.mts +0 -1
- package/dist/db/with-hooks.d.mts +6 -2
- package/dist/db/with-hooks.mjs +72 -31
- package/dist/db/with-hooks.mjs.map +1 -1
- package/dist/index.d.mts +0 -2
- package/dist/integrations/node.d.mts +0 -1
- package/dist/oauth2/link-account.d.mts +0 -1
- package/dist/plugins/admin/access/statement.d.mts +0 -2
- package/dist/plugins/admin/admin.d.mts +0 -1
- package/dist/plugins/admin/client.d.mts +0 -2
- package/dist/plugins/admin/types.d.mts +0 -2
- package/dist/plugins/anonymous/types.d.mts +0 -1
- package/dist/plugins/email-otp/index.mjs +2 -1
- package/dist/plugins/email-otp/index.mjs.map +1 -1
- package/dist/plugins/email-otp/otp-token.mjs +31 -2
- package/dist/plugins/email-otp/otp-token.mjs.map +1 -1
- package/dist/plugins/email-otp/routes.mjs +60 -59
- package/dist/plugins/email-otp/routes.mjs.map +1 -1
- package/dist/plugins/email-otp/types.d.mts +12 -0
- package/dist/plugins/email-otp/utils.mjs +4 -1
- package/dist/plugins/email-otp/utils.mjs.map +1 -1
- package/dist/plugins/generic-oauth/client.d.mts +0 -1
- package/dist/plugins/generic-oauth/index.d.mts +0 -1
- package/dist/plugins/index.d.mts +0 -3
- package/dist/plugins/jwt/types.d.mts +0 -1
- package/dist/plugins/magic-link/index.d.mts +2 -0
- package/dist/plugins/magic-link/index.mjs +5 -3
- package/dist/plugins/magic-link/index.mjs.map +1 -1
- package/dist/plugins/mcp/index.d.mts +0 -1
- package/dist/plugins/oidc-provider/authorize.mjs +13 -4
- package/dist/plugins/oidc-provider/authorize.mjs.map +1 -1
- package/dist/plugins/oidc-provider/error.mjs +12 -2
- package/dist/plugins/oidc-provider/error.mjs.map +1 -1
- package/dist/plugins/oidc-provider/index.d.mts +0 -1
- package/dist/plugins/oidc-provider/types.d.mts +0 -1
- package/dist/plugins/one-time-token/index.d.mts +0 -1
- package/dist/plugins/organization/access/statement.d.mts +0 -2
- package/dist/plugins/organization/adapter.d.mts +0 -2
- package/dist/plugins/organization/adapter.mjs +2 -2
- package/dist/plugins/organization/adapter.mjs.map +1 -1
- package/dist/plugins/organization/client.d.mts +0 -5
- package/dist/plugins/organization/organization.d.mts +0 -2
- package/dist/plugins/organization/permission.d.mts +0 -1
- package/dist/plugins/organization/routes/crud-access-control.d.mts +0 -2
- package/dist/plugins/organization/routes/crud-invites.d.mts +0 -3
- package/dist/plugins/organization/routes/crud-invites.mjs +1 -1
- package/dist/plugins/organization/routes/crud-invites.mjs.map +1 -1
- package/dist/plugins/organization/routes/crud-members.d.mts +0 -3
- package/dist/plugins/organization/routes/crud-members.mjs +1 -1
- package/dist/plugins/organization/routes/crud-members.mjs.map +1 -1
- package/dist/plugins/organization/routes/crud-org.d.mts +0 -3
- package/dist/plugins/organization/routes/crud-team.d.mts +2 -3
- package/dist/plugins/organization/routes/crud-team.mjs +18 -14
- package/dist/plugins/organization/routes/crud-team.mjs.map +1 -1
- package/dist/plugins/organization/schema.d.mts +0 -1
- package/dist/plugins/organization/types.d.mts +0 -2
- package/dist/plugins/phone-number/types.d.mts +0 -1
- package/dist/plugins/siwe/index.d.mts +0 -1
- package/dist/plugins/test-utils/types.d.mts +0 -2
- package/dist/plugins/two-factor/client.d.mts +7 -0
- package/dist/plugins/two-factor/client.mjs +5 -1
- package/dist/plugins/two-factor/client.mjs.map +1 -1
- package/dist/plugins/two-factor/index.mjs +7 -1
- package/dist/plugins/two-factor/index.mjs.map +1 -1
- package/dist/plugins/two-factor/otp/index.d.mts +2 -2
- package/dist/plugins/two-factor/otp/index.mjs.map +1 -1
- package/dist/plugins/two-factor/types.d.mts +7 -1
- package/dist/test-utils/test-instance.d.mts +108 -21
- package/dist/types/index.d.mts +0 -1
- package/package.json +13 -10
|
@@ -4,10 +4,7 @@ import { InferErrorCodes, IsSignal, SessionQueryParams } from "../client/types.m
|
|
|
4
4
|
import { FilteredAPI, InferAPI } from "../types/api.mjs";
|
|
5
5
|
import { Session, User } from "../types/models.mjs";
|
|
6
6
|
import { Auth } from "../types/auth.mjs";
|
|
7
|
-
import "../types/index.mjs";
|
|
8
|
-
import "../index.mjs";
|
|
9
7
|
import { setCookieToHeader } from "../cookies/cookie-utils.mjs";
|
|
10
|
-
import "../cookies/index.mjs";
|
|
11
8
|
import * as _better_auth_core0 from "@better-auth/core";
|
|
12
9
|
import { Awaitable, BetterAuthClientOptions, BetterAuthOptions } from "@better-auth/core";
|
|
13
10
|
import * as _better_auth_core_oauth20 from "@better-auth/core/oauth2";
|
|
@@ -159,7 +156,7 @@ declare function getTestInstance<O extends Partial<BetterAuthOptions>, C extends
|
|
|
159
156
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
160
157
|
newUserCallbackURL: zod.ZodOptional<zod.ZodString>;
|
|
161
158
|
errorCallbackURL: zod.ZodOptional<zod.ZodString>;
|
|
162
|
-
provider: zod.ZodType<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel", unknown, zod_v4_core0.$ZodTypeInternals<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel", unknown>>;
|
|
159
|
+
provider: zod.ZodType<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat", unknown, zod_v4_core0.$ZodTypeInternals<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat", unknown>>;
|
|
163
160
|
disableRedirect: zod.ZodOptional<zod.ZodBoolean>;
|
|
164
161
|
idToken: zod.ZodOptional<zod.ZodObject<{
|
|
165
162
|
token: zod.ZodString;
|
|
@@ -167,6 +164,13 @@ declare function getTestInstance<O extends Partial<BetterAuthOptions>, C extends
|
|
|
167
164
|
accessToken: zod.ZodOptional<zod.ZodString>;
|
|
168
165
|
refreshToken: zod.ZodOptional<zod.ZodString>;
|
|
169
166
|
expiresAt: zod.ZodOptional<zod.ZodNumber>;
|
|
167
|
+
user: zod.ZodOptional<zod.ZodObject<{
|
|
168
|
+
name: zod.ZodOptional<zod.ZodObject<{
|
|
169
|
+
firstName: zod.ZodOptional<zod.ZodString>;
|
|
170
|
+
lastName: zod.ZodOptional<zod.ZodString>;
|
|
171
|
+
}, zod_v4_core0.$strip>>;
|
|
172
|
+
email: zod.ZodOptional<zod.ZodString>;
|
|
173
|
+
}, zod_v4_core0.$strip>>;
|
|
170
174
|
}, zod_v4_core0.$strip>>;
|
|
171
175
|
scopes: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
172
176
|
requestSignUp: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -179,7 +183,7 @@ declare function getTestInstance<O extends Partial<BetterAuthOptions>, C extends
|
|
|
179
183
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
180
184
|
newUserCallbackURL: zod.ZodOptional<zod.ZodString>;
|
|
181
185
|
errorCallbackURL: zod.ZodOptional<zod.ZodString>;
|
|
182
|
-
provider: zod.ZodType<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel", unknown, zod_v4_core0.$ZodTypeInternals<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel", unknown>>;
|
|
186
|
+
provider: zod.ZodType<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat", unknown, zod_v4_core0.$ZodTypeInternals<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat", unknown>>;
|
|
183
187
|
disableRedirect: zod.ZodOptional<zod.ZodBoolean>;
|
|
184
188
|
idToken: zod.ZodOptional<zod.ZodObject<{
|
|
185
189
|
token: zod.ZodString;
|
|
@@ -187,6 +191,13 @@ declare function getTestInstance<O extends Partial<BetterAuthOptions>, C extends
|
|
|
187
191
|
accessToken: zod.ZodOptional<zod.ZodString>;
|
|
188
192
|
refreshToken: zod.ZodOptional<zod.ZodString>;
|
|
189
193
|
expiresAt: zod.ZodOptional<zod.ZodNumber>;
|
|
194
|
+
user: zod.ZodOptional<zod.ZodObject<{
|
|
195
|
+
name: zod.ZodOptional<zod.ZodObject<{
|
|
196
|
+
firstName: zod.ZodOptional<zod.ZodString>;
|
|
197
|
+
lastName: zod.ZodOptional<zod.ZodString>;
|
|
198
|
+
}, zod_v4_core0.$strip>>;
|
|
199
|
+
email: zod.ZodOptional<zod.ZodString>;
|
|
200
|
+
}, zod_v4_core0.$strip>>;
|
|
190
201
|
}, zod_v4_core0.$strip>>;
|
|
191
202
|
scopes: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
192
203
|
requestSignUp: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -1330,6 +1341,7 @@ declare function getTestInstance<O extends Partial<BetterAuthOptions>, C extends
|
|
|
1330
1341
|
};
|
|
1331
1342
|
};
|
|
1332
1343
|
};
|
|
1344
|
+
use: ((inputContext: better_call0.MiddlewareInputContext<better_call0.MiddlewareOptions>) => Promise<void>)[];
|
|
1333
1345
|
}, {
|
|
1334
1346
|
status: boolean;
|
|
1335
1347
|
message: string;
|
|
@@ -1623,7 +1635,7 @@ declare function getTestInstance<O extends Partial<BetterAuthOptions>, C extends
|
|
|
1623
1635
|
requireHeaders: true;
|
|
1624
1636
|
body: zod.ZodObject<{
|
|
1625
1637
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
1626
|
-
provider: zod.ZodType<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel", unknown, zod_v4_core0.$ZodTypeInternals<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel", unknown>>;
|
|
1638
|
+
provider: zod.ZodType<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat", unknown, zod_v4_core0.$ZodTypeInternals<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat", unknown>>;
|
|
1627
1639
|
idToken: zod.ZodOptional<zod.ZodObject<{
|
|
1628
1640
|
token: zod.ZodString;
|
|
1629
1641
|
nonce: zod.ZodOptional<zod.ZodString>;
|
|
@@ -2129,7 +2141,7 @@ declare function getTestInstance<O extends Partial<BetterAuthOptions>, C extends
|
|
|
2129
2141
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
2130
2142
|
newUserCallbackURL: zod.ZodOptional<zod.ZodString>;
|
|
2131
2143
|
errorCallbackURL: zod.ZodOptional<zod.ZodString>;
|
|
2132
|
-
provider: zod.ZodType<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel", unknown, zod_v4_core0.$ZodTypeInternals<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel", unknown>>;
|
|
2144
|
+
provider: zod.ZodType<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat", unknown, zod_v4_core0.$ZodTypeInternals<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat", unknown>>;
|
|
2133
2145
|
disableRedirect: zod.ZodOptional<zod.ZodBoolean>;
|
|
2134
2146
|
idToken: zod.ZodOptional<zod.ZodObject<{
|
|
2135
2147
|
token: zod.ZodString;
|
|
@@ -2137,6 +2149,13 @@ declare function getTestInstance<O extends Partial<BetterAuthOptions>, C extends
|
|
|
2137
2149
|
accessToken: zod.ZodOptional<zod.ZodString>;
|
|
2138
2150
|
refreshToken: zod.ZodOptional<zod.ZodString>;
|
|
2139
2151
|
expiresAt: zod.ZodOptional<zod.ZodNumber>;
|
|
2152
|
+
user: zod.ZodOptional<zod.ZodObject<{
|
|
2153
|
+
name: zod.ZodOptional<zod.ZodObject<{
|
|
2154
|
+
firstName: zod.ZodOptional<zod.ZodString>;
|
|
2155
|
+
lastName: zod.ZodOptional<zod.ZodString>;
|
|
2156
|
+
}, zod_v4_core0.$strip>>;
|
|
2157
|
+
email: zod.ZodOptional<zod.ZodString>;
|
|
2158
|
+
}, zod_v4_core0.$strip>>;
|
|
2140
2159
|
}, zod_v4_core0.$strip>>;
|
|
2141
2160
|
scopes: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
2142
2161
|
requestSignUp: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -2149,7 +2168,7 @@ declare function getTestInstance<O extends Partial<BetterAuthOptions>, C extends
|
|
|
2149
2168
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
2150
2169
|
newUserCallbackURL: zod.ZodOptional<zod.ZodString>;
|
|
2151
2170
|
errorCallbackURL: zod.ZodOptional<zod.ZodString>;
|
|
2152
|
-
provider: zod.ZodType<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel", unknown, zod_v4_core0.$ZodTypeInternals<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel", unknown>>;
|
|
2171
|
+
provider: zod.ZodType<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat", unknown, zod_v4_core0.$ZodTypeInternals<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat", unknown>>;
|
|
2153
2172
|
disableRedirect: zod.ZodOptional<zod.ZodBoolean>;
|
|
2154
2173
|
idToken: zod.ZodOptional<zod.ZodObject<{
|
|
2155
2174
|
token: zod.ZodString;
|
|
@@ -2157,6 +2176,13 @@ declare function getTestInstance<O extends Partial<BetterAuthOptions>, C extends
|
|
|
2157
2176
|
accessToken: zod.ZodOptional<zod.ZodString>;
|
|
2158
2177
|
refreshToken: zod.ZodOptional<zod.ZodString>;
|
|
2159
2178
|
expiresAt: zod.ZodOptional<zod.ZodNumber>;
|
|
2179
|
+
user: zod.ZodOptional<zod.ZodObject<{
|
|
2180
|
+
name: zod.ZodOptional<zod.ZodObject<{
|
|
2181
|
+
firstName: zod.ZodOptional<zod.ZodString>;
|
|
2182
|
+
lastName: zod.ZodOptional<zod.ZodString>;
|
|
2183
|
+
}, zod_v4_core0.$strip>>;
|
|
2184
|
+
email: zod.ZodOptional<zod.ZodString>;
|
|
2185
|
+
}, zod_v4_core0.$strip>>;
|
|
2160
2186
|
}, zod_v4_core0.$strip>>;
|
|
2161
2187
|
scopes: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
2162
2188
|
requestSignUp: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -3300,6 +3326,7 @@ declare function getTestInstance<O extends Partial<BetterAuthOptions>, C extends
|
|
|
3300
3326
|
};
|
|
3301
3327
|
};
|
|
3302
3328
|
};
|
|
3329
|
+
use: ((inputContext: better_call0.MiddlewareInputContext<better_call0.MiddlewareOptions>) => Promise<void>)[];
|
|
3303
3330
|
}, {
|
|
3304
3331
|
status: boolean;
|
|
3305
3332
|
message: string;
|
|
@@ -3593,7 +3620,7 @@ declare function getTestInstance<O extends Partial<BetterAuthOptions>, C extends
|
|
|
3593
3620
|
requireHeaders: true;
|
|
3594
3621
|
body: zod.ZodObject<{
|
|
3595
3622
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
3596
|
-
provider: zod.ZodType<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel", unknown, zod_v4_core0.$ZodTypeInternals<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel", unknown>>;
|
|
3623
|
+
provider: zod.ZodType<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat", unknown, zod_v4_core0.$ZodTypeInternals<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat", unknown>>;
|
|
3597
3624
|
idToken: zod.ZodOptional<zod.ZodObject<{
|
|
3598
3625
|
token: zod.ZodString;
|
|
3599
3626
|
nonce: zod.ZodOptional<zod.ZodString>;
|
|
@@ -4174,7 +4201,7 @@ declare function getTestInstance<O extends Partial<BetterAuthOptions>, C extends
|
|
|
4174
4201
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
4175
4202
|
newUserCallbackURL: zod.ZodOptional<zod.ZodString>;
|
|
4176
4203
|
errorCallbackURL: zod.ZodOptional<zod.ZodString>;
|
|
4177
|
-
provider: zod.ZodType<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel", unknown, zod_v4_core0.$ZodTypeInternals<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel", unknown>>;
|
|
4204
|
+
provider: zod.ZodType<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat", unknown, zod_v4_core0.$ZodTypeInternals<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat", unknown>>;
|
|
4178
4205
|
disableRedirect: zod.ZodOptional<zod.ZodBoolean>;
|
|
4179
4206
|
idToken: zod.ZodOptional<zod.ZodObject<{
|
|
4180
4207
|
token: zod.ZodString;
|
|
@@ -4182,6 +4209,13 @@ declare function getTestInstance<O extends Partial<BetterAuthOptions>, C extends
|
|
|
4182
4209
|
accessToken: zod.ZodOptional<zod.ZodString>;
|
|
4183
4210
|
refreshToken: zod.ZodOptional<zod.ZodString>;
|
|
4184
4211
|
expiresAt: zod.ZodOptional<zod.ZodNumber>;
|
|
4212
|
+
user: zod.ZodOptional<zod.ZodObject<{
|
|
4213
|
+
name: zod.ZodOptional<zod.ZodObject<{
|
|
4214
|
+
firstName: zod.ZodOptional<zod.ZodString>;
|
|
4215
|
+
lastName: zod.ZodOptional<zod.ZodString>;
|
|
4216
|
+
}, zod_v4_core0.$strip>>;
|
|
4217
|
+
email: zod.ZodOptional<zod.ZodString>;
|
|
4218
|
+
}, zod_v4_core0.$strip>>;
|
|
4185
4219
|
}, zod_v4_core0.$strip>>;
|
|
4186
4220
|
scopes: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
4187
4221
|
requestSignUp: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -4194,7 +4228,7 @@ declare function getTestInstance<O extends Partial<BetterAuthOptions>, C extends
|
|
|
4194
4228
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
4195
4229
|
newUserCallbackURL: zod.ZodOptional<zod.ZodString>;
|
|
4196
4230
|
errorCallbackURL: zod.ZodOptional<zod.ZodString>;
|
|
4197
|
-
provider: zod.ZodType<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel", unknown, zod_v4_core0.$ZodTypeInternals<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel", unknown>>;
|
|
4231
|
+
provider: zod.ZodType<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat", unknown, zod_v4_core0.$ZodTypeInternals<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat", unknown>>;
|
|
4198
4232
|
disableRedirect: zod.ZodOptional<zod.ZodBoolean>;
|
|
4199
4233
|
idToken: zod.ZodOptional<zod.ZodObject<{
|
|
4200
4234
|
token: zod.ZodString;
|
|
@@ -4202,6 +4236,13 @@ declare function getTestInstance<O extends Partial<BetterAuthOptions>, C extends
|
|
|
4202
4236
|
accessToken: zod.ZodOptional<zod.ZodString>;
|
|
4203
4237
|
refreshToken: zod.ZodOptional<zod.ZodString>;
|
|
4204
4238
|
expiresAt: zod.ZodOptional<zod.ZodNumber>;
|
|
4239
|
+
user: zod.ZodOptional<zod.ZodObject<{
|
|
4240
|
+
name: zod.ZodOptional<zod.ZodObject<{
|
|
4241
|
+
firstName: zod.ZodOptional<zod.ZodString>;
|
|
4242
|
+
lastName: zod.ZodOptional<zod.ZodString>;
|
|
4243
|
+
}, zod_v4_core0.$strip>>;
|
|
4244
|
+
email: zod.ZodOptional<zod.ZodString>;
|
|
4245
|
+
}, zod_v4_core0.$strip>>;
|
|
4205
4246
|
}, zod_v4_core0.$strip>>;
|
|
4206
4247
|
scopes: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
4207
4248
|
requestSignUp: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -5345,6 +5386,7 @@ declare function getTestInstance<O extends Partial<BetterAuthOptions>, C extends
|
|
|
5345
5386
|
};
|
|
5346
5387
|
};
|
|
5347
5388
|
};
|
|
5389
|
+
use: ((inputContext: better_call0.MiddlewareInputContext<better_call0.MiddlewareOptions>) => Promise<void>)[];
|
|
5348
5390
|
}, {
|
|
5349
5391
|
status: boolean;
|
|
5350
5392
|
message: string;
|
|
@@ -5638,7 +5680,7 @@ declare function getTestInstance<O extends Partial<BetterAuthOptions>, C extends
|
|
|
5638
5680
|
requireHeaders: true;
|
|
5639
5681
|
body: zod.ZodObject<{
|
|
5640
5682
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
5641
|
-
provider: zod.ZodType<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel", unknown, zod_v4_core0.$ZodTypeInternals<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel", unknown>>;
|
|
5683
|
+
provider: zod.ZodType<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat", unknown, zod_v4_core0.$ZodTypeInternals<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat", unknown>>;
|
|
5642
5684
|
idToken: zod.ZodOptional<zod.ZodObject<{
|
|
5643
5685
|
token: zod.ZodString;
|
|
5644
5686
|
nonce: zod.ZodOptional<zod.ZodString>;
|
|
@@ -6144,7 +6186,7 @@ declare function getTestInstance<O extends Partial<BetterAuthOptions>, C extends
|
|
|
6144
6186
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
6145
6187
|
newUserCallbackURL: zod.ZodOptional<zod.ZodString>;
|
|
6146
6188
|
errorCallbackURL: zod.ZodOptional<zod.ZodString>;
|
|
6147
|
-
provider: zod.ZodType<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel", unknown, zod_v4_core0.$ZodTypeInternals<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel", unknown>>;
|
|
6189
|
+
provider: zod.ZodType<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat", unknown, zod_v4_core0.$ZodTypeInternals<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat", unknown>>;
|
|
6148
6190
|
disableRedirect: zod.ZodOptional<zod.ZodBoolean>;
|
|
6149
6191
|
idToken: zod.ZodOptional<zod.ZodObject<{
|
|
6150
6192
|
token: zod.ZodString;
|
|
@@ -6152,6 +6194,13 @@ declare function getTestInstance<O extends Partial<BetterAuthOptions>, C extends
|
|
|
6152
6194
|
accessToken: zod.ZodOptional<zod.ZodString>;
|
|
6153
6195
|
refreshToken: zod.ZodOptional<zod.ZodString>;
|
|
6154
6196
|
expiresAt: zod.ZodOptional<zod.ZodNumber>;
|
|
6197
|
+
user: zod.ZodOptional<zod.ZodObject<{
|
|
6198
|
+
name: zod.ZodOptional<zod.ZodObject<{
|
|
6199
|
+
firstName: zod.ZodOptional<zod.ZodString>;
|
|
6200
|
+
lastName: zod.ZodOptional<zod.ZodString>;
|
|
6201
|
+
}, zod_v4_core0.$strip>>;
|
|
6202
|
+
email: zod.ZodOptional<zod.ZodString>;
|
|
6203
|
+
}, zod_v4_core0.$strip>>;
|
|
6155
6204
|
}, zod_v4_core0.$strip>>;
|
|
6156
6205
|
scopes: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
6157
6206
|
requestSignUp: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -6164,7 +6213,7 @@ declare function getTestInstance<O extends Partial<BetterAuthOptions>, C extends
|
|
|
6164
6213
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
6165
6214
|
newUserCallbackURL: zod.ZodOptional<zod.ZodString>;
|
|
6166
6215
|
errorCallbackURL: zod.ZodOptional<zod.ZodString>;
|
|
6167
|
-
provider: zod.ZodType<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel", unknown, zod_v4_core0.$ZodTypeInternals<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel", unknown>>;
|
|
6216
|
+
provider: zod.ZodType<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat", unknown, zod_v4_core0.$ZodTypeInternals<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat", unknown>>;
|
|
6168
6217
|
disableRedirect: zod.ZodOptional<zod.ZodBoolean>;
|
|
6169
6218
|
idToken: zod.ZodOptional<zod.ZodObject<{
|
|
6170
6219
|
token: zod.ZodString;
|
|
@@ -6172,6 +6221,13 @@ declare function getTestInstance<O extends Partial<BetterAuthOptions>, C extends
|
|
|
6172
6221
|
accessToken: zod.ZodOptional<zod.ZodString>;
|
|
6173
6222
|
refreshToken: zod.ZodOptional<zod.ZodString>;
|
|
6174
6223
|
expiresAt: zod.ZodOptional<zod.ZodNumber>;
|
|
6224
|
+
user: zod.ZodOptional<zod.ZodObject<{
|
|
6225
|
+
name: zod.ZodOptional<zod.ZodObject<{
|
|
6226
|
+
firstName: zod.ZodOptional<zod.ZodString>;
|
|
6227
|
+
lastName: zod.ZodOptional<zod.ZodString>;
|
|
6228
|
+
}, zod_v4_core0.$strip>>;
|
|
6229
|
+
email: zod.ZodOptional<zod.ZodString>;
|
|
6230
|
+
}, zod_v4_core0.$strip>>;
|
|
6175
6231
|
}, zod_v4_core0.$strip>>;
|
|
6176
6232
|
scopes: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
6177
6233
|
requestSignUp: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -7315,6 +7371,7 @@ declare function getTestInstance<O extends Partial<BetterAuthOptions>, C extends
|
|
|
7315
7371
|
};
|
|
7316
7372
|
};
|
|
7317
7373
|
};
|
|
7374
|
+
use: ((inputContext: better_call0.MiddlewareInputContext<better_call0.MiddlewareOptions>) => Promise<void>)[];
|
|
7318
7375
|
}, {
|
|
7319
7376
|
status: boolean;
|
|
7320
7377
|
message: string;
|
|
@@ -7608,7 +7665,7 @@ declare function getTestInstance<O extends Partial<BetterAuthOptions>, C extends
|
|
|
7608
7665
|
requireHeaders: true;
|
|
7609
7666
|
body: zod.ZodObject<{
|
|
7610
7667
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
7611
|
-
provider: zod.ZodType<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel", unknown, zod_v4_core0.$ZodTypeInternals<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel", unknown>>;
|
|
7668
|
+
provider: zod.ZodType<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat", unknown, zod_v4_core0.$ZodTypeInternals<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat", unknown>>;
|
|
7612
7669
|
idToken: zod.ZodOptional<zod.ZodObject<{
|
|
7613
7670
|
token: zod.ZodString;
|
|
7614
7671
|
nonce: zod.ZodOptional<zod.ZodString>;
|
|
@@ -8260,7 +8317,7 @@ declare function getTestInstance<O extends Partial<BetterAuthOptions>, C extends
|
|
|
8260
8317
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
8261
8318
|
newUserCallbackURL: zod.ZodOptional<zod.ZodString>;
|
|
8262
8319
|
errorCallbackURL: zod.ZodOptional<zod.ZodString>;
|
|
8263
|
-
provider: zod.ZodType<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel", unknown, zod_v4_core0.$ZodTypeInternals<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel", unknown>>;
|
|
8320
|
+
provider: zod.ZodType<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat", unknown, zod_v4_core0.$ZodTypeInternals<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat", unknown>>;
|
|
8264
8321
|
disableRedirect: zod.ZodOptional<zod.ZodBoolean>;
|
|
8265
8322
|
idToken: zod.ZodOptional<zod.ZodObject<{
|
|
8266
8323
|
token: zod.ZodString;
|
|
@@ -8268,6 +8325,13 @@ declare function getTestInstance<O extends Partial<BetterAuthOptions>, C extends
|
|
|
8268
8325
|
accessToken: zod.ZodOptional<zod.ZodString>;
|
|
8269
8326
|
refreshToken: zod.ZodOptional<zod.ZodString>;
|
|
8270
8327
|
expiresAt: zod.ZodOptional<zod.ZodNumber>;
|
|
8328
|
+
user: zod.ZodOptional<zod.ZodObject<{
|
|
8329
|
+
name: zod.ZodOptional<zod.ZodObject<{
|
|
8330
|
+
firstName: zod.ZodOptional<zod.ZodString>;
|
|
8331
|
+
lastName: zod.ZodOptional<zod.ZodString>;
|
|
8332
|
+
}, zod_v4_core0.$strip>>;
|
|
8333
|
+
email: zod.ZodOptional<zod.ZodString>;
|
|
8334
|
+
}, zod_v4_core0.$strip>>;
|
|
8271
8335
|
}, zod_v4_core0.$strip>>;
|
|
8272
8336
|
scopes: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
8273
8337
|
requestSignUp: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -8280,7 +8344,7 @@ declare function getTestInstance<O extends Partial<BetterAuthOptions>, C extends
|
|
|
8280
8344
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
8281
8345
|
newUserCallbackURL: zod.ZodOptional<zod.ZodString>;
|
|
8282
8346
|
errorCallbackURL: zod.ZodOptional<zod.ZodString>;
|
|
8283
|
-
provider: zod.ZodType<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel", unknown, zod_v4_core0.$ZodTypeInternals<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel", unknown>>;
|
|
8347
|
+
provider: zod.ZodType<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat", unknown, zod_v4_core0.$ZodTypeInternals<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat", unknown>>;
|
|
8284
8348
|
disableRedirect: zod.ZodOptional<zod.ZodBoolean>;
|
|
8285
8349
|
idToken: zod.ZodOptional<zod.ZodObject<{
|
|
8286
8350
|
token: zod.ZodString;
|
|
@@ -8288,6 +8352,13 @@ declare function getTestInstance<O extends Partial<BetterAuthOptions>, C extends
|
|
|
8288
8352
|
accessToken: zod.ZodOptional<zod.ZodString>;
|
|
8289
8353
|
refreshToken: zod.ZodOptional<zod.ZodString>;
|
|
8290
8354
|
expiresAt: zod.ZodOptional<zod.ZodNumber>;
|
|
8355
|
+
user: zod.ZodOptional<zod.ZodObject<{
|
|
8356
|
+
name: zod.ZodOptional<zod.ZodObject<{
|
|
8357
|
+
firstName: zod.ZodOptional<zod.ZodString>;
|
|
8358
|
+
lastName: zod.ZodOptional<zod.ZodString>;
|
|
8359
|
+
}, zod_v4_core0.$strip>>;
|
|
8360
|
+
email: zod.ZodOptional<zod.ZodString>;
|
|
8361
|
+
}, zod_v4_core0.$strip>>;
|
|
8291
8362
|
}, zod_v4_core0.$strip>>;
|
|
8292
8363
|
scopes: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
8293
8364
|
requestSignUp: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -9431,6 +9502,7 @@ declare function getTestInstance<O extends Partial<BetterAuthOptions>, C extends
|
|
|
9431
9502
|
};
|
|
9432
9503
|
};
|
|
9433
9504
|
};
|
|
9505
|
+
use: ((inputContext: better_call0.MiddlewareInputContext<better_call0.MiddlewareOptions>) => Promise<void>)[];
|
|
9434
9506
|
}, {
|
|
9435
9507
|
status: boolean;
|
|
9436
9508
|
message: string;
|
|
@@ -9724,7 +9796,7 @@ declare function getTestInstance<O extends Partial<BetterAuthOptions>, C extends
|
|
|
9724
9796
|
requireHeaders: true;
|
|
9725
9797
|
body: zod.ZodObject<{
|
|
9726
9798
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
9727
|
-
provider: zod.ZodType<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel", unknown, zod_v4_core0.$ZodTypeInternals<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel", unknown>>;
|
|
9799
|
+
provider: zod.ZodType<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat", unknown, zod_v4_core0.$ZodTypeInternals<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat", unknown>>;
|
|
9728
9800
|
idToken: zod.ZodOptional<zod.ZodObject<{
|
|
9729
9801
|
token: zod.ZodString;
|
|
9730
9802
|
nonce: zod.ZodOptional<zod.ZodString>;
|
|
@@ -10230,7 +10302,7 @@ declare function getTestInstance<O extends Partial<BetterAuthOptions>, C extends
|
|
|
10230
10302
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
10231
10303
|
newUserCallbackURL: zod.ZodOptional<zod.ZodString>;
|
|
10232
10304
|
errorCallbackURL: zod.ZodOptional<zod.ZodString>;
|
|
10233
|
-
provider: zod.ZodType<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel", unknown, zod_v4_core0.$ZodTypeInternals<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel", unknown>>;
|
|
10305
|
+
provider: zod.ZodType<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat", unknown, zod_v4_core0.$ZodTypeInternals<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat", unknown>>;
|
|
10234
10306
|
disableRedirect: zod.ZodOptional<zod.ZodBoolean>;
|
|
10235
10307
|
idToken: zod.ZodOptional<zod.ZodObject<{
|
|
10236
10308
|
token: zod.ZodString;
|
|
@@ -10238,6 +10310,13 @@ declare function getTestInstance<O extends Partial<BetterAuthOptions>, C extends
|
|
|
10238
10310
|
accessToken: zod.ZodOptional<zod.ZodString>;
|
|
10239
10311
|
refreshToken: zod.ZodOptional<zod.ZodString>;
|
|
10240
10312
|
expiresAt: zod.ZodOptional<zod.ZodNumber>;
|
|
10313
|
+
user: zod.ZodOptional<zod.ZodObject<{
|
|
10314
|
+
name: zod.ZodOptional<zod.ZodObject<{
|
|
10315
|
+
firstName: zod.ZodOptional<zod.ZodString>;
|
|
10316
|
+
lastName: zod.ZodOptional<zod.ZodString>;
|
|
10317
|
+
}, zod_v4_core0.$strip>>;
|
|
10318
|
+
email: zod.ZodOptional<zod.ZodString>;
|
|
10319
|
+
}, zod_v4_core0.$strip>>;
|
|
10241
10320
|
}, zod_v4_core0.$strip>>;
|
|
10242
10321
|
scopes: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
10243
10322
|
requestSignUp: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -10250,7 +10329,7 @@ declare function getTestInstance<O extends Partial<BetterAuthOptions>, C extends
|
|
|
10250
10329
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
10251
10330
|
newUserCallbackURL: zod.ZodOptional<zod.ZodString>;
|
|
10252
10331
|
errorCallbackURL: zod.ZodOptional<zod.ZodString>;
|
|
10253
|
-
provider: zod.ZodType<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel", unknown, zod_v4_core0.$ZodTypeInternals<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel", unknown>>;
|
|
10332
|
+
provider: zod.ZodType<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat", unknown, zod_v4_core0.$ZodTypeInternals<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat", unknown>>;
|
|
10254
10333
|
disableRedirect: zod.ZodOptional<zod.ZodBoolean>;
|
|
10255
10334
|
idToken: zod.ZodOptional<zod.ZodObject<{
|
|
10256
10335
|
token: zod.ZodString;
|
|
@@ -10258,6 +10337,13 @@ declare function getTestInstance<O extends Partial<BetterAuthOptions>, C extends
|
|
|
10258
10337
|
accessToken: zod.ZodOptional<zod.ZodString>;
|
|
10259
10338
|
refreshToken: zod.ZodOptional<zod.ZodString>;
|
|
10260
10339
|
expiresAt: zod.ZodOptional<zod.ZodNumber>;
|
|
10340
|
+
user: zod.ZodOptional<zod.ZodObject<{
|
|
10341
|
+
name: zod.ZodOptional<zod.ZodObject<{
|
|
10342
|
+
firstName: zod.ZodOptional<zod.ZodString>;
|
|
10343
|
+
lastName: zod.ZodOptional<zod.ZodString>;
|
|
10344
|
+
}, zod_v4_core0.$strip>>;
|
|
10345
|
+
email: zod.ZodOptional<zod.ZodString>;
|
|
10346
|
+
}, zod_v4_core0.$strip>>;
|
|
10261
10347
|
}, zod_v4_core0.$strip>>;
|
|
10262
10348
|
scopes: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
10263
10349
|
requestSignUp: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -11401,6 +11487,7 @@ declare function getTestInstance<O extends Partial<BetterAuthOptions>, C extends
|
|
|
11401
11487
|
};
|
|
11402
11488
|
};
|
|
11403
11489
|
};
|
|
11490
|
+
use: ((inputContext: better_call0.MiddlewareInputContext<better_call0.MiddlewareOptions>) => Promise<void>)[];
|
|
11404
11491
|
}, {
|
|
11405
11492
|
status: boolean;
|
|
11406
11493
|
message: string;
|
|
@@ -11694,7 +11781,7 @@ declare function getTestInstance<O extends Partial<BetterAuthOptions>, C extends
|
|
|
11694
11781
|
requireHeaders: true;
|
|
11695
11782
|
body: zod.ZodObject<{
|
|
11696
11783
|
callbackURL: zod.ZodOptional<zod.ZodString>;
|
|
11697
|
-
provider: zod.ZodType<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel", unknown, zod_v4_core0.$ZodTypeInternals<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel", unknown>>;
|
|
11784
|
+
provider: zod.ZodType<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat", unknown, zod_v4_core0.$ZodTypeInternals<(string & {}) | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat", unknown>>;
|
|
11698
11785
|
idToken: zod.ZodOptional<zod.ZodObject<{
|
|
11699
11786
|
token: zod.ZodString;
|
|
11700
11787
|
nonce: zod.ZodOptional<zod.ZodString>;
|
package/dist/types/index.d.mts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { __exportAll, __reExport } from "../_virtual/_rolldown/runtime.mjs";
|
|
2
1
|
import { HasRequiredKeys, Prettify, PrettifyDeep, RequiredKeysOf, StripEmptyObjects, UnionToIntersection } from "./helper.mjs";
|
|
3
2
|
import { BetterAuthClientOptions, BetterAuthClientPlugin, ClientAtomListener, ClientStore, InferActions, InferAdditionalFromClient, InferClientAPI, InferErrorCodes, InferSessionFromClient, InferUserFromClient, IsSignal, SessionQueryParams } from "../client/types.mjs";
|
|
4
3
|
import { DBAdapter, DBAdapterInstance, DBAdapterSchemaCreation, DBTransactionAdapter, JoinConfig, JoinOption, Where } from "./adapter.mjs";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "better-auth",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.6",
|
|
4
4
|
"description": "The most comprehensive authentication framework for TypeScript.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -485,16 +485,16 @@
|
|
|
485
485
|
"better-call": "1.3.2",
|
|
486
486
|
"defu": "^6.1.4",
|
|
487
487
|
"jose": "^6.1.3",
|
|
488
|
-
"kysely": "^0.28.
|
|
488
|
+
"kysely": "^0.28.12",
|
|
489
489
|
"nanostores": "^1.1.1",
|
|
490
490
|
"zod": "^4.3.6",
|
|
491
|
-
"@better-auth/core": "1.5.
|
|
492
|
-
"@better-auth/
|
|
493
|
-
"@better-auth/
|
|
494
|
-
"@better-auth/
|
|
495
|
-
"@better-auth/
|
|
496
|
-
"@better-auth/
|
|
497
|
-
"@better-auth/
|
|
491
|
+
"@better-auth/core": "1.5.6",
|
|
492
|
+
"@better-auth/kysely-adapter": "1.5.6",
|
|
493
|
+
"@better-auth/drizzle-adapter": "1.5.6",
|
|
494
|
+
"@better-auth/memory-adapter": "1.5.6",
|
|
495
|
+
"@better-auth/prisma-adapter": "1.5.6",
|
|
496
|
+
"@better-auth/mongo-adapter": "1.5.6",
|
|
497
|
+
"@better-auth/telemetry": "1.5.6"
|
|
498
498
|
},
|
|
499
499
|
"devDependencies": {
|
|
500
500
|
"@lynx-js/react": "^0.116.3",
|
|
@@ -506,12 +506,15 @@
|
|
|
506
506
|
"@types/google.accounts": "^0.0.18",
|
|
507
507
|
"@types/pg": "^8.16.0",
|
|
508
508
|
"@types/react": "^19.2.14",
|
|
509
|
+
"@opentelemetry/api": "^1.9.0",
|
|
510
|
+
"@opentelemetry/sdk-trace-base": "^1.30.0",
|
|
511
|
+
"@opentelemetry/sdk-trace-node": "^1.30.0",
|
|
509
512
|
"better-sqlite3": "^12.6.2",
|
|
510
513
|
"deepmerge": "^4.3.1",
|
|
511
514
|
"happy-dom": "^20.7.0",
|
|
512
515
|
"listhen": "^1.9.0",
|
|
513
516
|
"msw": "^2.12.10",
|
|
514
|
-
"next": "^16.
|
|
517
|
+
"next": "^16.2.0",
|
|
515
518
|
"oauth2-mock-server": "^8.2.2",
|
|
516
519
|
"react": "^19.2.4",
|
|
517
520
|
"react-dom": "^19.2.4",
|