mezon-js 2.9.72 → 2.9.73
Sign up to get free protection for your applications and to get access to all the features.
package/dist/mezon-js.cjs.js
CHANGED
package/dist/mezon-js.esm.mjs
CHANGED
@@ -63,12 +63,6 @@ export interface SocketMessageHandler {
|
|
63
63
|
export interface SocketOpenHandler {
|
64
64
|
(this: WebSocket, evt: Event): void;
|
65
65
|
}
|
66
|
-
export interface RTCPeerOntrackHandler {
|
67
|
-
(this: RTCPeerConnection, ev: RTCTrackEvent): any | null;
|
68
|
-
}
|
69
|
-
export interface RTCPeerOnicecandidateHandler {
|
70
|
-
(this: RTCPeerConnection, ev: RTCPeerConnectionIceEvent): any;
|
71
|
-
}
|
72
66
|
/**
|
73
67
|
* A text-based socket adapter that accepts and transmits payloads over UTF-8.
|
74
68
|
*/
|
@@ -87,5 +81,4 @@ export declare class WebSocketAdapterText implements WebSocketAdapter {
|
|
87
81
|
connect(scheme: string, host: string, port: string, createStatus: boolean, token: string, platform: string, signal?: AbortSignal): void;
|
88
82
|
close(): void;
|
89
83
|
send(msg: any): void;
|
90
|
-
getRTCPeerConnection(): RTCPeerConnection;
|
91
84
|
}
|
package/package.json
CHANGED
package/web_socket_adapter.ts
CHANGED
@@ -84,14 +84,6 @@ export interface SocketOpenHandler {
|
|
84
84
|
(this: WebSocket, evt: Event): void;
|
85
85
|
}
|
86
86
|
|
87
|
-
export interface RTCPeerOntrackHandler {
|
88
|
-
(this: RTCPeerConnection, ev: RTCTrackEvent): any | null;
|
89
|
-
}
|
90
|
-
|
91
|
-
export interface RTCPeerOnicecandidateHandler {
|
92
|
-
(this: RTCPeerConnection, ev: RTCPeerConnectionIceEvent): any;
|
93
|
-
}
|
94
|
-
|
95
87
|
/**
|
96
88
|
* A text-based socket adapter that accepts and transmits payloads over UTF-8.
|
97
89
|
*/
|
@@ -195,8 +187,4 @@ export class WebSocketAdapterText implements WebSocketAdapter {
|
|
195
187
|
|
196
188
|
this._socket!.send(JSON.stringify(msg));
|
197
189
|
}
|
198
|
-
|
199
|
-
getRTCPeerConnection(): RTCPeerConnection {
|
200
|
-
return this._pcRef!;
|
201
|
-
}
|
202
190
|
}
|