@capgo/native-audio 5.1.2 → 5.1.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.
@@ -138,6 +138,8 @@ public class AudioAsset {
138
138
 
139
139
  if (audio != null) {
140
140
  audio.setVolume(volume);
141
+ } else {
142
+ throw new Exception("AudioDispatcher is null");
141
143
  }
142
144
  }
143
145
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/native-audio",
3
- "version": "5.1.2",
3
+ "version": "5.1.3",
4
4
  "description": "A native plugin for native audio engine",
5
5
  "main": "dist/plugin.js",
6
6
  "module": "dist/esm/index.js",