@tramvai/module-common 5.5.4 → 5.6.2
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.
|
@@ -9,15 +9,7 @@ const actionsProviders = [
|
|
|
9
9
|
provide({
|
|
10
10
|
provide: CHILD_APP_INTERNAL_ROOT_DI_BORROW_TOKEN,
|
|
11
11
|
multi: true,
|
|
12
|
-
useValue: [
|
|
13
|
-
ACTION_EXECUTION_TOKEN,
|
|
14
|
-
ACTION_PAGE_RUNNER_TOKEN,
|
|
15
|
-
// borrow for multi token with useValue is not working properly for v2.0.0 tramvai, not backward compatible.
|
|
16
|
-
// for legacy CA + modern host this token will be borrowed in `packages/modules/child-app/src/shared/child/singletonProviders.ts`
|
|
17
|
-
// for modern CA + legacy host this token will not be borrowed, but it is okay - there is full DI access.
|
|
18
|
-
// ACTION_CONDITIONALS,
|
|
19
|
-
DEFERRED_ACTIONS_MAP_TOKEN,
|
|
20
|
-
],
|
|
12
|
+
useValue: [ACTION_EXECUTION_TOKEN, ACTION_PAGE_RUNNER_TOKEN, DEFERRED_ACTIONS_MAP_TOKEN],
|
|
21
13
|
}),
|
|
22
14
|
provide({
|
|
23
15
|
provide: COMBINE_REDUCERS,
|
|
@@ -9,15 +9,7 @@ const actionsProviders = [
|
|
|
9
9
|
provide({
|
|
10
10
|
provide: CHILD_APP_INTERNAL_ROOT_DI_BORROW_TOKEN,
|
|
11
11
|
multi: true,
|
|
12
|
-
useValue: [
|
|
13
|
-
ACTION_EXECUTION_TOKEN,
|
|
14
|
-
ACTION_PAGE_RUNNER_TOKEN,
|
|
15
|
-
// borrow for multi token with useValue is not working properly for v2.0.0 tramvai, not backward compatible.
|
|
16
|
-
// for legacy CA + modern host this token will be borrowed in `packages/modules/child-app/src/shared/child/singletonProviders.ts`
|
|
17
|
-
// for modern CA + legacy host this token will not be borrowed, but it is okay - there is full DI access.
|
|
18
|
-
// ACTION_CONDITIONALS,
|
|
19
|
-
DEFERRED_ACTIONS_MAP_TOKEN,
|
|
20
|
-
],
|
|
12
|
+
useValue: [ACTION_EXECUTION_TOKEN, ACTION_PAGE_RUNNER_TOKEN, DEFERRED_ACTIONS_MAP_TOKEN],
|
|
21
13
|
}),
|
|
22
14
|
provide({
|
|
23
15
|
provide: COMBINE_REDUCERS,
|
package/lib/child-app/actions.js
CHANGED
|
@@ -17,15 +17,7 @@ const actionsProviders = [
|
|
|
17
17
|
core.provide({
|
|
18
18
|
provide: tokensChildApp.CHILD_APP_INTERNAL_ROOT_DI_BORROW_TOKEN,
|
|
19
19
|
multi: true,
|
|
20
|
-
useValue: [
|
|
21
|
-
tokensCommon.ACTION_EXECUTION_TOKEN,
|
|
22
|
-
tokensCommon.ACTION_PAGE_RUNNER_TOKEN,
|
|
23
|
-
// borrow for multi token with useValue is not working properly for v2.0.0 tramvai, not backward compatible.
|
|
24
|
-
// for legacy CA + modern host this token will be borrowed in `packages/modules/child-app/src/shared/child/singletonProviders.ts`
|
|
25
|
-
// for modern CA + legacy host this token will not be borrowed, but it is okay - there is full DI access.
|
|
26
|
-
// ACTION_CONDITIONALS,
|
|
27
|
-
tokensCommon.DEFERRED_ACTIONS_MAP_TOKEN,
|
|
28
|
-
],
|
|
20
|
+
useValue: [tokensCommon.ACTION_EXECUTION_TOKEN, tokensCommon.ACTION_PAGE_RUNNER_TOKEN, tokensCommon.DEFERRED_ACTIONS_MAP_TOKEN],
|
|
29
21
|
}),
|
|
30
22
|
core.provide({
|
|
31
23
|
provide: tokensCommon.COMBINE_REDUCERS,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tramvai/module-common",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.6.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"typings": "lib/index.d.ts",
|
|
@@ -36,31 +36,31 @@
|
|
|
36
36
|
"@tinkoff/lru-cache-nano": "^7.9.0",
|
|
37
37
|
"@tinkoff/pubsub": "0.8.2",
|
|
38
38
|
"@tinkoff/url": "0.11.2",
|
|
39
|
-
"@tramvai/experiments": "5.
|
|
40
|
-
"@tramvai/module-cookie": "5.
|
|
41
|
-
"@tramvai/module-environment": "5.
|
|
42
|
-
"@tramvai/module-log": "5.
|
|
39
|
+
"@tramvai/experiments": "5.6.2",
|
|
40
|
+
"@tramvai/module-cookie": "5.6.2",
|
|
41
|
+
"@tramvai/module-environment": "5.6.2",
|
|
42
|
+
"@tramvai/module-log": "5.6.2",
|
|
43
43
|
"@tramvai/safe-strings": "0.8.3",
|
|
44
|
-
"@tramvai/tokens-child-app": "5.
|
|
45
|
-
"@tramvai/tokens-common": "5.
|
|
46
|
-
"@tramvai/tokens-core-private": "5.
|
|
47
|
-
"@tramvai/tokens-metrics": "5.
|
|
48
|
-
"@tramvai/tokens-render": "5.
|
|
49
|
-
"@tramvai/tokens-router": "5.
|
|
50
|
-
"@tramvai/tokens-server-private": "5.
|
|
51
|
-
"@tramvai/types-actions-state-context": "5.
|
|
44
|
+
"@tramvai/tokens-child-app": "5.6.2",
|
|
45
|
+
"@tramvai/tokens-common": "5.6.2",
|
|
46
|
+
"@tramvai/tokens-core-private": "5.6.2",
|
|
47
|
+
"@tramvai/tokens-metrics": "5.6.2",
|
|
48
|
+
"@tramvai/tokens-render": "5.6.2",
|
|
49
|
+
"@tramvai/tokens-router": "5.6.2",
|
|
50
|
+
"@tramvai/tokens-server-private": "5.6.2",
|
|
51
|
+
"@tramvai/types-actions-state-context": "5.6.2",
|
|
52
52
|
"hoist-non-react-statics": "^3.3.1",
|
|
53
53
|
"node-abort-controller": "^3.0.1"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
56
|
"@tinkoff/dippy": "0.11.3",
|
|
57
57
|
"@tinkoff/utils": "^2.1.2",
|
|
58
|
-
"@tramvai/cli": "5.
|
|
59
|
-
"@tramvai/core": "5.
|
|
60
|
-
"@tramvai/papi": "5.
|
|
61
|
-
"@tramvai/react": "5.
|
|
62
|
-
"@tramvai/state": "5.
|
|
63
|
-
"@tramvai/tokens-server": "5.
|
|
58
|
+
"@tramvai/cli": "5.6.2",
|
|
59
|
+
"@tramvai/core": "5.6.2",
|
|
60
|
+
"@tramvai/papi": "5.6.2",
|
|
61
|
+
"@tramvai/react": "5.6.2",
|
|
62
|
+
"@tramvai/state": "5.6.2",
|
|
63
|
+
"@tramvai/tokens-server": "5.6.2",
|
|
64
64
|
"react": ">=16.14.0",
|
|
65
65
|
"tslib": "^2.4.0"
|
|
66
66
|
},
|