@signalwire/js
Advanced tools
Comparing version 1.3.0-alpha.9.9 to 1.3.0-alpha.9.10
@@ -295,9 +295,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
updateLayouts(params) { | ||
const { contentType, callID, canvasType, canvasInfo = null, currentLayerIdx = -1 } = params, rest = __rest(params, ["contentType", "callID", "canvasType", "canvasInfo", "currentLayerIdx"]); | ||
const { contentType, callID, canvasType, canvasInfo = null, currentLayerIdx = null } = params, rest = __rest(params, ["contentType", "callID", "canvasType", "canvasInfo", "currentLayerIdx"]); | ||
this.canvasType = canvasType; | ||
this.participantLayerIndex = currentLayerIdx; | ||
if (contentType === 'layer-info' && currentLayerIdx !== null) { | ||
this.participantLayerIndex = currentLayerIdx; | ||
} | ||
if (canvasInfo !== null) { | ||
this.canvasInfo = mutateCanvasInfoData(canvasInfo); | ||
} | ||
this._dispatchConferenceUpdate(Object.assign({ action: ConferenceAction.LayoutInfo, participant: this.currentParticipant, canvasInfo: this.canvasInfo }, rest)); | ||
const action = contentType === 'layer-info' ? ConferenceAction.LayerInfo : ConferenceAction.LayoutInfo; | ||
this._dispatchConferenceUpdate(Object.assign({ action, participant: this.currentParticipant, canvasInfo: this.canvasInfo, contentType, canvasType }, rest)); | ||
} | ||
@@ -304,0 +307,0 @@ updateLogo(params) { |
import Relay from './src/SignalWire'; | ||
import Verto from './src/Verto'; | ||
import CantinaAuth from '../common/src/webrtc/CantinaAuth'; | ||
export declare const VERSION = "1.3.0-alpha.9.9"; | ||
export declare const VERSION = "1.3.0-alpha.9.10"; | ||
export { Relay, Verto, CantinaAuth }; | ||
export * from '../common/src/util/interfaces'; | ||
export * from '../common/src/webrtc/interfaces'; |
@@ -5,4 +5,4 @@ import Relay from './src/SignalWire'; | ||
import CantinaAuth from '../common/src/webrtc/CantinaAuth'; | ||
export const VERSION = '1.3.0-alpha.9.9'; | ||
export const VERSION = '1.3.0-alpha.9.10'; | ||
setAgentName(`JavaScript SDK/${VERSION}`); | ||
export { Relay, Verto, CantinaAuth }; |
{ | ||
"name": "@signalwire/js", | ||
"version": "1.3.0-alpha.9.9", | ||
"version": "1.3.0-alpha.9.10", | ||
"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 not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
338036
4847