@beyondwords/player 0.1.37 → 0.1.39
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 +5 -3
- package/dist/es.js.map +1 -1
- package/dist/umd.js +3 -3
- package/dist/umd.js.map +1 -1
- package/package.json +1 -1
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.
|
|
48
|
+
/*! version:"0.1.39" */
|
|
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.
|
|
596
|
+
const Fu = "@beyondwords/player", Yo = "0.1.39", ci = (t, e) => {
|
|
597
597
|
t = [t].flat().join(`
|
|
598
598
|
`);
|
|
599
599
|
let i = `${Fu}:
|
|
@@ -19443,6 +19443,8 @@ class $2 {
|
|
|
19443
19443
|
"X-Published": n == null ? void 0 : n.published,
|
|
19444
19444
|
"X-Ads-Enabled": n == null ? void 0 : n.adsEnabled
|
|
19445
19445
|
};
|
|
19446
|
+
for (const o of Object.keys(this.headers))
|
|
19447
|
+
typeof this.headers[o] == "undefined" && delete this.headers[o];
|
|
19446
19448
|
}
|
|
19447
19449
|
byContentId(e) {
|
|
19448
19450
|
return N(this, yn, zn).call(this, `by_content_id/${e}`);
|
|
@@ -19454,7 +19456,7 @@ class $2 {
|
|
|
19454
19456
|
return N(this, yn, zn).call(this, `by_source_id/${e}`);
|
|
19455
19457
|
}
|
|
19456
19458
|
bySourceUrl(e) {
|
|
19457
|
-
return N(this, yn, zn).call(this, `by_source_url/${e}`);
|
|
19459
|
+
return N(this, yn, zn).call(this, `by_source_url/${encodeURIComponent(e)}`);
|
|
19458
19460
|
}
|
|
19459
19461
|
byIdentifiers(e) {
|
|
19460
19462
|
return N(this, yn, zn).call(this, `by_identifiers/${encodeURIComponent(JSON.stringify(e))}`);
|