@betterstore/sdk 0.3.66 → 0.3.67

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @betterstore/sdk
2
2
 
3
+ ## 0.3.67
4
+
5
+ ### Patch Changes
6
+
7
+ - bug fixes
8
+
3
9
  ## 0.3.66
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -131,7 +131,6 @@ interface LineItem {
131
131
  name: string;
132
132
  value: string;
133
133
  }[];
134
- discountId?: string;
135
134
  productData: ProductData;
136
135
  metadata?: string;
137
136
  }
@@ -146,7 +145,7 @@ interface CheckoutCreateParams {
146
145
  customerId?: string;
147
146
  lineItems: LineItemCreate[];
148
147
  currency?: Currency;
149
- discountCode?: string;
148
+ discountCodes?: string[];
150
149
  }
151
150
  interface CheckoutUpdateParams {
152
151
  customerId?: string;
package/dist/index.d.ts CHANGED
@@ -131,7 +131,6 @@ interface LineItem {
131
131
  name: string;
132
132
  value: string;
133
133
  }[];
134
- discountId?: string;
135
134
  productData: ProductData;
136
135
  metadata?: string;
137
136
  }
@@ -146,7 +145,7 @@ interface CheckoutCreateParams {
146
145
  customerId?: string;
147
146
  lineItems: LineItemCreate[];
148
147
  currency?: Currency;
149
- discountCode?: string;
148
+ discountCodes?: string[];
150
149
  }
151
150
  interface CheckoutUpdateParams {
152
151
  customerId?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@betterstore/sdk",
3
- "version": "0.3.66",
3
+ "version": "0.3.67",
4
4
  "description": "E-commerce for Developers",
5
5
  "private": false,
6
6
  "publishConfig": {