@tramvai/tokens-render 1.45.0 → 1.46.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.
Files changed (2) hide show
  1. package/lib/index.d.ts +1 -1
  2. package/package.json +2 -2
package/lib/index.d.ts CHANGED
@@ -41,7 +41,7 @@ export declare const RENDERER_CALLBACK: ((e?: Error) => void)[];
41
41
  * @description
42
42
  * Used as async function which overrides app render. This function may define render parameters or override render result.
43
43
  */
44
- export declare const CUSTOM_RENDER: any;
44
+ export declare const CUSTOM_RENDER: (content: JSX.Element) => Promise<string>;
45
45
  /**
46
46
  * @description
47
47
  * Resources registry is used only on server for registering any additional assets for browser (scripts, styles, html) which should be added to response html page
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tramvai/tokens-render",
3
- "version": "1.45.0",
3
+ "version": "1.46.8",
4
4
  "description": "Tramvai tokens for @tramvai/module-render",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib/index.es.js",
@@ -22,7 +22,7 @@
22
22
  "@tinkoff/htmlpagebuilder": "0.4.22"
23
23
  },
24
24
  "peerDependencies": {
25
- "@tinkoff/dippy": "0.7.35",
25
+ "@tinkoff/dippy": "0.7.36",
26
26
  "react": ">=16.8.0",
27
27
  "tslib": "^2.0.3"
28
28
  },