@omnibase/core-js 0.4.0 → 0.4.1

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.
@@ -160,11 +160,11 @@ declare function getAvailableProducts(): Promise<ProductWithPricingUI[]>;
160
160
  declare function getProduct(productId: string): Promise<Product | null>;
161
161
 
162
162
  type CheckoutOptions = {
163
- priceId: string;
163
+ price_id: string;
164
164
  mode: "payment" | "subscription";
165
- successUrl: string;
166
- cancelUrl: string;
167
- customerId?: string;
165
+ success_url: string;
166
+ cancel_url: string;
167
+ customer_id?: string;
168
168
  };
169
169
  type CreateCheckoutResponse = ApiResponse<{
170
170
  url: string;
@@ -160,11 +160,11 @@ declare function getAvailableProducts(): Promise<ProductWithPricingUI[]>;
160
160
  declare function getProduct(productId: string): Promise<Product | null>;
161
161
 
162
162
  type CheckoutOptions = {
163
- priceId: string;
163
+ price_id: string;
164
164
  mode: "payment" | "subscription";
165
- successUrl: string;
166
- cancelUrl: string;
167
- customerId?: string;
165
+ success_url: string;
166
+ cancel_url: string;
167
+ customer_id?: string;
168
168
  };
169
169
  type CreateCheckoutResponse = ApiResponse<{
170
170
  url: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omnibase/core-js",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "OmniBase core Javascript SDK - framework agnostic",
5
5
  "files": [
6
6
  "dist/**/*"