@tramvai/tokens-render 2.100.0 → 2.101.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
@@ -196,6 +196,11 @@ export declare const MODERN_SATISFIES_TOKEN: (false & {
196
196
  }) | (true & {
197
197
  __type?: "base token" | undefined;
198
198
  });
199
+ export declare const BACK_FORWARD_CACHE_ENABLED: (false & {
200
+ __type?: "base token" | undefined;
201
+ }) | (true & {
202
+ __type?: "base token" | undefined;
203
+ });
199
204
  export type ReactServerRenderMode = 'sync' | 'streaming';
200
205
  export declare const REACT_SERVER_RENDER_MODE: ("sync" & {
201
206
  __type?: "base token" | undefined;
package/lib/index.es.js CHANGED
@@ -123,7 +123,8 @@ const RENDER_FLOW_AFTER_TOKEN = createToken('render flow after', {
123
123
  multi: true,
124
124
  });
125
125
  const MODERN_SATISFIES_TOKEN = createToken('modernSatisfies');
126
+ const BACK_FORWARD_CACHE_ENABLED = createToken('back forward cache');
126
127
  const REACT_SERVER_RENDER_MODE = createToken('reactServerRenderMode');
127
128
  const FETCH_WEBPACK_STATS_TOKEN = createToken('fetchWebpackStatsFn');
128
129
 
129
- export { 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 };
130
+ 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 };
package/lib/index.js CHANGED
@@ -126,6 +126,7 @@ const RENDER_FLOW_AFTER_TOKEN = dippy.createToken('render flow after', {
126
126
  multi: true,
127
127
  });
128
128
  const MODERN_SATISFIES_TOKEN = dippy.createToken('modernSatisfies');
129
+ const BACK_FORWARD_CACHE_ENABLED = dippy.createToken('back forward cache');
129
130
  const REACT_SERVER_RENDER_MODE = dippy.createToken('reactServerRenderMode');
130
131
  const FETCH_WEBPACK_STATS_TOKEN = dippy.createToken('fetchWebpackStatsFn');
131
132
 
@@ -134,6 +135,7 @@ Object.defineProperty(exports, 'ResourceType', {
134
135
  get: function () { return htmlpagebuilder.StorageRecord; }
135
136
  });
136
137
  exports.ResourceSlot = slots;
138
+ exports.BACK_FORWARD_CACHE_ENABLED = BACK_FORWARD_CACHE_ENABLED;
137
139
  exports.CUSTOM_RENDER = CUSTOM_RENDER;
138
140
  exports.DEFAULT_ERROR_BOUNDARY_COMPONENT = DEFAULT_ERROR_BOUNDARY_COMPONENT;
139
141
  exports.DEFAULT_FOOTER_COMPONENT = DEFAULT_FOOTER_COMPONENT;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tramvai/tokens-render",
3
- "version": "2.100.0",
3
+ "version": "2.101.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": "2.100.0"
21
+ "@tramvai/react": "2.101.1"
22
22
  },
23
23
  "dependencies": {
24
24
  "@tinkoff/htmlpagebuilder": "0.5.8"