@wise/dynamic-flow-client-internal 4.17.0 → 4.17.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.
package/build/main.js CHANGED
@@ -1197,14 +1197,14 @@ var DecisionRenderer = {
1197
1197
  title: itemTitle,
1198
1198
  content: description,
1199
1199
  disabled,
1200
- media: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1200
+ media: icon || image ? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1201
1201
  OptionMedia,
1202
1202
  {
1203
1203
  icon,
1204
1204
  image,
1205
1205
  preferAvatar: control === "with-avatar" || tag === "with-avatar"
1206
1206
  }
1207
- ),
1207
+ ) : null,
1208
1208
  showMediaCircle: false,
1209
1209
  showMediaAtAllSizes: true,
1210
1210
  onClick
@@ -3311,7 +3311,7 @@ var ModalContentRenderer = {
3311
3311
  // src/dynamicFlow/telemetry/app-version.ts
3312
3312
  var appVersion = (
3313
3313
  // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
3314
- typeof process !== "undefined" ? "4.17.0" : "0.0.0"
3314
+ typeof process !== "undefined" ? "4.17.1" : "0.0.0"
3315
3315
  );
3316
3316
 
3317
3317
  // src/dynamicFlow/telemetry/getLogEvent.ts
package/build/main.mjs CHANGED
@@ -1163,14 +1163,14 @@ var DecisionRenderer = {
1163
1163
  title: itemTitle,
1164
1164
  content: description,
1165
1165
  disabled,
1166
- media: /* @__PURE__ */ jsx17(
1166
+ media: icon || image ? /* @__PURE__ */ jsx17(
1167
1167
  OptionMedia,
1168
1168
  {
1169
1169
  icon,
1170
1170
  image,
1171
1171
  preferAvatar: control === "with-avatar" || tag === "with-avatar"
1172
1172
  }
1173
- ),
1173
+ ) : null,
1174
1174
  showMediaCircle: false,
1175
1175
  showMediaAtAllSizes: true,
1176
1176
  onClick
@@ -3287,7 +3287,7 @@ var ModalContentRenderer = {
3287
3287
  // src/dynamicFlow/telemetry/app-version.ts
3288
3288
  var appVersion = (
3289
3289
  // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
3290
- typeof process !== "undefined" ? "4.17.0" : "0.0.0"
3290
+ typeof process !== "undefined" ? "4.17.1" : "0.0.0"
3291
3291
  );
3292
3292
 
3293
3293
  // src/dynamicFlow/telemetry/getLogEvent.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wise/dynamic-flow-client-internal",
3
- "version": "4.17.0",
3
+ "version": "4.17.1",
4
4
  "description": "Dynamic Flow web client for Wise",
5
5
  "license": "Apache-2.0",
6
6
  "main": "./build/main.js",
@@ -43,15 +43,15 @@
43
43
  "@testing-library/jest-dom": "6.6.3",
44
44
  "@testing-library/react": "16.3.0",
45
45
  "@testing-library/user-event": "14.6.1",
46
- "@transferwise/components": "46.100.0",
46
+ "@transferwise/components": "46.100.1",
47
47
  "@transferwise/formatting": "^2.13.3",
48
48
  "@transferwise/icons": "3.22.3",
49
- "@transferwise/neptune-css": "14.24.4",
49
+ "@transferwise/neptune-css": "14.24.5",
50
50
  "@types/jest": "29.5.14",
51
51
  "@types/react": "18.3.23",
52
52
  "@types/react-dom": "18.3.7",
53
- "@wise/art": "2.22.0",
54
- "@wise/components-theming": "^1.6.3",
53
+ "@wise/art": "2.23.0",
54
+ "@wise/components-theming": "^1.6.4",
55
55
  "babel-jest": "30.0.2",
56
56
  "currency-flags": "4.0.7",
57
57
  "esbuild": "0.25.5",
@@ -74,8 +74,8 @@
74
74
  "stylelint-value-no-unknown-custom-properties": "6.0.1",
75
75
  "tsx": "4.20.3",
76
76
  "typescript": "5.8.3",
77
- "@wise/dynamic-flow-fixtures": "0.0.1",
78
77
  "@wise/dynamic-flow-renderers": "0.0.0",
78
+ "@wise/dynamic-flow-fixtures": "0.0.1",
79
79
  "@wise/dynamic-flow-types": "3.8.0"
80
80
  },
81
81
  "peerDependencies": {
@@ -91,7 +91,7 @@
91
91
  },
92
92
  "dependencies": {
93
93
  "classnames": "2.5.1",
94
- "@wise/dynamic-flow-client": "4.9.0",
94
+ "@wise/dynamic-flow-client": "4.9.1",
95
95
  "@wise/dynamic-flow-types": "3.8.0"
96
96
  },
97
97
  "scripts": {