@elevenlabs/client 0.13.1 → 0.14.0-beta.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/.turbo/turbo-build.log +3 -34
- package/.turbo/turbo-generate-version.log +1 -1
- package/.turbo/turbo-generate-worklets.log +9 -0
- package/.turbo/turbo-lint$colon$es.log +6 -0
- package/.turbo/turbo-lint$colon$prettier.log +6 -0
- package/CHANGELOG.md +6 -0
- package/dist/lib.cjs +1 -1
- package/dist/lib.cjs.map +1 -1
- package/dist/lib.modern.js +1 -1
- package/dist/lib.modern.js.map +1 -1
- package/dist/lib.module.js +1 -1
- package/dist/lib.module.js.map +1 -1
- package/dist/lib.umd.js +1 -1
- package/dist/lib.umd.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +4 -5
- package/worklets/rawAudioProcessor.js +1 -1
- package/.turbo/turbo-lint.log +0 -20
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const PACKAGE_VERSION = "0.
|
|
1
|
+
export declare const PACKAGE_VERSION = "0.14.0-beta.0";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elevenlabs/client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.14.0-beta.0",
|
|
4
4
|
"description": "ElevenLabs JavaScript Client Library",
|
|
5
5
|
"main": "./dist/lib.umd.js",
|
|
6
6
|
"module": "./dist/lib.module.js",
|
|
@@ -44,11 +44,10 @@
|
|
|
44
44
|
"scripts": {
|
|
45
45
|
"generate-version": "printf \"// This file is auto-generated during build\\nexport const PACKAGE_VERSION = \\\"%s\\\";\\n\" \"$npm_package_version\" > src/version.ts",
|
|
46
46
|
"generate-worklets": "node scripts/generateWorklets.js",
|
|
47
|
-
"
|
|
48
|
-
"build": "BROWSERSLIST_ENV=modern
|
|
47
|
+
"bundle": "microbundle --jsx React.createElement --jsxFragment React.Fragment --jsxImportSource react src/index.ts",
|
|
48
|
+
"build": "BROWSERSLIST_ENV=modern node --run bundle",
|
|
49
|
+
"dev": "BROWSERSLIST_ENV=development node --run bundle -- --watch --format modern",
|
|
49
50
|
"clean": "rm -rf ./dist",
|
|
50
|
-
"dev": "pnpm run clean && pnpm run generate-version && pnpm run generate-worklets && BROWSERSLIST_ENV=development microbundle --jsx React.createElement --jsxFragment React.Fragment --jsxImportSource react src/index.ts -w -f modern",
|
|
51
|
-
"lint": "pnpm run lint:ts && pnpm run lint:es && pnpm run lint:prettier",
|
|
52
51
|
"lint:ts": "tsc --noEmit --skipLibCheck",
|
|
53
52
|
"lint:es": "pnpm exec eslint .",
|
|
54
53
|
"lint:prettier": "prettier 'src/**/*.ts' --check",
|
|
@@ -50,7 +50,7 @@ class RawAudioProcessor extends AudioWorkletProcessor {
|
|
|
50
50
|
case "setFormat":
|
|
51
51
|
this.isMuted = false;
|
|
52
52
|
this.buffer = []; // Initialize an empty buffer
|
|
53
|
-
this.bufferSize = data.sampleRate /
|
|
53
|
+
this.bufferSize = data.sampleRate / 10;
|
|
54
54
|
this.format = data.format;
|
|
55
55
|
|
|
56
56
|
if (globalThis.LibSampleRate && sampleRate !== data.sampleRate) {
|
package/.turbo/turbo-lint.log
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
> @elevenlabs/client@0.13.1 lint /home/runner/work/packages/packages/packages/client
|
|
3
|
-
> pnpm run lint:ts && pnpm run lint:es && pnpm run lint:prettier
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
> @elevenlabs/client@0.13.1 lint:ts /home/runner/work/packages/packages/packages/client
|
|
7
|
-
> tsc --noEmit --skipLibCheck
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
> @elevenlabs/client@0.13.1 lint:es /home/runner/work/packages/packages/packages/client
|
|
11
|
-
> pnpm exec eslint .
|
|
12
|
-
|
|
13
|
-
(node:3081) ESLintEmptyConfigWarning: Running ESLint with an empty config (from /home/runner/work/packages/packages/packages/client/eslint.config.cjs). Please double-check that this is what you want. If you want to run ESLint with an empty config, export [{}] to remove this warning.
|
|
14
|
-
(Use `node --trace-warnings ...` to show where the warning was created)
|
|
15
|
-
|
|
16
|
-
> @elevenlabs/client@0.13.1 lint:prettier /home/runner/work/packages/packages/packages/client
|
|
17
|
-
> prettier 'src/**/*.ts' --check
|
|
18
|
-
|
|
19
|
-
Checking formatting...
|
|
20
|
-
All matched files use Prettier code style!
|