@signalwire/js
Advanced tools
Comparing version 1.3.0-cantina.25 to 1.3.0-cantina.26
@@ -5,3 +5,3 @@ import BaseSession from './BaseSession'; | ||
import WebRTCCall from './webrtc/WebRTCCall'; | ||
import { IConferenceInfo } from './webrtc/interfaces'; | ||
import { IConferenceInfo, IVertoConferenceListParams } from './webrtc/interfaces'; | ||
import Conference from './webrtc/Conference'; | ||
@@ -69,3 +69,3 @@ export default abstract class BrowserSession extends BaseSession { | ||
listConf(): any; | ||
vertoConferenceList(showLayouts?: boolean, showMembers?: boolean): Promise<IConferenceInfo[]>; | ||
vertoConferenceList(params: IVertoConferenceListParams): Promise<IConferenceInfo[]>; | ||
vertoLayoutList(options?: { | ||
@@ -80,3 +80,3 @@ fullList?: boolean; | ||
}[]>; | ||
watchVertoConferences: (showLayouts?: boolean, showMembers?: boolean) => Promise<IConferenceInfo[]>; | ||
watchVertoConferences: (params: IVertoConferenceListParams) => Promise<IConferenceInfo[]>; | ||
_watchRoomsNotificationHandler: (event: any) => void; | ||
@@ -83,0 +83,0 @@ unwatchVertoConferences: () => Promise<void>; |
@@ -51,5 +51,5 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
this._speaker = null; | ||
this.watchVertoConferences = (showLayouts = false, showMembers = false) => __awaiter(this, void 0, void 0, function* () { | ||
this.watchVertoConferences = (params) => __awaiter(this, void 0, void 0, function* () { | ||
this.conferences = {}; | ||
const currentConfList = yield this.vertoConferenceList(showLayouts, showMembers); | ||
const currentConfList = yield this.vertoConferenceList(params); | ||
currentConfList.forEach(row => { | ||
@@ -366,3 +366,3 @@ this.conferences[row.uuid] = new Conference(this, row); | ||
} | ||
vertoConferenceList(showLayouts = false, showMembers = false) { | ||
vertoConferenceList(params) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
@@ -373,7 +373,3 @@ try { | ||
command: 'conference', | ||
data: { | ||
command: 'list', | ||
showLayouts, | ||
showMembers, | ||
}, | ||
data: Object.assign({ command: 'list' }, params), | ||
}); | ||
@@ -380,0 +376,0 @@ response.conferences.forEach((conf) => { |
@@ -213,1 +213,6 @@ export interface CallOptions { | ||
} | ||
export interface IVertoConferenceListParams { | ||
showLayouts?: boolean; | ||
showMembers?: boolean; | ||
activeSession?: string; | ||
} |
import Relay from './src/SignalWire'; | ||
import Verto from './src/Verto'; | ||
import CantinaAuth from '../common/src/webrtc/CantinaAuth'; | ||
export declare const VERSION = "1.3.0-cantina.25"; | ||
export declare const VERSION = "1.3.0-cantina.26"; | ||
export { Relay, Verto, CantinaAuth }; | ||
@@ -6,0 +6,0 @@ export * from '../common/src/webrtc/deviceHelpers'; |
@@ -5,5 +5,5 @@ import Relay from './src/SignalWire'; | ||
import CantinaAuth from '../common/src/webrtc/CantinaAuth'; | ||
export const VERSION = '1.3.0-cantina.25'; | ||
export const VERSION = '1.3.0-cantina.26'; | ||
setAgentName(`JavaScript SDK/${VERSION}`); | ||
export { Relay, Verto, CantinaAuth }; | ||
export * from '../common/src/webrtc/deviceHelpers'; |
{ | ||
"name": "@signalwire/js", | ||
"version": "1.3.0-cantina.25", | ||
"version": "1.3.0-cantina.26", | ||
"description": "Relay SDK for JavaScript to connect to SignalWire.", | ||
@@ -5,0 +5,0 @@ "author": "SignalWire Team <open.source@signalwire.com>", |
Sorry, the diff of this file is too big to display
5605
388847