@push.rocks/smartstate 2.0.10 → 2.0.12

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.
@@ -11152,7 +11152,8 @@ var StatePart2 = class {
11152
11152
  async dispatchAction(stateAction, actionPayload) {
11153
11153
  await this.cumulativeDeferred.promise;
11154
11154
  const newState = await stateAction.actionDef(this, actionPayload);
11155
- this.setState(newState);
11155
+ await this.setState(newState);
11156
+ return this.getState();
11156
11157
  }
11157
11158
  /**
11158
11159
  * waits until a certain part of the state becomes available