@wise/dynamic-flow-client 4.8.6 → 4.8.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
@@ -6623,6 +6623,7 @@ function useDynamicFlowCore(props) {
6623
6623
  break;
6624
6624
  }
6625
6625
  case "refresh": {
6626
+ rootComponentRef.current.dismissAllModals();
6626
6627
  await onRefresh({ refreshUrl: behavior.url, analytics: behavior.analytics });
6627
6628
  break;
6628
6629
  }
package/build/main.mjs CHANGED
@@ -6580,6 +6580,7 @@ function useDynamicFlowCore(props) {
6580
6580
  break;
6581
6581
  }
6582
6582
  case "refresh": {
6583
+ rootComponentRef.current.dismissAllModals();
6583
6584
  await onRefresh({ refreshUrl: behavior.url, analytics: behavior.analytics });
6584
6585
  break;
6585
6586
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wise/dynamic-flow-client",
3
- "version": "4.8.6",
3
+ "version": "4.8.7-experimental-override-modal-renderer-8e4792b",
4
4
  "description": "Dynamic Flow web client",
5
5
  "license": "Apache-2.0",
6
6
  "main": "./build/main.js",
@@ -78,8 +78,8 @@
78
78
  "stylelint-value-no-unknown-custom-properties": "6.0.1",
79
79
  "tsx": "4.20.3",
80
80
  "typescript": "5.8.3",
81
- "@wise/dynamic-flow-renderers": "0.0.0",
82
- "@wise/dynamic-flow-fixtures": "0.0.1"
81
+ "@wise/dynamic-flow-fixtures": "0.0.1",
82
+ "@wise/dynamic-flow-renderers": "0.0.0"
83
83
  },
84
84
  "peerDependencies": {
85
85
  "@transferwise/components": "^46.92.0",