@wise/dynamic-flow-client-internal 4.33.2 → 4.33.3

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
@@ -3268,19 +3268,18 @@ var DecisionRenderer2 = {
3268
3268
  render: (props) => /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(DecisionWrapper, __spreadProps(__spreadValues({}, props), { renderDecisionList: renderDecisionList2 }))
3269
3269
  };
3270
3270
  var renderDecisionList2 = ({ options, control }) => {
3271
- return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(import_jsx_runtime76.Fragment, { children: options.map((option) => {
3271
+ return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(import_jsx_runtime76.Fragment, { children: options.map((_a) => {
3272
+ var _b = _a, { disabled, onClick } = _b, rest = __objRest(_b, ["disabled", "onClick"]);
3272
3273
  const {
3273
3274
  description,
3274
- disabled,
3275
3275
  media,
3276
3276
  title: itemTitle,
3277
3277
  href,
3278
3278
  additionalText,
3279
3279
  inlineAlert,
3280
3280
  supportingValues,
3281
- tags,
3282
- onClick
3283
- } = option;
3281
+ tags
3282
+ } = rest;
3284
3283
  return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
3285
3284
  import_components53.ListItem,
3286
3285
  {
@@ -3295,7 +3294,7 @@ var renderDecisionList2 = ({ options, control }) => {
3295
3294
  additionalInfo: additionalText ? getAdditionalInfo({ text: additionalText }) : void 0,
3296
3295
  control: href ? /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(import_components53.ListItem.Navigation, { href, target: "_blank" }) : /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(import_components53.ListItem.Navigation, { onClick })
3297
3296
  },
3298
- JSON.stringify(option)
3297
+ JSON.stringify(rest)
3299
3298
  );
3300
3299
  }) });
3301
3300
  };
@@ -4445,7 +4444,7 @@ var import_dynamic_flow_client2 = require("@wise/dynamic-flow-client");
4445
4444
  // src/dynamicFlow/telemetry/app-version.ts
4446
4445
  var appVersion = (
4447
4446
  // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
4448
- typeof process !== "undefined" ? "4.33.2" : "0.0.0"
4447
+ typeof process !== "undefined" ? "4.33.3" : "0.0.0"
4449
4448
  );
4450
4449
 
4451
4450
  // src/dynamicFlow/telemetry/getLogEvent.ts
package/build/main.mjs CHANGED
@@ -3234,19 +3234,18 @@ var DecisionRenderer2 = {
3234
3234
  render: (props) => /* @__PURE__ */ jsx76(DecisionWrapper, __spreadProps(__spreadValues({}, props), { renderDecisionList: renderDecisionList2 }))
3235
3235
  };
3236
3236
  var renderDecisionList2 = ({ options, control }) => {
3237
- return /* @__PURE__ */ jsx76(Fragment10, { children: options.map((option) => {
3237
+ return /* @__PURE__ */ jsx76(Fragment10, { children: options.map((_a) => {
3238
+ var _b = _a, { disabled, onClick } = _b, rest = __objRest(_b, ["disabled", "onClick"]);
3238
3239
  const {
3239
3240
  description,
3240
- disabled,
3241
3241
  media,
3242
3242
  title: itemTitle,
3243
3243
  href,
3244
3244
  additionalText,
3245
3245
  inlineAlert,
3246
3246
  supportingValues,
3247
- tags,
3248
- onClick
3249
- } = option;
3247
+ tags
3248
+ } = rest;
3250
3249
  return /* @__PURE__ */ jsx76(
3251
3250
  ListItem4,
3252
3251
  {
@@ -3261,7 +3260,7 @@ var renderDecisionList2 = ({ options, control }) => {
3261
3260
  additionalInfo: additionalText ? getAdditionalInfo({ text: additionalText }) : void 0,
3262
3261
  control: href ? /* @__PURE__ */ jsx76(ListItem4.Navigation, { href, target: "_blank" }) : /* @__PURE__ */ jsx76(ListItem4.Navigation, { onClick })
3263
3262
  },
3264
- JSON.stringify(option)
3263
+ JSON.stringify(rest)
3265
3264
  );
3266
3265
  }) });
3267
3266
  };
@@ -4415,7 +4414,7 @@ import {
4415
4414
  // src/dynamicFlow/telemetry/app-version.ts
4416
4415
  var appVersion = (
4417
4416
  // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
4418
- typeof process !== "undefined" ? "4.33.2" : "0.0.0"
4417
+ typeof process !== "undefined" ? "4.33.3" : "0.0.0"
4419
4418
  );
4420
4419
 
4421
4420
  // 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.33.2",
3
+ "version": "4.33.3",
4
4
  "description": "Dynamic Flow web client for Wise",
5
5
  "license": "Apache-2.0",
6
6
  "main": "./build/main.js",
@@ -74,9 +74,9 @@
74
74
  "stylelint-value-no-unknown-custom-properties": "6.0.1",
75
75
  "tsx": "4.20.6",
76
76
  "typescript": "5.9.3",
77
+ "@wise/dynamic-flow-renderers": "0.0.0",
77
78
  "@wise/dynamic-flow-fixtures": "0.0.1",
78
- "@wise/dynamic-flow-types": "3.16.0",
79
- "@wise/dynamic-flow-renderers": "0.0.0"
79
+ "@wise/dynamic-flow-types": "3.16.0"
80
80
  },
81
81
  "peerDependencies": {
82
82
  "@transferwise/components": "^46.104.0",