state-decorator 6.8.0 → 6.9.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "state-decorator",
3
- "version": "6.8.0",
3
+ "version": "6.9.0",
4
4
  "description": "React state management library",
5
5
  "main": "index.js",
6
6
  "module": "index.es.js",
package/types.d.ts CHANGED
@@ -189,6 +189,12 @@ export declare type AsyncActionBase<S, F extends (...args: any[]) => any, A, P,
189
189
  * Whether reject the promise instead of handling it.
190
190
  */
191
191
  rejectPromiseOnError?: boolean;
192
+ /**
193
+ * When the error will not be managed by an errorEffect, errorSideEffect, getErrorMessage,
194
+ * the state decorator will not display an error message and will not return a failed promise
195
+ * (unless <code>rejectPromiseOnError</code>) is set.
196
+ */
197
+ isErrorManaged?: boolean;
192
198
  /**
193
199
  * Handle side effects when the request succeeded.
194
200
  * @param result The result of the request