@mcurros2/microm 1.1.166-0 → 1.1.167-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/dist/index.js CHANGED
@@ -1458,7 +1458,6 @@ class $16abd72d1aa9b62d$export$6118e57c65bf19ee {
1458
1458
  await this.#removeToken();
1459
1459
  await this.#deleteEnabledMenus();
1460
1460
  if (this.#RECORD_PATHS) this.#saveAllRecordedAccess();
1461
- //TODO: explicar por que no envía el token con esta solicitud?
1462
1461
  const response = await fetch(`${this.#API_URL}/${this.#APP_ID}/auth/logoff`, {
1463
1462
  method: 'POST',
1464
1463
  headers: {
@@ -4633,16 +4632,15 @@ function $b7f0b54e18925026$export$5e89f28b2f6c2d01(entity, actionName) {
4633
4632
  done.current = false;
4634
4633
  try {
4635
4634
  const action = entity.def.serverActions[actionName];
4636
- if (!action || !action.valuesMapper) throw new Error('Action or valuesMapper missing.');
4635
+ if (!action) throw new Error('Action or valuesMapper missing.');
4637
4636
  setStatus({
4638
4637
  loading: true,
4639
4638
  operationType: 'action'
4640
4639
  });
4641
4640
  const data = await entity.API.executeServerAction(action, values, cancellation.current.signal);
4642
4641
  done.current = true;
4643
- const new_values = action.valuesMapper(data);
4644
4642
  setStatus({
4645
- data: new_values,
4643
+ data: data,
4646
4644
  operationType: 'action'
4647
4645
  });
4648
4646
  // Update previous values