monkey-front-core 21.2.1 → 21.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.
@@ -251,7 +251,7 @@ var monkeyecxSeeder_reducer = /*#__PURE__*/Object.freeze({
251
251
  * This style guide was developed by Monkey Exchange Team
252
252
  * MIT Licence
253
253
  ************************* */
254
- const featureKey = 'mecx-core-storage';
254
+ const featureName = 'mecx-core-storage';
255
255
  const initialState = {
256
256
  control: {
257
257
  isLoading: false
@@ -302,7 +302,7 @@ const reducer = createReducer(initialState, on(clear, (state) => {
302
302
 
303
303
  var monkeyecxStorage_reducer = /*#__PURE__*/Object.freeze({
304
304
  __proto__: null,
305
- featureKey: featureKey,
305
+ featureName: featureName,
306
306
  initialState: initialState,
307
307
  reducer: reducer
308
308
  });
@@ -324,11 +324,13 @@ var index$3 = /*#__PURE__*/Object.freeze({
324
324
  * This style guide was developed by Monkey Exchange Team
325
325
  * MIT Licence
326
326
  ************************* */
327
- const selectState = createFeatureSelector(featureKey);
327
+ const selectState = createFeatureSelector(featureName);
328
328
  const select = createSelector(selectState, (state) => {
329
329
  return state.data;
330
330
  });
331
- const selectUser = createSelector(selectState, (state) => state.data);
331
+ const selectUser = createSelector(selectState, (state) => {
332
+ return state.data;
333
+ });
332
334
  const selectControl = createSelector(selectState, (state) => {
333
335
  return state.control;
334
336
  });
@@ -3791,7 +3793,7 @@ class MonkeyEcxCommonsActions {
3791
3793
  ************************* */
3792
3794
  class MonkeyEcxCommonsSelectors {
3793
3795
  static getSelectors(reducer) {
3794
- const selectState = createFeatureSelector(reducer.featureKey);
3796
+ const selectState = createFeatureSelector(reducer.featureName);
3795
3797
  const selectAll = createSelector(selectState, reducer.selectAll);
3796
3798
  const selectControl = () => {
3797
3799
  return createSelector(selectState, (state) => {
@@ -5024,7 +5026,7 @@ class MonkeyEcxCoreModule {
5024
5026
  }),
5025
5027
  provideStore(),
5026
5028
  provideState({
5027
- name: featureKey,
5029
+ name: featureName,
5028
5030
  reducer: reducer
5029
5031
  })
5030
5032
  ]