@clerk/shared 4.0.0-canary.v20260105220914 → 4.0.0-canary.v20260106140304
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/runtime/alternativePhoneCode.d.mts +1 -1
- package/dist/runtime/alternativePhoneCode.d.ts +1 -1
- package/dist/runtime/authorization-errors.d.mts +1 -1
- package/dist/runtime/authorization-errors.d.ts +1 -1
- package/dist/runtime/authorization.d.mts +1 -1
- package/dist/runtime/authorization.d.ts +1 -1
- package/dist/runtime/clerkEventBus.d.mts +1 -1
- package/dist/runtime/clerkEventBus.d.ts +1 -1
- package/dist/runtime/color.d.mts +1 -1
- package/dist/runtime/color.d.mts.map +1 -1
- package/dist/runtime/color.d.ts +1 -1
- package/dist/runtime/deriveState.d.mts +1 -1
- package/dist/runtime/deriveState.d.ts +1 -1
- package/dist/runtime/{error-pzgfylM-.d.mts → error-BXk0GDM3.d.mts} +2 -2
- package/dist/runtime/{error-pzgfylM-.d.mts.map → error-BXk0GDM3.d.mts.map} +1 -1
- package/dist/runtime/{error-BDwl5TSN.d.ts → error-Bc2wkICP.d.ts} +2 -2
- package/dist/runtime/{error-BDwl5TSN.d.ts.map → error-Bc2wkICP.d.ts.map} +1 -1
- package/dist/runtime/error.d.mts +2 -2
- package/dist/runtime/error.d.ts +2 -2
- package/dist/runtime/globs.d.mts.map +1 -1
- package/dist/runtime/{index-B7DwCEXl.d.mts → index-C3yQerjv.d.mts} +67 -46
- package/dist/runtime/index-C3yQerjv.d.mts.map +1 -0
- package/dist/runtime/{index-BL-YJGK9.d.ts → index-CuGwkvfN.d.ts} +67 -46
- package/dist/runtime/index-CuGwkvfN.d.ts.map +1 -0
- package/dist/runtime/internal/clerk-js/completeSignUpFlow.d.mts +1 -1
- package/dist/runtime/internal/clerk-js/completeSignUpFlow.d.ts +1 -1
- package/dist/runtime/internal/clerk-js/componentGuards.d.mts +1 -1
- package/dist/runtime/internal/clerk-js/componentGuards.d.ts +1 -1
- package/dist/runtime/internal/clerk-js/injectedWeb3EthProviders.d.mts +1 -1
- package/dist/runtime/internal/clerk-js/injectedWeb3EthProviders.d.ts +1 -1
- package/dist/runtime/internal/clerk-js/passkeys.d.mts +2 -2
- package/dist/runtime/internal/clerk-js/passkeys.d.mts.map +1 -1
- package/dist/runtime/internal/clerk-js/passkeys.d.ts +2 -2
- package/dist/runtime/internal/clerk-js/passwords/complexity.d.mts +1 -1
- package/dist/runtime/internal/clerk-js/passwords/complexity.d.ts +1 -1
- package/dist/runtime/internal/clerk-js/passwords/loadZxcvbn.d.mts +1 -1
- package/dist/runtime/internal/clerk-js/passwords/loadZxcvbn.d.ts +1 -1
- package/dist/runtime/internal/clerk-js/passwords/password.d.mts +1 -1
- package/dist/runtime/internal/clerk-js/passwords/password.d.ts +1 -1
- package/dist/runtime/internal/clerk-js/passwords/strength.d.mts +1 -1
- package/dist/runtime/internal/clerk-js/passwords/strength.d.ts +1 -1
- package/dist/runtime/internal/clerk-js/queryParams.d.mts +2 -2
- package/dist/runtime/internal/clerk-js/queryParams.d.ts +2 -2
- package/dist/runtime/internal/clerk-js/redirectUrls.d.mts +1 -1
- package/dist/runtime/internal/clerk-js/redirectUrls.d.ts +1 -1
- package/dist/runtime/internal/clerk-js/sessionTasks.d.mts +2 -2
- package/dist/runtime/internal/clerk-js/sessionTasks.d.ts +2 -2
- package/dist/runtime/internal/clerk-js/url.d.mts +2 -2
- package/dist/runtime/internal/clerk-js/url.d.ts +2 -2
- package/dist/runtime/internal/clerk-js/user.d.mts +1 -1
- package/dist/runtime/internal/clerk-js/user.d.ts +1 -1
- package/dist/runtime/internal/clerk-js/web3.d.mts +1 -1
- package/dist/runtime/internal/clerk-js/web3.d.ts +1 -1
- package/dist/runtime/jwtPayloadParser.d.mts +1 -1
- package/dist/runtime/jwtPayloadParser.d.ts +1 -1
- package/dist/runtime/keys.d.mts +1 -1
- package/dist/runtime/keys.d.ts +1 -1
- package/dist/runtime/loadClerkJsScript.d.mts +1 -1
- package/dist/runtime/loadClerkJsScript.d.ts +1 -1
- package/dist/runtime/loadClerkJsScript.js +2 -2
- package/dist/runtime/loadClerkJsScript.mjs +2 -2
- package/dist/runtime/oauth.d.mts +1 -1
- package/dist/runtime/oauth.d.ts +1 -1
- package/dist/runtime/organization.d.mts +1 -1
- package/dist/runtime/organization.d.ts +1 -1
- package/dist/runtime/pathMatcher.d.mts +1 -1
- package/dist/runtime/pathMatcher.d.ts +1 -1
- package/dist/runtime/poller.d.ts.map +1 -1
- package/dist/runtime/react/index.d.mts +2 -2
- package/dist/runtime/react/index.d.ts +2 -2
- package/dist/runtime/react/index.js +1 -1
- package/dist/runtime/react/index.js.map +1 -1
- package/dist/runtime/react/index.mjs +1 -1
- package/dist/runtime/react/index.mjs.map +1 -1
- package/dist/runtime/router.d.mts +1 -1
- package/dist/runtime/router.d.ts +1 -1
- package/dist/runtime/saml.d.mts +1 -1
- package/dist/runtime/saml.d.ts +1 -1
- package/dist/runtime/telemetry.d.mts +1 -1
- package/dist/runtime/telemetry.d.ts +1 -1
- package/dist/runtime/types/index.d.mts +2 -2
- package/dist/runtime/types/index.d.ts +2 -2
- package/dist/runtime/ui/index.d.mts +1 -1
- package/dist/runtime/ui/index.d.ts +1 -1
- package/dist/runtime/{url-SlvUbWkK.d.ts → url-B3azMvOn.d.ts} +2 -2
- package/dist/runtime/{url-SlvUbWkK.d.ts.map → url-B3azMvOn.d.ts.map} +1 -1
- package/dist/runtime/{url-CRDwdvId.d.mts → url-CeTIrv79.d.mts} +2 -2
- package/dist/runtime/{url-CRDwdvId.d.mts.map → url-CeTIrv79.d.mts.map} +1 -1
- package/dist/runtime/{versionSelector-D9YlJP-6.js → versionSelector-DEMH4ABr.js} +2 -2
- package/dist/runtime/{versionSelector-D9YlJP-6.js.map → versionSelector-DEMH4ABr.js.map} +1 -1
- package/dist/runtime/{versionSelector-CUjE2kLh.mjs → versionSelector-DzxtDuCd.mjs} +2 -2
- package/dist/runtime/{versionSelector-CUjE2kLh.mjs.map → versionSelector-DzxtDuCd.mjs.map} +1 -1
- package/dist/runtime/versionSelector.js +1 -1
- package/dist/runtime/versionSelector.mjs +1 -1
- package/dist/runtime/web3.d.mts +1 -1
- package/dist/runtime/web3.d.ts +1 -1
- package/dist/types/index.d.mts +66 -45
- package/dist/types/index.d.mts.map +1 -1
- package/dist/types/index.d.ts +66 -45
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/runtime/index-B7DwCEXl.d.mts.map +0 -1
- package/dist/runtime/index-BL-YJGK9.d.ts.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../index-
|
|
1
|
+
import "../../index-CuGwkvfN.js";
|
|
2
2
|
import "../../moduleManager-WB15hU3T.js";
|
|
3
|
-
import { C as trimLeadingSlash, S as toURL, _ as pathFromFullPath, a as hasBannedHrefProtocol, b as sanitizeHref, c as hasUrlInFragment, d as isDevAccountPortalOrigin, f as isDevOrStagingUrl, g as mergeFragmentIntoUrl, h as isValidUrl, i as getSearchParameterFromHash, l as isAllowedRedirect, m as isRedirectForFAPIInitiatedFlow, n as createAllowedRedirectOrigins, o as hasBannedProtocol, p as isProblematicUrl, r as getETLDPlusOneFromFrontendApi, s as hasExternalAccountSignUpError, t as buildURL, u as isDataUri, v as relativeToAbsoluteUrl, w as trimTrailingSlash, x as stripOrigin, y as requiresUserInput } from "../../url-
|
|
3
|
+
import { C as trimLeadingSlash, S as toURL, _ as pathFromFullPath, a as hasBannedHrefProtocol, b as sanitizeHref, c as hasUrlInFragment, d as isDevAccountPortalOrigin, f as isDevOrStagingUrl, g as mergeFragmentIntoUrl, h as isValidUrl, i as getSearchParameterFromHash, l as isAllowedRedirect, m as isRedirectForFAPIInitiatedFlow, n as createAllowedRedirectOrigins, o as hasBannedProtocol, p as isProblematicUrl, r as getETLDPlusOneFromFrontendApi, s as hasExternalAccountSignUpError, t as buildURL, u as isDataUri, v as relativeToAbsoluteUrl, w as trimTrailingSlash, x as stripOrigin, y as requiresUserInput } from "../../url-B3azMvOn.js";
|
|
4
4
|
export { buildURL, createAllowedRedirectOrigins, getETLDPlusOneFromFrontendApi, getSearchParameterFromHash, hasBannedHrefProtocol, hasBannedProtocol, hasExternalAccountSignUpError, hasUrlInFragment, isAllowedRedirect, isDataUri, isDevAccountPortalOrigin, isDevOrStagingUrl, isProblematicUrl, isRedirectForFAPIInitiatedFlow, isValidUrl, mergeFragmentIntoUrl, pathFromFullPath, relativeToAbsoluteUrl, requiresUserInput, sanitizeHref, stripOrigin, toURL, trimLeadingSlash, trimTrailingSlash };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { As as GenerateSignature, Hu as Web3Provider } from "../../index-C3yQerjv.mjs";
|
|
2
2
|
import { r as ModuleManager } from "../../moduleManager-BYIq4wgi.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/internal/clerk-js/web3.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { As as GenerateSignature, Hu as Web3Provider } from "../../index-CuGwkvfN.js";
|
|
2
2
|
import { r as ModuleManager } from "../../moduleManager-WB15hU3T.js";
|
|
3
3
|
|
|
4
4
|
//#region src/internal/clerk-js/web3.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Qi as JwtPayload, T as SharedSignedInAuthObjectProperties } from "./index-C3yQerjv.mjs";
|
|
2
2
|
import "./moduleManager-BYIq4wgi.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/jwtPayloadParser.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Qi as JwtPayload, T as SharedSignedInAuthObjectProperties } from "./index-CuGwkvfN.js";
|
|
2
2
|
import "./moduleManager-WB15hU3T.js";
|
|
3
3
|
|
|
4
4
|
//#region src/jwtPayloadParser.d.ts
|
package/dist/runtime/keys.d.mts
CHANGED
package/dist/runtime/keys.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ const require_loadScript = require('./loadScript-CW1MV2O0.js');
|
|
|
8
8
|
const require_proxy = require('./proxy-BVlsuX5g.js');
|
|
9
9
|
require('./instance-DykLn3Pi.js');
|
|
10
10
|
const require_url = require('./url-DwWU8E5q.js');
|
|
11
|
-
const require_versionSelector = require('./versionSelector-
|
|
11
|
+
const require_versionSelector = require('./versionSelector-DEMH4ABr.js');
|
|
12
12
|
|
|
13
13
|
//#region src/loadClerkJsScript.ts
|
|
14
14
|
const { isDevOrStagingUrl } = require_keys.createDevOrStagingUrlCache();
|
|
@@ -147,7 +147,7 @@ const clerkUiScriptUrl = (opts) => {
|
|
|
147
147
|
publishableKey,
|
|
148
148
|
proxyUrl,
|
|
149
149
|
domain
|
|
150
|
-
})}/npm/@clerk/ui@${require_versionSelector.versionSelector(clerkUiVersion, "1.0.0-canary.
|
|
150
|
+
})}/npm/@clerk/ui@${require_versionSelector.versionSelector(clerkUiVersion, "1.0.0-canary.v20260106140304")}/dist/ui.browser.js`;
|
|
151
151
|
};
|
|
152
152
|
const buildClerkJsScriptAttributes = (options) => {
|
|
153
153
|
const obj = {};
|
|
@@ -8,7 +8,7 @@ import { t as loadScript } from "./loadScript-CHWOPTAN.mjs";
|
|
|
8
8
|
import { i as proxyUrlToAbsoluteURL, r as isValidProxyUrl } from "./proxy-C0HjCApu.mjs";
|
|
9
9
|
import "./instance-DniYMiU-.mjs";
|
|
10
10
|
import { t as addClerkPrefix } from "./url-DasDWsj9.mjs";
|
|
11
|
-
import { n as versionSelector } from "./versionSelector-
|
|
11
|
+
import { n as versionSelector } from "./versionSelector-DzxtDuCd.mjs";
|
|
12
12
|
|
|
13
13
|
//#region src/loadClerkJsScript.ts
|
|
14
14
|
const { isDevOrStagingUrl } = createDevOrStagingUrlCache();
|
|
@@ -147,7 +147,7 @@ const clerkUiScriptUrl = (opts) => {
|
|
|
147
147
|
publishableKey,
|
|
148
148
|
proxyUrl,
|
|
149
149
|
domain
|
|
150
|
-
})}/npm/@clerk/ui@${versionSelector(clerkUiVersion, "1.0.0-canary.
|
|
150
|
+
})}/npm/@clerk/ui@${versionSelector(clerkUiVersion, "1.0.0-canary.v20260106140304")}/dist/ui.browser.js`;
|
|
151
151
|
};
|
|
152
152
|
const buildClerkJsScriptAttributes = (options) => {
|
|
153
153
|
const obj = {};
|
package/dist/runtime/oauth.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Du as OAuthStrategy, fd as OAuthProvider, pd as OAuthProviderData } from "./index-C3yQerjv.mjs";
|
|
2
2
|
import "./moduleManager-BYIq4wgi.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/oauth.d.ts
|
package/dist/runtime/oauth.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Du as OAuthStrategy, fd as OAuthProvider, pd as OAuthProviderData } from "./index-CuGwkvfN.js";
|
|
2
2
|
import "./moduleManager-WB15hU3T.js";
|
|
3
3
|
|
|
4
4
|
//#region src/oauth.d.ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"poller.d.ts","names":[],"sources":["../../src/poller.ts"],"sourcesContent":[],"mappings":";KAEY,UAAA;AAAA,KACA,cAAA,GADU,CAAA,IAAA,EACc,UADd,EAAA,GAC6B,OAD7B,CAAA,OAAA,CAAA;AACV,KACA,SAAA,GADc,CAAA,EAAA,EACG,cADO,
|
|
1
|
+
{"version":3,"file":"poller.d.ts","names":[],"sources":["../../src/poller.ts"],"sourcesContent":[],"mappings":";KAEY,UAAA;AAAA,KACA,cAAA,GADU,CAAA,IAAA,EACc,UADd,EAAA,GAC6B,OAD7B,CAAA,OAAA,CAAA;AACV,KACA,SAAA,GADc,CAAA,EAAA,EACG,cADO,EAAA,GACY,OADU,CAAA,IAAA,CAAA;AAC1D,KAEK,aAAA,GAFgB;EAEhB,SAAA,EAAA,MAAa;AAIlB,CAAA;AAQgB,KARJ,MAAA,GAQU;EAAG,GAAA,EAPlB,SAOkB;EAAa,IAAA,EAN9B,UAM8B;CAAsC;;;;iBAA5D,MAAA;;IAAsB,gBAAsC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { $
|
|
1
|
+
import { $ as CreateOrganizationParams, $a as GetUserOrganizationInvitationsParams, B as CheckoutSignalValue, Bo as OrganizationInvitationResource, D as APIKeyResource, Ed as BillingCheckoutResource, Fd as BillingPaymentMethodResource, Fo as SessionVerificationLevel, G as ClerkOptions, Gd as BillingSubscriptionPlanPeriod, Jn as ClientResource, Kd as BillingSubscriptionResource, Ld as BillingPaymentResource, Vd as BillingStatementResource, Vf as ClerkAPIResponseError, Xd as CheckoutFlowResource, _ as UseSessionListReturn, co as UserOrganizationInvitationResource, da as GetMembersParams, eo as GetUserOrganizationMembershipParams, fa as GetMembershipRequestParams, ft as LoadedClerk, gl as ClerkAPIResponseError$1, ho as OrganizationSuggestionResource, kf as ClerkPaginatedResponse, la as GetDomainsParams, lu as OrganizationDomainResource, nt as GetAPIKeysParams, oo as UserResource, qa as SignedInSessionResource, ra as OrganizationMembershipResource, tf as ForPayerType, to as GetUserOrganizationSuggestionsParams, ua as GetInvitationsParams, v as UseSessionReturn, va as OrganizationResource, wa as OrganizationMembershipRequestResource, wt as SetActive, x as UseUserReturn, zd as BillingPlanResource } from "../index-C3yQerjv.mjs";
|
|
2
2
|
import "../moduleManager-BYIq4wgi.mjs";
|
|
3
|
-
import "../error-
|
|
3
|
+
import "../error-BXk0GDM3.mjs";
|
|
4
4
|
import React, { PropsWithChildren, ReactNode } from "react";
|
|
5
5
|
import { dequal } from "dequal";
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { $
|
|
1
|
+
import { $ as CreateOrganizationParams, $a as GetUserOrganizationInvitationsParams, B as CheckoutSignalValue, Bo as OrganizationInvitationResource, D as APIKeyResource, Ed as BillingCheckoutResource, Fd as BillingPaymentMethodResource, Fo as SessionVerificationLevel, G as ClerkOptions, Gd as BillingSubscriptionPlanPeriod, Jn as ClientResource, Kd as BillingSubscriptionResource, Ld as BillingPaymentResource, Vd as BillingStatementResource, Vf as ClerkAPIResponseError, Xd as CheckoutFlowResource, _ as UseSessionListReturn, co as UserOrganizationInvitationResource, da as GetMembersParams, eo as GetUserOrganizationMembershipParams, fa as GetMembershipRequestParams, ft as LoadedClerk, gl as ClerkAPIResponseError$1, ho as OrganizationSuggestionResource, kf as ClerkPaginatedResponse, la as GetDomainsParams, lu as OrganizationDomainResource, nt as GetAPIKeysParams, oo as UserResource, qa as SignedInSessionResource, ra as OrganizationMembershipResource, tf as ForPayerType, to as GetUserOrganizationSuggestionsParams, ua as GetInvitationsParams, v as UseSessionReturn, va as OrganizationResource, wa as OrganizationMembershipRequestResource, wt as SetActive, x as UseUserReturn, zd as BillingPlanResource } from "../index-CuGwkvfN.js";
|
|
2
2
|
import "../moduleManager-WB15hU3T.js";
|
|
3
|
-
import "../error-
|
|
3
|
+
import "../error-Bc2wkICP.js";
|
|
4
4
|
import React, { PropsWithChildren, ReactNode } from "react";
|
|
5
5
|
import { dequal } from "dequal";
|
|
6
6
|
|
|
@@ -1811,7 +1811,7 @@ const useCheckout = (options) => {
|
|
|
1811
1811
|
const { organization } = useOrganizationContext();
|
|
1812
1812
|
const { isLoaded, user } = useUser();
|
|
1813
1813
|
const clerk = useClerkInstanceContext();
|
|
1814
|
-
if (user === null && isLoaded) throw new Error("Clerk: Ensure that `useCheckout` is inside a component wrapped with `<
|
|
1814
|
+
if (user === null && isLoaded) throw new Error("Clerk: Ensure that `useCheckout` is inside a component wrapped with `<Show when=\"signed-in\" />`.");
|
|
1815
1815
|
if (isLoaded && forOrganization === "organization" && organization === null) throw new Error("Clerk: Ensure your flow checks for an active organization. Retrieve `orgId` from `useAuth()` and confirm it is defined. For SSR, see: https://clerk.com/docs/reference/backend/types/auth-object#how-to-access-the-auth-object");
|
|
1816
1816
|
const signal = (0, react.useCallback)(() => {
|
|
1817
1817
|
return clerk.__experimental_checkout({
|