@signalwire/js
Advanced tools
Comparing version
@@ -134,4 +134,5 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
const suffix = `${confState.md5}@${confState.domain}`; | ||
const confName = confState.displayName || confState.name; | ||
return { | ||
uuid: confState.uuid, | ||
uuid: variables.conference_uuid || confState.uuid, | ||
md5: confState.md5, | ||
@@ -144,3 +145,3 @@ domain: confState.domain, | ||
chatChannel: `conference-chat.${suffix}`, | ||
confName: confState.name, | ||
confName, | ||
numMembers: Number(confState.members) || 0, | ||
@@ -147,0 +148,0 @@ isPrivate: variables.is_private === 'true', |
@@ -74,2 +74,3 @@ export interface CallOptions { | ||
conferenceName: string; | ||
conferenceDisplayName: string; | ||
conferenceMD5: string; | ||
@@ -76,0 +77,0 @@ conferenceUUID: string; |
@@ -157,3 +157,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
get conferenceName() { | ||
return this.pvtData ? this.pvtData.conferenceName : null; | ||
if (this.pvtData) { | ||
const { conferenceDisplayName, conferenceName } = this.pvtData; | ||
return conferenceDisplayName || conferenceName; | ||
} | ||
return null; | ||
} | ||
@@ -164,3 +168,7 @@ get conferenceMd5() { | ||
get conferenceUuid() { | ||
return this.pvtData ? this.pvtData.conferenceUUID : null; | ||
if (this.pvtData) { | ||
const { conferenceDisplayName, conferenceName, conferenceUUID } = this.pvtData; | ||
return conferenceDisplayName ? conferenceName : conferenceUUID; | ||
} | ||
return null; | ||
} | ||
@@ -458,3 +466,3 @@ _upgrade() { | ||
this.pvtData = pvtData; | ||
this.extension = pvtData.laName; | ||
this.extension = pvtData.conferenceDisplayName || pvtData.laName; | ||
const laObject = { | ||
@@ -461,0 +469,0 @@ session: this.session, |
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.34"; | ||
export declare const VERSION = "1.3.0-cantina.35"; | ||
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.34'; | ||
export const VERSION = '1.3.0-cantina.35'; | ||
setAgentName(`JavaScript SDK/${VERSION}`); | ||
export { Relay, Verto, CantinaAuth }; | ||
export * from '../common/src/webrtc/deviceHelpers'; |
{ | ||
"name": "@signalwire/js", | ||
"version": "1.3.0-cantina.34", | ||
"version": "1.3.0-cantina.35", | ||
"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
393157
0.16%5690
0.18%