narrat 2.0.4 → 2.0.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.
package/dist/narrat.es.js CHANGED
@@ -36695,8 +36695,9 @@ const useAudio = defineStore("audio", {
36695
36695
  actions: {
36696
36696
  stopMusic() {
36697
36697
  if (this.currentMusic) {
36698
- stopAudio(this.currentMusic);
36698
+ const music = this.currentMusic;
36699
36699
  this.currentMusic = void 0;
36700
+ stopAudio(music);
36700
36701
  }
36701
36702
  },
36702
36703
  setMusic(music, soundId) {