@betterstore/sdk 0.3.60 → 0.3.62

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.62
4
+
5
+ ### Patch Changes
6
+
7
+ - bug fix
8
+
9
+ ## 0.3.61
10
+
11
+ ### Patch Changes
12
+
13
+ - bug fix
14
+
3
15
  ## 0.3.60
4
16
 
5
17
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -118,6 +118,7 @@ interface ZasilkovnaRate extends BaseRate {
118
118
  }
119
119
 
120
120
  type ProductData = Pick<Product, "title" | "description" | "images" | "category" | "tags" | "sku" | "barcode" | "vendor" | "isPhysical" | "weightInGrams" | "heightInCm" | "widthInCm" | "lengthInCm" | "priceInCents"> & {
121
+ productId: string;
121
122
  selectedVariant: Pick<ProductVariant, "title" | "sku" | "barcode" | "images" | "isPhysical" | "weightInGrams" | "heightInCm" | "widthInCm" | "lengthInCm" | "priceInCents" | "variantOptions">;
122
123
  };
123
124
  interface LineItem {
@@ -130,7 +131,7 @@ interface LineItem {
130
131
  productData: ProductData;
131
132
  metadata?: string;
132
133
  }
133
- interface LineItemCreate extends Omit<LineItem, "product" | "metadata"> {
134
+ interface LineItemCreate extends Omit<LineItem, "productData" | "product" | "metadata"> {
134
135
  productId: string;
135
136
  product?: Pick<Product, "title" | "priceInCents" | "images">;
136
137
  metadata?: RecursiveRecord;
package/dist/index.d.ts CHANGED
@@ -118,6 +118,7 @@ interface ZasilkovnaRate extends BaseRate {
118
118
  }
119
119
 
120
120
  type ProductData = Pick<Product, "title" | "description" | "images" | "category" | "tags" | "sku" | "barcode" | "vendor" | "isPhysical" | "weightInGrams" | "heightInCm" | "widthInCm" | "lengthInCm" | "priceInCents"> & {
121
+ productId: string;
121
122
  selectedVariant: Pick<ProductVariant, "title" | "sku" | "barcode" | "images" | "isPhysical" | "weightInGrams" | "heightInCm" | "widthInCm" | "lengthInCm" | "priceInCents" | "variantOptions">;
122
123
  };
123
124
  interface LineItem {
@@ -130,7 +131,7 @@ interface LineItem {
130
131
  productData: ProductData;
131
132
  metadata?: string;
132
133
  }
133
- interface LineItemCreate extends Omit<LineItem, "product" | "metadata"> {
134
+ interface LineItemCreate extends Omit<LineItem, "productData" | "product" | "metadata"> {
134
135
  productId: string;
135
136
  product?: Pick<Product, "title" | "priceInCents" | "images">;
136
137
  metadata?: RecursiveRecord;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@betterstore/sdk",
3
- "version": "0.3.60",
3
+ "version": "0.3.62",
4
4
  "description": "E-commerce for Developers",
5
5
  "private": false,
6
6
  "publishConfig": {