@final-commerce/command-frame 0.1.8 → 0.1.10

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.
@@ -125,7 +125,6 @@ export interface CFProduct {
125
125
  variants: CFProductVariant[];
126
126
  minPrice?: string;
127
127
  maxPrice?: string;
128
- price?: string;
129
128
  status?: string;
130
129
  isDeleted?: boolean;
131
130
  }
@@ -21,6 +21,8 @@ export interface GetProductsParams {
21
21
  externalId?: string;
22
22
  [key: string]: any;
23
23
  };
24
+ offset?: number;
25
+ limit?: number;
24
26
  }
25
27
  export interface GetProductsResponse {
26
28
  products: CFProduct[];
@@ -180,7 +180,6 @@ const createSimpleProduct = (id, name, price, image, category, description) => {
180
180
  companyId: COMPANY_ID,
181
181
  externalId: `ext_${id}`,
182
182
  sku,
183
- price,
184
183
  minPrice: price,
185
184
  maxPrice: price,
186
185
  status: "active",
@@ -214,7 +213,6 @@ const createVariableProduct = (id, name, basePrice, largePrice, image, category,
214
213
  companyId: COMPANY_ID,
215
214
  externalId: `ext_${id}`,
216
215
  sku: skuBase,
217
- price: basePrice,
218
216
  minPrice: basePrice,
219
217
  maxPrice: largePrice,
220
218
  status: "active",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@final-commerce/command-frame",
3
- "version": "0.1.8",
3
+ "version": "0.1.10",
4
4
  "description": "Commands Frame library",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",