midi-audio-player 2.0.2 → 2.0.3

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.
@@ -7,8 +7,8 @@
7
7
  ██║ ╚═╝ ██║██║██████╔╝██║██║ ██║╚██████╔╝██████╔╝██║╚██████╔╝██║ ███████╗██║ ██║ ██║ ███████╗██║ ██║
8
8
  ╚═╝ ╚═╝╚═╝╚═════╝ ╚═╝╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═════╝ ╚═╝ ╚══════╝╚═╝ ╚═╝ ╚═╝ ╚══════╝╚═╝ ╚═╝
9
9
 
10
- Version: 2.0.2
11
- Build: 2026-06-02 12:19:59
10
+ Version: 2.0.3
11
+ Build: 2026-06-03 06:39:38
12
12
  Author: Maxime Larrivée-Roy <mlarriveeroy@gmail.com>
13
13
  Github: https://github.com/webaudiofonts/midi-audio-player/
14
14
  Website: https://webaudiofonts.com/midiaudioplayer/
@@ -7,8 +7,8 @@
7
7
  ██║ ╚═╝ ██║██║██████╔╝██║██║ ██║╚██████╔╝██████╔╝██║╚██████╔╝██║ ███████╗██║ ██║ ██║ ███████╗██║ ██║
8
8
  ╚═╝ ╚═╝╚═╝╚═════╝ ╚═╝╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═════╝ ╚═╝ ╚══════╝╚═╝ ╚═╝ ╚═╝ ╚══════╝╚═╝ ╚═╝
9
9
 
10
- Version: 2.0.2
11
- Build: 2026-06-02 12:19:59
10
+ Version: 2.0.3
11
+ Build: 2026-06-03 06:39:38
12
12
  Author: Maxime Larrivée-Roy <mlarriveeroy@gmail.com>
13
13
  Github: https://github.com/webaudiofonts/midi-audio-player/
14
14
  Website: https://webaudiofonts.com/midiaudioplayer/
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "midi-audio-player",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "description": "Real MIDI playback in the browser — powered by Web Audio API and WebAudioFont.",
5
5
  "keywords": [
6
6
  "midi",
@@ -5,6 +5,7 @@ const DEFAULT_VERSION = 1;
5
5
  let dbInstance = null;
6
6
  let currentVersion = DEFAULT_VERSION;
7
7
 
8
+
8
9
  async function getDB(version = currentVersion) {
9
10
  if (dbInstance && version !== currentVersion) {
10
11
  dbInstance.close();