@tramvai/tokens-render 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/index.es.js +1 -1
- package/lib/index.js +1 -1
- package/package.json +3 -3
package/lib/index.es.js
CHANGED
|
@@ -122,7 +122,7 @@ const LAYOUT_OPTIONS = createToken('layoutOptions', {
|
|
|
122
122
|
* * threshold Maximum value (in bytes) of the file which are getting inlined in HTML page
|
|
123
123
|
* * types Types of resources which should be inlined
|
|
124
124
|
*/
|
|
125
|
-
const RESOURCE_INLINE_OPTIONS = createToken('resourceInlineThreshold');
|
|
125
|
+
const RESOURCE_INLINE_OPTIONS = createToken('resourceInlineThreshold', { scope: Scope.SINGLETON });
|
|
126
126
|
/**
|
|
127
127
|
* @description
|
|
128
128
|
* Experimental switcher from ssr to client-side rendering mode
|
package/lib/index.js
CHANGED
|
@@ -125,7 +125,7 @@ const LAYOUT_OPTIONS = dippy.createToken('layoutOptions', {
|
|
|
125
125
|
* * threshold Maximum value (in bytes) of the file which are getting inlined in HTML page
|
|
126
126
|
* * types Types of resources which should be inlined
|
|
127
127
|
*/
|
|
128
|
-
const RESOURCE_INLINE_OPTIONS = dippy.createToken('resourceInlineThreshold');
|
|
128
|
+
const RESOURCE_INLINE_OPTIONS = dippy.createToken('resourceInlineThreshold', { scope: dippy.Scope.SINGLETON });
|
|
129
129
|
/**
|
|
130
130
|
* @description
|
|
131
131
|
* Experimental switcher from ssr to client-side rendering mode
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tramvai/tokens-render",
|
|
3
|
-
"version": "4.18.
|
|
3
|
+
"version": "4.18.4",
|
|
4
4
|
"description": "Tramvai tokens for @tramvai/module-render",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "lib/index.es.js",
|
|
@@ -18,13 +18,13 @@
|
|
|
18
18
|
"watch": "tsc -w"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@tramvai/react": "4.18.
|
|
21
|
+
"@tramvai/react": "4.18.4"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@tinkoff/htmlpagebuilder": "0.7.1"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
|
-
"@tinkoff/dippy": "0.10.
|
|
27
|
+
"@tinkoff/dippy": "0.10.6",
|
|
28
28
|
"react": ">=16.14.0",
|
|
29
29
|
"tslib": "^2.4.0"
|
|
30
30
|
},
|