@betterstore/sdk 0.3.10 → 0.3.13

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,23 @@
1
1
  # @betterstore/sdk
2
2
 
3
+ ## 0.3.13
4
+
5
+ ### Patch Changes
6
+
7
+ - id added to customer
8
+
9
+ ## 0.3.12
10
+
11
+ ### Patch Changes
12
+
13
+ - shippo bug fix
14
+
15
+ ## 0.3.11
16
+
17
+ ### Patch Changes
18
+
19
+ - types
20
+
3
21
  ## 0.3.10
4
22
 
5
23
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -82,7 +82,7 @@ interface Product {
82
82
 
83
83
  interface LineItem {
84
84
  quantity: number;
85
- productId?: string;
85
+ productId: string;
86
86
  variantOptions: {
87
87
  name: string;
88
88
  value: string;
@@ -113,6 +113,7 @@ interface CheckoutSession {
113
113
  currency: string;
114
114
  status: "IN_PROGRESS" | "PAYMENT_PENDING" | "ABANDONED" | "CANCELED" | "FAILED";
115
115
  customer?: {
116
+ id: string;
116
117
  address?: Address;
117
118
  email?: string;
118
119
  };
package/dist/index.d.ts CHANGED
@@ -82,7 +82,7 @@ interface Product {
82
82
 
83
83
  interface LineItem {
84
84
  quantity: number;
85
- productId?: string;
85
+ productId: string;
86
86
  variantOptions: {
87
87
  name: string;
88
88
  value: string;
@@ -113,6 +113,7 @@ interface CheckoutSession {
113
113
  currency: string;
114
114
  status: "IN_PROGRESS" | "PAYMENT_PENDING" | "ABANDONED" | "CANCELED" | "FAILED";
115
115
  customer?: {
116
+ id: string;
116
117
  address?: Address;
117
118
  email?: string;
118
119
  };