@shopgate/pwa-common-commerce 7.31.3 → 7.32.0-beta.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.
@@ -1,5 +1,5 @@
1
1
  import "core-js/modules/es.array.includes.js";
2
- import { getFulfillmentSchedulingEnabled } from '@shopgate/engage/core/selectors';
2
+ import { getFulfillmentSchedulingEnabled } from '@shopgate/engage/settings/selectors/merchantSettings';
3
3
  import { getPreferredLocation } from '@shopgate/engage/locations';
4
4
  import { forceOpenFulfillmentSlotDialog } from '@shopgate/engage/locations/components/FulfillmentSlotSwitcher/FulfillmentSlotProvider';
5
5
  import { ROPIS, BOPIS } from '@shopgate/engage/locations/constants';
@@ -1,6 +1,6 @@
1
1
  import { mutable } from '@shopgate/pwa-common/helpers/redux';
2
2
  import PipelineRequest from '@shopgate/pwa-core/classes/PipelineRequest';
3
- import { getWishlistItemNotesEnabled, getWishlistItemQuantityEnabled } from '@shopgate/engage/core/selectors';
3
+ import { getWishlistItemNotesEnabled, getWishlistItemQuantityEnabled } from '@shopgate/engage/settings/selectors/shopSettings';
4
4
  import { SHOPGATE_USER_ADD_FAVORITES } from "../constants/Pipelines";
5
5
  import { successAddFavorites, errorAddFavorites } from "../action-creators";
6
6
  import { getHasMultipleFavoritesListsSupport, getFavoritesDefaultList } from "../selectors";
@@ -1,5 +1,5 @@
1
1
  import { mutable } from '@shopgate/pwa-common/helpers/redux';
2
- import { getWishlistItemQuantityEnabled, getLoadWishlistOnAppStartEnabled } from '@shopgate/engage/core/selectors/shopSettings';
2
+ import { getWishlistItemQuantityEnabled, getLoadWishlistOnAppStartEnabled } from '@shopgate/engage/settings/selectors/shopSettings';
3
3
  import { getFavoritesDefaultList, getFavoritesLists, makeIsProductOnSpecificFavoriteList } from "../selectors";
4
4
  import { addProductToFavorites, removeProductFromFavorites, requestFlushFavoritesBuffer, openFavoritesListChooser, updateProductInFavorites } from "../action-creators";
5
5
  import fetchFavoritesListsWithItems from "./fetchFavoritesListsWithItems";
@@ -6,7 +6,7 @@ import { appDidStart$ } from '@shopgate/pwa-common/streams';
6
6
  import groupBy from 'lodash/groupBy';
7
7
  import ToastProvider from '@shopgate/pwa-common/providers/toast';
8
8
  import { makeGetRoutePattern } from '@shopgate/engage/core/selectors';
9
- import { getLoadWishlistOnAppStartEnabled, getWishlistItemQuantityEnabled } from '@shopgate/engage/core/selectors/shopSettings';
9
+ import { getLoadWishlistOnAppStartEnabled, getWishlistItemQuantityEnabled } from '@shopgate/engage/settings/selectors/shopSettings';
10
10
  import { LoadingProvider } from '@shopgate/pwa-common/providers';
11
11
  import { favoritesWillEnter$, shouldFetchFreshFavorites$, addProductToFavoritesDebounced$, addProductToFavorites$, removeProductFromFavoritesDebounced$, errorFavoritesLimit$, refreshFavorites$, didReceiveFlushFavoritesBuffer$, updateProductInFavoritesDebounced$, favoritesDidAddItem$, favoritesSyncIdle$ } from "../streams";
12
12
  import { SHOPGATE_USER_ADD_FAVORITES, SHOPGATE_USER_DELETE_FAVORITES } from "../constants/Pipelines";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopgate/pwa-common-commerce",
3
- "version": "7.31.3",
3
+ "version": "7.32.0-beta.1",
4
4
  "description": "Commerce library for the Shopgate Connect PWA.",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Shopgate <support@shopgate.com>",
@@ -20,8 +20,8 @@
20
20
  "reselect": "^4.1.8"
21
21
  },
22
22
  "devDependencies": {
23
- "@shopgate/pwa-common": "7.31.3",
24
- "@shopgate/pwa-core": "7.31.3",
23
+ "@shopgate/pwa-common": "7.32.0-beta.1",
24
+ "@shopgate/pwa-core": "7.32.0-beta.1",
25
25
  "@types/lodash": "^4.17.24",
26
26
  "lodash": "^4.17.23",
27
27
  "react": "^17.0.2",
@@ -7,7 +7,7 @@ import { generateResultHash } from '@shopgate/pwa-common/helpers/redux';
7
7
  import { getSortOrder } from '@shopgate/pwa-common/selectors/history';
8
8
  import { SORT_SCOPE_CATEGORY, SORT_SCOPE_SEARCH } from '@shopgate/engage/filter/constants';
9
9
  import { getPreferredLocation } from '@shopgate/engage/locations/selectors';
10
- import { getIsLocationBasedShopping } from '@shopgate/engage/core/selectors/merchantSettings';
10
+ import { getIsLocationBasedShopping } from '@shopgate/engage/settings/selectors/merchantSettings';
11
11
  import { getActiveFilters } from "../../filter/selectors";
12
12
  import { filterProperties } from "../helpers";
13
13