@beyondwords/player 0.1.36 → 0.1.37

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.36" */
48
+ /*! version:"0.1.37" */
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.36", ci = (t, e) => {
596
+ const Fu = "@beyondwords/player", Yo = "0.1.37", ci = (t, e) => {
597
597
  t = [t].flat().join(`
598
598
  `);
599
599
  let i = `${Fu}:
@@ -19464,7 +19464,7 @@ yn = new WeakSet(), zn = function(e) {
19464
19464
  return vl(`${this.baseUrl}/${e}`, { headers: this.headers });
19465
19465
  };
19466
19466
  const ll = (t) => typeof t != "object" || t === null ? t : Array.isArray(t) ? t.map(ll) : Object.fromEntries(Object.entries(t).map(([e, i]) => [e.replace(/([A-Z])/g, (n) => `_${n.toLowerCase()}`), ll(i)])), Wr = (t) => t === "dark" || t === "auto" && ev() ? "dark" : "light", ev = () => window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches, Ra = (t) => Si(void 0, null, function* () {
19467
- const e = new $2(t.playerApiUrl, t.projectId);
19467
+ const e = new $2(t.playerApiUrl, t.projectId, t.clientSideIntegration);
19468
19468
  if (!t.playerApiUrl || !t.projectId)
19469
19469
  return;
19470
19470
  const i = tv(t);