rerobe-js-orm 4.0.8 → 4.0.9

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.
@@ -91,6 +91,7 @@ export default class OrderHelpers {
91
91
  taxAmount?: Money | undefined;
92
92
  discountedPrice?: Money | undefined;
93
93
  taxAmountWithDiscount?: Money | undefined;
94
+ handle?: string | undefined;
94
95
  title: string;
95
96
  quantity: string | number;
96
97
  variant: ProductVariant | null;
@@ -164,6 +165,7 @@ export default class OrderHelpers {
164
165
  taxAmount?: Money | undefined;
165
166
  discountedPrice?: Money | undefined;
166
167
  taxAmountWithDiscount?: Money | undefined;
168
+ handle?: string | undefined;
167
169
  title: string;
168
170
  quantity: string | number;
169
171
  variant: ProductVariant | null;
@@ -115,6 +115,7 @@ class OrderHelpers {
115
115
  amount: Number(Number((taxProps === null || taxProps === void 0 ? void 0 : taxProps.taxAmountWithDiscount) || 0).toFixed(2)),
116
116
  currencyCode,
117
117
  },
118
+ handle: product.handle || '',
118
119
  };
119
120
  }
120
121
  toFixedPointPrice(price) {
@@ -341,6 +341,7 @@ interface ReRobeOrderLineItem extends OrderLineItem {
341
341
  taxAmount?: Money;
342
342
  discountedPrice?: Money;
343
343
  taxAmountWithDiscount?: Money;
344
+ handle?: string;
344
345
  }
345
346
  type OrderLineItemConnection = {
346
347
  edges: OrderLineItemEdge[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rerobe-js-orm",
3
- "version": "4.0.8",
3
+ "version": "4.0.9",
4
4
  "description": "ReRobe's Javascript ORM Framework",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",