diff --git a/dist/hls2mp4.cjs b/dist/hls2mp4.cjs index 897dc1f..52fd65a 100644 --- a/dist/hls2mp4.cjs +++ b/dist/hls2mp4.cjs @@ -7745,7 +7745,7 @@ var Hls2Mp4 = /** @class */ (function () { anchor.click(); setTimeout(function () { return URL.revokeObjectURL(objectUrl); }, 100); }; - Hls2Mp4.version = '2.0'; + Hls2Mp4.version = '2.0.2'; Hls2Mp4.TaskType = TaskType; return Hls2Mp4; }()); diff --git a/dist/hls2mp4.js b/dist/hls2mp4.js index 6e318a7..e87fa2c 100644 --- a/dist/hls2mp4.js +++ b/dist/hls2mp4.js @@ -7746,7 +7746,7 @@ var Hls2Mp4 = (function () { anchor.click(); setTimeout(function () { return URL.revokeObjectURL(objectUrl); }, 100); }; - Hls2Mp4.version = '2.0'; + Hls2Mp4.version = '2.0.2'; Hls2Mp4.TaskType = TaskType; return Hls2Mp4; }()); diff --git a/dist/hls2mp4.umd.js b/dist/hls2mp4.umd.js index d6c6ae7..8924ebc 100644 --- a/dist/hls2mp4.umd.js +++ b/dist/hls2mp4.umd.js @@ -7749,7 +7749,7 @@ anchor.click(); setTimeout(function () { return URL.revokeObjectURL(objectUrl); }, 100); }; - Hls2Mp4.version = '2.0'; + Hls2Mp4.version = '2.0.2'; Hls2Mp4.TaskType = TaskType; return Hls2Mp4; }()); diff --git a/dist/index.js b/dist/index.js index f422ed3..f192d38 100644 --- a/dist/index.js +++ b/dist/index.js @@ -7743,7 +7743,7 @@ var Hls2Mp4 = /** @class */ (function () { anchor.click(); setTimeout(function () { return URL.revokeObjectURL(objectUrl); }, 100); }; - Hls2Mp4.version = '2.0'; + Hls2Mp4.version = '2.0.2'; Hls2Mp4.TaskType = TaskType; return Hls2Mp4; }()); diff --git a/package.json b/package.json index ee53f04..9382e55 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hls2mp4", - "version": "2.0.0", + "version": "2.0.2", "description": "a tool for download hls/m3u8 to mp4", "main": "index.js", "types": "index.d.ts", diff --git a/src/index.ts b/src/index.ts index bce10c6..80a08f2 100644 --- a/src/index.ts +++ b/src/index.ts @@ -66,7 +66,7 @@ class Hls2Mp4 { private totalSegments = 0; private duration = 0; private savedSegments = new Map() - public static version = '2.0'; + public static version = '2.0.2'; public static TaskType = TaskType; constructor({ maxRetry = 3, tsDownloadConcurrency = 10 }: Hls2Mp4Options, onProgress?: ProgressCallback) {