@nuskin/ns-shop 7.0.0 → 7.0.1

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuskin/ns-shop",
3
- "version": "7.0.0",
3
+ "version": "7.0.1",
4
4
  "description": "The description that will amaze and astound your audience when they read it",
5
5
  "main": "src/shop.js",
6
6
  "scripts": {
@@ -227,9 +227,11 @@ async function getEquinoxCart() {
227
227
  });
228
228
  }
229
229
 
230
+ await cartContents
231
+
230
232
  // if this is a promise, this will resolve it
231
233
  // otherwise, it won't do anything
232
- return await cartContents;
234
+ return cartContents;
233
235
  }
234
236
 
235
237
  /**
@@ -374,7 +376,7 @@ function _assembleChildSkus(requestData, options) {
374
376
  const productSku = options.sku
375
377
  let productWithVariant = []
376
378
  let personalOffer = sessionStorage.getItem('personalOffer');
377
- console.log(personalOffer)
379
+
378
380
  if (personalOffer !== null) {
379
381
  personalOffer = JSON.parse(personalOffer);
380
382
  productWithVariant = personalOffer.products.filter((sku) =>