@wise/dynamic-flow-client-internal 5.9.2-logging-2-70d602d → 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 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.1" : "0.0.0"
147
+ typeof process !== "undefined" ? "5.9.2" : "0.0.0"
148
148
  );
149
149
 
150
150
  // src/dynamicFlow/telemetry/getLogEvent.ts
@@ -1366,9 +1366,7 @@ function ExternalConfirmationRendererComponent({
1366
1366
  }) {
1367
1367
  const { formatMessage } = (0, import_react_intl10.useIntl)();
1368
1368
  (0, import_react4.useEffect)(() => {
1369
- console.log("\u{1F48E} ExternalConfirmationRendererComponent useEffect, with status:", status);
1370
- if (url) {
1371
- console.log("\u{1F48E} window.open");
1369
+ if (url && status === "initial") {
1372
1370
  const w = window.open(url, "_blank");
1373
1371
  if (w) {
1374
1372
  onSuccess();
@@ -1377,7 +1375,6 @@ function ExternalConfirmationRendererComponent({
1377
1375
  }
1378
1376
  }
1379
1377
  }, []);
1380
- console.log("\u{1F48E} ExternalConfirmationRendererComponent rendered with status:", status);
1381
1378
  return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
1382
1379
  import_components18.Modal,
1383
1380
  {
@@ -4204,7 +4201,7 @@ function DynamicFlow(props) {
4204
4201
  const { className = "" } = props;
4205
4202
  const dfProps = useWiseToCoreProps(props);
4206
4203
  const df = (0, import_dynamic_flow_client3.useDynamicFlow)(dfProps);
4207
- return /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("div", { id: "experimental-dynamic-flow", className, children: df.view });
4204
+ return /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("div", { className, children: df.view });
4208
4205
  }
4209
4206
 
4210
4207
  // src/dynamicFlow/DynamicFlowWithRef.tsx
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.1" : "0.0.0"
129
+ typeof process !== "undefined" ? "5.9.2" : "0.0.0"
130
130
  );
131
131
 
132
132
  // src/dynamicFlow/telemetry/getLogEvent.ts
@@ -1348,9 +1348,7 @@ function ExternalConfirmationRendererComponent({
1348
1348
  }) {
1349
1349
  const { formatMessage } = useIntl5();
1350
1350
  useEffect3(() => {
1351
- console.log("\u{1F48E} ExternalConfirmationRendererComponent useEffect, with status:", status);
1352
- if (url) {
1353
- console.log("\u{1F48E} window.open");
1351
+ if (url && status === "initial") {
1354
1352
  const w = window.open(url, "_blank");
1355
1353
  if (w) {
1356
1354
  onSuccess();
@@ -1359,7 +1357,6 @@ function ExternalConfirmationRendererComponent({
1359
1357
  }
1360
1358
  }
1361
1359
  }, []);
1362
- console.log("\u{1F48E} ExternalConfirmationRendererComponent rendered with status:", status);
1363
1360
  return /* @__PURE__ */ jsx31(
1364
1361
  Modal,
1365
1362
  {
@@ -4195,7 +4192,7 @@ function DynamicFlow(props) {
4195
4192
  const { className = "" } = props;
4196
4193
  const dfProps = useWiseToCoreProps(props);
4197
4194
  const df = useDynamicFlow(dfProps);
4198
- return /* @__PURE__ */ jsx90("div", { id: "experimental-dynamic-flow", className, children: df.view });
4195
+ return /* @__PURE__ */ jsx90("div", { className, children: df.view });
4199
4196
  }
4200
4197
 
4201
4198
  // src/dynamicFlow/DynamicFlowWithRef.tsx
@@ -1 +1 @@
1
- {"version":3,"file":"DynamicFlow.d.ts","sourceRoot":"","sources":["../../../src/dynamicFlow/DynamicFlow.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAGnE,MAAM,MAAM,YAAY,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;AAElF,MAAM,MAAM,QAAQ,CAAC,CAAC,IAAI;KACvB,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACrB,GAAG,EAAE,CAAC;AAEP,wBAAgB,WAAW,CAAC,KAAK,EAAE,oBAAoB,2CAStD"}
1
+ {"version":3,"file":"DynamicFlow.d.ts","sourceRoot":"","sources":["../../../src/dynamicFlow/DynamicFlow.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAGnE,MAAM,MAAM,YAAY,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;AAElF,MAAM,MAAM,QAAQ,CAAC,CAAC,IAAI;KACvB,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACrB,GAAG,EAAE,CAAC;AAEP,wBAAgB,WAAW,CAAC,KAAK,EAAE,oBAAoB,2CAKtD"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wise/dynamic-flow-client-internal",
3
- "version": "5.9.2-logging-2-70d602d",
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.10",
37
- "@storybook/addon-docs": "^10.2.10",
38
- "@storybook/addon-links": "^10.2.10",
39
- "@storybook/react-vite": "10.2.10",
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.10",
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.10",
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,8 +84,8 @@
84
84
  "react-intl": "^6 || ^7"
85
85
  },
86
86
  "dependencies": {
87
- "@wise/dynamic-flow-types": "4.9.0",
88
- "@wise/dynamic-flow-client": "5.9.2-logging-2-70d602d"
87
+ "@wise/dynamic-flow-client": "5.9.2",
88
+ "@wise/dynamic-flow-types": "4.9.0"
89
89
  },
90
90
  "scripts": {
91
91
  "dev": "pnpm build:visual-tests && storybook dev -p 3005",