@hyperframes/studio-server 0.8.189 → 0.8.191

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/dist/index.js +5 -1
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -3831,6 +3831,7 @@ import {
3831
3831
  stripEmbeddedRuntimeScripts as stripEmbeddedRuntimeScripts2
3832
3832
  } from "@hyperframes/core/compiler";
3833
3833
  import {
3834
+ STUDIO_PREVIEW_CAPTURE_MODE,
3834
3835
  STUDIO_PREVIEW_MARK_META,
3835
3836
  STUDIO_PREVIEW_ERRORS
3836
3837
  } from "@hyperframes/core/studio-preview-mark";
@@ -4174,7 +4175,10 @@ var PREVIEW_CAPTURE_PARAM = "hf-capture";
4174
4175
  var EARLY_ERRORS_SCRIPT = `<script>(function(){var seen=window.${STUDIO_PREVIEW_ERRORS}=[];
4175
4176
  addEventListener("error",function(e){seen.push(e.message||String(e))});})();</script>`;
4176
4177
  function injectStudioPreviewAugmentations(html, adapter, projectDir, activeCompositionPath, capture) {
4177
- const marked = capture ? html : injectTagsAtHeadStart(
4178
+ const marked = capture ? injectTagsAtHeadStart(
4179
+ html,
4180
+ `<meta name="${STUDIO_PREVIEW_MARK_META}" content="${STUDIO_PREVIEW_CAPTURE_MODE}">`
4181
+ ) : injectTagsAtHeadStart(
4178
4182
  lazyPreviewImages(html),
4179
4183
  `<meta name="${STUDIO_PREVIEW_MARK_META}">${EARLY_ERRORS_SCRIPT}`
4180
4184
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyperframes/studio-server",
3
- "version": "0.8.189",
3
+ "version": "0.8.191",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/heygen-com/hyperframes",
@@ -84,8 +84,8 @@
84
84
  "linkedom": "^0.18.12",
85
85
  "postcss": "^8.5.8",
86
86
  "postcss-selector-parser": "^7.1.2",
87
- "@hyperframes/parsers": "0.8.189",
88
- "@hyperframes/core": "0.8.189"
87
+ "@hyperframes/parsers": "0.8.191",
88
+ "@hyperframes/core": "0.8.191"
89
89
  },
90
90
  "devDependencies": {
91
91
  "@types/node": "^25.0.10",