@tramvai/tokens-render 3.17.0 → 3.19.1

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
@@ -211,6 +211,9 @@ export declare const REACT_SERVER_RENDER_MODE: ("sync" & {
211
211
  }) | ("streaming" & {
212
212
  __type?: "base token" | undefined;
213
213
  });
214
+ export declare const REACT_STREAMING_RENDER_TIMEOUT: number & {
215
+ __type?: "base token" | undefined;
216
+ };
214
217
  export interface WebpackStats {
215
218
  assetsByChunkName: Record<string, string[]>;
216
219
  namedChunkGroups?: Record<string, {
package/lib/index.es.js CHANGED
@@ -128,6 +128,7 @@ const MODERN_SATISFIES_TOKEN = createToken('modernSatisfies');
128
128
  const BACK_FORWARD_CACHE_ENABLED = createToken('back forward cache');
129
129
  // @todo ReactServerRenderMode or () => ReactServerRenderMode
130
130
  const REACT_SERVER_RENDER_MODE = createToken('reactServerRenderMode');
131
+ const REACT_STREAMING_RENDER_TIMEOUT = createToken('react streaming render timeout');
131
132
  const FETCH_WEBPACK_STATS_TOKEN = createToken('fetchWebpackStatsFn');
132
133
 
133
- export { BACK_FORWARD_CACHE_ENABLED, CUSTOM_RENDER, DEFAULT_ERROR_BOUNDARY_COMPONENT, DEFAULT_FOOTER_COMPONENT, DEFAULT_HEADER_COMPONENT, DEFAULT_LAYOUT_COMPONENT, EXTEND_RENDER, FETCH_WEBPACK_STATS_TOKEN, HTML_ATTRS, LAYOUT_OPTIONS, MODERN_SATISFIES_TOKEN, POLYFILL_CONDITION, REACT_SERVER_RENDER_MODE, RENDERER_CALLBACK, RENDER_FLOW_AFTER_TOKEN, RENDER_MODE, RENDER_SLOTS, RESOURCES_REGISTRY, RESOURCE_INLINE_OPTIONS, TRAMVAI_RENDER_MODE, USE_REACT_STRICT_MODE };
134
+ export { BACK_FORWARD_CACHE_ENABLED, CUSTOM_RENDER, DEFAULT_ERROR_BOUNDARY_COMPONENT, DEFAULT_FOOTER_COMPONENT, DEFAULT_HEADER_COMPONENT, DEFAULT_LAYOUT_COMPONENT, EXTEND_RENDER, FETCH_WEBPACK_STATS_TOKEN, HTML_ATTRS, LAYOUT_OPTIONS, MODERN_SATISFIES_TOKEN, POLYFILL_CONDITION, REACT_SERVER_RENDER_MODE, REACT_STREAMING_RENDER_TIMEOUT, RENDERER_CALLBACK, RENDER_FLOW_AFTER_TOKEN, RENDER_MODE, RENDER_SLOTS, RESOURCES_REGISTRY, RESOURCE_INLINE_OPTIONS, TRAMVAI_RENDER_MODE, USE_REACT_STRICT_MODE };
package/lib/index.js CHANGED
@@ -131,6 +131,7 @@ const MODERN_SATISFIES_TOKEN = dippy.createToken('modernSatisfies');
131
131
  const BACK_FORWARD_CACHE_ENABLED = dippy.createToken('back forward cache');
132
132
  // @todo ReactServerRenderMode or () => ReactServerRenderMode
133
133
  const REACT_SERVER_RENDER_MODE = dippy.createToken('reactServerRenderMode');
134
+ const REACT_STREAMING_RENDER_TIMEOUT = dippy.createToken('react streaming render timeout');
134
135
  const FETCH_WEBPACK_STATS_TOKEN = dippy.createToken('fetchWebpackStatsFn');
135
136
 
136
137
  Object.defineProperty(exports, 'ResourceType', {
@@ -151,6 +152,7 @@ exports.LAYOUT_OPTIONS = LAYOUT_OPTIONS;
151
152
  exports.MODERN_SATISFIES_TOKEN = MODERN_SATISFIES_TOKEN;
152
153
  exports.POLYFILL_CONDITION = POLYFILL_CONDITION;
153
154
  exports.REACT_SERVER_RENDER_MODE = REACT_SERVER_RENDER_MODE;
155
+ exports.REACT_STREAMING_RENDER_TIMEOUT = REACT_STREAMING_RENDER_TIMEOUT;
154
156
  exports.RENDERER_CALLBACK = RENDERER_CALLBACK;
155
157
  exports.RENDER_FLOW_AFTER_TOKEN = RENDER_FLOW_AFTER_TOKEN;
156
158
  exports.RENDER_MODE = RENDER_MODE;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tramvai/tokens-render",
3
- "version": "3.17.0",
3
+ "version": "3.19.1",
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": "3.17.0"
21
+ "@tramvai/react": "3.19.1"
22
22
  },
23
23
  "dependencies": {
24
24
  "@tinkoff/htmlpagebuilder": "0.6.1"