better-auth 0.8.3-beta.4 → 0.8.3-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/client/plugins.d.cts +6 -6
- package/dist/client/plugins.d.ts +6 -6
- 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-DbSanUJ5.d.ts → index-uHjME6mS.d.ts} +28 -37
- package/dist/{index-v9In9L_y.d.cts → index-xSdbpM4W.d.cts} +28 -37
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- 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.cjs +5 -5
- package/dist/plugins.d.cts +9 -9
- package/dist/plugins.d.ts +9 -9
- package/dist/plugins.js +4 -4
- 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-B-02czHC.d.ts → state-5tKc556n.d.ts} +1 -1
- package/dist/{state-D_ITqPUS.d.cts → state-BZ0Z8cQD.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
- package/dist/{auth-rfAcL_Rw.d.cts → auth-A5nkNoqm.d.cts} +84 -84
- package/dist/{auth-miD4FiAv.d.ts → auth-B2oRhuJ8.d.ts} +84 -84
package/dist/plugins.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { A as AnonymousOptions, J as JwtOptions, O as OrganizationOptions, b as Passkey, P as PasskeyOptions, e as UserWithAnonymous, U as UserWithPhoneNumber, h as UserWithRole, i as admin, f as anonymous, n as emailOTP, j as genericOAuth, g as getPasskeyActions, k as jwt, m as magicLink, l as multiSession, o as organization, p as passkey, c as passkeyClient, d as phoneNumber, t as twoFactor, a as twoFactorClient, u as username } from './index-
|
|
2
|
-
import { H as HookEndpointContext } from './auth-
|
|
3
|
-
export { z as AuthEndpoint, C as AuthMiddleware, j as BetterAuthPlugin, P as PluginSchema, y as createAuthEndpoint, x as createAuthMiddleware, w as optionsMiddleware } from './auth-
|
|
1
|
+
export { A as AnonymousOptions, J as JwtOptions, O as OrganizationOptions, b as Passkey, P as PasskeyOptions, e as UserWithAnonymous, U as UserWithPhoneNumber, h as UserWithRole, i as admin, f as anonymous, n as emailOTP, j as genericOAuth, g as getPasskeyActions, k as jwt, m as magicLink, l as multiSession, o as organization, p as passkey, c as passkeyClient, d as phoneNumber, t as twoFactor, a as twoFactorClient, u as username } from './index-xSdbpM4W.cjs';
|
|
2
|
+
import { H as HookEndpointContext } from './auth-A5nkNoqm.cjs';
|
|
3
|
+
export { z as AuthEndpoint, C as AuthMiddleware, j as BetterAuthPlugin, P as PluginSchema, y as createAuthEndpoint, x as createAuthMiddleware, w as optionsMiddleware } from './auth-A5nkNoqm.cjs';
|
|
4
4
|
export { H as HIDE_METADATA } from './hide-metadata-DEHJp1rk.cjs';
|
|
5
5
|
import * as better_call from 'better-call';
|
|
6
6
|
import { z } from 'zod';
|
|
@@ -86,13 +86,13 @@ declare const oneTap: (options?: OneTapOptions) => {
|
|
|
86
86
|
};
|
|
87
87
|
accounts: {
|
|
88
88
|
id: string;
|
|
89
|
-
userId: string;
|
|
90
89
|
providerId: string;
|
|
91
90
|
accountId: string;
|
|
92
|
-
|
|
91
|
+
userId: string;
|
|
93
92
|
accessToken?: string | null | undefined;
|
|
94
93
|
refreshToken?: string | null | undefined;
|
|
95
94
|
idToken?: string | null | undefined;
|
|
95
|
+
expiresAt?: Date | null | undefined;
|
|
96
96
|
password?: string | null | undefined;
|
|
97
97
|
}[];
|
|
98
98
|
};
|
|
@@ -140,11 +140,11 @@ declare const oAuthProxy: (opts?: OAuthProxyOptions) => {
|
|
|
140
140
|
callbackURL: z.ZodString;
|
|
141
141
|
cookies: z.ZodString;
|
|
142
142
|
}, "strip", z.ZodTypeAny, {
|
|
143
|
-
cookies: string;
|
|
144
143
|
callbackURL: string;
|
|
145
|
-
}, {
|
|
146
144
|
cookies: string;
|
|
145
|
+
}, {
|
|
147
146
|
callbackURL: string;
|
|
147
|
+
cookies: string;
|
|
148
148
|
}>;
|
|
149
149
|
}>]>(...ctx: C): Promise<C extends [{
|
|
150
150
|
asResponse: true;
|
|
@@ -156,11 +156,11 @@ declare const oAuthProxy: (opts?: OAuthProxyOptions) => {
|
|
|
156
156
|
callbackURL: z.ZodString;
|
|
157
157
|
cookies: z.ZodString;
|
|
158
158
|
}, "strip", z.ZodTypeAny, {
|
|
159
|
-
cookies: string;
|
|
160
159
|
callbackURL: string;
|
|
161
|
-
}, {
|
|
162
160
|
cookies: string;
|
|
161
|
+
}, {
|
|
163
162
|
callbackURL: string;
|
|
163
|
+
cookies: string;
|
|
164
164
|
}>;
|
|
165
165
|
};
|
|
166
166
|
method: better_call.Method | better_call.Method[];
|
package/dist/plugins.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { A as AnonymousOptions, J as JwtOptions, O as OrganizationOptions, b as Passkey, P as PasskeyOptions, e as UserWithAnonymous, U as UserWithPhoneNumber, h as UserWithRole, i as admin, f as anonymous, n as emailOTP, j as genericOAuth, g as getPasskeyActions, k as jwt, m as magicLink, l as multiSession, o as organization, p as passkey, c as passkeyClient, d as phoneNumber, t as twoFactor, a as twoFactorClient, u as username } from './index-
|
|
2
|
-
import { H as HookEndpointContext } from './auth-
|
|
3
|
-
export { z as AuthEndpoint, C as AuthMiddleware, j as BetterAuthPlugin, P as PluginSchema, y as createAuthEndpoint, x as createAuthMiddleware, w as optionsMiddleware } from './auth-
|
|
1
|
+
export { A as AnonymousOptions, J as JwtOptions, O as OrganizationOptions, b as Passkey, P as PasskeyOptions, e as UserWithAnonymous, U as UserWithPhoneNumber, h as UserWithRole, i as admin, f as anonymous, n as emailOTP, j as genericOAuth, g as getPasskeyActions, k as jwt, m as magicLink, l as multiSession, o as organization, p as passkey, c as passkeyClient, d as phoneNumber, t as twoFactor, a as twoFactorClient, u as username } from './index-uHjME6mS.js';
|
|
2
|
+
import { H as HookEndpointContext } from './auth-B2oRhuJ8.js';
|
|
3
|
+
export { z as AuthEndpoint, C as AuthMiddleware, j as BetterAuthPlugin, P as PluginSchema, y as createAuthEndpoint, x as createAuthMiddleware, w as optionsMiddleware } from './auth-B2oRhuJ8.js';
|
|
4
4
|
export { H as HIDE_METADATA } from './hide-metadata-DEHJp1rk.js';
|
|
5
5
|
import * as better_call from 'better-call';
|
|
6
6
|
import { z } from 'zod';
|
|
@@ -86,13 +86,13 @@ declare const oneTap: (options?: OneTapOptions) => {
|
|
|
86
86
|
};
|
|
87
87
|
accounts: {
|
|
88
88
|
id: string;
|
|
89
|
-
userId: string;
|
|
90
89
|
providerId: string;
|
|
91
90
|
accountId: string;
|
|
92
|
-
|
|
91
|
+
userId: string;
|
|
93
92
|
accessToken?: string | null | undefined;
|
|
94
93
|
refreshToken?: string | null | undefined;
|
|
95
94
|
idToken?: string | null | undefined;
|
|
95
|
+
expiresAt?: Date | null | undefined;
|
|
96
96
|
password?: string | null | undefined;
|
|
97
97
|
}[];
|
|
98
98
|
};
|
|
@@ -140,11 +140,11 @@ declare const oAuthProxy: (opts?: OAuthProxyOptions) => {
|
|
|
140
140
|
callbackURL: z.ZodString;
|
|
141
141
|
cookies: z.ZodString;
|
|
142
142
|
}, "strip", z.ZodTypeAny, {
|
|
143
|
-
cookies: string;
|
|
144
143
|
callbackURL: string;
|
|
145
|
-
}, {
|
|
146
144
|
cookies: string;
|
|
145
|
+
}, {
|
|
147
146
|
callbackURL: string;
|
|
147
|
+
cookies: string;
|
|
148
148
|
}>;
|
|
149
149
|
}>]>(...ctx: C): Promise<C extends [{
|
|
150
150
|
asResponse: true;
|
|
@@ -156,11 +156,11 @@ declare const oAuthProxy: (opts?: OAuthProxyOptions) => {
|
|
|
156
156
|
callbackURL: z.ZodString;
|
|
157
157
|
cookies: z.ZodString;
|
|
158
158
|
}, "strip", z.ZodTypeAny, {
|
|
159
|
-
cookies: string;
|
|
160
159
|
callbackURL: string;
|
|
161
|
-
}, {
|
|
162
160
|
cookies: string;
|
|
161
|
+
}, {
|
|
163
162
|
callbackURL: string;
|
|
163
|
+
cookies: string;
|
|
164
164
|
}>;
|
|
165
165
|
};
|
|
166
166
|
method: better_call.Method | better_call.Method[];
|