@signalwire/js
Advanced tools
Comparing version 3.15.0-dev.202209201134.39ff206.0 to 3.15.0
@@ -156,4 +156,6 @@ var __defProp = Object.defineProperty; | ||
localVideo.srcObject = localStream; | ||
localVideo.disablePictureInPicture = true; | ||
localVideo.style.width = "100%"; | ||
localVideo.style.height = "100%"; | ||
localVideo.style.pointerEvents = "none"; | ||
myLayer.appendChild(localVideo); | ||
@@ -1286,3 +1288,3 @@ const mcuLayers = rootElement.querySelector(".mcuLayers"); | ||
__publicField(this, "WebSocketConstructor", WebSocket); | ||
__publicField(this, "agent", "@signalwire/js/browser/3.15.0-dev.202209201134.39ff206.0"); | ||
__publicField(this, "agent", "@signalwire/js/browser/3.15.0"); | ||
} | ||
@@ -1635,8 +1637,2 @@ get allowHijack() { | ||
]); | ||
const deprecatedParams = ["audio", "video"]; | ||
deprecatedParams.forEach((param) => { | ||
if (param in roomOptions) { | ||
getLogger8().warn(`The '${param}' parameter on the RoomSession constructor is deprecated. Set it on the '.join()' function instead.`); | ||
} | ||
}); | ||
const client = createClient(userOptions); | ||
@@ -1643,0 +1639,0 @@ const room = client.rooms.makeRoomObject({ |
@@ -186,4 +186,6 @@ var __create = Object.create; | ||
localVideo.srcObject = localStream; | ||
localVideo.disablePictureInPicture = true; | ||
localVideo.style.width = "100%"; | ||
localVideo.style.height = "100%"; | ||
localVideo.style.pointerEvents = "none"; | ||
myLayer.appendChild(localVideo); | ||
@@ -1291,3 +1293,3 @@ const mcuLayers = rootElement.querySelector(".mcuLayers"); | ||
__publicField(this, "WebSocketConstructor", WebSocket); | ||
__publicField(this, "agent", "@signalwire/js/browser/3.15.0-dev.202209201134.39ff206.0"); | ||
__publicField(this, "agent", "@signalwire/js/browser/3.15.0"); | ||
} | ||
@@ -1644,8 +1646,2 @@ get allowHijack() { | ||
]); | ||
const deprecatedParams = ["audio", "video"]; | ||
deprecatedParams.forEach((param) => { | ||
if (param in roomOptions) { | ||
(0, import_core20.getLogger)().warn(`The '${param}' parameter on the RoomSession constructor is deprecated. Set it on the '.join()' function instead.`); | ||
} | ||
}); | ||
const client = createClient(userOptions); | ||
@@ -1652,0 +1648,0 @@ const room = client.rooms.makeRoomObject({ |
@@ -32,3 +32,3 @@ import { UserOptions } from '@signalwire/core'; | ||
* | ||
* roomSession.join() | ||
* roomSession.join({ receiveAudio: true, sendVideo: false }) | ||
* ``` | ||
@@ -35,0 +35,0 @@ */ |
@@ -6,3 +6,3 @@ { | ||
"license": "MIT", | ||
"version": "3.15.0-dev.202209201134.39ff206.0", | ||
"version": "3.15.0", | ||
"main": "dist/index.js", | ||
@@ -47,4 +47,4 @@ "module": "dist/index.esm.js", | ||
"dependencies": { | ||
"@signalwire/core": "3.12.0-dev.202209201134.39ff206.0", | ||
"@signalwire/webrtc": "3.5.7-dev.202209201134.39ff206.0", | ||
"@signalwire/core": "3.12.0", | ||
"@signalwire/webrtc": "3.5.7", | ||
"jwt-decode": "^3.1.2" | ||
@@ -51,0 +51,0 @@ }, |
@@ -75,3 +75,3 @@ import { UserOptions, getLogger, VideoAuthorization } from '@signalwire/core' | ||
* | ||
* roomSession.join() | ||
* roomSession.join({ receiveAudio: true, sendVideo: false }) | ||
* ``` | ||
@@ -92,10 +92,10 @@ */ | ||
const deprecatedParams = ['audio', 'video'] | ||
deprecatedParams.forEach((param) => { | ||
if (param in roomOptions) { | ||
getLogger().warn( | ||
`The '${param}' parameter on the RoomSession constructor is deprecated. Set it on the '.join()' function instead.` | ||
) | ||
} | ||
}) | ||
// const deprecatedParams = ['audio', 'video'] | ||
// deprecatedParams.forEach((param) => { | ||
// if (param in roomOptions) { | ||
// getLogger().warn( | ||
// `The '${param}' parameter on the RoomSession constructor is deprecated. Set it on the '.join()' function instead.` | ||
// ) | ||
// } | ||
// }) | ||
@@ -102,0 +102,0 @@ const client = createClient<RoomSession>(userOptions) |
@@ -120,4 +120,6 @@ import { | ||
localVideo.srcObject = localStream | ||
localVideo.disablePictureInPicture = true | ||
localVideo.style.width = '100%' | ||
localVideo.style.height = '100%' | ||
localVideo.style.pointerEvents = 'none' | ||
@@ -124,0 +126,0 @@ myLayer.appendChild(localVideo) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
2203943
22020
+ Added@signalwire/core@3.12.0(transitive)
+ Added@signalwire/webrtc@3.5.7(transitive)
- Removed@signalwire/core@3.12.0-dev.202209201134.39ff206.0(transitive)
- Removed@signalwire/webrtc@3.5.7-dev.202209201134.39ff206.0(transitive)
Updated@signalwire/core@3.12.0
Updated@signalwire/webrtc@3.5.7