@wise/dynamic-flow-client-internal 2.6.1 → 2.7.1
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { DynamicFlowProps } from '@wise/dynamic-flow-client';
|
|
3
|
-
import { DynamicFlowPropsWithInitialAction, DynamicFlowPropsWithInitialStep } from '@wise/dynamic-flow-client/build/types/
|
|
2
|
+
import { type DynamicFlowProps } from '@wise/dynamic-flow-client';
|
|
3
|
+
import type { DynamicFlowPropsWithInitialAction, DynamicFlowPropsWithInitialStep } from '@wise/dynamic-flow-client/build/types/dynamic-flow-types';
|
|
4
4
|
export type WiseDynamicFlowProps = (Omit<DynamicFlowPropsWithInitialAction, 'httpClient'> | Omit<DynamicFlowPropsWithInitialStep, 'httpClient'>) & {
|
|
5
5
|
customFetch?: DynamicFlowProps['httpClient'];
|
|
6
6
|
};
|
|
7
|
-
export declare
|
|
7
|
+
export declare function DynamicFlow(props: WiseDynamicFlowProps): JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
declare
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
declare function NeptuneProviders({ children }: {
|
|
3
3
|
children: React.ReactNode;
|
|
4
|
-
})
|
|
4
|
+
}): JSX.Element;
|
|
5
5
|
export default NeptuneProviders;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { RenderResult, RenderOptions } from '@testing-library/react';
|
|
1
|
+
import { type RenderResult, type RenderOptions } from '@testing-library/react';
|
|
2
2
|
export declare const renderWithProviders: (children: React.ReactNode, options?: RenderOptions) => RenderResult;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wise/dynamic-flow-client-internal",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.7.1",
|
|
4
4
|
"description": "Dynamic Flow web client for Wise",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "./build/main.min.js",
|
|
@@ -20,11 +20,11 @@
|
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"@babel/core": "7.23.3",
|
|
22
22
|
"@babel/plugin-syntax-flow": "7.23.3",
|
|
23
|
-
"@babel/plugin-transform-react-jsx": "7.
|
|
23
|
+
"@babel/plugin-transform-react-jsx": "7.23.4",
|
|
24
24
|
"@babel/preset-env": "7.23.3",
|
|
25
25
|
"@babel/preset-react": "7.23.3",
|
|
26
26
|
"@babel/preset-typescript": "7.23.3",
|
|
27
|
-
"@formatjs/cli": "^6.2.
|
|
27
|
+
"@formatjs/cli": "^6.2.4",
|
|
28
28
|
"@storybook/addon-a11y": "7.5.3",
|
|
29
29
|
"@storybook/addon-actions": "7.5.3",
|
|
30
30
|
"@storybook/addon-essentials": "7.5.3",
|
|
@@ -35,16 +35,15 @@
|
|
|
35
35
|
"@storybook/testing-library": "0.2.2",
|
|
36
36
|
"@testing-library/dom": "9.3.3",
|
|
37
37
|
"@testing-library/jest-dom": "6.1.4",
|
|
38
|
-
"@testing-library/react": "14.1.
|
|
38
|
+
"@testing-library/react": "14.1.2",
|
|
39
39
|
"@testing-library/react-hooks": "8.0.1",
|
|
40
40
|
"@testing-library/user-event": "14.5.1",
|
|
41
|
-
"@transferwise/components": "45.
|
|
42
|
-
"@transferwise/eslint-config": "8.2.0",
|
|
41
|
+
"@transferwise/components": "45.21.3",
|
|
43
42
|
"@transferwise/formatting": "^2.10.0",
|
|
44
43
|
"@transferwise/icons": "3.12.0",
|
|
45
|
-
"@transferwise/neptune-css": "14.
|
|
44
|
+
"@transferwise/neptune-css": "14.7.0",
|
|
46
45
|
"@transferwise/neptune-tokens": "8.7.0",
|
|
47
|
-
"@types/jest": "29.5.
|
|
46
|
+
"@types/jest": "29.5.10",
|
|
48
47
|
"@types/react": "18",
|
|
49
48
|
"@types/react-dom": "18",
|
|
50
49
|
"@types/testing-library__jest-dom": "5.14.9",
|
|
@@ -53,8 +52,6 @@
|
|
|
53
52
|
"babel-jest": "29.7.0",
|
|
54
53
|
"currency-flags": "4.0.7",
|
|
55
54
|
"esbuild": "0.19.5",
|
|
56
|
-
"eslint": "8.53.0",
|
|
57
|
-
"eslint-plugin-storybook": "0.6.15",
|
|
58
55
|
"jest": "29.7.0",
|
|
59
56
|
"jest-environment-jsdom": "29.7.0",
|
|
60
57
|
"jest-fetch-mock": "^3.0.3",
|
|
@@ -63,10 +60,9 @@
|
|
|
63
60
|
"postcss": "^8.4.31",
|
|
64
61
|
"postcss-cli": "^10.1.0",
|
|
65
62
|
"postcss-import": "^15.1.0",
|
|
66
|
-
"prettier": "3.1.0",
|
|
67
63
|
"react": "18.2.0",
|
|
68
64
|
"react-dom": "18.2.0",
|
|
69
|
-
"react-intl": "6.5.
|
|
65
|
+
"react-intl": "6.5.5",
|
|
70
66
|
"storybook": "7.5.3",
|
|
71
67
|
"stylelint": "14.16.1",
|
|
72
68
|
"stylelint-config-standard": "25.0.0",
|
|
@@ -82,9 +78,8 @@
|
|
|
82
78
|
"react-intl": "^6"
|
|
83
79
|
},
|
|
84
80
|
"dependencies": {
|
|
85
|
-
"@wise/dynamic-flow-client": "2.
|
|
81
|
+
"@wise/dynamic-flow-client": "2.7.1"
|
|
86
82
|
},
|
|
87
|
-
"prettier": "@transferwise/eslint-config/.prettierrc.js",
|
|
88
83
|
"scripts": {
|
|
89
84
|
"dev": "storybook dev -p 3005",
|
|
90
85
|
"build": "rm -rf build && npm-run-all build:*",
|