@clerk/shared 4.0.0-canary.v20260107202600 → 4.0.0-canary.v20260108154421
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/apiUrlFromPublishableKey.d.mts +1 -1
- package/dist/runtime/apiUrlFromPublishableKey.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.ts +1 -1
- package/dist/runtime/color.d.ts.map +1 -1
- package/dist/runtime/deriveState.d.mts +1 -1
- package/dist/runtime/deriveState.d.ts +1 -1
- package/dist/runtime/{error-BXk0GDM3.d.mts → error-DNiurtIH.d.mts} +2 -2
- package/dist/runtime/{error-BXk0GDM3.d.mts.map → error-DNiurtIH.d.mts.map} +1 -1
- package/dist/runtime/{error-Bc2wkICP.d.ts → error-DW8FKFzD.d.ts} +2 -2
- package/dist/runtime/{error-Bc2wkICP.d.ts.map → error-DW8FKFzD.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.ts.map +1 -1
- package/dist/runtime/{index-C3yQerjv.d.mts → index-CwXrQ0D9.d.mts} +17 -1
- package/dist/runtime/index-CwXrQ0D9.d.mts.map +1 -0
- package/dist/runtime/{index-CuGwkvfN.d.ts → index-y60Yzgpv.d.ts} +17 -1
- package/dist/runtime/index-y60Yzgpv.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.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 +14 -29
- package/dist/runtime/react/index.d.mts.map +1 -1
- package/dist/runtime/react/index.d.ts +14 -29
- package/dist/runtime/react/index.d.ts.map +1 -1
- package/dist/runtime/react/index.js +499 -309
- package/dist/runtime/react/index.js.map +1 -1
- package/dist/runtime/react/index.mjs +498 -304
- 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 +1 -1
- package/dist/runtime/types/index.d.ts +1 -1
- package/dist/runtime/ui/index.d.mts +1 -1
- package/dist/runtime/ui/index.d.ts +1 -1
- package/dist/runtime/{url-CeTIrv79.d.mts → url-DBdjYUUx.d.mts} +2 -2
- package/dist/runtime/{url-CeTIrv79.d.mts.map → url-DBdjYUUx.d.mts.map} +1 -1
- package/dist/runtime/{url-B3azMvOn.d.ts → url-yHlyfWdB.d.ts} +2 -2
- package/dist/runtime/{url-B3azMvOn.d.ts.map → url-yHlyfWdB.d.ts.map} +1 -1
- package/dist/runtime/{versionSelector-BvO2gPHd.js → versionSelector-DAcqxcwB.js} +2 -2
- package/dist/runtime/{versionSelector-BvO2gPHd.js.map → versionSelector-DAcqxcwB.js.map} +1 -1
- package/dist/runtime/{versionSelector-B270CtHZ.mjs → versionSelector-DfdpF2HN.mjs} +2 -2
- package/dist/runtime/{versionSelector-B270CtHZ.mjs.map → versionSelector-DfdpF2HN.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 +16 -0
- package/dist/types/index.d.mts.map +1 -1
- package/dist/types/index.d.ts +16 -0
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +3 -4
- package/dist/runtime/index-C3yQerjv.d.mts.map +0 -1
- package/dist/runtime/index-CuGwkvfN.d.ts.map +0 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -347,10 +347,14 @@ type WithOptionalOrgType<T$1> = T$1 & {
|
|
|
347
347
|
*/
|
|
348
348
|
interface BillingNamespace {
|
|
349
349
|
/**
|
|
350
|
+
* Returns a list of payment attempts for the current user or supplied organization.
|
|
351
|
+
*
|
|
350
352
|
* @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change. It is advised to [pin](https://clerk.com/docs/pinning) the SDK version and the clerk-js version to avoid breaking changes.
|
|
351
353
|
*/
|
|
352
354
|
getPaymentAttempts: (params: GetPaymentAttemptsParams) => Promise<ClerkPaginatedResponse<BillingPaymentResource>>;
|
|
353
355
|
/**
|
|
356
|
+
* Returns details of a specific payment attempt for the current user or supplied organization.
|
|
357
|
+
*
|
|
354
358
|
* @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change. It is advised to [pin](https://clerk.com/docs/pinning) the SDK version and the clerk-js version to avoid breaking changes.
|
|
355
359
|
*/
|
|
356
360
|
getPaymentAttempt: (params: {
|
|
@@ -358,24 +362,34 @@ interface BillingNamespace {
|
|
|
358
362
|
orgId?: string;
|
|
359
363
|
}) => Promise<BillingPaymentResource>;
|
|
360
364
|
/**
|
|
365
|
+
* Returns a list of all publically visible billing plans.
|
|
366
|
+
*
|
|
361
367
|
* @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change. It is advised to [pin](https://clerk.com/docs/pinning) the SDK version and the clerk-js version to avoid breaking changes.
|
|
362
368
|
*/
|
|
363
369
|
getPlans: (params?: GetPlansParams) => Promise<ClerkPaginatedResponse<BillingPlanResource>>;
|
|
364
370
|
/**
|
|
371
|
+
* Returns a billing plan by ID.
|
|
372
|
+
*
|
|
365
373
|
* @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change. It is advised to [pin](https://clerk.com/docs/pinning) the SDK version and the clerk-js version to avoid breaking changes.
|
|
366
374
|
*/
|
|
367
375
|
getPlan: (params: {
|
|
368
376
|
id: string;
|
|
369
377
|
}) => Promise<BillingPlanResource>;
|
|
370
378
|
/**
|
|
379
|
+
* Returns the main billing subscription for the current user or supplied organization.
|
|
380
|
+
*
|
|
371
381
|
* @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change. It is advised to [pin](https://clerk.com/docs/pinning) the SDK version and the clerk-js version to avoid breaking changes.
|
|
372
382
|
*/
|
|
373
383
|
getSubscription: (params: GetSubscriptionParams) => Promise<BillingSubscriptionResource>;
|
|
374
384
|
/**
|
|
385
|
+
* Returns a list of billing statements for the current user or supplied organization.
|
|
386
|
+
*
|
|
375
387
|
* @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change. It is advised to [pin](https://clerk.com/docs/pinning) the SDK version and the clerk-js version to avoid breaking changes.
|
|
376
388
|
*/
|
|
377
389
|
getStatements: (params: GetStatementsParams) => Promise<ClerkPaginatedResponse<BillingStatementResource>>;
|
|
378
390
|
/**
|
|
391
|
+
* Returns a billing statement by ID.
|
|
392
|
+
*
|
|
379
393
|
* @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change. It is advised to [pin](https://clerk.com/docs/pinning) the SDK version and the clerk-js version to avoid breaking changes.
|
|
380
394
|
*/
|
|
381
395
|
getStatement: (params: {
|
|
@@ -383,6 +397,8 @@ interface BillingNamespace {
|
|
|
383
397
|
orgId?: string;
|
|
384
398
|
}) => Promise<BillingStatementResource>;
|
|
385
399
|
/**
|
|
400
|
+
* Creates a new billing checkout for the current user or supplied organization.
|
|
401
|
+
*
|
|
386
402
|
* @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change. It is advised to [pin](https://clerk.com/docs/pinning) the SDK version and the clerk-js version to avoid breaking changes.
|
|
387
403
|
*/
|
|
388
404
|
startCheckout: (params: CreateCheckoutParams) => Promise<BillingCheckoutResource>;
|