mediabunny 1.7.5 → 1.7.6
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.
- package/dist/bundles/mediabunny.cjs +4 -1
- package/dist/bundles/mediabunny.min.cjs +1 -1
- package/dist/bundles/mediabunny.min.mjs +1 -1
- package/dist/bundles/mediabunny.mjs +4 -1
- package/dist/modules/src/source.d.ts.map +1 -1
- package/dist/modules/src/source.js +6 -1
- package/dist/modules/src/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/source.ts +5 -1
|
@@ -12231,7 +12231,10 @@ ${cue.notes ?? ""}`;
|
|
|
12231
12231
|
}
|
|
12232
12232
|
} else if (rangeResponse.status === 200) {
|
|
12233
12233
|
this._fullData = await rangeResponse.arrayBuffer();
|
|
12234
|
-
|
|
12234
|
+
if (this._fullData.byteLength !== 1) {
|
|
12235
|
+
return this._fullData.byteLength;
|
|
12236
|
+
} else {
|
|
12237
|
+
}
|
|
12235
12238
|
}
|
|
12236
12239
|
const { response } = await this._makeRequest();
|
|
12237
12240
|
return response.byteLength;
|