@platfformx/proto-contracts 1.2.3 → 1.2.4

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.
@@ -6,7 +6,7 @@ export interface CreateProductRequest {
6
6
  price: number;
7
7
  images: string[];
8
8
  categoryId: string;
9
- variants: ProductVariant | undefined;
9
+ variants: ProductVariant[];
10
10
  }
11
11
  export interface ProductVariant {
12
12
  quantity: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platfformx/proto-contracts",
3
- "version": "1.2.3",
3
+ "version": "1.2.4",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -16,7 +16,7 @@ message CreateProductRequest{
16
16
  double price = 3;
17
17
  repeated string images = 4;
18
18
  string category_id = 5;
19
- ProductVariant variants = 6;
19
+ repeated ProductVariant variants = 6;
20
20
  }
21
21
 
22
22
  message ProductVariant {