@wise/dynamic-flow-client 5.13.0-experimental-13d828c → 5.13.0

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
@@ -8454,6 +8454,10 @@ function useDynamicFlow(props) {
8454
8454
  controller: {
8455
8455
  getSubmittableValue: async () => rootComponent.getSubmittableValue(),
8456
8456
  validate: () => rootComponent.validate(),
8457
+ getCurrentStep: () => {
8458
+ var _a2, _b;
8459
+ return (_b = (_a2 = rootComponent.getStep()) == null ? void 0 : _a2.step) != null ? _b : null;
8460
+ },
8457
8461
  cancel
8458
8462
  },
8459
8463
  view: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
package/build/main.mjs CHANGED
@@ -8424,6 +8424,10 @@ function useDynamicFlow(props) {
8424
8424
  controller: {
8425
8425
  getSubmittableValue: async () => rootComponent.getSubmittableValue(),
8426
8426
  validate: () => rootComponent.validate(),
8427
+ getCurrentStep: () => {
8428
+ var _a2, _b;
8429
+ return (_b = (_a2 = rootComponent.getStep()) == null ? void 0 : _a2.step) != null ? _b : null;
8430
+ },
8427
8431
  cancel
8428
8432
  },
8429
8433
  view: /* @__PURE__ */ jsx7(