@cloudflare/realtimekit 1.1.5 → 1.1.6-staging.2
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/browser.js +13 -13
- package/dist/index.cjs.js +14 -14
- package/dist/index.d.ts +3 -2
- package/dist/index.es.js +2062 -2023
- package/dist/index.rn.js +14 -14
- package/dist/ts3.4/dist/index.d.ts +3 -2
- package/package.json +2 -3
|
@@ -5246,7 +5246,7 @@ declare class SocketService {
|
|
|
5246
5246
|
updateURL(peerID: string): void;
|
|
5247
5247
|
readonly url: string;
|
|
5248
5248
|
connect(): Promise<void>;
|
|
5249
|
-
disconnect():
|
|
5249
|
+
disconnect(): void;
|
|
5250
5250
|
readonly isConnected: boolean;
|
|
5251
5251
|
sendMessage(event: number, protobuf?: Uint8Array, messageId?: string): boolean;
|
|
5252
5252
|
sendMessagePromise(event: number, protobuf?: Uint8Array, messageId?: string, resp?: number): Promise<{
|
|
@@ -5281,7 +5281,7 @@ declare class RoomSocketHandler {
|
|
|
5281
5281
|
socket: SocketService;
|
|
5282
5282
|
readonly telemetry: RTKTelemetry;
|
|
5283
5283
|
readonly logger: RTKLogger$1;
|
|
5284
|
-
cleanup():
|
|
5284
|
+
cleanup(): void;
|
|
5285
5285
|
constructor(context: Context<RTKContextState>, socketService: SocketService);
|
|
5286
5286
|
joinRoom(opts: {
|
|
5287
5287
|
name: string;
|
|
@@ -5336,6 +5336,7 @@ interface ProducerState {
|
|
|
5336
5336
|
producingTransportId: string;
|
|
5337
5337
|
producingPeerId: string;
|
|
5338
5338
|
mimeType?: string;
|
|
5339
|
+
consumer?: Partial<Consumer>;
|
|
5339
5340
|
}
|
|
5340
5341
|
interface Participant {
|
|
5341
5342
|
id: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudflare/realtimekit",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.6-staging.2",
|
|
4
4
|
"description": "A real-time video and audio SDK for building custom, collaborative communication experiences.",
|
|
5
5
|
"main": "./dist/index.cjs.js",
|
|
6
6
|
"module": "./dist/index.es.js",
|
|
@@ -63,8 +63,7 @@
|
|
|
63
63
|
"worker-timers": "7.0.60"
|
|
64
64
|
},
|
|
65
65
|
"publishConfig": {
|
|
66
|
-
"
|
|
67
|
-
"tag": "latest"
|
|
66
|
+
"tag": "staging"
|
|
68
67
|
},
|
|
69
68
|
"devDependencies": {},
|
|
70
69
|
"scripts": {
|