@etsoo/appscript 1.4.65 → 1.4.66

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.
@@ -241,6 +241,7 @@ class ShoppingCart {
241
241
  this.items.length = 0;
242
242
  this.promotions.length = 0;
243
243
  this.prices = {};
244
+ this.cache = undefined;
244
245
  if (keepOwner) {
245
246
  this.save();
246
247
  }
@@ -238,6 +238,7 @@ export class ShoppingCart {
238
238
  this.items.length = 0;
239
239
  this.promotions.length = 0;
240
240
  this.prices = {};
241
+ this.cache = undefined;
241
242
  if (keepOwner) {
242
243
  this.save();
243
244
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/appscript",
3
- "version": "1.4.65",
3
+ "version": "1.4.66",
4
4
  "description": "Applications shared TypeScript framework",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/mjs/index.js",
@@ -463,6 +463,7 @@ export class ShoppingCart<T extends ShoppingCartItem> {
463
463
  this.items.length = 0;
464
464
  this.promotions.length = 0;
465
465
  this.prices = <Record<T['id'], number>>{};
466
+ this.cache = undefined;
466
467
 
467
468
  if (keepOwner) {
468
469
  this.save();