ebt-vue3 2.33.46 → 2.34.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ebt-vue3",
3
- "version": "2.33.46",
3
+ "version": "2.34.0",
4
4
  "description": "Vue3 Library for SuttaCentral Voice EBT-Sites",
5
5
  "author": "Karl Lew",
6
6
  "scripts": {
@@ -37,7 +37,7 @@
37
37
  "merkle-json": "^2.10.0",
38
38
  "pinia": "^2.0.16",
39
39
  "roboto-fontface": "*",
40
- "scv-esm": "^1.115.750",
40
+ "scv-esm": "^1.115.751",
41
41
  "serve-favicon": "^2.5.0",
42
42
  "uuid": "^9.0.0",
43
43
  "vite-plugin-vuetify": "^2.0.3",
package/src/idb-audio.mjs CHANGED
@@ -24,8 +24,10 @@ export default class IdbAudio {
24
24
  created=Date.now(),
25
25
  } = opts;
26
26
  if (audioContext == null) {
27
+ // Safari-specific fix: use default AudioContext without forcing sample rate
27
28
  audioContext = new AudioContext();
28
- dbg && console.log(msg, '[1]new AudioContext', audioContext.state);
29
+ dbg && console.log(msg, '[1]new AudioContext', audioContext.state,
30
+ 'sampleRate:', audioContext.sampleRate);
29
31
  audioContext.onstatechange = val=>{
30
32
  dbg && console.log(msg, '[2]onstatechange',
31
33
  audioContext.state, val);