@wise/dynamic-flow-client 5.20.0 → 5.21.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
@@ -8900,8 +8900,9 @@ function useDynamicFlow(props) {
8900
8900
  );
8901
8901
  return {
8902
8902
  controller: {
8903
- getSubmittableValue: async () => rootComponent.getSubmittableValue(),
8903
+ getValue: () => rootComponent.getSubmittableValueSync(),
8904
8904
  validate: () => rootComponent.validate(),
8905
+ /** @experimental This method may be changed or removed in the future without notice. */
8905
8906
  getCurrentStep: () => {
8906
8907
  var _a2, _b2;
8907
8908
  return (_b2 = (_a2 = rootComponent.getStep()) == null ? void 0 : _a2.step) != null ? _b2 : null;
package/build/main.mjs CHANGED
@@ -8869,8 +8869,9 @@ function useDynamicFlow(props) {
8869
8869
  );
8870
8870
  return {
8871
8871
  controller: {
8872
- getSubmittableValue: async () => rootComponent.getSubmittableValue(),
8872
+ getValue: () => rootComponent.getSubmittableValueSync(),
8873
8873
  validate: () => rootComponent.validate(),
8874
+ /** @experimental This method may be changed or removed in the future without notice. */
8874
8875
  getCurrentStep: () => {
8875
8876
  var _a2, _b2;
8876
8877
  return (_b2 = (_a2 = rootComponent.getStep()) == null ? void 0 : _a2.step) != null ? _b2 : null;