state-decorator 6.10.0 → 6.10.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/README.md +3 -1
- package/package.json +2 -3
package/README.md
CHANGED
|
@@ -655,7 +655,9 @@ setGlobalConfig({
|
|
|
655
655
|
notifyError: undefined,
|
|
656
656
|
// Notification function injected in side effects action context (success and error) to notify warning
|
|
657
657
|
notifyWarning: undefined,
|
|
658
|
-
// Function called to return common error message if error message is not provided or error not managed in action.
|
|
658
|
+
// Function called to return common error message if error message is not provided or error not managed in action.
|
|
659
|
+
// To override locally in action, provide a function that returns _null_.
|
|
660
|
+
// If _isErrorManaged_ is set to _true_, this function will not be called.
|
|
659
661
|
getErrorMessage: undefined,
|
|
660
662
|
});
|
|
661
663
|
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "state-decorator",
|
|
3
|
-
"version": "6.10.
|
|
3
|
+
"version": "6.10.1",
|
|
4
4
|
"description": "React state management library",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -11,8 +11,7 @@
|
|
|
11
11
|
"license": "MIT",
|
|
12
12
|
"sideEffects": false,
|
|
13
13
|
"peerDependencies": {
|
|
14
|
-
"react": ">=16.9.0"
|
|
15
|
-
"react-dom": ">=16.9.0"
|
|
14
|
+
"react": ">=16.9.0"
|
|
16
15
|
},
|
|
17
16
|
"keywords": [
|
|
18
17
|
"state",
|