lido-player 0.0.2-alpha-12 → 0.0.2-alpha-13

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.
@@ -6573,10 +6573,10 @@ const LidoAvatar = class {
6573
6573
  */
6574
6574
  async componentDidLoad() {
6575
6575
  utils.initEventsForElement(this.el, this.type);
6576
- const resolvedPath = this.src.startsWith('http')
6577
- ? this.src // Use the provided URL if it's an HTTP/HTTPS link
6578
- : index.getAssetPath(this.src); // Otherwise, resolve it as an asset path
6579
- this.initializeRive(resolvedPath);
6576
+ // const resolvedPath = this.src.startsWith('http')
6577
+ // ? this.src // Use the provided URL if it's an HTTP/HTTPS link
6578
+ // : getAssetPath(this.src); // Otherwise, resolve it as an asset path
6579
+ this.initializeRive(utils.convertUrlToRelative(this.src));
6580
6580
  }
6581
6581
  render() {
6582
6582
  // Inline styles applied to the column, mainly for positioning and background.
@@ -6589,7 +6589,7 @@ const LidoAvatar = class {
6589
6589
  display: this.visible ? 'flex' : 'none',
6590
6590
  zIndex: this.z,
6591
6591
  };
6592
- return (index.h(index.Host, { key: 'd8a6ddf571ed1ea9e0704c77eddacb7338f93e98', id: this.id, type: this.type, tabindex: this.tabIndex, value: this.value, style: style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, audio: this.audio, onTouch: this.onTouch, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, onEntry: this.onEntry }, index.h("canvas", { key: 'acd9a1e7945f524b9c0e000ed4e310d39eaa8b4e', class: "lido-canvas" })));
6592
+ return (index.h(index.Host, { key: '7cbafd15e6ffab907fb5ce58446971a5681de60c', id: this.id, type: this.type, tabindex: this.tabIndex, value: this.value, style: style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, audio: this.audio, onTouch: this.onTouch, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, onEntry: this.onEntry }, index.h("canvas", { key: 'e4809a9cbe812db6aace7dc00dd21f748d0170b5', class: "lido-canvas" })));
6593
6593
  }
6594
6594
  get el() { return index.getElement(this); }
6595
6595
  };