@44-audio/components 0.1.0-dev.3 → 0.1.0-dev.4

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/player.es.js CHANGED
@@ -138,7 +138,7 @@ function Le(a, t) {
138
138
  let k, x = E(!0), H = E(null);
139
139
  ve(async () => {
140
140
  try {
141
- const e = await fetch(`https://${i()}/recordings/${l()}/player`);
141
+ const e = await fetch(`https://${i()}/api/v1/recordings/${l()}/player`);
142
142
  if (!e.ok)
143
143
  throw new Error("Failed to fetch data");
144
144
  const s = await e.json();
@@ -208,7 +208,7 @@ function Le(a, t) {
208
208
  }
209
209
  var o = _(B, 2);
210
210
  return ue(o, (e) => k = e, () => k), b(u), R(() => {
211
- pe(u, z), ge(o, "src", `https://${i() ?? ""}/recordings/${l() ?? ""}/audio.mp3`);
211
+ pe(u, z), ge(o, "src", `https://${i() ?? ""}/api/v1/recordings/${l() ?? ""}/audio.mp3`);
212
212
  }), n(a, u), $(q);
213
213
  }
214
214
  customElements.define("fortyfour-audio-player", X(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@44-audio/components",
3
- "version": "0.1.0-dev.3",
3
+ "version": "0.1.0-dev.4",
4
4
  "private": false,
5
5
  "files": [
6
6
  "dist"