@nuskin/ns-shop 7.6.1 → 7.6.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.6.1",
3
+ "version": "7.6.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": {
@@ -299,7 +299,7 @@ function hasPreviewItems() {
299
299
  return _getCart().hasPreviewItems();
300
300
  }
301
301
 
302
- function hasDangerousGoods(options = {cartOrderItems: true}) {
302
+ function hasDangerousGoods(options = {cartItems: true}) {
303
303
  let retVal = false;
304
304
  _getCart().getItems(options).forEach((item) => {
305
305
  retVal = retVal || item.product.dangerousGoods;