@knide/mp4box-player
Advanced tools
Comparing version 2.0.5 to 2.0.6
@@ -796,3 +796,3 @@ 'use strict'; | ||
if (sb.is_last) { | ||
sb.ms.endOfStream(); | ||
if (sb.ms.readyState === "open") sb.ms.endOfStream(); | ||
} | ||
@@ -799,0 +799,0 @@ } |
{ | ||
"name": "@knide/mp4box-player", | ||
"version": "2.0.5", | ||
"version": "2.0.6", | ||
"author": "ashuvssut (ashu.khanduala@gmail.com)", | ||
"license": "MIT", | ||
"main": "dist/index.cjs.js", | ||
"module": "dist/index.esm.js", | ||
"module": "src/index.js", | ||
"type": "module", | ||
@@ -15,3 +15,3 @@ "dependencies": { | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"build": "rollup -c" | ||
"build": "rollup -c --bundleConfigAsCjs" | ||
}, | ||
@@ -18,0 +18,0 @@ "repository": { |
@@ -8,7 +8,3 @@ export default { | ||
}, | ||
{ | ||
file: "dist/index.esm.js", | ||
format: "esm", | ||
}, | ||
], | ||
}; |
@@ -567,3 +567,3 @@ import { | ||
if (sb.is_last) { | ||
sb.ms.endOfStream(); | ||
if (sb.ms.readyState === "open") sb.ms.endOfStream(); | ||
} | ||
@@ -570,0 +570,0 @@ } |
2
82630
12
2291