@signalwire/js
Advanced tools
Comparing version 1.3.0-cantina.24 to 1.3.0-cantina.25
@@ -21,4 +21,4 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
const video = opts ? (opts.video || true) : true; | ||
const displayStream = yield getDisplayMedia({ video }); | ||
const { audio = false, video = true } = (opts || {}); | ||
const displayStream = yield getDisplayMedia({ audio, video }); | ||
displayStream.getTracks().forEach(t => { | ||
@@ -25,0 +25,0 @@ t.addEventListener('ended', () => { |
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.24"; | ||
export declare const VERSION = "1.3.0-cantina.25"; | ||
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.24'; | ||
export const VERSION = '1.3.0-cantina.25'; | ||
setAgentName(`JavaScript SDK/${VERSION}`); | ||
export { Relay, Verto, CantinaAuth }; | ||
export * from '../common/src/webrtc/deviceHelpers'; |
{ | ||
"name": "@signalwire/js", | ||
"version": "1.3.0-cantina.24", | ||
"version": "1.3.0-cantina.25", | ||
"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
388996