obi-sdk 0.6.4 → 0.6.5

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.
@@ -0,0 +1,6 @@
1
+ import { O } from "./obi-widget-9e8ccac7.js";
2
+ import "./types-e0297e7b.js";
3
+ export {
4
+ O as ObiWidget
5
+ };
6
+ //# sourceMappingURL=index-8d3d1cc8.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-8d3d1cc8.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
@@ -17137,11 +17137,9 @@ class AudioEqualizer extends i$1 {
17137
17137
  for (let i3 = 0; i3 < this.barCount; i3++) {
17138
17138
  const spectrumValue = processedSpectrum.length > 0 ? processedSpectrum[i3] !== void 0 ? processedSpectrum[i3] : currentVolume : currentVolume;
17139
17139
  if (this.volume.speaker === "USER") {
17140
- const opacity2 = Math.floor((spectrumValue * 0.5 + 0.5) * 255).toString(16).padStart(2, "0");
17141
- ctx.fillStyle = `${this.primaryColor}${opacity2}`;
17140
+ ctx.fillStyle = `${this.primaryColor}`;
17142
17141
  } else {
17143
- const opacity2 = Math.floor((spectrumValue * 0.5 + 0.5) * 255).toString(16).padStart(2, "0");
17144
- ctx.fillStyle = `#FFFFFF${opacity2}`;
17142
+ ctx.fillStyle = "#FFFFFF";
17145
17143
  }
17146
17144
  const barHeight = Math.max(2, spectrumValue * 0.8 * barMaxHeight);
17147
17145
  const x2 = displayWidth - (this.barCount - i3) * (barWidth + gap);
@@ -18357,4 +18355,4 @@ export {
18357
18355
  withSentryAsyncHandler as w,
18358
18356
  x
18359
18357
  };
18360
- //# sourceMappingURL=obi-widget-c52bfca4.js.map
18358
+ //# sourceMappingURL=obi-widget-9e8ccac7.js.map