@hyperframes/studio 0.8.212 → 0.8.214

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.
@@ -1,4 +1,4 @@
1
- import{n as Qi}from"./index-CWgIsKzV.js";/*!
1
+ import{n as Qi}from"./index-BftVE_0y.js";/*!
2
2
  * Copyright (c) 2026-present, Vanilagy and contributors
3
3
  *
4
4
  * This Source Code Form is subject to the terms of the Mozilla Public
@@ -565,6 +565,8 @@ function createPreviewQualitySlice(set, get) {
565
565
  setPlaybackHealth: (playbackHealth) => set({ playbackHealth }),
566
566
  previewFacts: null,
567
567
  setPreviewFacts: (previewFacts) => set({ previewFacts }),
568
+ mediaLoadFailure: null,
569
+ setMediaLoadFailure: (mediaLoadFailure) => set({ mediaLoadFailure }),
568
570
  previewFactsRequests: 0,
569
571
  requestPreviewFacts: () => set((state) => ({ previewFactsRequests: state.previewFactsRequests + 1 }))
570
572
  };
package/dist/index.d.ts CHANGED
@@ -12,6 +12,7 @@ export { Player } from './player.js';
12
12
  import { MusicBeatAnalysis } from '@hyperframes/core/beats';
13
13
  import { PreviewQuality } from '@hyperframes/core/preview-quality';
14
14
  export { PREVIEW_QUALITY_LEVELS, PreviewQuality } from '@hyperframes/core/preview-quality';
15
+ import { MediaLoadFailure } from '@hyperframes/core/runtime/protocol';
15
16
  import * as _hyperframes_parsers from '@hyperframes/parsers';
16
17
  import { CanvasResolution } from '@hyperframes/parsers';
17
18
  import { HistoryTarget } from '@hyperframes/studio-server';
@@ -299,6 +300,8 @@ interface PreviewQualitySlice {
299
300
  setPlaybackHealth: (health: PlaybackHealth | null) => void;
300
301
  previewFacts: PreviewFacts | null;
301
302
  setPreviewFacts: (facts: PreviewFacts | null) => void;
303
+ mediaLoadFailure: MediaLoadFailure | null;
304
+ setMediaLoadFailure: (failure: MediaLoadFailure | null) => void;
302
305
  /** Bumped by requestPreviewFacts; the preview owner forwards each bump and the answer lands in previewFacts. */
303
306
  previewFactsRequests: number;
304
307
  requestPreviewFacts: () => void;
package/dist/index.html CHANGED
@@ -14,7 +14,7 @@
14
14
  document.documentElement.dataset.theme = "paper";
15
15
  }
16
16
  </script>
17
- <script type="module" crossorigin src="/assets/index-CWgIsKzV.js"></script>
17
+ <script type="module" crossorigin src="/assets/index-BftVE_0y.js"></script>
18
18
  <link rel="stylesheet" crossorigin href="/assets/index-RUPGNyct.css">
19
19
  </head>
20
20
  <body>