@taole/giftstage 0.1.30 → 0.1.31

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.
@@ -560,6 +560,10 @@ export interface GiftSlot {
560
560
  loopCount: number;
561
561
  videoEntity: VideoEntity | null;
562
562
  loadAbortController?: AbortController | null;
563
+ /** HTMLVideoElement finite-playback watchdog; cleared on normal completion or resource release. */
564
+ videoPlaybackWatchdogTimer?: ReturnType<typeof setTimeout> | null;
565
+ /** Guards the HTMLVideo ended/watchdog race so completion is dispatched exactly once. */
566
+ videoPlaybackCompletionStarted?: boolean;
563
567
  svgaSlotTextures?: Map<string, ResolvedSVGASlotTexture>;
564
568
  videoElement: HTMLVideoElement | null;
565
569
  releaseMediaSource?: (() => void) | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taole/giftstage",
3
- "version": "0.1.30",
3
+ "version": "0.1.31",
4
4
  "description": "High-performance WebGPU/WebGL gift animation player unifying SVGA, VAP, AlphaVideo, and images",
5
5
  "type": "module",
6
6
  "main": "dist/gift-stage.cjs.js",