dasha 4.4.7 → 4.4.9
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/index.d.mts +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +7 -7
package/dist/index.d.mts
CHANGED
|
@@ -450,7 +450,7 @@ type SourceWithRootPath = Source & {
|
|
|
450
450
|
requestInit?: RequestInit;
|
|
451
451
|
};
|
|
452
452
|
_url?: string | URL | Request;
|
|
453
|
-
_read(start: number, end: number, minReadPosition: number, maxReadPosition: number): MaybePromise$1<ReadResult | null>;
|
|
453
|
+
_read?(start: number, end: number, minReadPosition: number, maxReadPosition: number): MaybePromise$1<ReadResult | null>;
|
|
454
454
|
};
|
|
455
455
|
type HlsSubtitleMediaTag = {
|
|
456
456
|
autoselect: boolean;
|
package/dist/index.mjs
CHANGED
|
@@ -2606,7 +2606,7 @@ const applyContentProtection = (adaptationSet, representation, track) => {
|
|
|
2606
2606
|
drm: {}
|
|
2607
2607
|
};
|
|
2608
2608
|
for (const contentProtection of contentProtections) {
|
|
2609
|
-
const schemeIdUri = contentProtection.getAttribute("schemeIdUri");
|
|
2609
|
+
const schemeIdUri = contentProtection.getAttribute("schemeIdUri")?.toLowerCase();
|
|
2610
2610
|
const drmData = {
|
|
2611
2611
|
keyId: contentProtection.getAttribute("cenc:default_KID") || void 0,
|
|
2612
2612
|
pssh: getDirectDashChild(contentProtection, "cenc:pssh")?.textContent?.trim() || void 0
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dasha",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.9",
|
|
4
4
|
"description": "Streaming manifest parser",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -52,15 +52,15 @@
|
|
|
52
52
|
"temporal-polyfill": "^0.3.2"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
|
-
"mediabunny": "^1.
|
|
55
|
+
"mediabunny": "^1.48.0"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
|
-
"@types/node": "^
|
|
59
|
-
"oxfmt": "^0.
|
|
60
|
-
"oxlint": "^1.
|
|
61
|
-
"tsdown": "^0.22.
|
|
58
|
+
"@types/node": "^22.19.21",
|
|
59
|
+
"oxfmt": "^0.55.0",
|
|
60
|
+
"oxlint": "^1.70.0",
|
|
61
|
+
"tsdown": "^0.22.3",
|
|
62
62
|
"typescript": "^6.0.3",
|
|
63
|
-
"vitest": "^4.1.
|
|
63
|
+
"vitest": "^4.1.9"
|
|
64
64
|
},
|
|
65
65
|
"scripts": {
|
|
66
66
|
"test": "vitest",
|