@betterstore/sdk 0.3.84 → 0.3.86

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,17 @@
1
1
  # @betterstore/sdk
2
2
 
3
+ ## 0.3.86
4
+
5
+ ### Patch Changes
6
+
7
+ - bug fixes
8
+
9
+ ## 0.3.85
10
+
11
+ ### Patch Changes
12
+
13
+ - bug fixes
14
+
3
15
  ## 0.3.84
4
16
 
5
17
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -32,7 +32,7 @@ interface LineItemCreate extends Omit<LineItem, "productData" | "product" | "met
32
32
  value: string;
33
33
  }[];
34
34
  productId: string;
35
- product?: Pick<Product, "id" | "title" | "description" | "images" | "priceInCents">;
35
+ product?: ProductWithoutVariants;
36
36
  metadata?: RecursiveRecord;
37
37
  }
38
38
  type Currency = string;
@@ -280,6 +280,7 @@ interface CustomerSession {
280
280
  customerId: string;
281
281
  expiresAt: Date;
282
282
  testmode: boolean;
283
+ token: string;
283
284
  customer: {
284
285
  createdAt: Date;
285
286
  updatedAt: Date;
package/dist/index.d.ts CHANGED
@@ -32,7 +32,7 @@ interface LineItemCreate extends Omit<LineItem, "productData" | "product" | "met
32
32
  value: string;
33
33
  }[];
34
34
  productId: string;
35
- product?: Pick<Product, "id" | "title" | "description" | "images" | "priceInCents">;
35
+ product?: ProductWithoutVariants;
36
36
  metadata?: RecursiveRecord;
37
37
  }
38
38
  type Currency = string;
@@ -280,6 +280,7 @@ interface CustomerSession {
280
280
  customerId: string;
281
281
  expiresAt: Date;
282
282
  testmode: boolean;
283
+ token: string;
283
284
  customer: {
284
285
  createdAt: Date;
285
286
  updatedAt: Date;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@betterstore/sdk",
3
- "version": "0.3.84",
3
+ "version": "0.3.86",
4
4
  "description": "E-commerce for Developers",
5
5
  "private": false,
6
6
  "publishConfig": {