@wise/dynamic-flow-client-internal 4.15.6 → 4.15.7-experimental-override-modal-renderer-8e4792b

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/build/main.js CHANGED
@@ -3374,7 +3374,7 @@ function DynamicFlowRevamp(props) {
3374
3374
  } = props;
3375
3375
  const httpClient = useWiseHttpClient(customFetch);
3376
3376
  const mergedRenderers = (0, import_react14.useMemo)(
3377
- () => [ModalContentRenderer, ...renderers != null ? renderers : [], ...wiseRenderers],
3377
+ () => [...renderers != null ? renderers : [], ModalContentRenderer, ...wiseRenderers],
3378
3378
  [renderers]
3379
3379
  );
3380
3380
  const logEvent = (0, import_react14.useMemo)(() => getLogEvent(onLog), [onLog]);
@@ -3404,7 +3404,7 @@ var DynamicForm = (0, import_react14.forwardRef)(function DynamicForm2(props, re
3404
3404
  } = props;
3405
3405
  const httpClient = useWiseHttpClient(customFetch);
3406
3406
  const mergedRenderers = (0, import_react14.useMemo)(
3407
- () => [ModalContentRenderer, ...renderers != null ? renderers : [], ...wiseRenderers],
3407
+ () => [...renderers != null ? renderers : [], ModalContentRenderer, ...wiseRenderers],
3408
3408
  [renderers]
3409
3409
  );
3410
3410
  const logEvent = (0, import_react14.useMemo)(() => getLogEvent(onLog), [onLog]);
package/build/main.mjs CHANGED
@@ -3350,7 +3350,7 @@ function DynamicFlowRevamp(props) {
3350
3350
  } = props;
3351
3351
  const httpClient = useWiseHttpClient(customFetch);
3352
3352
  const mergedRenderers = useMemo2(
3353
- () => [ModalContentRenderer, ...renderers != null ? renderers : [], ...wiseRenderers],
3353
+ () => [...renderers != null ? renderers : [], ModalContentRenderer, ...wiseRenderers],
3354
3354
  [renderers]
3355
3355
  );
3356
3356
  const logEvent = useMemo2(() => getLogEvent(onLog), [onLog]);
@@ -3380,7 +3380,7 @@ var DynamicForm = forwardRef(function DynamicForm2(props, ref) {
3380
3380
  } = props;
3381
3381
  const httpClient = useWiseHttpClient(customFetch);
3382
3382
  const mergedRenderers = useMemo2(
3383
- () => [ModalContentRenderer, ...renderers != null ? renderers : [], ...wiseRenderers],
3383
+ () => [...renderers != null ? renderers : [], ModalContentRenderer, ...wiseRenderers],
3384
3384
  [renderers]
3385
3385
  );
3386
3386
  const logEvent = useMemo2(() => getLogEvent(onLog), [onLog]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wise/dynamic-flow-client-internal",
3
- "version": "4.15.6",
3
+ "version": "4.15.7-experimental-override-modal-renderer-8e4792b",
4
4
  "description": "Dynamic Flow web client for Wise",
5
5
  "license": "Apache-2.0",
6
6
  "main": "./build/main.js",
@@ -74,9 +74,9 @@
74
74
  "stylelint-value-no-unknown-custom-properties": "6.0.1",
75
75
  "tsx": "4.20.3",
76
76
  "typescript": "5.8.3",
77
- "@wise/dynamic-flow-renderers": "0.0.0",
77
+ "@wise/dynamic-flow-fixtures": "0.0.1",
78
78
  "@wise/dynamic-flow-types": "3.7.0",
79
- "@wise/dynamic-flow-fixtures": "0.0.1"
79
+ "@wise/dynamic-flow-renderers": "0.0.0"
80
80
  },
81
81
  "peerDependencies": {
82
82
  "@transferwise/components": "^46.92.0",
@@ -91,7 +91,7 @@
91
91
  },
92
92
  "dependencies": {
93
93
  "classnames": "2.5.1",
94
- "@wise/dynamic-flow-client": "4.8.6",
94
+ "@wise/dynamic-flow-client": "4.8.7-experimental-override-modal-renderer-8e4792b",
95
95
  "@wise/dynamic-flow-types": "3.7.0"
96
96
  },
97
97
  "scripts": {