@conectar/conectar-ws
Advanced tools
Comparing version 0.0.11 to 0.0.12
@@ -7,3 +7,3 @@ // Type definitions for Wire.js 0.0.1 | ||
declare module 'conectar-ws' { | ||
declare module '@conectar/conectar-ws' { | ||
interface Wire { | ||
@@ -70,3 +70,3 @@ add_stream( | ||
send(action: string, data: object): void; | ||
share_screen(peer_id?: string): Promise<void[]>; | ||
share_screen(peer_id?: string): Promise<void>; | ||
start_camera(): Promise<MediaStream>; | ||
@@ -73,0 +73,0 @@ start_mic(): Promise<MediaStream>; |
@@ -314,3 +314,4 @@ export default class Wire { | ||
}) | ||
.then(response => (response.json() ? response.json() : response)); | ||
.then(response => (response.json() ? response.json() : response)) | ||
.catch(err => console.error('Wire Request Error', err)); | ||
} | ||
@@ -535,3 +536,3 @@ | ||
async share_screen(peer_id) { | ||
share_screen(peer_id) { | ||
return new Promise((resolve, reject) => { | ||
@@ -538,0 +539,0 @@ if (!this.local_streams.screen) { |
{ | ||
"name": "@conectar/conectar-ws", | ||
"version": "0.0.11", | ||
"version": "0.0.12", | ||
"description": "Conectar WS connections", | ||
@@ -5,0 +5,0 @@ "main": "dist/wire.js", |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
285881
10
756
0