@tramvai/module-child-app 3.37.7 → 3.37.8

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.
@@ -164,6 +164,7 @@ const sharedProviders = [
164
164
  provide({
165
165
  provide: REGISTER_CLEAR_CACHE_TOKEN,
166
166
  multi: true,
167
+ scope: Scope.SINGLETON,
167
168
  useFactory: ({ diManager }) => {
168
169
  return (type) => {
169
170
  diManager.forEachChildDi((di) => {
@@ -164,6 +164,7 @@ const sharedProviders = [
164
164
  provide({
165
165
  provide: REGISTER_CLEAR_CACHE_TOKEN,
166
166
  multi: true,
167
+ scope: Scope.SINGLETON,
167
168
  useFactory: ({ diManager }) => {
168
169
  return (type) => {
169
170
  diManager.forEachChildDi((di) => {
@@ -168,6 +168,7 @@ const sharedProviders = [
168
168
  core.provide({
169
169
  provide: tokensCommon.REGISTER_CLEAR_CACHE_TOKEN,
170
170
  multi: true,
171
+ scope: dippy.Scope.SINGLETON,
171
172
  useFactory: ({ diManager }) => {
172
173
  return (type) => {
173
174
  diManager.forEachChildDi((di) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tramvai/module-child-app",
3
- "version": "3.37.7",
3
+ "version": "3.37.8",
4
4
  "description": "Module for child apps",
5
5
  "browser": {
6
6
  "./lib/server.js": "./lib/browser.js",
@@ -33,23 +33,23 @@
33
33
  "@tinkoff/env-validators": "0.2.1",
34
34
  "@tinkoff/module-loader-client": "0.5.1",
35
35
  "@tinkoff/module-loader-server": "0.6.3",
36
- "@tramvai/module-common": "3.37.7",
36
+ "@tramvai/module-common": "3.37.8",
37
37
  "@tinkoff/url": "0.9.2",
38
- "@tramvai/child-app-core": "3.37.7",
38
+ "@tramvai/child-app-core": "3.37.8",
39
39
  "@tramvai/safe-strings": "0.6.2",
40
- "@tramvai/tokens-child-app": "3.37.7"
40
+ "@tramvai/tokens-child-app": "3.37.8"
41
41
  },
42
42
  "devDependencies": {},
43
43
  "peerDependencies": {
44
44
  "@tinkoff/dippy": "0.9.2",
45
- "@tinkoff/router": "0.3.79",
45
+ "@tinkoff/router": "0.3.80",
46
46
  "@tinkoff/utils": "^2.1.2",
47
- "@tramvai/core": "3.37.7",
48
- "@tramvai/state": "3.37.7",
49
- "@tramvai/react": "3.37.7",
50
- "@tramvai/tokens-common": "3.37.7",
51
- "@tramvai/tokens-render": "3.37.7",
52
- "@tramvai/tokens-router": "3.37.7",
47
+ "@tramvai/core": "3.37.8",
48
+ "@tramvai/state": "3.37.8",
49
+ "@tramvai/react": "3.37.8",
50
+ "@tramvai/tokens-common": "3.37.8",
51
+ "@tramvai/tokens-render": "3.37.8",
52
+ "@tramvai/tokens-router": "3.37.8",
53
53
  "react": ">=16.14.0",
54
54
  "react-dom": ">=16.14.0",
55
55
  "object-assign": "^4.1.1",