@soga/mediainfo 0.0.6 → 0.0.8

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.
@@ -4,7 +4,7 @@ type CommonManifest = {
4
4
  mediaSequence: number;
5
5
  endList: boolean;
6
6
  };
7
- export type RawManifest = CommonManifest & {
7
+ export type M3U8RawManifest = CommonManifest & {
8
8
  segments: {
9
9
  duration: number;
10
10
  uri: string;
@@ -13,7 +13,7 @@ export type RawManifest = CommonManifest & {
13
13
  };
14
14
  }[];
15
15
  };
16
- export type SegmentInfo = {
16
+ export type M3U8SegmentInfo = {
17
17
  index: number;
18
18
  duration: number;
19
19
  init_uri: string;
@@ -30,6 +30,6 @@ export type M3U8Manifest = CommonManifest & {
30
30
  file_path: string;
31
31
  size: number;
32
32
  };
33
- segments: SegmentInfo[];
33
+ segments: M3U8SegmentInfo[];
34
34
  };
35
35
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soga/mediainfo",
3
- "version": "0.0.6",
3
+ "version": "0.0.8",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -45,7 +45,7 @@
45
45
  "dependencies": {
46
46
  "fs-extra": "^11.2.0",
47
47
  "m3u8-parser": "^7.2.0",
48
- "mediainfo.js": "^0.3.4",
48
+ "mediainfo.js": "0.3.4",
49
49
  "mp4box": "^0.5.3"
50
50
  }
51
51
  }