@wise/dynamic-flow-client 3.7.2-experimental-1ba6fef → 3.8.0-beta-ba9b66e

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.mjs CHANGED
@@ -1439,7 +1439,7 @@ function useExternal(url) {
1439
1439
  useEffect(() => {
1440
1440
  if (url) {
1441
1441
  setHasManuallyTriggered(false);
1442
- setExternalWindow(null);
1442
+ setExternalWindow(window.open(url, "_blank"));
1443
1443
  }
1444
1444
  }, [url]);
1445
1445
  const requiresManualTrigger = Boolean(url && !externalWindow && !hasManuallyTriggered);
@@ -9,4 +9,4 @@ export * from './legacy/dynamicFlow/DynamicFlow';
9
9
  export type { DynamicFlowProps, InitialAction } from './legacy/dynamic-flow-types';
10
10
  export type { Step } from '@wise/dynamic-flow-types';
11
11
  export { default as DynamicFlowRevamp } from './revamp/DynamicFlowWise';
12
- export type { DynamicFlowProps as DynamicFlowRevampProps } from './revamp/types';
12
+ export type { DynamicFlowProps as DynamicFlowRevampProps, DynamicFlowPropsWithInitialAction as DynamicFlowRevampPropsWithInitialAction, DynamicFlowPropsWithInitialStep as DynamicFlowRevampPropsWithInitialStep, } from './revamp/types';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wise/dynamic-flow-client",
3
- "version": "3.7.2-experimental-1ba6fef",
3
+ "version": "3.8.0-beta-ba9b66e",
4
4
  "description": "Dynamic Flow web client",
5
5
  "license": "Apache-2.0",
6
6
  "main": "./build/main.min.js",