@wise/dynamic-flow-client 3.29.5 → 3.30.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
@@ -7926,7 +7926,7 @@ var getPerformPersistAsync = ({
7926
7926
  if (json[idProperty] === void 0) {
7927
7927
  logEvent(
7928
7928
  "error",
7929
- `Response from persist async did not contain expected property ${idProperty}`
7929
+ `Response from persist async did not contain expected property ${idProperty}.`
7930
7930
  );
7931
7931
  throw new Error(genericErrorMessage);
7932
7932
  }
@@ -11233,7 +11233,9 @@ function useDynamicFlowCore(props) {
11233
11233
  etagRef.current = etag;
11234
11234
  const validationResult = validateStep(newStep);
11235
11235
  if (!validationResult.valid) {
11236
- logEvent("warning", "Invalid step.", { errors: validationResult.errors });
11236
+ logEvent("info", "The provided step does not conform to the specification.", {
11237
+ errors: validationResult.errors
11238
+ });
11237
11239
  }
11238
11240
  const updateComponent = (id, update) => {
11239
11241
  const currentStepComponent = stepComponentRef.current;