@wise/dynamic-flow-client-internal 5.9.2-logging-bf0bd22 → 5.9.2
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 +2 -6
- package/build/main.mjs +2 -6
- package/package.json +8 -8
package/build/main.js
CHANGED
|
@@ -144,7 +144,7 @@ var import_react22 = require("react");
|
|
|
144
144
|
// src/dynamicFlow/telemetry/app-version.ts
|
|
145
145
|
var appVersion = (
|
|
146
146
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
|
|
147
|
-
typeof process !== "undefined" ? "5.9.
|
|
147
|
+
typeof process !== "undefined" ? "5.9.2" : "0.0.0"
|
|
148
148
|
);
|
|
149
149
|
|
|
150
150
|
// src/dynamicFlow/telemetry/getLogEvent.ts
|
|
@@ -1366,15 +1366,11 @@ function ExternalConfirmationRendererComponent({
|
|
|
1366
1366
|
}) {
|
|
1367
1367
|
const { formatMessage } = (0, import_react_intl10.useIntl)();
|
|
1368
1368
|
(0, import_react4.useEffect)(() => {
|
|
1369
|
-
|
|
1370
|
-
if (url) {
|
|
1371
|
-
console.log("\u{1F680}\u{1F47E} ExternalConfirmationRendererComponent useEffect / window.open");
|
|
1369
|
+
if (url && status === "initial") {
|
|
1372
1370
|
const w = window.open(url, "_blank");
|
|
1373
1371
|
if (w) {
|
|
1374
|
-
console.log("\u{1F680}\u{1F47E} ExternalConfirmationRendererComponent useEffect / window.open / success");
|
|
1375
1372
|
onSuccess();
|
|
1376
1373
|
} else {
|
|
1377
|
-
console.log("\u{1F680}\u{1F47E} ExternalConfirmationRendererComponent useEffect / window.open / failure");
|
|
1378
1374
|
onFailure();
|
|
1379
1375
|
}
|
|
1380
1376
|
}
|
package/build/main.mjs
CHANGED
|
@@ -126,7 +126,7 @@ import { useMemo as useMemo2 } from "react";
|
|
|
126
126
|
// src/dynamicFlow/telemetry/app-version.ts
|
|
127
127
|
var appVersion = (
|
|
128
128
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
|
|
129
|
-
typeof process !== "undefined" ? "5.9.
|
|
129
|
+
typeof process !== "undefined" ? "5.9.2" : "0.0.0"
|
|
130
130
|
);
|
|
131
131
|
|
|
132
132
|
// src/dynamicFlow/telemetry/getLogEvent.ts
|
|
@@ -1348,15 +1348,11 @@ function ExternalConfirmationRendererComponent({
|
|
|
1348
1348
|
}) {
|
|
1349
1349
|
const { formatMessage } = useIntl5();
|
|
1350
1350
|
useEffect3(() => {
|
|
1351
|
-
|
|
1352
|
-
if (url) {
|
|
1353
|
-
console.log("\u{1F680}\u{1F47E} ExternalConfirmationRendererComponent useEffect / window.open");
|
|
1351
|
+
if (url && status === "initial") {
|
|
1354
1352
|
const w = window.open(url, "_blank");
|
|
1355
1353
|
if (w) {
|
|
1356
|
-
console.log("\u{1F680}\u{1F47E} ExternalConfirmationRendererComponent useEffect / window.open / success");
|
|
1357
1354
|
onSuccess();
|
|
1358
1355
|
} else {
|
|
1359
|
-
console.log("\u{1F680}\u{1F47E} ExternalConfirmationRendererComponent useEffect / window.open / failure");
|
|
1360
1356
|
onFailure();
|
|
1361
1357
|
}
|
|
1362
1358
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wise/dynamic-flow-client-internal",
|
|
3
|
-
"version": "5.9.2
|
|
3
|
+
"version": "5.9.2",
|
|
4
4
|
"description": "Dynamic Flow web client for Wise",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "./build/main.js",
|
|
@@ -33,10 +33,10 @@
|
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@chromatic-com/storybook": "4.1.3",
|
|
35
35
|
"@formatjs/cli": "^6.13.0",
|
|
36
|
-
"@storybook/addon-a11y": "^10.2.
|
|
37
|
-
"@storybook/addon-docs": "^10.2.
|
|
38
|
-
"@storybook/addon-links": "^10.2.
|
|
39
|
-
"@storybook/react-vite": "10.2.
|
|
36
|
+
"@storybook/addon-a11y": "^10.2.13",
|
|
37
|
+
"@storybook/addon-docs": "^10.2.13",
|
|
38
|
+
"@storybook/addon-links": "^10.2.13",
|
|
39
|
+
"@storybook/react-vite": "10.2.13",
|
|
40
40
|
"@testing-library/dom": "10.4.1",
|
|
41
41
|
"@testing-library/jest-dom": "6.9.1",
|
|
42
42
|
"@testing-library/react": "16.3.2",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@wise/art": "2.28.0",
|
|
51
51
|
"@wise/components-theming": "^1.10.1",
|
|
52
52
|
"esbuild": "0.27.0",
|
|
53
|
-
"eslint-plugin-storybook": "10.2.
|
|
53
|
+
"eslint-plugin-storybook": "10.2.13",
|
|
54
54
|
"framer-motion": "^12.34.3",
|
|
55
55
|
"npm-run-all2": "8.0.4",
|
|
56
56
|
"postcss": "^8.5.6",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"react": "18.3.1",
|
|
60
60
|
"react-dom": "18.3.1",
|
|
61
61
|
"react-intl": "6.8.9",
|
|
62
|
-
"storybook": "^10.2.
|
|
62
|
+
"storybook": "^10.2.13",
|
|
63
63
|
"stylelint": "16.26.1",
|
|
64
64
|
"stylelint-config-standard": "36.0.1",
|
|
65
65
|
"stylelint-no-unsupported-browser-features": "8.1.1",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"react-intl": "^6 || ^7"
|
|
85
85
|
},
|
|
86
86
|
"dependencies": {
|
|
87
|
-
"@wise/dynamic-flow-client": "5.9.2
|
|
87
|
+
"@wise/dynamic-flow-client": "5.9.2",
|
|
88
88
|
"@wise/dynamic-flow-types": "4.9.0"
|
|
89
89
|
},
|
|
90
90
|
"scripts": {
|