@halibegic/react-video-player 0.0.59 → 0.0.61

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,7 +1,9 @@
1
- declare function dateToTimeZone(date: Date, timeZone: string): Date;
1
+ declare function dateToTimeZone(date: Date): Date;
2
2
  declare function diffDate(startDate: Date, endDate: Date, unit: string): number;
3
3
  declare function getLogDate(): string;
4
4
  declare const formatTime: (seconds: number) => string;
5
5
  declare function getTimeZone(): string;
6
6
  declare function millisecondsToSeconds(value: number): number;
7
- export { dateToTimeZone, diffDate, formatTime, getLogDate, getTimeZone, millisecondsToSeconds, };
7
+ declare const getDate: () => Date;
8
+ declare const getTime: () => number;
9
+ export { dateToTimeZone, diffDate, formatTime, getDate, getLogDate, getTime, getTimeZone, millisecondsToSeconds, };
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.59",
4
+ "version": "0.0.61",
5
5
  "license": "MIT",
6
6
  "keywords": [
7
7
  "react",
@@ -45,7 +45,9 @@
45
45
  "lint": "eslint .",
46
46
  "preview": "vite preview",
47
47
  "prepublishOnly": "npm run build",
48
- "typecheck": "tsc --noEmit"
48
+ "typecheck": "tsc --noEmit",
49
+ "format:write": "prettier --write \"**/*.{ts,tsx,mdx}\" --cache",
50
+ "format:check": "prettier --check \"**/*.{ts,tsx,mdx}\" --cache"
49
51
  },
50
52
  "peerDependencies": {
51
53
  "react": "^18.2.0",
@@ -1,9 +0,0 @@
1
- type PlayerNativeHlsEngineProps = {
2
- url: string;
3
- isLive: boolean;
4
- messages: {
5
- unableToPlay: string;
6
- };
7
- };
8
- declare function PlayerNativeHlsEngine({ url, isLive, messages, }: PlayerNativeHlsEngineProps): null;
9
- export { PlayerNativeHlsEngine };