@wise/dynamic-flow-client-internal 5.9.2-logging-bf0bd22 → 5.9.2-logging-2-70d602d

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
@@ -1366,19 +1366,18 @@ function ExternalConfirmationRendererComponent({
1366
1366
  }) {
1367
1367
  const { formatMessage } = (0, import_react_intl10.useIntl)();
1368
1368
  (0, import_react4.useEffect)(() => {
1369
- console.log("\u{1F680}\u{1F47E} ExternalConfirmationRendererComponent useEffect");
1369
+ console.log("\u{1F48E} ExternalConfirmationRendererComponent useEffect, with status:", status);
1370
1370
  if (url) {
1371
- console.log("\u{1F680}\u{1F47E} ExternalConfirmationRendererComponent useEffect / window.open");
1371
+ console.log("\u{1F48E} window.open");
1372
1372
  const w = window.open(url, "_blank");
1373
1373
  if (w) {
1374
- console.log("\u{1F680}\u{1F47E} ExternalConfirmationRendererComponent useEffect / window.open / success");
1375
1374
  onSuccess();
1376
1375
  } else {
1377
- console.log("\u{1F680}\u{1F47E} ExternalConfirmationRendererComponent useEffect / window.open / failure");
1378
1376
  onFailure();
1379
1377
  }
1380
1378
  }
1381
1379
  }, []);
1380
+ console.log("\u{1F48E} ExternalConfirmationRendererComponent rendered with status:", status);
1382
1381
  return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
1383
1382
  import_components18.Modal,
1384
1383
  {
@@ -4205,7 +4204,7 @@ function DynamicFlow(props) {
4205
4204
  const { className = "" } = props;
4206
4205
  const dfProps = useWiseToCoreProps(props);
4207
4206
  const df = (0, import_dynamic_flow_client3.useDynamicFlow)(dfProps);
4208
- return /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("div", { className, children: df.view });
4207
+ return /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("div", { id: "experimental-dynamic-flow", className, children: df.view });
4209
4208
  }
4210
4209
 
4211
4210
  // src/dynamicFlow/DynamicFlowWithRef.tsx
package/build/main.mjs CHANGED
@@ -1348,19 +1348,18 @@ function ExternalConfirmationRendererComponent({
1348
1348
  }) {
1349
1349
  const { formatMessage } = useIntl5();
1350
1350
  useEffect3(() => {
1351
- console.log("\u{1F680}\u{1F47E} ExternalConfirmationRendererComponent useEffect");
1351
+ console.log("\u{1F48E} ExternalConfirmationRendererComponent useEffect, with status:", status);
1352
1352
  if (url) {
1353
- console.log("\u{1F680}\u{1F47E} ExternalConfirmationRendererComponent useEffect / window.open");
1353
+ console.log("\u{1F48E} window.open");
1354
1354
  const w = window.open(url, "_blank");
1355
1355
  if (w) {
1356
- console.log("\u{1F680}\u{1F47E} ExternalConfirmationRendererComponent useEffect / window.open / success");
1357
1356
  onSuccess();
1358
1357
  } else {
1359
- console.log("\u{1F680}\u{1F47E} ExternalConfirmationRendererComponent useEffect / window.open / failure");
1360
1358
  onFailure();
1361
1359
  }
1362
1360
  }
1363
1361
  }, []);
1362
+ console.log("\u{1F48E} ExternalConfirmationRendererComponent rendered with status:", status);
1364
1363
  return /* @__PURE__ */ jsx31(
1365
1364
  Modal,
1366
1365
  {
@@ -4196,7 +4195,7 @@ function DynamicFlow(props) {
4196
4195
  const { className = "" } = props;
4197
4196
  const dfProps = useWiseToCoreProps(props);
4198
4197
  const df = useDynamicFlow(dfProps);
4199
- return /* @__PURE__ */ jsx90("div", { className, children: df.view });
4198
+ return /* @__PURE__ */ jsx90("div", { id: "experimental-dynamic-flow", className, children: df.view });
4200
4199
  }
4201
4200
 
4202
4201
  // 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,2CAKtD"}
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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wise/dynamic-flow-client-internal",
3
- "version": "5.9.2-logging-bf0bd22",
3
+ "version": "5.9.2-logging-2-70d602d",
4
4
  "description": "Dynamic Flow web client for Wise",
5
5
  "license": "Apache-2.0",
6
6
  "main": "./build/main.js",
@@ -84,8 +84,8 @@
84
84
  "react-intl": "^6 || ^7"
85
85
  },
86
86
  "dependencies": {
87
- "@wise/dynamic-flow-client": "5.9.2-logging-bf0bd22",
88
- "@wise/dynamic-flow-types": "4.9.0"
87
+ "@wise/dynamic-flow-types": "4.9.0",
88
+ "@wise/dynamic-flow-client": "5.9.2-logging-2-70d602d"
89
89
  },
90
90
  "scripts": {
91
91
  "dev": "pnpm build:visual-tests && storybook dev -p 3005",