sip-connector 6.21.6 → 6.21.7

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.
@@ -192,12 +192,12 @@ export default class SipConnector {
192
192
  handleNewRTCSession: ({ originator, session }: IncomingRTCSessionEvent) => void;
193
193
  on<T = void>(eventName: TEventUA, handler: (data: T) => void): () => void;
194
194
  once<T>(eventName: TEventUA, handler: (data: T) => void): () => void;
195
- onceRace<T>(eventNames: TEventUA[], handler: (data: T) => void): () => void;
195
+ onceRace<T>(eventNames: TEventUA[], handler: (data: T, eventName: string) => void): () => void;
196
196
  wait<T>(eventName: TEventUA): Promise<T>;
197
197
  off<T>(eventName: TEventUA, handler: (data: T) => void): void;
198
198
  onSession<T>(eventName: TEventSession, handler: (data: T) => void): () => void;
199
199
  onceSession<T>(eventName: TEventSession, handler: (data: T) => void): () => void;
200
- onceRaceSession<T>(eventNames: TEventSession[], handler: (data: T) => void): () => void;
200
+ onceRaceSession<T>(eventNames: TEventSession[], handler: (data: T, eventName: string) => void): () => void;
201
201
  waitSession<T>(eventName: TEventSession): Promise<T>;
202
202
  offSession<T>(eventName: TEventSession, handler: (data: T) => void): void;
203
203
  isConfigured(): boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sip-connector",
3
- "version": "6.21.6",
3
+ "version": "6.21.7",
4
4
  "description": "Module for connect to Vinteo server",
5
5
  "keywords": [
6
6
  "webrtc",