@wise/dynamic-flow-client 5.20.0 → 5.21.0
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.
|
@@ -4,8 +4,9 @@ import type { DynamicFlowCoreProps } from './types';
|
|
|
4
4
|
*/
|
|
5
5
|
export declare function useDynamicFlow(props: DynamicFlowCoreProps): {
|
|
6
6
|
controller: {
|
|
7
|
-
|
|
7
|
+
getValue: () => import("@wise/dynamic-flow-types/spec").JsonElement;
|
|
8
8
|
validate: () => boolean;
|
|
9
|
+
/** @experimental This method may be changed or removed in the future without notice. */
|
|
9
10
|
getCurrentStep: () => import("@wise/dynamic-flow-types/spec").Step | null;
|
|
10
11
|
cancel: () => void;
|
|
11
12
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDynamicFlow.d.ts","sourceRoot":"","sources":["../../src/useDynamicFlow.tsx"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAIpD;;GAEG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,oBAAoB
|
|
1
|
+
{"version":3,"file":"useDynamicFlow.d.ts","sourceRoot":"","sources":["../../src/useDynamicFlow.tsx"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAIpD;;GAEG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,oBAAoB;;;;QAmFpD,wFAAwF;;;;;EAoB7F"}
|
|
@@ -2,7 +2,7 @@ import { JsonElement } from '@wise/dynamic-flow-types/spec';
|
|
|
2
2
|
import { DynamicFlowProps } from '.';
|
|
3
3
|
export declare const useDynamicFlowModal: (props: DynamicFlowProps) => {
|
|
4
4
|
controller: {
|
|
5
|
-
|
|
5
|
+
getValue: () => JsonElement;
|
|
6
6
|
validate: () => boolean;
|
|
7
7
|
getCurrentStep: () => import("@wise/dynamic-flow-types/spec").Step | null;
|
|
8
8
|
cancel: () => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wise/dynamic-flow-client",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.21.0",
|
|
4
4
|
"description": "Dynamic Flow web client",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "./build/main.js",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"@testing-library/jest-dom": "^6.9.1",
|
|
42
42
|
"@testing-library/react": "^16.3.2",
|
|
43
43
|
"@testing-library/user-event": "^14.6.1",
|
|
44
|
-
"@transferwise/components": "^46.
|
|
44
|
+
"@transferwise/components": "^46.159.2",
|
|
45
45
|
"@transferwise/formatting": "^2.14.1",
|
|
46
46
|
"@transferwise/icons": "4.4.4",
|
|
47
47
|
"@transferwise/navigation-ui": "^4.46.0",
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"react-intl": "^6 || ^7"
|
|
86
86
|
},
|
|
87
87
|
"dependencies": {
|
|
88
|
-
"@wise/dynamic-flow-types": "4.
|
|
88
|
+
"@wise/dynamic-flow-types": "4.18.0"
|
|
89
89
|
},
|
|
90
90
|
"wise": {
|
|
91
91
|
"platform": "wise-library",
|