@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
|
@@ -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
|
|
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
|
-
|
|
379
|
+
|
|
378
380
|
if (personalOffer !== null) {
|
|
379
381
|
personalOffer = JSON.parse(personalOffer);
|
|
380
382
|
productWithVariant = personalOffer.products.filter((sku) =>
|