@legalplace/wizardx-core 4.42.10-nightly.20251126154644 → 4.42.10-nightly.20251126173006

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.
@@ -213,6 +213,12 @@ const loadPluginFiles = (pluginsList) => __awaiter(void 0, void 0, void 0, funct
213
213
  globalAnchors[anchor] = [];
214
214
  globalAnchors[anchor].push(anchors[anchor]);
215
215
  });
216
+ if (anchors.redux && anchors.redux.reducer) {
217
+ pluginsStoreReducers[plugin] = anchors.redux.reducer;
218
+ }
219
+ if (anchors.redux && anchors.redux.sagas) {
220
+ pluginsStoreSagas[plugin] = anchors.redux.sagas;
221
+ }
216
222
  if (typeof anchors.onLoad === "function")
217
223
  anchors.onLoad();
218
224
  });
@@ -1,4 +1,8 @@
1
+ import { RunActionAnchor, RunOverrideActionAnchor } from "../../PluginLoader";
1
2
  const pluginsHookMiddleware = (mpi) => (next) => (action) => {
2
- return next(action);
3
+ const overridedAction = RunOverrideActionAnchor(action);
4
+ const result = next(overridedAction);
5
+ RunActionAnchor(overridedAction.type, overridedAction, mpi.getState());
6
+ return result;
3
7
  };
4
8
  export default pluginsHookMiddleware;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@legalplace/wizardx-core",
3
- "version": "4.42.10-nightly.20251126154644",
3
+ "version": "4.42.10-nightly.20251126173006",
4
4
  "author": "Moncef Hammou (moncef@legalplace.fr)",
5
5
  "license": "MIT",
6
6
  "files": [