@tramvai/tokens-render 7.11.0 → 7.16.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 CHANGED
@@ -4,6 +4,7 @@ import type { UniversalErrorBoundaryFallbackProps } from '@tramvai/react';
4
4
  import type { JSX } from 'react';
5
5
  import * as ResourceSlot from './slots';
6
6
  /**
7
+ * @deprecated use `TRAMVAI_HOOKS_TOKEN['react:render']` and `TRAMVAI_HOOKS_TOKEN['react:error']` instead
7
8
  * @description
8
9
  * Token adding resources to specific render slots.
9
10
  * Used only on server and it is equivalent to usage of RESOURCES_REGISTRY.
package/lib/index.es.js CHANGED
@@ -4,6 +4,7 @@ import * as slots from './slots.es.js';
4
4
  export { slots as ResourceSlot };
5
5
 
6
6
  /**
7
+ * @deprecated use `TRAMVAI_HOOKS_TOKEN['react:render']` and `TRAMVAI_HOOKS_TOKEN['react:error']` instead
7
8
  * @description
8
9
  * Token adding resources to specific render slots.
9
10
  * Used only on server and it is equivalent to usage of RESOURCES_REGISTRY.
package/lib/index.js CHANGED
@@ -7,6 +7,7 @@ var htmlpagebuilder = require('@tinkoff/htmlpagebuilder');
7
7
  var slots = require('./slots.js');
8
8
 
9
9
  /**
10
+ * @deprecated use `TRAMVAI_HOOKS_TOKEN['react:render']` and `TRAMVAI_HOOKS_TOKEN['react:error']` instead
10
11
  * @description
11
12
  * Token adding resources to specific render slots.
12
13
  * Used only on server and it is equivalent to usage of RESOURCES_REGISTRY.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tramvai/tokens-render",
3
- "version": "7.11.0",
3
+ "version": "7.16.0",
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": "7.11.0"
21
+ "@tramvai/react": "7.16.0"
22
22
  },
23
23
  "dependencies": {
24
24
  "@tinkoff/htmlpagebuilder": "0.10.1"
25
25
  },
26
26
  "peerDependencies": {
27
- "@tinkoff/dippy": "0.13.2",
27
+ "@tinkoff/dippy": "^1.0.0",
28
28
  "react": ">=16.14.0",
29
29
  "tslib": "^2.4.0"
30
30
  },