@livekit/rtc-node 0.13.32 → 0.13.33
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/async_queue.d.ts +2 -3
- package/dist/audio_filter.d.ts +2 -3
- package/dist/audio_frame.d.ts +5 -6
- package/dist/audio_mixer.d.ts +3 -6
- package/dist/audio_resampler.d.ts +3 -6
- package/dist/audio_source.d.ts +5 -6
- package/dist/{audio_stream-4M8XlO4-.d.cts → audio_stream-CnODFAmo.d.cts} +1 -0
- package/dist/audio_stream.d.cts +1 -1
- package/dist/audio_stream.d.ts +61 -18
- package/dist/data_streams/index.d.ts +4 -3
- package/dist/data_streams/stream_reader.d.ts +48 -2
- package/dist/data_streams/stream_writer.d.ts +5 -7
- package/dist/data_streams/types.d.ts +41 -2
- package/dist/e2ee.d.ts +8 -10
- package/dist/ffi_client.d.ts +8 -10
- package/dist/frame_processor.d.ts +8 -11
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +22 -17
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -107
- package/dist/log.d.ts +5 -7
- package/dist/participant.cjs +7 -2
- package/dist/participant.cjs.map +1 -1
- package/dist/participant.d.cts +1 -1
- package/dist/participant.d.ts +152 -18
- package/dist/participant.d.ts.map +1 -1
- package/dist/room.cjs +6 -0
- package/dist/room.cjs.map +1 -1
- package/dist/room.d.cts +2 -2
- package/dist/room.d.ts +220 -18
- package/dist/room.d.ts.map +1 -1
- package/dist/rpc.d.ts +7 -9
- package/dist/track.d.cts +1 -1
- package/dist/track.d.ts +67 -18
- package/dist/track_publication.d.cts +1 -1
- package/dist/track_publication.d.ts +45 -18
- package/dist/transcription.d.ts +3 -4
- package/dist/types.d.ts +2 -3
- package/dist/utils.d.ts +4 -5
- package/dist/version.cjs +1 -1
- package/dist/version.cjs.map +1 -1
- package/dist/version.d.cts +1 -1
- package/dist/version.d.ts +2 -3
- package/dist/video_frame.d.ts +4 -5
- package/dist/video_source.d.ts +6 -8
- package/dist/video_stream.d.cts +1 -1
- package/dist/video_stream.d.ts +5 -22
- package/package.json +5 -6
- package/src/index.ts +8 -1
- package/src/participant.ts +7 -1
- package/src/room.ts +10 -0
- package/src/version.ts +1 -1
- package/dist/async_queue.js +0 -56
- package/dist/async_queue.js.map +0 -1
- package/dist/audio_filter.js +0 -24
- package/dist/audio_filter.js.map +0 -1
- package/dist/audio_frame.js +0 -78
- package/dist/audio_frame.js.map +0 -1
- package/dist/audio_mixer.js +0 -269
- package/dist/audio_mixer.js.map +0 -1
- package/dist/audio_resampler.js +0 -154
- package/dist/audio_resampler.js.map +0 -1
- package/dist/audio_source.js +0 -134
- package/dist/audio_source.js.map +0 -1
- package/dist/audio_stream-CTyN1Ldy.d.ts +0 -523
- package/dist/audio_stream.js +0 -122
- package/dist/audio_stream.js.map +0 -1
- package/dist/data_streams/index.js +0 -3
- package/dist/data_streams/index.js.map +0 -1
- package/dist/data_streams/stream_reader.js +0 -124
- package/dist/data_streams/stream_reader.js.map +0 -1
- package/dist/data_streams/stream_writer.js +0 -26
- package/dist/data_streams/stream_writer.js.map +0 -1
- package/dist/data_streams/types.js +0 -1
- package/dist/data_streams/types.js.map +0 -1
- package/dist/e2ee.js +0 -251
- package/dist/e2ee.js.map +0 -1
- package/dist/ffi_client.js +0 -89
- package/dist/ffi_client.js.map +0 -1
- package/dist/frame_processor.js +0 -29
- package/dist/frame_processor.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/log.js +0 -9
- package/dist/log.js.map +0 -1
- package/dist/participant.js +0 -715
- package/dist/participant.js.map +0 -1
- package/dist/room.js +0 -900
- package/dist/room.js.map +0 -1
- package/dist/rpc.js +0 -65
- package/dist/rpc.js.map +0 -1
- package/dist/track.js +0 -234
- package/dist/track.js.map +0 -1
- package/dist/track_publication.js +0 -100
- package/dist/track_publication.js.map +0 -1
- package/dist/transcription.js +0 -1
- package/dist/transcription.js.map +0 -1
- package/dist/types-_PdPVish.d.ts +0 -87
- package/dist/types.js +0 -1
- package/dist/types.js.map +0 -1
- package/dist/utils.js +0 -35
- package/dist/utils.js.map +0 -1
- package/dist/version.js +0 -5
- package/dist/version.js.map +0 -1
- package/dist/video_frame.js +0 -207
- package/dist/video_frame.js.map +0 -1
- package/dist/video_source.js +0 -53
- package/dist/video_source.js.map +0 -1
- package/dist/video_stream.js +0 -70
- package/dist/video_stream.js.map +0 -1
package/dist/async_queue.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* This eliminates the need for manual coordination logic, polling loops, and
|
|
10
10
|
* complex state management throughout the rest of the codebase.
|
|
11
11
|
*/
|
|
12
|
-
declare class AsyncQueue<T> {
|
|
12
|
+
export declare class AsyncQueue<T> {
|
|
13
13
|
private capacity;
|
|
14
14
|
private items;
|
|
15
15
|
private waitingProducers;
|
|
@@ -26,5 +26,4 @@ declare class AsyncQueue<T> {
|
|
|
26
26
|
close(): void;
|
|
27
27
|
get length(): number;
|
|
28
28
|
}
|
|
29
|
-
|
|
30
|
-
export { AsyncQueue };
|
|
29
|
+
//# sourceMappingURL=async_queue.d.ts.map
|
package/dist/audio_filter.d.ts
CHANGED
package/dist/audio_frame.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { OwnedAudioFrameBuffer
|
|
2
|
-
|
|
3
|
-
declare class AudioFrame {
|
|
1
|
+
import type { OwnedAudioFrameBuffer } from '@livekit/rtc-ffi-bindings';
|
|
2
|
+
import { AudioFrameBufferInfo } from '@livekit/rtc-ffi-bindings';
|
|
3
|
+
export declare class AudioFrame {
|
|
4
4
|
data: Int16Array;
|
|
5
5
|
sampleRate: number;
|
|
6
6
|
channels: number;
|
|
@@ -24,6 +24,5 @@ declare class AudioFrame {
|
|
|
24
24
|
*
|
|
25
25
|
* @param buffer - a single AudioFrame or list thereof
|
|
26
26
|
*/
|
|
27
|
-
declare const combineAudioFrames: (buffer: AudioFrame | AudioFrame[]) => AudioFrame;
|
|
28
|
-
|
|
29
|
-
export { AudioFrame, combineAudioFrames };
|
|
27
|
+
export declare const combineAudioFrames: (buffer: AudioFrame | AudioFrame[]) => AudioFrame;
|
|
28
|
+
//# sourceMappingURL=audio_frame.d.ts.map
|
package/dist/audio_mixer.d.ts
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import { AudioFrame } from './audio_frame.js';
|
|
2
2
|
export { AsyncQueue } from './async_queue.js';
|
|
3
|
-
import '@livekit/rtc-ffi-bindings';
|
|
4
|
-
|
|
5
3
|
type AudioStream = {
|
|
6
4
|
[Symbol.asyncIterator](): {
|
|
7
5
|
next(): Promise<IteratorResult<AudioFrame>>;
|
|
8
6
|
};
|
|
9
7
|
};
|
|
10
|
-
interface AudioMixerOptions {
|
|
8
|
+
export interface AudioMixerOptions {
|
|
11
9
|
/**
|
|
12
10
|
* The size of the audio block (in samples) for mixing.
|
|
13
11
|
* If not provided, defaults to sampleRate / 10 (100ms).
|
|
@@ -47,7 +45,7 @@ interface AudioMixerOptions {
|
|
|
47
45
|
* }
|
|
48
46
|
* ```
|
|
49
47
|
*/
|
|
50
|
-
declare class AudioMixer {
|
|
48
|
+
export declare class AudioMixer {
|
|
51
49
|
private streams;
|
|
52
50
|
private buffers;
|
|
53
51
|
private streamIterators;
|
|
@@ -114,5 +112,4 @@ declare class AudioMixer {
|
|
|
114
112
|
* cleared via `.finally()` so callers don't need to manage cleanup. */
|
|
115
113
|
private timeoutRace;
|
|
116
114
|
}
|
|
117
|
-
|
|
118
|
-
export { AudioMixer, type AudioMixerOptions };
|
|
115
|
+
//# sourceMappingURL=audio_mixer.d.ts.map
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { AudioFrame } from './audio_frame.js';
|
|
2
|
-
import '@livekit/rtc-ffi-bindings';
|
|
3
|
-
|
|
4
2
|
/**
|
|
5
3
|
* Resampler quality. Higher quality settings result in better audio quality but require more
|
|
6
4
|
* processing power.
|
|
7
5
|
*/
|
|
8
|
-
declare enum AudioResamplerQuality {
|
|
6
|
+
export declare enum AudioResamplerQuality {
|
|
9
7
|
QUICK = 0,
|
|
10
8
|
LOW = 1,
|
|
11
9
|
MEDIUM = 2,
|
|
@@ -17,7 +15,7 @@ declare enum AudioResamplerQuality {
|
|
|
17
15
|
* an output sample rate using the Sox resampling library. It supports multiple channels and
|
|
18
16
|
* configurable resampling quality.
|
|
19
17
|
*/
|
|
20
|
-
declare class AudioResampler {
|
|
18
|
+
export declare class AudioResampler {
|
|
21
19
|
#private;
|
|
22
20
|
/**
|
|
23
21
|
* Initializes a new AudioResampler.
|
|
@@ -58,5 +56,4 @@ declare class AudioResampler {
|
|
|
58
56
|
*/
|
|
59
57
|
flush(): AudioFrame[];
|
|
60
58
|
}
|
|
61
|
-
|
|
62
|
-
export { AudioResampler, AudioResamplerQuality };
|
|
59
|
+
//# sourceMappingURL=audio_resampler.d.ts.map
|
package/dist/audio_source.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { AudioSourceInfo
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
declare class AudioSource {
|
|
1
|
+
import type { AudioSourceInfo } from '@livekit/rtc-ffi-bindings';
|
|
2
|
+
import { FfiHandle } from '@livekit/rtc-ffi-bindings';
|
|
3
|
+
import type { AudioFrame } from './audio_frame.js';
|
|
4
|
+
export declare class AudioSource {
|
|
5
5
|
/** @internal */
|
|
6
6
|
info: AudioSourceInfo;
|
|
7
7
|
/** @internal */
|
|
@@ -37,5 +37,4 @@ declare class AudioSource {
|
|
|
37
37
|
captureFrame(frame: AudioFrame): Promise<void>;
|
|
38
38
|
close(): Promise<void>;
|
|
39
39
|
}
|
|
40
|
-
|
|
41
|
-
export { AudioSource };
|
|
40
|
+
//# sourceMappingURL=audio_source.d.ts.map
|
|
@@ -108,6 +108,7 @@ declare class LocalParticipant extends Participant {
|
|
|
108
108
|
destinationIdentities?: Array<string>;
|
|
109
109
|
streamId?: string;
|
|
110
110
|
senderIdentity?: string;
|
|
111
|
+
totalSize?: number;
|
|
111
112
|
}): Promise<TextStreamWriter>;
|
|
112
113
|
sendText(text: string, options?: {
|
|
113
114
|
topic?: string;
|
package/dist/audio_stream.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import 'node:stream/web';
|
|
2
2
|
import './audio_frame.cjs';
|
|
3
3
|
import './frame_processor.cjs';
|
|
4
|
-
export { A as AudioStream, r as AudioStreamOptions, s as AudioStreamSource, N as NoiseCancellationOptions } from './audio_stream-
|
|
4
|
+
export { A as AudioStream, r as AudioStreamOptions, s as AudioStreamSource, N as NoiseCancellationOptions } from './audio_stream-CnODFAmo.cjs';
|
|
5
5
|
import '@livekit/rtc-ffi-bindings';
|
|
6
6
|
import './video_frame.cjs';
|
|
7
7
|
import './audio_source.cjs';
|
package/dist/audio_stream.d.ts
CHANGED
|
@@ -1,18 +1,61 @@
|
|
|
1
|
-
import 'node:stream/web';
|
|
2
|
-
import './audio_frame.js';
|
|
3
|
-
import './frame_processor.js';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
1
|
+
import type { UnderlyingSource } from 'node:stream/web';
|
|
2
|
+
import { AudioFrame } from './audio_frame.js';
|
|
3
|
+
import { type FrameProcessor } from './frame_processor.js';
|
|
4
|
+
import type { Track } from './track.js';
|
|
5
|
+
export interface AudioStreamOptions {
|
|
6
|
+
noiseCancellation?: NoiseCancellationOptions | FrameProcessor<AudioFrame>;
|
|
7
|
+
/**
|
|
8
|
+
* When the audio stream closes, whether to run the {@link FrameProcessor}'s
|
|
9
|
+
* `close()` method. If `false`, the processor is left open so it can be
|
|
10
|
+
* reused with another {@link AudioStream}. Only relevant when
|
|
11
|
+
* `noiseCancellation` is a {@link FrameProcessor}. Defaults to `true`.
|
|
12
|
+
*/
|
|
13
|
+
autoCloseNoiseCancellation?: boolean;
|
|
14
|
+
sampleRate?: number;
|
|
15
|
+
numChannels?: number;
|
|
16
|
+
frameSizeMs?: number;
|
|
17
|
+
}
|
|
18
|
+
export interface NoiseCancellationOptions {
|
|
19
|
+
moduleId: string;
|
|
20
|
+
options: Record<string, any>;
|
|
21
|
+
}
|
|
22
|
+
/** @internal */
|
|
23
|
+
export declare class AudioStreamSource implements UnderlyingSource<AudioFrame> {
|
|
24
|
+
private controller?;
|
|
25
|
+
private ffiHandle;
|
|
26
|
+
private disposed;
|
|
27
|
+
private sampleRate;
|
|
28
|
+
private numChannels;
|
|
29
|
+
private legacyNcOptions?;
|
|
30
|
+
private frameProcessor;
|
|
31
|
+
private autoCloseProcessor;
|
|
32
|
+
private frameSizeMs?;
|
|
33
|
+
private track;
|
|
34
|
+
constructor(track: Track, sampleRateOrOptions?: number | AudioStreamOptions, numChannels?: number);
|
|
35
|
+
/** @internal */
|
|
36
|
+
get processor(): FrameProcessor<AudioFrame> | null;
|
|
37
|
+
private onEvent;
|
|
38
|
+
start(controller: ReadableStreamDefaultController<AudioFrame>): void;
|
|
39
|
+
/**
|
|
40
|
+
* Detach from the FFI and release resources: on `eos`, on `cancel()`, or
|
|
41
|
+
* because the track went away (e.g. it was unsubscribed — which never
|
|
42
|
+
* produces an `eos`, so without this the stream would keep delivering
|
|
43
|
+
* frames). Already-buffered frames stay readable and the consumer sees `done`
|
|
44
|
+
* after draining them.
|
|
45
|
+
*
|
|
46
|
+
* @remarks
|
|
47
|
+
* Idempotent, so `eos` arriving after a `cancel()` (or vice versa) doesn't
|
|
48
|
+
* double-dispose the handle while buffered frames are still queued.
|
|
49
|
+
*
|
|
50
|
+
* @internal
|
|
51
|
+
*/
|
|
52
|
+
teardown(): void;
|
|
53
|
+
cancel(): void;
|
|
54
|
+
}
|
|
55
|
+
export declare class AudioStream extends ReadableStream<AudioFrame> {
|
|
56
|
+
constructor(track: Track);
|
|
57
|
+
constructor(track: Track, sampleRate: number);
|
|
58
|
+
constructor(track: Track, sampleRate: number, numChannels: number);
|
|
59
|
+
constructor(track: Track, options: AudioStreamOptions);
|
|
60
|
+
}
|
|
61
|
+
//# sourceMappingURL=audio_stream.d.ts.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
|
|
1
|
+
export * from './stream_reader.js';
|
|
2
|
+
export * from './stream_writer.js';
|
|
3
|
+
export type * from './types.js';
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,2 +1,48 @@
|
|
|
1
|
-
import '@livekit/rtc-ffi-bindings';
|
|
2
|
-
|
|
1
|
+
import type { DataStream_Chunk } from '@livekit/rtc-ffi-bindings';
|
|
2
|
+
import type { BaseStreamInfo, ByteStreamInfo, TextStreamInfo } from './types.js';
|
|
3
|
+
declare abstract class BaseStreamReader<T extends BaseStreamInfo> {
|
|
4
|
+
protected reader: ReadableStream<DataStream_Chunk>;
|
|
5
|
+
protected totalByteSize?: number;
|
|
6
|
+
protected _info: T;
|
|
7
|
+
protected bytesReceived: number;
|
|
8
|
+
get info(): T;
|
|
9
|
+
constructor(info: T, stream: ReadableStream<DataStream_Chunk>, totalByteSize?: number);
|
|
10
|
+
protected abstract handleChunkReceived(chunk: DataStream_Chunk): void;
|
|
11
|
+
onProgress?: (progress: number | undefined) => void;
|
|
12
|
+
abstract readAll(): Promise<string | Array<Uint8Array>>;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* A class to read chunks from a ReadableStream and provide them in a structured format.
|
|
16
|
+
*/
|
|
17
|
+
export declare class ByteStreamReader extends BaseStreamReader<ByteStreamInfo> {
|
|
18
|
+
protected handleChunkReceived(chunk: DataStream_Chunk): void;
|
|
19
|
+
[Symbol.asyncIterator](): {
|
|
20
|
+
next: () => Promise<IteratorResult<Uint8Array>>;
|
|
21
|
+
return(): IteratorResult<Uint8Array>;
|
|
22
|
+
};
|
|
23
|
+
readAll(): Promise<Array<Uint8Array>>;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* A class to read chunks from a ReadableStream and provide them in a structured format.
|
|
27
|
+
*/
|
|
28
|
+
export declare class TextStreamReader extends BaseStreamReader<TextStreamInfo> {
|
|
29
|
+
private receivedChunks;
|
|
30
|
+
/**
|
|
31
|
+
* A TextStreamReader instance can be used as an AsyncIterator that returns the entire string
|
|
32
|
+
* that has been received up to the current point in time.
|
|
33
|
+
*/
|
|
34
|
+
constructor(info: TextStreamInfo, stream: ReadableStream<DataStream_Chunk>, totalChunkCount?: number);
|
|
35
|
+
protected handleChunkReceived(chunk: DataStream_Chunk): void;
|
|
36
|
+
/**
|
|
37
|
+
* Async iterator implementation to allow usage of `for await...of` syntax.
|
|
38
|
+
* Yields structured chunks from the stream.
|
|
39
|
+
*
|
|
40
|
+
*/
|
|
41
|
+
[Symbol.asyncIterator](): {
|
|
42
|
+
next: () => Promise<IteratorResult<string>>;
|
|
43
|
+
return(): IteratorResult<string>;
|
|
44
|
+
};
|
|
45
|
+
readAll(): Promise<string>;
|
|
46
|
+
}
|
|
47
|
+
export {};
|
|
48
|
+
//# sourceMappingURL=stream_reader.d.ts.map
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import '@livekit/rtc-ffi-bindings';
|
|
3
|
-
|
|
1
|
+
import type { BaseStreamInfo, ByteStreamInfo, TextStreamInfo } from './types.js';
|
|
4
2
|
declare class BaseStreamWriter<T, InfoType extends BaseStreamInfo> {
|
|
5
3
|
protected writableStream: WritableStream<T>;
|
|
6
4
|
protected defaultWriter: WritableStreamDefaultWriter<T>;
|
|
@@ -10,9 +8,9 @@ declare class BaseStreamWriter<T, InfoType extends BaseStreamInfo> {
|
|
|
10
8
|
write(chunk: T): Promise<void>;
|
|
11
9
|
close(): Promise<void>;
|
|
12
10
|
}
|
|
13
|
-
declare class TextStreamWriter extends BaseStreamWriter<string, TextStreamInfo> {
|
|
11
|
+
export declare class TextStreamWriter extends BaseStreamWriter<string, TextStreamInfo> {
|
|
14
12
|
}
|
|
15
|
-
declare class ByteStreamWriter extends BaseStreamWriter<Uint8Array, ByteStreamInfo> {
|
|
13
|
+
export declare class ByteStreamWriter extends BaseStreamWriter<Uint8Array, ByteStreamInfo> {
|
|
16
14
|
}
|
|
17
|
-
|
|
18
|
-
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=stream_writer.d.ts.map
|
|
@@ -1,2 +1,41 @@
|
|
|
1
|
-
import '@livekit/rtc-ffi-bindings';
|
|
2
|
-
|
|
1
|
+
import type { DataStream_Chunk, DataStream_Header } from '@livekit/rtc-ffi-bindings';
|
|
2
|
+
import type { ByteStreamReader, TextStreamReader } from './stream_reader.js';
|
|
3
|
+
export interface StreamController<T extends DataStream_Chunk> {
|
|
4
|
+
header: DataStream_Header;
|
|
5
|
+
controller: ReadableStreamDefaultController<T>;
|
|
6
|
+
startTime: number;
|
|
7
|
+
endTime?: number;
|
|
8
|
+
}
|
|
9
|
+
export interface BaseStreamInfo {
|
|
10
|
+
streamId: string;
|
|
11
|
+
mimeType: string;
|
|
12
|
+
topic: string;
|
|
13
|
+
timestamp: number;
|
|
14
|
+
/** total size in bytes for finite streams and undefined for streams of unknown size */
|
|
15
|
+
totalSize?: number;
|
|
16
|
+
attributes?: Record<string, string>;
|
|
17
|
+
}
|
|
18
|
+
export type ByteStreamInfo = BaseStreamInfo & {
|
|
19
|
+
name: string;
|
|
20
|
+
};
|
|
21
|
+
export type TextStreamInfo = BaseStreamInfo;
|
|
22
|
+
export interface DataStreamOptions {
|
|
23
|
+
topic?: string;
|
|
24
|
+
destinationIdentities?: Array<string>;
|
|
25
|
+
attributes?: Record<string, string>;
|
|
26
|
+
mimeType?: string;
|
|
27
|
+
}
|
|
28
|
+
export interface TextStreamOptions extends DataStreamOptions {
|
|
29
|
+
attachments?: [];
|
|
30
|
+
}
|
|
31
|
+
export interface ByteStreamOptions extends DataStreamOptions {
|
|
32
|
+
name?: string;
|
|
33
|
+
onProgress?: (progress: number) => void;
|
|
34
|
+
}
|
|
35
|
+
export type ByteStreamHandler = (reader: ByteStreamReader, participantInfo: {
|
|
36
|
+
identity: string;
|
|
37
|
+
}) => void;
|
|
38
|
+
export type TextStreamHandler = (reader: TextStreamReader, participantInfo: {
|
|
39
|
+
identity: string;
|
|
40
|
+
}) => void;
|
|
41
|
+
//# sourceMappingURL=types.d.ts.map
|
package/dist/e2ee.d.ts
CHANGED
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
import { EncryptionType } from '@livekit/rtc-ffi-bindings';
|
|
2
|
-
|
|
3
|
-
interface KeyProviderOptions {
|
|
2
|
+
export interface KeyProviderOptions {
|
|
4
3
|
sharedKey?: Uint8Array;
|
|
5
4
|
ratchetSalt?: Uint8Array;
|
|
6
5
|
ratchetWindowSize?: number;
|
|
7
6
|
failureTolerance?: number;
|
|
8
7
|
}
|
|
9
|
-
declare const defaultKeyProviderOptions: KeyProviderOptions;
|
|
10
|
-
interface E2EEOptions {
|
|
8
|
+
export declare const defaultKeyProviderOptions: KeyProviderOptions;
|
|
9
|
+
export interface E2EEOptions {
|
|
11
10
|
keyProviderOptions: KeyProviderOptions;
|
|
12
11
|
encryptionType?: EncryptionType;
|
|
13
12
|
}
|
|
14
|
-
declare const defaultE2EEOptions: E2EEOptions;
|
|
15
|
-
declare class KeyProvider {
|
|
13
|
+
export declare const defaultE2EEOptions: E2EEOptions;
|
|
14
|
+
export declare class KeyProvider {
|
|
16
15
|
private roomHandle;
|
|
17
16
|
options: KeyProviderOptions;
|
|
18
17
|
/** internal */
|
|
@@ -24,7 +23,7 @@ declare class KeyProvider {
|
|
|
24
23
|
exportKey(participantIdentity: string, keyIndex: number): Uint8Array;
|
|
25
24
|
ratchetKey(participantIdentity: string, keyIndex: number): Uint8Array;
|
|
26
25
|
}
|
|
27
|
-
declare class FrameCryptor {
|
|
26
|
+
export declare class FrameCryptor {
|
|
28
27
|
private roomHandle;
|
|
29
28
|
participantIdentity: string;
|
|
30
29
|
keyIndex: number;
|
|
@@ -33,7 +32,7 @@ declare class FrameCryptor {
|
|
|
33
32
|
setEnabled(enabled: boolean): void;
|
|
34
33
|
setKeyIndex(keyIndex: number): void;
|
|
35
34
|
}
|
|
36
|
-
declare class E2EEManager {
|
|
35
|
+
export declare class E2EEManager {
|
|
37
36
|
private roomHandle;
|
|
38
37
|
private options;
|
|
39
38
|
private keyProvider;
|
|
@@ -42,5 +41,4 @@ declare class E2EEManager {
|
|
|
42
41
|
setEnabled(enabled: boolean): void;
|
|
43
42
|
frameCryptors(): FrameCryptor[];
|
|
44
43
|
}
|
|
45
|
-
|
|
46
|
-
export { E2EEManager, type E2EEOptions, FrameCryptor, KeyProvider, type KeyProviderOptions, defaultE2EEOptions, defaultKeyProviderOptions };
|
|
44
|
+
//# sourceMappingURL=e2ee.d.ts.map
|
package/dist/ffi_client.d.ts
CHANGED
|
@@ -1,18 +1,17 @@
|
|
|
1
|
-
import { FfiEvent,
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
type FfiClientCallbacks = {
|
|
1
|
+
import { FfiEvent, FfiHandle, FfiRequest, FfiResponse, type PartialMessage, livekitDispose } from '@livekit/rtc-ffi-bindings';
|
|
2
|
+
import type { TypedEventEmitter as TypedEmitter } from '@livekit/typed-emitter';
|
|
3
|
+
export { FfiHandle, type FfiEvent, type FfiResponse, FfiRequest, livekitDispose as dispose };
|
|
4
|
+
export type FfiClientCallbacks = {
|
|
6
5
|
ffi_event: (event: FfiEvent) => void;
|
|
7
6
|
};
|
|
8
|
-
declare enum FfiClientEvent {
|
|
7
|
+
export declare enum FfiClientEvent {
|
|
9
8
|
FfiEvent = "ffi_event"
|
|
10
9
|
}
|
|
11
10
|
declare global {
|
|
12
11
|
var _ffiClientInstance: FfiClient | undefined;
|
|
13
12
|
}
|
|
14
|
-
declare const FfiClient_base: new () =>
|
|
15
|
-
declare class FfiClient extends FfiClient_base {
|
|
13
|
+
declare const FfiClient_base: new () => TypedEmitter<FfiClientCallbacks>;
|
|
14
|
+
export declare class FfiClient extends FfiClient_base {
|
|
16
15
|
/** @internal */
|
|
17
16
|
static get instance(): FfiClient;
|
|
18
17
|
private _nextRequestAsyncId;
|
|
@@ -25,5 +24,4 @@ declare class FfiClient extends FfiClient_base {
|
|
|
25
24
|
signal?: AbortSignal;
|
|
26
25
|
}): Promise<T>;
|
|
27
26
|
}
|
|
28
|
-
|
|
29
|
-
export { FfiClient, type FfiClientCallbacks, FfiClientEvent };
|
|
27
|
+
//# sourceMappingURL=ffi_client.d.ts.map
|
|
@@ -1,19 +1,17 @@
|
|
|
1
|
-
import { AudioFrame } from './audio_frame.js';
|
|
2
|
-
import { VideoFrame } from './video_frame.js';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
type FrameProcessorStreamInfo = {
|
|
1
|
+
import { type AudioFrame } from './audio_frame.js';
|
|
2
|
+
import { type VideoFrame } from './video_frame.js';
|
|
3
|
+
export type FrameProcessorStreamInfo = {
|
|
6
4
|
roomName: string;
|
|
7
5
|
participantIdentity: string;
|
|
8
6
|
publicationSid: string;
|
|
9
7
|
};
|
|
10
|
-
type FrameProcessorCredentials = {
|
|
8
|
+
export type FrameProcessorCredentials = {
|
|
11
9
|
token: string;
|
|
12
10
|
url: string;
|
|
13
11
|
};
|
|
14
|
-
declare const FrameProcessorSymbol: unique symbol;
|
|
15
|
-
declare function isFrameProcessor<T extends FrameProcessor<AudioFrame> | FrameProcessor<VideoFrame> | unknown>(maybeProcessor: unknown): maybeProcessor is T extends FrameProcessor<AudioFrame> ? FrameProcessor<AudioFrame> : T extends FrameProcessor<VideoFrame> ? FrameProcessor<VideoFrame> : FrameProcessor<AudioFrame> | FrameProcessor<VideoFrame>;
|
|
16
|
-
declare abstract class FrameProcessor<Frame extends VideoFrame | AudioFrame> {
|
|
12
|
+
export declare const FrameProcessorSymbol: unique symbol;
|
|
13
|
+
export declare function isFrameProcessor<T extends FrameProcessor<AudioFrame> | FrameProcessor<VideoFrame> | unknown>(maybeProcessor: unknown): maybeProcessor is T extends FrameProcessor<AudioFrame> ? FrameProcessor<AudioFrame> : T extends FrameProcessor<VideoFrame> ? FrameProcessor<VideoFrame> : FrameProcessor<AudioFrame> | FrameProcessor<VideoFrame>;
|
|
14
|
+
export declare abstract class FrameProcessor<Frame extends VideoFrame | AudioFrame> {
|
|
17
15
|
readonly symbol: symbol;
|
|
18
16
|
abstract isEnabled(): boolean;
|
|
19
17
|
abstract setEnabled(enabled: boolean): void;
|
|
@@ -24,5 +22,4 @@ declare abstract class FrameProcessor<Frame extends VideoFrame | AudioFrame> {
|
|
|
24
22
|
abstract process(frame: Frame): Frame;
|
|
25
23
|
abstract close(): void;
|
|
26
24
|
}
|
|
27
|
-
|
|
28
|
-
export { FrameProcessor, type FrameProcessorCredentials, type FrameProcessorStreamInfo, FrameProcessorSymbol, isFrameProcessor };
|
|
25
|
+
//# sourceMappingURL=frame_processor.d.ts.map
|
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["// SPDX-FileCopyrightText: 2024 LiveKit, Inc.\n//\n// SPDX-License-Identifier: Apache-2.0\n\nexport { AudioFrame, combineAudioFrames } from './audio_frame.js';\nexport { AudioResampler, AudioResamplerQuality } from './audio_resampler.js';\nexport { AudioSource } from './audio_source.js';\nexport { AudioStream } from './audio_stream.js';\nexport type { NoiseCancellationOptions } from './audio_stream.js';\nexport { AudioFilter } from './audio_filter.js';\nexport { AudioMixer, type AudioMixerOptions } from './audio_mixer.js';\nexport * from './data_streams/index.js';\nexport { E2EEManager, FrameCryptor, KeyProvider } from './e2ee.js';\nexport type { E2EEOptions, KeyProviderOptions } from './e2ee.js';\nexport { dispose } from './ffi_client.js';\nexport { LocalParticipant, Participant, RemoteParticipant } from './participant.js';\nexport { EncryptionState, EncryptionType } from '@livekit/rtc-ffi-bindings';\nexport {\n DisconnectReason,\n ParticipantKind,\n ParticipantKindDetail,\n} from '@livekit/rtc-ffi-bindings';\nexport {\n ConnectionQuality,\n ConnectionState,\n ContinualGatheringPolicy,\n DataPacketKind,\n IceServer,\n IceTransportType,\n TrackPublishOptions,\n} from '@livekit/rtc-ffi-bindings';\nexport {\n SimulateScenarioKind,\n StreamState,\n TrackKind,\n TrackSource,\n} from '@livekit/rtc-ffi-bindings';\nexport { VideoBufferType, VideoCodec, VideoRotation } from '@livekit/rtc-ffi-bindings';\nexport {
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["// SPDX-FileCopyrightText: 2024 LiveKit, Inc.\n//\n// SPDX-License-Identifier: Apache-2.0\n\nexport { AudioFrame, combineAudioFrames } from './audio_frame.js';\nexport { AudioResampler, AudioResamplerQuality } from './audio_resampler.js';\nexport { AudioSource } from './audio_source.js';\nexport { AudioStream } from './audio_stream.js';\nexport type { NoiseCancellationOptions } from './audio_stream.js';\nexport { AudioFilter } from './audio_filter.js';\nexport { AudioMixer, type AudioMixerOptions } from './audio_mixer.js';\nexport * from './data_streams/index.js';\nexport { E2EEManager, FrameCryptor, KeyProvider } from './e2ee.js';\nexport type { E2EEOptions, KeyProviderOptions } from './e2ee.js';\nexport { dispose } from './ffi_client.js';\nexport { LocalParticipant, Participant, RemoteParticipant } from './participant.js';\nexport { EncryptionState, EncryptionType } from '@livekit/rtc-ffi-bindings';\nexport {\n DisconnectReason,\n ParticipantKind,\n ParticipantKindDetail,\n} from '@livekit/rtc-ffi-bindings';\nexport {\n ConnectionQuality,\n ConnectionState,\n ContinualGatheringPolicy,\n DataPacketKind,\n IceServer,\n IceTransportType,\n TrackPublishOptions,\n} from '@livekit/rtc-ffi-bindings';\nexport {\n SimulateScenarioKind,\n StreamState,\n TrackKind,\n TrackSource,\n} from '@livekit/rtc-ffi-bindings';\nexport { VideoBufferType, VideoCodec, VideoRotation } from '@livekit/rtc-ffi-bindings';\nexport {\n ConnectError,\n Room,\n RoomEvent,\n type RoomDataStreamOptions,\n type RoomOptions,\n type RtcConfiguration,\n} from './room.js';\nexport { RpcError, type PerformRpcParams, type RpcInvocationData } from './rpc.js';\nexport {\n LocalAudioTrack,\n LocalVideoTrack,\n RemoteAudioTrack,\n RemoteVideoTrack,\n Track,\n type AudioTrack,\n type LocalTrack,\n type RemoteTrack,\n type VideoTrack,\n} from './track.js';\nexport {\n LocalTrackPublication,\n RemoteTrackPublication,\n TrackPublication,\n} from './track_publication.js';\nexport type { Transcription, TranscriptionSegment } from './transcription.js';\nexport type { ChatMessage } from './types.js';\nexport { VideoFrame } from './video_frame.js';\nexport { VideoSource } from './video_source.js';\nexport { VideoStream, type VideoFrameEvent } from './video_stream.js';\nexport {\n FrameProcessor,\n type FrameProcessorStreamInfo,\n type FrameProcessorCredentials,\n isFrameProcessor,\n} from './frame_processor.js';\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAIA,yBAA+C;AAC/C,6BAAsD;AACtD,0BAA4B;AAC5B,0BAA4B;AAE5B,0BAA4B;AAC5B,yBAAmD;AACnD,0BAAc,oCAXd;AAYA,kBAAuD;AAEvD,wBAAwB;AACxB,yBAAiE;AACjE,8BAAgD;AAChD,IAAAA,2BAIO;AACP,IAAAA,2BAQO;AACP,IAAAA,2BAKO;AACP,IAAAA,2BAA2D;AAC3D,kBAOO;AACP,iBAAwE;AACxE,mBAUO;AACP,+BAIO;AAGP,yBAA2B;AAC3B,0BAA4B;AAC5B,0BAAkD;AAClD,6BAKO;","names":["import_rtc_ffi_bindings"]}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
export { AudioFrame, combineAudioFrames } from './audio_frame.cjs';
|
|
2
2
|
export { AudioResampler, AudioResamplerQuality } from './audio_resampler.cjs';
|
|
3
3
|
export { AudioSource } from './audio_source.cjs';
|
|
4
|
-
export { A as AudioStream, a as AudioTrack, C as ConnectError, L as LocalAudioTrack, b as LocalParticipant, c as LocalTrack, d as LocalTrackPublication, e as LocalVideoTrack, N as NoiseCancellationOptions, P as Participant, R as RemoteAudioTrack, f as RemoteParticipant, g as RemoteTrack, h as RemoteTrackPublication, i as RemoteVideoTrack, j as Room, k as RoomEvent, l as RoomOptions, m as RtcConfiguration, T as Track, n as TrackPublication, V as VideoTrack } from './audio_stream-
|
|
4
|
+
export { A as AudioStream, a as AudioTrack, C as ConnectError, L as LocalAudioTrack, b as LocalParticipant, c as LocalTrack, d as LocalTrackPublication, e as LocalVideoTrack, N as NoiseCancellationOptions, P as Participant, R as RemoteAudioTrack, f as RemoteParticipant, g as RemoteTrack, h as RemoteTrackPublication, i as RemoteVideoTrack, j as Room, k as RoomEvent, l as RoomOptions, m as RtcConfiguration, T as Track, n as TrackPublication, V as VideoTrack } from './audio_stream-CnODFAmo.cjs';
|
|
5
5
|
export { AudioFilter } from './audio_filter.cjs';
|
|
6
6
|
export { AudioMixer, AudioMixerOptions } from './audio_mixer.cjs';
|
|
7
7
|
export { B as BaseStreamInfo, a as ByteStreamHandler, b as ByteStreamInfo, c as ByteStreamOptions, d as ByteStreamReader, D as DataStreamOptions, S as StreamController, T as TextStreamHandler, e as TextStreamInfo, f as TextStreamOptions, g as TextStreamReader } from './types-_PdPVish.cjs';
|
|
8
8
|
export { ByteStreamWriter, TextStreamWriter } from './data_streams/stream_writer.cjs';
|
|
9
9
|
export { E2EEManager, E2EEOptions, FrameCryptor, KeyProvider, KeyProviderOptions } from './e2ee.cjs';
|
|
10
10
|
import './ffi_client.cjs';
|
|
11
|
-
export { ConnectionQuality, ConnectionState, ContinualGatheringPolicy, DataPacketKind, DisconnectReason, EncryptionState, EncryptionType, IceServer, IceTransportType, ParticipantKind, ParticipantKindDetail, SimulateScenarioKind, StreamState, TrackKind, TrackPublishOptions, TrackSource, VideoBufferType, VideoCodec, VideoRotation, livekitDispose as dispose } from '@livekit/rtc-ffi-bindings';
|
|
11
|
+
export { ConnectionQuality, ConnectionState, ContinualGatheringPolicy, DataPacketKind, DisconnectReason, EncryptionState, EncryptionType, IceServer, IceTransportType, ParticipantKind, ParticipantKindDetail, RoomDataStreamOptions, SimulateScenarioKind, StreamState, TrackKind, TrackPublishOptions, TrackSource, VideoBufferType, VideoCodec, VideoRotation, livekitDispose as dispose } from '@livekit/rtc-ffi-bindings';
|
|
12
12
|
export { PerformRpcParams, RpcError, RpcInvocationData } from './rpc.cjs';
|
|
13
13
|
export { Transcription, TranscriptionSegment } from './transcription.cjs';
|
|
14
14
|
export { ChatMessage } from './types.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,23 +1,28 @@
|
|
|
1
1
|
export { AudioFrame, combineAudioFrames } from './audio_frame.js';
|
|
2
2
|
export { AudioResampler, AudioResamplerQuality } from './audio_resampler.js';
|
|
3
3
|
export { AudioSource } from './audio_source.js';
|
|
4
|
-
export {
|
|
4
|
+
export { AudioStream } from './audio_stream.js';
|
|
5
|
+
export type { NoiseCancellationOptions } from './audio_stream.js';
|
|
5
6
|
export { AudioFilter } from './audio_filter.js';
|
|
6
|
-
export { AudioMixer, AudioMixerOptions } from './audio_mixer.js';
|
|
7
|
-
export
|
|
8
|
-
export {
|
|
9
|
-
export {
|
|
10
|
-
|
|
11
|
-
export {
|
|
12
|
-
export {
|
|
13
|
-
export {
|
|
14
|
-
export {
|
|
7
|
+
export { AudioMixer, type AudioMixerOptions } from './audio_mixer.js';
|
|
8
|
+
export * from './data_streams/index.js';
|
|
9
|
+
export { E2EEManager, FrameCryptor, KeyProvider } from './e2ee.js';
|
|
10
|
+
export type { E2EEOptions, KeyProviderOptions } from './e2ee.js';
|
|
11
|
+
export { dispose } from './ffi_client.js';
|
|
12
|
+
export { LocalParticipant, Participant, RemoteParticipant } from './participant.js';
|
|
13
|
+
export { EncryptionState, EncryptionType } from '@livekit/rtc-ffi-bindings';
|
|
14
|
+
export { DisconnectReason, ParticipantKind, ParticipantKindDetail, } from '@livekit/rtc-ffi-bindings';
|
|
15
|
+
export { ConnectionQuality, ConnectionState, ContinualGatheringPolicy, DataPacketKind, IceServer, IceTransportType, TrackPublishOptions, } from '@livekit/rtc-ffi-bindings';
|
|
16
|
+
export { SimulateScenarioKind, StreamState, TrackKind, TrackSource, } from '@livekit/rtc-ffi-bindings';
|
|
17
|
+
export { VideoBufferType, VideoCodec, VideoRotation } from '@livekit/rtc-ffi-bindings';
|
|
18
|
+
export { ConnectError, Room, RoomEvent, type RoomDataStreamOptions, type RoomOptions, type RtcConfiguration, } from './room.js';
|
|
19
|
+
export { RpcError, type PerformRpcParams, type RpcInvocationData } from './rpc.js';
|
|
20
|
+
export { LocalAudioTrack, LocalVideoTrack, RemoteAudioTrack, RemoteVideoTrack, Track, type AudioTrack, type LocalTrack, type RemoteTrack, type VideoTrack, } from './track.js';
|
|
21
|
+
export { LocalTrackPublication, RemoteTrackPublication, TrackPublication, } from './track_publication.js';
|
|
22
|
+
export type { Transcription, TranscriptionSegment } from './transcription.js';
|
|
23
|
+
export type { ChatMessage } from './types.js';
|
|
15
24
|
export { VideoFrame } from './video_frame.js';
|
|
16
25
|
export { VideoSource } from './video_source.js';
|
|
17
|
-
export {
|
|
18
|
-
export { FrameProcessor,
|
|
19
|
-
|
|
20
|
-
import '@livekit/typed-emitter';
|
|
21
|
-
import '@livekit/mutex';
|
|
22
|
-
import 'node:fs';
|
|
23
|
-
import './async_queue.js';
|
|
26
|
+
export { VideoStream, type VideoFrameEvent } from './video_stream.js';
|
|
27
|
+
export { FrameProcessor, type FrameProcessorStreamInfo, type FrameProcessorCredentials, isFrameProcessor, } from './frame_processor.js';
|
|
28
|
+
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAClE,OAAO,EAAE,cAAc,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC7E,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,YAAY,EAAE,wBAAwB,EAAE,MAAM,mBAAmB,CAAC;AAClE,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,KAAK,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACtE,cAAc,yBAAyB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACnE,YAAY,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AACjE,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,gBAAgB,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACpF,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC5E,OAAO,EACL,gBAAgB,EAChB,eAAe,EACf,qBAAqB,GACtB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,iBAAiB,EACjB,eAAe,EACf,wBAAwB,EACxB,cAAc,EACd,SAAS,EACT,gBAAgB,EAChB,mBAAmB,GACpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,oBAAoB,EACpB,WAAW,EACX,SAAS,EACT,WAAW,GACZ,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AACvF,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAClE,OAAO,EAAE,cAAc,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC7E,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,YAAY,EAAE,wBAAwB,EAAE,MAAM,mBAAmB,CAAC;AAClE,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,KAAK,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACtE,cAAc,yBAAyB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACnE,YAAY,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AACjE,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,gBAAgB,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACpF,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC5E,OAAO,EACL,gBAAgB,EAChB,eAAe,EACf,qBAAqB,GACtB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,iBAAiB,EACjB,eAAe,EACf,wBAAwB,EACxB,cAAc,EACd,SAAS,EACT,gBAAgB,EAChB,mBAAmB,GACpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,oBAAoB,EACpB,WAAW,EACX,SAAS,EACT,WAAW,GACZ,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AACvF,OAAO,EACL,YAAY,EACZ,IAAI,EACJ,SAAS,EACT,KAAK,qBAAqB,EAC1B,KAAK,WAAW,EAChB,KAAK,gBAAgB,GACtB,MAAM,WAAW,CAAC;AACnB,OAAO,EAAE,QAAQ,EAAE,KAAK,gBAAgB,EAAE,KAAK,iBAAiB,EAAE,MAAM,UAAU,CAAC;AACnF,OAAO,EACL,eAAe,EACf,eAAe,EACf,gBAAgB,EAChB,gBAAgB,EAChB,KAAK,EACL,KAAK,UAAU,EACf,KAAK,UAAU,EACf,KAAK,WAAW,EAChB,KAAK,UAAU,GAChB,MAAM,YAAY,CAAC;AACpB,OAAO,EACL,qBAAqB,EACrB,sBAAsB,EACtB,gBAAgB,GACjB,MAAM,wBAAwB,CAAC;AAChC,YAAY,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC9E,YAAY,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,KAAK,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACtE,OAAO,EACL,cAAc,EACd,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAC9B,gBAAgB,GACjB,MAAM,sBAAsB,CAAC"}
|