@waveform-playlist/spectrogram 9.5.1 → 9.5.2
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/index.js +6 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
package/dist/index.mjs
CHANGED
|
@@ -4131,7 +4131,9 @@ var SpectrogramProvider = ({
|
|
|
4131
4131
|
spectrogramWorkerRef.current = workerApi;
|
|
4132
4132
|
setSpectrogramWorkerReady(true);
|
|
4133
4133
|
} catch (err) {
|
|
4134
|
-
console.error(
|
|
4134
|
+
console.error(
|
|
4135
|
+
`[waveform-playlist] Spectrogram Web Worker required but unavailable: ${err instanceof Error ? err.message : String(err)}`
|
|
4136
|
+
);
|
|
4135
4137
|
return;
|
|
4136
4138
|
}
|
|
4137
4139
|
}
|
|
@@ -4493,7 +4495,9 @@ var SpectrogramProvider = ({
|
|
|
4493
4495
|
}
|
|
4494
4496
|
};
|
|
4495
4497
|
computeAsync().catch((err) => {
|
|
4496
|
-
console.error(
|
|
4498
|
+
console.error(
|
|
4499
|
+
`[waveform-playlist] Spectrogram computation failed: ${err instanceof Error ? err.message : String(err)}`
|
|
4500
|
+
);
|
|
4497
4501
|
});
|
|
4498
4502
|
}, [
|
|
4499
4503
|
tracks,
|