@push.rocks/smartstate 2.0.16 → 2.0.18

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.
@@ -11101,6 +11101,7 @@ var StatePart2 = class {
11101
11101
  if (this.webStore) {
11102
11102
  await this.webStore.set(String(this.name), newStateArg);
11103
11103
  }
11104
+ return this.stateStore;
11104
11105
  }
11105
11106
  /**
11106
11107
  * notifies of a change on the state
@@ -11189,7 +11190,7 @@ var Smartstate = class {
11189
11190
  /**
11190
11191
  * Allows getting and initializing a new statepart
11191
11192
  * initMode === 'soft' it will allow existing stateparts
11192
- * initMode === 'mandatory' will fail if there is an exiting statepart
11193
+ * initMode === 'mandatory' will fail if there is an existing statepart
11193
11194
  * initMode === 'force' will overwrite any existing statepart
11194
11195
  * @param statePartNameArg
11195
11196
  * @param initialArg
@@ -11213,7 +11214,7 @@ var Smartstate = class {
11213
11214
  }
11214
11215
  }
11215
11216
  /**
11216
- * creates a statepart
11217
+ * Creates a statepart
11217
11218
  * @param statePartName
11218
11219
  * @param initialPayloadArg
11219
11220
  */