@tramvai/tokens-render 2.149.1 → 2.150.0
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.d.ts +3 -1
- package/lib/index.es.js +3 -1
- package/lib/index.js +3 -1
- package/package.json +2 -2
package/lib/index.d.ts
CHANGED
|
@@ -47,6 +47,8 @@ export declare const RENDERER_CALLBACK: ((e?: Error) => void) & {
|
|
|
47
47
|
__type?: "multi token" | undefined;
|
|
48
48
|
};
|
|
49
49
|
/**
|
|
50
|
+
* @deprecated you can lost some of tramvai features, for example [streaming render support](https://tramvai.dev/docs/features/rendering/streaming)
|
|
51
|
+
*
|
|
50
52
|
* @description
|
|
51
53
|
* Used as async function which overrides app render. This function may define render parameters or override render result.
|
|
52
54
|
*/
|
|
@@ -67,7 +69,7 @@ export declare const RESOURCES_REGISTRY: ResourcesRegistry & {
|
|
|
67
69
|
* this check will called in order to find out the need of loading polyfills
|
|
68
70
|
* (by default checks for Promise.prototype.finally and implementations for URL and URLSearchParams)
|
|
69
71
|
*
|
|
70
|
-
* [Polyfill documentation](https://tramvai.dev/docs/
|
|
72
|
+
* [Polyfill documentation](https://tramvai.dev/docs/references/libs/main-polyfills/#how-polyfills-loading-works)
|
|
71
73
|
*/
|
|
72
74
|
export declare const POLYFILL_CONDITION: string & {
|
|
73
75
|
__type?: "base token" | undefined;
|
package/lib/index.es.js
CHANGED
|
@@ -44,6 +44,8 @@ const RENDERER_CALLBACK = createToken('RENDERER_CALLBACK', {
|
|
|
44
44
|
multi: true,
|
|
45
45
|
});
|
|
46
46
|
/**
|
|
47
|
+
* @deprecated you can lost some of tramvai features, for example [streaming render support](https://tramvai.dev/docs/features/rendering/streaming)
|
|
48
|
+
*
|
|
47
49
|
* @description
|
|
48
50
|
* Used as async function which overrides app render. This function may define render parameters or override render result.
|
|
49
51
|
*/
|
|
@@ -60,7 +62,7 @@ const RESOURCES_REGISTRY = createToken('resourcesRegistry');
|
|
|
60
62
|
* this check will called in order to find out the need of loading polyfills
|
|
61
63
|
* (by default checks for Promise.prototype.finally and implementations for URL and URLSearchParams)
|
|
62
64
|
*
|
|
63
|
-
* [Polyfill documentation](https://tramvai.dev/docs/
|
|
65
|
+
* [Polyfill documentation](https://tramvai.dev/docs/references/libs/main-polyfills/#how-polyfills-loading-works)
|
|
64
66
|
*/
|
|
65
67
|
const POLYFILL_CONDITION = createToken('POLYFILL_CONDITION');
|
|
66
68
|
/**
|
package/lib/index.js
CHANGED
|
@@ -47,6 +47,8 @@ const RENDERER_CALLBACK = dippy.createToken('RENDERER_CALLBACK', {
|
|
|
47
47
|
multi: true,
|
|
48
48
|
});
|
|
49
49
|
/**
|
|
50
|
+
* @deprecated you can lost some of tramvai features, for example [streaming render support](https://tramvai.dev/docs/features/rendering/streaming)
|
|
51
|
+
*
|
|
50
52
|
* @description
|
|
51
53
|
* Used as async function which overrides app render. This function may define render parameters or override render result.
|
|
52
54
|
*/
|
|
@@ -63,7 +65,7 @@ const RESOURCES_REGISTRY = dippy.createToken('resourcesRegistry');
|
|
|
63
65
|
* this check will called in order to find out the need of loading polyfills
|
|
64
66
|
* (by default checks for Promise.prototype.finally and implementations for URL and URLSearchParams)
|
|
65
67
|
*
|
|
66
|
-
* [Polyfill documentation](https://tramvai.dev/docs/
|
|
68
|
+
* [Polyfill documentation](https://tramvai.dev/docs/references/libs/main-polyfills/#how-polyfills-loading-works)
|
|
67
69
|
*/
|
|
68
70
|
const POLYFILL_CONDITION = dippy.createToken('POLYFILL_CONDITION');
|
|
69
71
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tramvai/tokens-render",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.150.0",
|
|
4
4
|
"description": "Tramvai tokens for @tramvai/module-render",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "lib/index.es.js",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"watch": "tsc -w"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@tramvai/react": "2.
|
|
21
|
+
"@tramvai/react": "2.150.0"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@tinkoff/htmlpagebuilder": "0.5.8"
|