@bluemarble/bm-components 1.11.5 → 1.12.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/dist/index.js CHANGED
@@ -3258,7 +3258,8 @@ function FormikInputMask(_a) {
3258
3258
  formikSaveFunction.current = setFieldValue;
3259
3259
  return /* @__PURE__ */ React2.default.createElement(
3260
3260
  BaseInput,
3261
- __spreadProps(__spreadValues(__spreadValues({}, rest), field), {
3261
+ __spreadProps(__spreadValues({}, rest), {
3262
+ name: field.name,
3262
3263
  inputRef: ref,
3263
3264
  error: Boolean(error),
3264
3265
  helperText: error
@@ -4094,7 +4095,7 @@ var ApiHelper = class _ApiHelper {
4094
4095
  return __async(this, null, function* () {
4095
4096
  });
4096
4097
  }
4097
- onError(req, res) {
4098
+ onError(req, res, error) {
4098
4099
  return __async(this, null, function* () {
4099
4100
  });
4100
4101
  }
@@ -4135,9 +4136,9 @@ var ApiHelper = class _ApiHelper {
4135
4136
  error: "Erro interno do servidor",
4136
4137
  details: error
4137
4138
  });
4138
- return this.onError(req, res);
4139
+ return this.onError(req, res, error);
4139
4140
  }
4140
- this.onError(req, res);
4141
+ this.onError(req, res, error);
4141
4142
  throw new Error(error);
4142
4143
  } finally {
4143
4144
  yield this.onFinally(req, res);