@remotion/player 4.0.188 → 4.0.189

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,5 @@
1
1
  /// <reference types="react" />
2
+ import './_check-rsc.js';
2
3
  import type { CallbackListener, PlayerEventTypes } from './event-emitter.js';
3
4
  import { PlayerEmitter } from './event-emitter.js';
4
5
  export type { RenderMuteButton } from './MediaVolumeSlider.js';
@@ -22,7 +23,7 @@ export declare const PlayerInternals: {
22
23
  isFirstFrame: boolean;
23
24
  emitter: PlayerEmitter;
24
25
  playing: boolean;
25
- play: (e?: PointerEvent | import("react").SyntheticEvent<Element, Event> | undefined) => void;
26
+ play: (e?: import("react").SyntheticEvent<Element, Event> | PointerEvent | undefined) => void;
26
27
  pause: () => void;
27
28
  pauseAndReturnToPlayStart: () => void;
28
29
  seek: (newFrame: number) => void;
package/dist/cjs/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PlayerInternals = exports.Thumbnail = exports.Player = void 0;
4
+ require("./_check-rsc.js");
4
5
  const BufferingIndicator_js_1 = require("./BufferingIndicator.js");
5
6
  const calculate_scale_js_1 = require("./calculate-scale.js");
6
7
  const emitter_context_js_1 = require("./emitter-context.js");
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "url": "https://github.com/remotion-dev/remotion/tree/main/packages/player"
4
4
  },
5
5
  "name": "@remotion/player",
6
- "version": "4.0.188",
6
+ "version": "4.0.189",
7
7
  "description": "React component for embedding a Remotion preview into your app",
8
8
  "main": "dist/cjs/index.js",
9
9
  "types": "dist/cjs/index.d.ts",
@@ -28,7 +28,7 @@
28
28
  ],
29
29
  "license": "SEE LICENSE IN LICENSE.md",
30
30
  "dependencies": {
31
- "remotion": "4.0.188"
31
+ "remotion": "4.0.189"
32
32
  },
33
33
  "peerDependencies": {
34
34
  "react": ">=16.8.0",