@absolutejs/voice 0.0.22-beta.83 → 0.0.22-beta.84

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 +3 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -12543,11 +12543,13 @@ var createOpenAIVoiceTTS = (options) => {
12543
12543
  if (closed || abortController.signal.aborted) {
12544
12544
  return;
12545
12545
  }
12546
+ const normalizedError = error instanceof Error ? error : new Error(String(error));
12546
12547
  await emit(listeners, "error", {
12547
- error: error instanceof Error ? error : new Error(String(error)),
12548
+ error: normalizedError,
12548
12549
  recoverable: true,
12549
12550
  type: "error"
12550
12551
  });
12552
+ throw normalizedError;
12551
12553
  }
12552
12554
  }
12553
12555
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@absolutejs/voice",
3
- "version": "0.0.22-beta.83",
3
+ "version": "0.0.22-beta.84",
4
4
  "description": "Voice primitives and Elysia plugin for AbsoluteJS",
5
5
  "repository": {
6
6
  "type": "git",