@clerk/clerk-react 5.59.5 → 5.60.0

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.
@@ -2,13 +2,13 @@ import {
2
2
  assertSingleChild,
3
3
  normalizeWithDefaultValue,
4
4
  safeExecute
5
- } from "./chunk-6WD75OPE.mjs";
5
+ } from "./chunk-36EXAXVP.mjs";
6
6
  import {
7
7
  useAssertWrappedByClerkProvider,
8
8
  useAuth,
9
9
  useIsomorphicClerkContext,
10
10
  withClerk
11
- } from "./chunk-OT5FTIRN.mjs";
11
+ } from "./chunk-4QQOMF5H.mjs";
12
12
  import "./chunk-OANWQR3B.mjs";
13
13
 
14
14
  // src/components/CheckoutButton.tsx
package/dist/index.d.mts CHANGED
@@ -4,7 +4,7 @@ import React, { ReactNode, PropsWithChildren } from 'react';
4
4
  import { W as WithClerkProp, O as OrganizationProfilePageProps, a as OrganizationProfileLinkProps, U as UserProfilePageProps, b as UserProfileLinkProps, c as UserButtonActionProps, d as UserButtonLinkProps, S as SignInWithMetamaskButtonProps, C as ClerkProviderProps } from './types-CFOQkf-D.mjs';
5
5
  export { B as BrowserClerk, e as ClerkProp, H as HeadlessBrowserClerk } from './types-CFOQkf-D.mjs';
6
6
  export { A as AuthenticateWithRedirectCallback, C as ClerkDegraded, a as ClerkFailed, b as ClerkLoaded, c as ClerkLoading, P as Protect, j as ProtectProps, R as RedirectToCreateOrganization, d as RedirectToOrganizationProfile, e as RedirectToSignIn, f as RedirectToSignUp, g as RedirectToTasks, h as RedirectToUserProfile, S as SignedIn, i as SignedOut, k as useAuth } from './useAuth-BfjxAfMb.mjs';
7
- export { __experimental_CheckoutProvider, __experimental_PaymentElement, __experimental_PaymentElementProvider, __experimental_useCheckout, __experimental_usePaymentElement, useClerk, useOrganization, useOrganizationList, useReverification, useSession, useSessionList, useUser } from '@clerk/shared/react';
7
+ export { UseOrganizationCreationDefaultsParams, UseOrganizationCreationDefaultsReturn, __experimental_CheckoutProvider, __experimental_PaymentElement, __experimental_PaymentElementProvider, __experimental_useCheckout, __experimental_usePaymentElement, useClerk, useOrganization, useOrganizationCreationDefaults, useOrganizationList, useReverification, useSession, useSessionList, useUser } from '@clerk/shared/react';
8
8
 
9
9
  type FallbackProp = {
10
10
  /**
package/dist/index.d.ts CHANGED
@@ -4,7 +4,7 @@ import React, { ReactNode, PropsWithChildren } from 'react';
4
4
  import { W as WithClerkProp, O as OrganizationProfilePageProps, a as OrganizationProfileLinkProps, U as UserProfilePageProps, b as UserProfileLinkProps, c as UserButtonActionProps, d as UserButtonLinkProps, S as SignInWithMetamaskButtonProps, C as ClerkProviderProps } from './types-CFOQkf-D.js';
5
5
  export { B as BrowserClerk, e as ClerkProp, H as HeadlessBrowserClerk } from './types-CFOQkf-D.js';
6
6
  export { A as AuthenticateWithRedirectCallback, C as ClerkDegraded, a as ClerkFailed, b as ClerkLoaded, c as ClerkLoading, P as Protect, j as ProtectProps, R as RedirectToCreateOrganization, d as RedirectToOrganizationProfile, e as RedirectToSignIn, f as RedirectToSignUp, g as RedirectToTasks, h as RedirectToUserProfile, S as SignedIn, i as SignedOut, k as useAuth } from './useAuth-fq1pQd_y.js';
7
- export { __experimental_CheckoutProvider, __experimental_PaymentElement, __experimental_PaymentElementProvider, __experimental_useCheckout, __experimental_usePaymentElement, useClerk, useOrganization, useOrganizationList, useReverification, useSession, useSessionList, useUser } from '@clerk/shared/react';
7
+ export { UseOrganizationCreationDefaultsParams, UseOrganizationCreationDefaultsReturn, __experimental_CheckoutProvider, __experimental_PaymentElement, __experimental_PaymentElementProvider, __experimental_useCheckout, __experimental_usePaymentElement, useClerk, useOrganization, useOrganizationCreationDefaults, useOrganizationList, useReverification, useSession, useSessionList, useUser } from '@clerk/shared/react';
8
8
 
9
9
  type FallbackProp = {
10
10
  /**
package/dist/index.js CHANGED
@@ -81,6 +81,7 @@ __export(src_exports, {
81
81
  useClerk: () => import_react20.useClerk,
82
82
  useEmailLink: () => useEmailLink,
83
83
  useOrganization: () => import_react20.useOrganization,
84
+ useOrganizationCreationDefaults: () => import_react20.useOrganizationCreationDefaults,
84
85
  useOrganizationList: () => import_react20.useOrganizationList,
85
86
  useReverification: () => import_react20.useReverification,
86
87
  useSession: () => import_react20.useSession,
@@ -1887,7 +1888,7 @@ if (typeof globalThis.__BUILD_DISABLE_RHC__ === "undefined") {
1887
1888
  }
1888
1889
  var SDK_METADATA = {
1889
1890
  name: "@clerk/clerk-react",
1890
- version: "5.59.5",
1891
+ version: "5.60.0",
1891
1892
  environment: process.env.NODE_ENV
1892
1893
  };
1893
1894
  var _status, _domain, _proxyUrl, _publishableKey, _eventBus, _stateProxy, _instance, _IsomorphicClerk_instances, waitForClerkJS_fn;
@@ -3358,6 +3359,7 @@ setErrorThrowerOptions({ packageName: "@clerk/clerk-react" });
3358
3359
  useClerk,
3359
3360
  useEmailLink,
3360
3361
  useOrganization,
3362
+ useOrganizationCreationDefaults,
3361
3363
  useOrganizationList,
3362
3364
  useReverification,
3363
3365
  useSession,