@tramvai/tokens-common 4.18.3 → 4.18.4
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/lib/state.es.js +5 -2
- package/lib/state.js +4 -1
- package/package.json +5 -5
package/lib/state.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createToken } from '@tinkoff/dippy';
|
|
1
|
+
import { createToken, Scope } from '@tinkoff/dippy';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @description
|
|
@@ -15,7 +15,10 @@ const DISPATCHER_CONTEXT_TOKEN = createToken('dispatcherContext');
|
|
|
15
15
|
* @description
|
|
16
16
|
* Token for adding stores that were created with createReducer
|
|
17
17
|
*/
|
|
18
|
-
const COMBINE_REDUCERS = createToken('combineReducers', {
|
|
18
|
+
const COMBINE_REDUCERS = createToken('combineReducers', {
|
|
19
|
+
multi: true,
|
|
20
|
+
scope: Scope.SINGLETON,
|
|
21
|
+
});
|
|
19
22
|
/**
|
|
20
23
|
* @description
|
|
21
24
|
* Common app store
|
package/lib/state.js
CHANGED
|
@@ -19,7 +19,10 @@ const DISPATCHER_CONTEXT_TOKEN = dippy.createToken('dispatcherContext');
|
|
|
19
19
|
* @description
|
|
20
20
|
* Token for adding stores that were created with createReducer
|
|
21
21
|
*/
|
|
22
|
-
const COMBINE_REDUCERS = dippy.createToken('combineReducers', {
|
|
22
|
+
const COMBINE_REDUCERS = dippy.createToken('combineReducers', {
|
|
23
|
+
multi: true,
|
|
24
|
+
scope: dippy.Scope.SINGLETON,
|
|
25
|
+
});
|
|
23
26
|
/**
|
|
24
27
|
* @description
|
|
25
28
|
* Common app store
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tramvai/tokens-common",
|
|
3
|
-
"version": "4.18.
|
|
3
|
+
"version": "4.18.4",
|
|
4
4
|
"description": "Tramvai tokens for @tramvai/module-common",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "lib/index.es.js",
|
|
@@ -20,13 +20,13 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@tinkoff/lru-cache-nano": "^7.9.0",
|
|
22
22
|
"@tinkoff/url": "0.10.1",
|
|
23
|
-
"@tramvai/react": "4.18.
|
|
24
|
-
"@tramvai/tokens-core": "4.18.
|
|
23
|
+
"@tramvai/react": "4.18.4",
|
|
24
|
+
"@tramvai/tokens-core": "4.18.4"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
|
-
"@tinkoff/dippy": "0.10.
|
|
27
|
+
"@tinkoff/dippy": "0.10.6",
|
|
28
28
|
"@tinkoff/logger": "0.10.274",
|
|
29
|
-
"@tramvai/types-actions-state-context": "4.18.
|
|
29
|
+
"@tramvai/types-actions-state-context": "4.18.4",
|
|
30
30
|
"react": ">=16.8",
|
|
31
31
|
"tslib": "^2.4.0"
|
|
32
32
|
},
|