mezon-js 2.9.72 → 2.9.74
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/mezon-js.cjs.js +0 -3
- package/dist/mezon-js.esm.mjs +0 -3
- package/dist/socket.d.ts +3 -3
- package/dist/web_socket_adapter.d.ts +0 -7
- package/package.json +1 -1
- package/socket.ts +3 -3
- package/web_socket_adapter.ts +0 -12
package/dist/mezon-js.cjs.js
CHANGED
package/dist/mezon-js.esm.mjs
CHANGED
package/dist/socket.d.ts
CHANGED
@@ -585,9 +585,9 @@ export interface MessageButtonClicked {
|
|
585
585
|
user_id: string;
|
586
586
|
}
|
587
587
|
export interface WebrtcSignalingFwd {
|
588
|
-
|
589
|
-
|
590
|
-
|
588
|
+
receiver_id: string;
|
589
|
+
data_type: number;
|
590
|
+
json_data: string;
|
591
591
|
}
|
592
592
|
/** A socket connection to Mezon server. */
|
593
593
|
export interface Socket {
|
@@ -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/socket.ts
CHANGED
@@ -828,9 +828,9 @@ export interface MessageButtonClicked {
|
|
828
828
|
}
|
829
829
|
|
830
830
|
export interface WebrtcSignalingFwd {
|
831
|
-
|
832
|
-
|
833
|
-
|
831
|
+
receiver_id: string;
|
832
|
+
data_type: number;
|
833
|
+
json_data: string;
|
834
834
|
}
|
835
835
|
|
836
836
|
/** A socket connection to Mezon server. */
|
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
|
}
|