@beyondwords/player 0.1.39 → 0.1.40

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/es.js CHANGED
@@ -45,7 +45,7 @@ var Si = (t, e, i) => new Promise((n, o) => {
45
45
  }, a = (r) => r.done ? n(r.value) : Promise.resolve(r.value).then(s, l);
46
46
  a((i = i.apply(t, e)).next());
47
47
  });
48
- /*! version:"0.1.39" */
48
+ /*! version:"0.1.40" */
49
49
  function ee() {
50
50
  }
51
51
  const vu = (t) => t;
@@ -593,7 +593,7 @@ class we {
593
593
  }
594
594
  const xu = "4";
595
595
  typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(xu);
596
- const Fu = "@beyondwords/player", Yo = "0.1.39", ci = (t, e) => {
596
+ const Fu = "@beyondwords/player", Yo = "0.1.40", ci = (t, e) => {
597
597
  t = [t].flat().join(`
598
598
  `);
599
599
  let i = `${Fu}:
@@ -912,7 +912,7 @@ class cc extends we {
912
912
  const dc = (t, e, i) => {
913
913
  if (!t)
914
914
  return [];
915
- const n = (t.audio || []).map((l) => Zi(Kt({}, l), { format: "audio" })), o = (t.video || []).map((l) => Zi(Kt({}, l), { format: "video" })), s = e ? [...o, ...n] : [...n, ...o];
915
+ const n = (t.audio || []).map((l) => Zi(Kt({}, l), { format: "audio" })), o = (t.video || []).map((l) => Zi(Kt({}, l), { format: "video" })), s = e ? [...o, ...n] : n;
916
916
  if (i && gc()) {
917
917
  const l = s.filter((r) => !r.url.endsWith(".m3u8")), a = s.filter((r) => r.url.endsWith(".m3u8"));
918
918
  return [...l, ...a];