@etsoo/appscript 1.4.60 → 1.4.61

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.
@@ -384,6 +384,7 @@ class ShoppingCart {
384
384
  ...data,
385
385
  id,
386
386
  price,
387
+ assetQty,
387
388
  subtotal: price * qty * assetQty,
388
389
  discount: 0,
389
390
  promotions: Array()
@@ -401,6 +402,7 @@ class ShoppingCart {
401
402
  const newItem = {
402
403
  ...item,
403
404
  price,
405
+ assetQty,
404
406
  subtotal: price * qty * assetQty,
405
407
  discount: 0
406
408
  };
@@ -381,6 +381,7 @@ export class ShoppingCart {
381
381
  ...data,
382
382
  id,
383
383
  price,
384
+ assetQty,
384
385
  subtotal: price * qty * assetQty,
385
386
  discount: 0,
386
387
  promotions: Array()
@@ -398,6 +399,7 @@ export class ShoppingCart {
398
399
  const newItem = {
399
400
  ...item,
400
401
  price,
402
+ assetQty,
401
403
  subtotal: price * qty * assetQty,
402
404
  discount: 0
403
405
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/appscript",
3
- "version": "1.4.60",
3
+ "version": "1.4.61",
4
4
  "description": "Applications shared TypeScript framework",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/mjs/index.js",
@@ -55,7 +55,7 @@
55
55
  "@etsoo/notificationbase": "^1.1.29",
56
56
  "@etsoo/restclient": "^1.0.93",
57
57
  "@etsoo/shared": "^1.2.17",
58
- "crypto-js": "^4.1.1"
58
+ "crypto-js": "^4.2.0"
59
59
  },
60
60
  "devDependencies": {
61
61
  "@babel/cli": "^7.23.0",
@@ -605,6 +605,7 @@ export class ShoppingCart<T extends ShoppingCartItem> {
605
605
  ...data,
606
606
  id,
607
607
  price,
608
+ assetQty,
608
609
  subtotal: price * qty * assetQty,
609
610
  discount: 0,
610
611
  promotions: Array<ShoppingPromotion>()
@@ -623,6 +624,7 @@ export class ShoppingCart<T extends ShoppingCartItem> {
623
624
  const newItem = {
624
625
  ...item,
625
626
  price,
627
+ assetQty,
626
628
  subtotal: price * qty * assetQty,
627
629
  discount: 0
628
630
  };