@wise/dynamic-flow-client 3.3.0 → 3.3.2

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
@@ -12655,7 +12655,8 @@ var formLayoutToComponent = (uid, { schemaId, schema: schemaRef, control, margin
12655
12655
  schema,
12656
12656
  model: model != null ? model : null,
12657
12657
  localValue: stepLocalValue,
12658
- validationErrors: errors == null ? void 0 : errors.validation
12658
+ validationErrors: errors == null ? void 0 : errors.validation,
12659
+ required: true
12659
12660
  },
12660
12661
  mapperProps
12661
12662
  )
@@ -14084,7 +14085,7 @@ function DynamicFlowCore(props) {
14084
14085
  const genericErrorMessage = getErrorMessageFunctions().genericErrorWithRetry();
14085
14086
  const { errors = { error: genericErrorMessage } } = command.body;
14086
14087
  if (stepRef.current) {
14087
- initialiseWithStep(__spreadProps(__spreadValues({}, stepRef.current), { errors }), etagRef.current);
14088
+ initialiseWithStep(__spreadProps(__spreadValues({}, stepRef.current), { errors, model }), etagRef.current);
14088
14089
  } else {
14089
14090
  closeWithError(new Error("Initial request failed"), {});
14090
14091
  }