@nuskin/ns-shop 6.2.2 → 6.2.3

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": "6.2.2",
3
+ "version": "6.2.3",
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": {
@@ -26,7 +26,7 @@
26
26
  "@nuskin/ns-common-lib": "1.4.5",
27
27
  "@nuskin/ns-feature-flags": "1.4.2",
28
28
  "@nuskin/ns-loyalty-web": "1.5.6",
29
- "@nuskin/ns-product-lib": "2.5.1",
29
+ "@nuskin/ns-product-lib": "2.5.2",
30
30
  "@nuskin/nuskinjquery": "2.3.1",
31
31
  "axios": "0.21.1",
32
32
  "decimal.js": "10.2.1",
@@ -38,8 +38,8 @@
38
38
  "@nuskin/ns-account": "5.7.1",
39
39
  "@nuskin/configuration-sdk": "2.2.3",
40
40
  "@nuskin/ns-jsanalyzer": "1.0.1",
41
- "@nuskin/ns-product": "3.38.2",
42
- "@nuskin/ns-util": "4.2.4",
41
+ "@nuskin/ns-product": "3.38.3",
42
+ "@nuskin/ns-util": "4.2.5",
43
43
  "axios-mock-adapter": "1.18.2",
44
44
  "babel-cli": "6.26.0",
45
45
  "babel-core": "6.26.3",
@@ -230,7 +230,7 @@ function goToCartPage() {
230
230
  $(async function () {
231
231
  if (equinoxLocalStorage.isEquinoxEnabled()) {
232
232
  _getEquinoxSession();
233
- $.subscribe(events.shop.ADD_TO_CART, (options) => {
233
+ events.subscribe(events.shop.ADD_TO_CART, (options) => {
234
234
  getEquinoxCart().then((response) => {
235
235
  const cart = response.data;
236
236
  events.publish(events.shop.CART_UPDATED, { cartInfo: { qty: cart.value.count }, ...options });