@betterstore/sdk 0.3.106 → 0.3.107

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.107
4
+
5
+ ### Patch Changes
6
+
7
+ - types changed
8
+
3
9
  ## 0.3.106
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -33,7 +33,7 @@ interface LineItemCreate extends Omit<LineItem, "productData" | "product" | "met
33
33
  }[];
34
34
  productId: string;
35
35
  product?: ProductWithoutVariants;
36
- metadata?: RecursiveRecord;
36
+ metadata?: Record<string, any>;
37
37
  }
38
38
  type Currency = string;
39
39
  interface CheckoutCreateParams {
@@ -89,9 +89,6 @@ interface CheckoutSession {
89
89
  shipmentData: ShipmentData | null;
90
90
  status: "IN_PROGRESS" | "PAYMENT_PENDING" | "ABANDONED" | "CANCELED" | "FAILED";
91
91
  }
92
- type RecursiveRecord = {
93
- [key: string]: any;
94
- };
95
92
 
96
93
  type SortOrder = "asc" | "desc";
97
94
  type GetListParams<A, B> = {
package/dist/index.d.ts CHANGED
@@ -33,7 +33,7 @@ interface LineItemCreate extends Omit<LineItem, "productData" | "product" | "met
33
33
  }[];
34
34
  productId: string;
35
35
  product?: ProductWithoutVariants;
36
- metadata?: RecursiveRecord;
36
+ metadata?: Record<string, any>;
37
37
  }
38
38
  type Currency = string;
39
39
  interface CheckoutCreateParams {
@@ -89,9 +89,6 @@ interface CheckoutSession {
89
89
  shipmentData: ShipmentData | null;
90
90
  status: "IN_PROGRESS" | "PAYMENT_PENDING" | "ABANDONED" | "CANCELED" | "FAILED";
91
91
  }
92
- type RecursiveRecord = {
93
- [key: string]: any;
94
- };
95
92
 
96
93
  type SortOrder = "asc" | "desc";
97
94
  type GetListParams<A, B> = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@betterstore/sdk",
3
- "version": "0.3.106",
3
+ "version": "0.3.107",
4
4
  "description": "E-commerce for Developers",
5
5
  "private": false,
6
6
  "publishConfig": {