customvidplayer 0.0.3 → 0.0.5

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.
@@ -0,0 +1,6 @@
1
+ declare module 'customvidplayer' {
2
+ import { FC } from 'react';
3
+
4
+ export const CVPlayer: FC<{ videoSrc: string; sections: Array<{ timestamp: number; name: string }> }>;
5
+ export const ThemeProvider: FC<{ children: React.ReactNode }>;
6
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "customvidplayer",
3
- "version": "0.0.3",
3
+ "version": "0.0.5",
4
4
  "description": "A customizable video player with section skipping functionality.",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -0,0 +1,6 @@
1
+ declare module 'customvidplayer' {
2
+ import { FC } from 'react';
3
+
4
+ export const CVPlayer: FC<{ videoSrc: string; sections: Array<{ timestamp: number; name: string }> }>;
5
+ export const ThemeProvider: FC<{ children: React.ReactNode }>;
6
+ }
package/tsconfig.json CHANGED
@@ -11,7 +11,8 @@
11
11
  "declaration": true
12
12
  },
13
13
  "include": [
14
- "src/**/*"
14
+ "src/**/*",
15
+ "src/@types/**/*"
15
16
  ],
16
17
  "exclude": [
17
18
  "node_modules",
@@ -1,4 +0,0 @@
1
- declare module 'customvidplayer' {
2
- const CVPlayer: any;
3
- const ThemeProvider: any;
4
- }
@@ -1 +0,0 @@
1
- "use strict";
@@ -1,4 +0,0 @@
1
- declare module 'customvidplayer' {
2
- export const CVPlayer: any;
3
- export const ThemeProvider: any;
4
- }