@srgssr/pillarbox-web 1.21.0 → 1.21.2
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/pillarbox-core.cjs.js +1 -1
- package/dist/pillarbox-core.es.js +1 -1
- package/dist/pillarbox.cjs.js +3 -2
- package/dist/pillarbox.cjs.js.map +1 -1
- package/dist/pillarbox.es.js +3 -2
- package/dist/pillarbox.es.js.map +1 -1
- package/dist/pillarbox.umd.js +3 -2
- package/dist/pillarbox.umd.js.map +1 -1
- package/dist/pillarbox.umd.min.js +1 -1
- package/dist/pillarbox.umd.min.js.map +1 -1
- package/dist/types/src/dataProvider/model/MediaComposition.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/pillarbox.umd.js
CHANGED
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
return target;
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
const version$8 = "1.
|
|
113
|
+
const version$8 = "1.21.1";
|
|
114
114
|
|
|
115
115
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
116
116
|
|
|
@@ -73995,7 +73995,8 @@ ${segmentInfoString(segmentInfo)}`); // If there's an init segment associated wi
|
|
|
73995
73995
|
*/
|
|
73996
73996
|
getChapters() {
|
|
73997
73997
|
const AUDIO = 'AUDIO';
|
|
73998
|
-
|
|
73998
|
+
const EPISODE = 'EPISODE';
|
|
73999
|
+
if (this.getMainChapter().mediaType === AUDIO || this.getMainChapter().type !== EPISODE) return [];
|
|
73999
74000
|
return this.chapterList.filter(({
|
|
74000
74001
|
mediaType
|
|
74001
74002
|
}) => mediaType !== AUDIO);
|