@clerk/types 4.59.1 → 4.59.2-canary.v20250522144247

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/index.d.mts CHANGED
@@ -239,7 +239,7 @@ type WithOptionalOrgType<T> = T & {
239
239
  orgId?: string;
240
240
  };
241
241
  interface CommerceBillingNamespace {
242
- getPlans: () => Promise<CommercePlanResource[]>;
242
+ getPlans: (params?: GetPlansParams) => Promise<CommercePlanResource[]>;
243
243
  getSubscriptions: (params: GetSubscriptionsParams) => Promise<ClerkPaginatedResponse<CommerceSubscriptionResource>>;
244
244
  getStatements: (params: GetStatementsParams) => Promise<ClerkPaginatedResponse<CommerceStatementResource>>;
245
245
  startCheckout: (params: CreateCheckoutParams) => Promise<CommerceCheckoutResource>;
package/dist/index.d.ts CHANGED
@@ -239,7 +239,7 @@ type WithOptionalOrgType<T> = T & {
239
239
  orgId?: string;
240
240
  };
241
241
  interface CommerceBillingNamespace {
242
- getPlans: () => Promise<CommercePlanResource[]>;
242
+ getPlans: (params?: GetPlansParams) => Promise<CommercePlanResource[]>;
243
243
  getSubscriptions: (params: GetSubscriptionsParams) => Promise<ClerkPaginatedResponse<CommerceSubscriptionResource>>;
244
244
  getStatements: (params: GetStatementsParams) => Promise<ClerkPaginatedResponse<CommerceStatementResource>>;
245
245
  startCheckout: (params: CreateCheckoutParams) => Promise<CommerceCheckoutResource>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clerk/types",
3
- "version": "4.59.1",
3
+ "version": "4.59.2-canary.v20250522144247",
4
4
  "description": "Typings for Clerk libraries.",
5
5
  "keywords": [
6
6
  "clerk",