@shopgate/pwa-common-commerce 6.19.0 → 6.19.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.
@@ -8,7 +8,7 @@ import _regeneratorRuntime from"@babel/runtime/regenerator";function asyncGenera
8
8
  * Gets triggered when the app is started or the cart route is entered.
9
9
  */var cartDidEnterOrAppDidStart$=cartDidEnter$.merge(appDidStart$);var cartBusy$=cartRequesting$.merge(couponsAdded$,couponsDeleted$,productsAdded$,productsModified$,productsDeleted$);var cartIdle$=cartReceived$.merge(couponsUpdated$,productsUpdated$);/**
10
10
  * Gets triggered when the app will start.
11
- */subscribe(appWillStart$,function(){// Use the redirect system to handle coupons from deeplinks.
11
+ */subscribe(appWillStart$,function(){// Use the redirect system to handle coupons from deep links.
12
12
  redirects.set(DEEPLINK_CART_ADD_COUPON_PATTERN,function(_ref){var dispatch=_ref.dispatch,action=_ref.action;var _action$params$pathna=action.params.pathname.split('/'),_action$params$pathna2=_slicedToArray(_action$params$pathna,3),coupon=_action$params$pathna2[2];if(coupon){dispatch(addCouponsToCart([coupon.split('?')[0]]));}return null;});// This will be handled in 2 deferred subscriptions
13
13
  redirects.set(DEEPLINK_CART_ADD_PRODUCT_PATTERN,function(){return null;});});/**
14
14
  * Gets triggered when the app starts.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopgate/pwa-common-commerce",
3
- "version": "6.19.0",
3
+ "version": "6.19.2",
4
4
  "description": "Commerce library for the Shopgate Connect PWA.",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Shopgate <support@shopgate.com>",
@@ -18,8 +18,8 @@
18
18
  "reselect": "^3.0.1"
19
19
  },
20
20
  "devDependencies": {
21
- "@shopgate/pwa-common": "6.19.0",
22
- "@shopgate/pwa-core": "6.19.0",
21
+ "@shopgate/pwa-common": "6.19.2",
22
+ "@shopgate/pwa-core": "6.19.2",
23
23
  "lodash": "^4.17.4",
24
24
  "react": "~16.12.0",
25
25
  "react-dom": "~16.12.0"