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.
@@ -6595,9 +6595,6 @@ var WebSocketAdapterText = class {
6595
6595
  }
6596
6596
  this._socket.send(JSON.stringify(msg));
6597
6597
  }
6598
- getRTCPeerConnection() {
6599
- return this._pcRef;
6600
- }
6601
6598
  };
6602
6599
 
6603
6600
  // socket.ts
@@ -6565,9 +6565,6 @@ var WebSocketAdapterText = class {
6565
6565
  }
6566
6566
  this._socket.send(JSON.stringify(msg));
6567
6567
  }
6568
- getRTCPeerConnection() {
6569
- return this._pcRef;
6570
- }
6571
6568
  };
6572
6569
 
6573
6570
  // socket.ts
@@ -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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mezon-js",
3
3
 
4
- "version": "2.9.72",
4
+ "version": "2.9.73",
5
5
 
6
6
  "scripts": {
7
7
  "build": "npx tsc && npx rollup -c --bundleConfigAsCjs && node build.mjs"
@@ -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
  }