@elevenlabs/client 0.6.0 → 0.6.1
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/README.md +20 -1
- package/dist/VoiceConversation.d.ts +1 -1
- package/dist/index.d.ts +1 -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/utils/WebRTCConnection.d.ts +6 -0
- package/dist/utils/input.d.ts +3 -1
- package/dist/utils/output.d.ts +2 -2
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
package/dist/utils/input.d.ts
CHANGED
|
@@ -7,9 +7,11 @@ export declare class Input {
|
|
|
7
7
|
readonly context: AudioContext;
|
|
8
8
|
readonly analyser: AnalyserNode;
|
|
9
9
|
readonly worklet: AudioWorkletNode;
|
|
10
|
-
|
|
10
|
+
inputStream: MediaStream;
|
|
11
|
+
private mediaStreamSource;
|
|
11
12
|
static create({ sampleRate, format, preferHeadphonesForIosDevices, inputDeviceId, }: FormatConfig & InputConfig): Promise<Input>;
|
|
12
13
|
private constructor();
|
|
13
14
|
close(): Promise<void>;
|
|
14
15
|
setMuted(isMuted: boolean): void;
|
|
16
|
+
setInputDevice(inputDeviceId: string): Promise<void>;
|
|
15
17
|
}
|
package/dist/utils/output.d.ts
CHANGED
|
@@ -4,9 +4,9 @@ export declare class Output {
|
|
|
4
4
|
readonly analyser: AnalyserNode;
|
|
5
5
|
readonly gain: GainNode;
|
|
6
6
|
readonly worklet: AudioWorkletNode;
|
|
7
|
-
readonly audioElement: HTMLAudioElement
|
|
8
|
-
readonly audioSource: MediaElementAudioSourceNode | null;
|
|
7
|
+
readonly audioElement: HTMLAudioElement;
|
|
9
8
|
static create({ sampleRate, format, outputDeviceId, }: FormatConfig): Promise<Output>;
|
|
10
9
|
private constructor();
|
|
10
|
+
setOutputDevice(deviceId: string): Promise<void>;
|
|
11
11
|
close(): Promise<void>;
|
|
12
12
|
}
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const PACKAGE_VERSION = "0.6.
|
|
1
|
+
export declare const PACKAGE_VERSION = "0.6.1";
|