@axonkit/client-sdk-js 0.1.0 → 0.1.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/dist/Room.d.ts +5 -0
- package/dist/axonkit-client.esm.js +1 -1
- package/dist/axonkit-client.umd.js +1 -1
- package/dist/room/options.d.ts +1 -2
- package/dist/track/LocalAudioTrack.d.ts +1 -1
- package/dist/track/LocalVideoTrack.d.ts +1 -1
- package/dist/utils/typedEmitter.d.ts +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
package/dist/room/options.d.ts
CHANGED
|
@@ -16,5 +16,5 @@ export declare class LocalAudioTrack extends LocalTrack {
|
|
|
16
16
|
constructor(mediaStreamTrack: MediaStreamTrack, constraints?: MediaTrackConstraints);
|
|
17
17
|
mute(): Promise<void>;
|
|
18
18
|
unmute(): Promise<void>;
|
|
19
|
-
setDeviceId(deviceId: string): Promise<void>;
|
|
19
|
+
setDeviceId(deviceId: string, exact?: boolean): Promise<void>;
|
|
20
20
|
}
|
|
@@ -31,5 +31,5 @@ export declare class LocalVideoTrack extends LocalTrack {
|
|
|
31
31
|
* an RTP sender is available).
|
|
32
32
|
*/
|
|
33
33
|
setDegradationPreference(preference: RTCDegradationPreference): Promise<void>;
|
|
34
|
-
setDeviceId(deviceId: string): Promise<void>;
|
|
34
|
+
setDeviceId(deviceId: string, exact?: boolean): Promise<void>;
|
|
35
35
|
}
|
|
@@ -10,7 +10,7 @@ import { EventEmitter } from 'events';
|
|
|
10
10
|
* Runtime behaviour is 100% `EventEmitter`; this class adds zero runtime
|
|
11
11
|
* code.
|
|
12
12
|
*/
|
|
13
|
-
export declare class TypedEmitter<T extends Record<string, (...args: any[]) => void> =
|
|
13
|
+
export declare class TypedEmitter<T extends Record<string, (...args: any[]) => void> = Record<string, never>> extends EventEmitter {
|
|
14
14
|
emit: <E extends string | number>(event: E, ...args: E extends keyof T ? Parameters<T[E]> : any[]) => boolean;
|
|
15
15
|
on: <E extends string | number>(event: E, listener: E extends keyof T ? T[E] : (...args: any[]) => void) => this;
|
|
16
16
|
once: <E extends string | number>(event: E, listener: E extends keyof T ? T[E] : (...args: any[]) => void) => this;
|
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.1.
|
|
1
|
+
export declare const VERSION = "0.1.1";
|
|
2
2
|
export declare const PROTOCOL_VERSION = 1;
|