@nuskin/ns-shop 7.2.1-mdigi-2049.1 → 7.2.1-mdigi-2049.2

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.2.1-mdigi-2049.1",
3
+ "version": "7.2.1-mdigi-2049.2",
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": {
@@ -204,7 +204,7 @@ let PickupUtil = function() {
204
204
  // if the calling code knows that loadShipMethods has finished then this
205
205
  // function can be called directly if the calling function is not async.
206
206
  function getStoredShipMethods() {
207
- return JSON.parse((sessionStorage.getItem(SHIP_METHODS) || []));
207
+ return JSON.parse((sessionStorage.getItem(SHIP_METHODS) || '[]'));
208
208
  }
209
209
 
210
210
  async function getShipMethods() {