visual-song 0.14.6 → 0.14.7

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -6262,11 +6262,8 @@ function useVisualSongAudio(file) {
6262
6262
  const arrayBuffer = e.target.result;
6263
6263
  const filePath = MUSIC_ROOT_PATH + file.name;
6264
6264
  module.FS.writeFile(filePath, new Uint8Array(arrayBuffer));
6265
- const ok = module.SoundManager.getInstance().load(filePath);
6265
+ module.SoundManager.getInstance().load(filePath);
6266
6266
  module.FS.unlink(filePath);
6267
- if (ok) {
6268
- module.SoundManager.getInstance().play();
6269
- }
6270
6267
  };
6271
6268
  reader.readAsArrayBuffer(file);
6272
6269
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "visual-song",
3
- "version": "0.14.6",
3
+ "version": "0.14.7",
4
4
  "description": "visual-song core library",
5
5
  "author": "kunyoungparkk (rjsdud3263@gmail.com)",
6
6
  "license": "MIT",