@betterstore/sdk 0.3.42 → 0.3.44

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.44
4
+
5
+ ### Patch Changes
6
+
7
+ - new product seo props added
8
+
9
+ ## 0.3.43
10
+
11
+ ### Patch Changes
12
+
13
+ - bug fixes
14
+
3
15
  ## 0.3.42
4
16
 
5
17
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -76,6 +76,9 @@ interface Product {
76
76
  stockAvailable: number;
77
77
  stockCommited: number;
78
78
  stockUnavailable: number;
79
+ seoPageTitle?: string;
80
+ seoDescription?: string;
81
+ seoHandle?: string;
79
82
  status: ProductStatus;
80
83
  options: ProductOption[];
81
84
  productVariants: ProductVariant[];
@@ -108,6 +111,7 @@ interface LineItem {
108
111
  metadata?: string;
109
112
  }
110
113
  interface LineItemCreate extends Omit<LineItem, "product" | "metadata"> {
114
+ productId: string;
111
115
  product?: Pick<Product, "title" | "priceInCents" | "images">;
112
116
  metadata?: RecursiveRecord;
113
117
  }
package/dist/index.d.ts CHANGED
@@ -76,6 +76,9 @@ interface Product {
76
76
  stockAvailable: number;
77
77
  stockCommited: number;
78
78
  stockUnavailable: number;
79
+ seoPageTitle?: string;
80
+ seoDescription?: string;
81
+ seoHandle?: string;
79
82
  status: ProductStatus;
80
83
  options: ProductOption[];
81
84
  productVariants: ProductVariant[];
@@ -108,6 +111,7 @@ interface LineItem {
108
111
  metadata?: string;
109
112
  }
110
113
  interface LineItemCreate extends Omit<LineItem, "product" | "metadata"> {
114
+ productId: string;
111
115
  product?: Pick<Product, "title" | "priceInCents" | "images">;
112
116
  metadata?: RecursiveRecord;
113
117
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@betterstore/sdk",
3
- "version": "0.3.42",
3
+ "version": "0.3.44",
4
4
  "description": "E-commerce for Developers",
5
5
  "private": false,
6
6
  "publishConfig": {