better-auth-ui 3.2.23 → 3.2.24
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/{auth-hooks-BuniCu20.d.cts → auth-hooks-D1E_PPHU.d.cts} +16 -546
- package/dist/{auth-hooks-BuniCu20.d.ts → auth-hooks-D1E_PPHU.d.ts} +16 -546
- package/dist/{auth-ui-provider-D3GrYvcj.d.cts → auth-ui-provider-DKxo3JAh.d.cts} +1 -1
- package/dist/{auth-ui-provider-mrVNJ6zj.d.ts → auth-ui-provider-DPMN0Gfg.d.ts} +1 -1
- package/dist/index.cjs +1 -4
- package/dist/index.d.cts +4 -6
- package/dist/index.d.ts +4 -6
- package/dist/index.js +0 -3
- package/dist/instantdb.d.cts +1 -3
- package/dist/instantdb.d.ts +1 -3
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/tanstack.d.cts +2 -4
- package/dist/tanstack.d.ts +2 -4
- package/dist/triplit.d.cts +1 -3
- package/dist/triplit.d.ts +1 -3
- package/package.json +1 -1
- package/src/lib/auth-ui-provider.tsx +11 -11
- package/src/types/any-auth-client.ts +3 -1
- package/src/types/auth-client.ts +8 -4
package/dist/index.d.cts
CHANGED
|
@@ -8,20 +8,18 @@ import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
|
8
8
|
import { Organization } from 'better-auth/plugins/organization';
|
|
9
9
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
10
10
|
import { VariantProps } from 'class-variance-authority';
|
|
11
|
-
import { F as FieldType, G as GravatarOptions } from './auth-ui-provider-
|
|
12
|
-
export { p as AccountOptions, q as AccountOptionsContext, r as AdditionalField, t as AdditionalFields, A as AppleIcon, m as AuthUIContext, k as AuthUIContextType, n as AuthUIProvider, l as AuthUIProviderProps, u as AvatarOptions, C as CaptchaOptions, v as CredentialsOptions, w as DeleteUserOptions, D as DiscordIcon, b as DropboxIcon, c as FacebookIcon, x as GenericOAuthOptions, d as GitHubIcon, e as GitLabIcon, f as GoogleIcon, H as HuggingFaceIcon, K as KickIcon, L as LinearIcon, y as Link, g as LinkedInIcon, M as MicrosoftIcon, N as NotionIcon, O as OrganizationLogoOptions, z as OrganizationOptions, B as OrganizationOptionsContext, o as Provider, a as ProviderIcon, P as ProviderIconProps, R as RedditIcon, E as RenderToast, h as RobloxIcon, I as SignUpOptions, S as SlackIcon, J as SocialOptions, i as SpotifyIcon, T as TikTokIcon, j as TwitchIcon, V as VKIcon, X as XIcon, Z as ZoomIcon, s as socialProviders } from './auth-ui-provider-
|
|
11
|
+
import { F as FieldType, G as GravatarOptions } from './auth-ui-provider-DKxo3JAh.cjs';
|
|
12
|
+
export { p as AccountOptions, q as AccountOptionsContext, r as AdditionalField, t as AdditionalFields, A as AppleIcon, m as AuthUIContext, k as AuthUIContextType, n as AuthUIProvider, l as AuthUIProviderProps, u as AvatarOptions, C as CaptchaOptions, v as CredentialsOptions, w as DeleteUserOptions, D as DiscordIcon, b as DropboxIcon, c as FacebookIcon, x as GenericOAuthOptions, d as GitHubIcon, e as GitLabIcon, f as GoogleIcon, H as HuggingFaceIcon, K as KickIcon, L as LinearIcon, y as Link, g as LinkedInIcon, M as MicrosoftIcon, N as NotionIcon, O as OrganizationLogoOptions, z as OrganizationOptions, B as OrganizationOptionsContext, o as Provider, a as ProviderIcon, P as ProviderIconProps, R as RedditIcon, E as RenderToast, h as RobloxIcon, I as SignUpOptions, S as SlackIcon, J as SocialOptions, i as SpotifyIcon, T as TikTokIcon, j as TwitchIcon, V as VKIcon, X as XIcon, Z as ZoomIcon, s as socialProviders } from './auth-ui-provider-DKxo3JAh.cjs';
|
|
13
13
|
import * as better_auth from 'better-auth';
|
|
14
14
|
import { Account } from 'better-auth';
|
|
15
|
-
import { R as Refetch, A as AnyAuthClient } from './auth-hooks-
|
|
16
|
-
export {
|
|
15
|
+
import { R as Refetch, A as AnyAuthClient } from './auth-hooks-D1E_PPHU.cjs';
|
|
16
|
+
export { a as AuthClient, b as AuthHooks, S as Session, U as User } from './auth-hooks-D1E_PPHU.cjs';
|
|
17
17
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
18
18
|
export { c as cn, e as errorCodeToCamelCase, d as getKeyByValue, g as getLocalizedError, f as getPasswordSchema, a as getSearchParam, b as getViewByPath, i as isValidEmail } from './utils-CaN43O_Z.cjs';
|
|
19
19
|
export { A as AuthMutators } from './auth-mutators-DdqOmQ32.cjs';
|
|
20
20
|
import 'better-auth/social-providers';
|
|
21
21
|
import 'better-auth/react';
|
|
22
|
-
import 'inspector';
|
|
23
22
|
import 'better-auth/client/plugins';
|
|
24
|
-
import 'better-auth/plugins/passkey';
|
|
25
23
|
import 'clsx';
|
|
26
24
|
import 'zod';
|
|
27
25
|
|
package/dist/index.d.ts
CHANGED
|
@@ -8,20 +8,18 @@ import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
|
8
8
|
import { Organization } from 'better-auth/plugins/organization';
|
|
9
9
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
10
10
|
import { VariantProps } from 'class-variance-authority';
|
|
11
|
-
import { F as FieldType, G as GravatarOptions } from './auth-ui-provider-
|
|
12
|
-
export { p as AccountOptions, q as AccountOptionsContext, r as AdditionalField, t as AdditionalFields, A as AppleIcon, m as AuthUIContext, k as AuthUIContextType, n as AuthUIProvider, l as AuthUIProviderProps, u as AvatarOptions, C as CaptchaOptions, v as CredentialsOptions, w as DeleteUserOptions, D as DiscordIcon, b as DropboxIcon, c as FacebookIcon, x as GenericOAuthOptions, d as GitHubIcon, e as GitLabIcon, f as GoogleIcon, H as HuggingFaceIcon, K as KickIcon, L as LinearIcon, y as Link, g as LinkedInIcon, M as MicrosoftIcon, N as NotionIcon, O as OrganizationLogoOptions, z as OrganizationOptions, B as OrganizationOptionsContext, o as Provider, a as ProviderIcon, P as ProviderIconProps, R as RedditIcon, E as RenderToast, h as RobloxIcon, I as SignUpOptions, S as SlackIcon, J as SocialOptions, i as SpotifyIcon, T as TikTokIcon, j as TwitchIcon, V as VKIcon, X as XIcon, Z as ZoomIcon, s as socialProviders } from './auth-ui-provider-
|
|
11
|
+
import { F as FieldType, G as GravatarOptions } from './auth-ui-provider-DPMN0Gfg.js';
|
|
12
|
+
export { p as AccountOptions, q as AccountOptionsContext, r as AdditionalField, t as AdditionalFields, A as AppleIcon, m as AuthUIContext, k as AuthUIContextType, n as AuthUIProvider, l as AuthUIProviderProps, u as AvatarOptions, C as CaptchaOptions, v as CredentialsOptions, w as DeleteUserOptions, D as DiscordIcon, b as DropboxIcon, c as FacebookIcon, x as GenericOAuthOptions, d as GitHubIcon, e as GitLabIcon, f as GoogleIcon, H as HuggingFaceIcon, K as KickIcon, L as LinearIcon, y as Link, g as LinkedInIcon, M as MicrosoftIcon, N as NotionIcon, O as OrganizationLogoOptions, z as OrganizationOptions, B as OrganizationOptionsContext, o as Provider, a as ProviderIcon, P as ProviderIconProps, R as RedditIcon, E as RenderToast, h as RobloxIcon, I as SignUpOptions, S as SlackIcon, J as SocialOptions, i as SpotifyIcon, T as TikTokIcon, j as TwitchIcon, V as VKIcon, X as XIcon, Z as ZoomIcon, s as socialProviders } from './auth-ui-provider-DPMN0Gfg.js';
|
|
13
13
|
import * as better_auth from 'better-auth';
|
|
14
14
|
import { Account } from 'better-auth';
|
|
15
|
-
import { R as Refetch, A as AnyAuthClient } from './auth-hooks-
|
|
16
|
-
export {
|
|
15
|
+
import { R as Refetch, A as AnyAuthClient } from './auth-hooks-D1E_PPHU.js';
|
|
16
|
+
export { a as AuthClient, b as AuthHooks, S as Session, U as User } from './auth-hooks-D1E_PPHU.js';
|
|
17
17
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
18
18
|
export { c as cn, e as errorCodeToCamelCase, d as getKeyByValue, g as getLocalizedError, f as getPasswordSchema, a as getSearchParam, b as getViewByPath, i as isValidEmail } from './utils-yT5zrMzq.js';
|
|
19
19
|
export { A as AuthMutators } from './auth-mutators-DdqOmQ32.js';
|
|
20
20
|
import 'better-auth/social-providers';
|
|
21
21
|
import 'better-auth/react';
|
|
22
|
-
import 'inspector';
|
|
23
22
|
import 'better-auth/client/plugins';
|
|
24
|
-
import 'better-auth/plugins/passkey';
|
|
25
23
|
import 'clsx';
|
|
26
24
|
import 'zod';
|
|
27
25
|
|
package/dist/index.js
CHANGED
|
@@ -12534,7 +12534,6 @@ import {
|
|
|
12534
12534
|
multiSessionClient,
|
|
12535
12535
|
oneTapClient,
|
|
12536
12536
|
organizationClient,
|
|
12537
|
-
passkeyClient,
|
|
12538
12537
|
twoFactorClient,
|
|
12539
12538
|
usernameClient
|
|
12540
12539
|
} from "better-auth/client/plugins";
|
|
@@ -12543,7 +12542,6 @@ var authClient = createAuthClient({
|
|
|
12543
12542
|
plugins: [
|
|
12544
12543
|
apiKeyClient(),
|
|
12545
12544
|
multiSessionClient(),
|
|
12546
|
-
passkeyClient(),
|
|
12547
12545
|
oneTapClient({
|
|
12548
12546
|
clientId: ""
|
|
12549
12547
|
}),
|
|
@@ -12637,7 +12635,6 @@ export {
|
|
|
12637
12635
|
XIcon2 as XIcon,
|
|
12638
12636
|
ZoomIcon,
|
|
12639
12637
|
accountViewPaths,
|
|
12640
|
-
authClient,
|
|
12641
12638
|
authDataCache,
|
|
12642
12639
|
authLocalization,
|
|
12643
12640
|
authViewPaths,
|
package/dist/instantdb.d.cts
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import { InstantReactWebDatabase } from '@instantdb/react';
|
|
2
2
|
import { User } from 'better-auth';
|
|
3
|
-
import { S as Session, R as Refetch,
|
|
3
|
+
import { S as Session, R as Refetch, b as AuthHooks } from './auth-hooks-D1E_PPHU.cjs';
|
|
4
4
|
import { A as AuthMutators } from './auth-mutators-DdqOmQ32.cjs';
|
|
5
5
|
import '@better-fetch/fetch';
|
|
6
6
|
import 'better-auth/plugins/organization';
|
|
7
7
|
import 'better-auth/react';
|
|
8
|
-
import 'inspector';
|
|
9
8
|
import 'better-auth/client/plugins';
|
|
10
|
-
import 'better-auth/plugins/passkey';
|
|
11
9
|
|
|
12
10
|
declare const namespaces: readonly ["user", "session", "account", "passkey"];
|
|
13
11
|
type Namespace = (typeof namespaces)[number];
|
package/dist/instantdb.d.ts
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import { InstantReactWebDatabase } from '@instantdb/react';
|
|
2
2
|
import { User } from 'better-auth';
|
|
3
|
-
import { S as Session, R as Refetch,
|
|
3
|
+
import { S as Session, R as Refetch, b as AuthHooks } from './auth-hooks-D1E_PPHU.js';
|
|
4
4
|
import { A as AuthMutators } from './auth-mutators-DdqOmQ32.js';
|
|
5
5
|
import '@better-fetch/fetch';
|
|
6
6
|
import 'better-auth/plugins/organization';
|
|
7
7
|
import 'better-auth/react';
|
|
8
|
-
import 'inspector';
|
|
9
8
|
import 'better-auth/client/plugins';
|
|
10
|
-
import 'better-auth/plugins/passkey';
|
|
11
9
|
|
|
12
10
|
declare const namespaces: readonly ["user", "session", "account", "passkey"];
|
|
13
11
|
type Namespace = (typeof namespaces)[number];
|