@halibegic/react-video-player 0.0.23 → 0.0.24

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,8 +1,7 @@
1
1
  import { PropsWithChildren } from 'react';
2
2
  type State = {
3
3
  delay: number;
4
- startDate: Date;
5
- startTime: number;
4
+ startDate: Date | null;
6
5
  };
7
6
  type Actions = {
8
7
  setDelay: (delay: number) => void;
@@ -10,7 +9,7 @@ type Actions = {
10
9
  };
11
10
  type LivePlayerStore = State & Actions;
12
11
  type LivePlayerStoreProviderProps = PropsWithChildren & {
13
- startDate: Date;
12
+ startDate: Date | null;
14
13
  };
15
14
  declare const LivePlayerStoreProvider: ({ children, startDate, }: LivePlayerStoreProviderProps) => import("react/jsx-runtime").JSX.Element;
16
15
  declare const useLivePlayerStore: <T>(selector: (state: LivePlayerStore) => T) => T;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@halibegic/react-video-player",
3
3
  "description": "A React video player library with HLS support for VOD and Live streaming",
4
- "version": "0.0.23",
4
+ "version": "0.0.24",
5
5
  "license": "MIT",
6
6
  "keywords": [
7
7
  "react",