airfone-client-js
Advanced tools
Comparing version 0.0.9 to 0.0.10
@@ -30,11 +30,8 @@ import { io } from 'socket.io-client'; | ||
this.state = 1; | ||
let opts = { | ||
this.socket = io(`${win.AF_SERVER || server || '/'}`, { | ||
query: { id, room, role }, | ||
transports: ['websocket'], | ||
auth: { token }, | ||
secure: true | ||
}; | ||
if (token) { | ||
opts.auth = { token }; | ||
} | ||
this.socket = io(`${win.AF_SERVER || server || '/'}`, opts).compress(true).on('connect', () => { | ||
}).compress(true).on('connect', () => { | ||
var _a; | ||
@@ -41,0 +38,0 @@ this.state = 2; |
{ | ||
"name": "airfone-client-js", | ||
"version": "0.0.9", | ||
"version": "0.0.10", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index", |
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
7102
168