socketcluster-client
Advanced tools
Comparing version 18.1.3 to 18.2.0
@@ -42,3 +42,2 @@ const StreamDemux = require('stream-demux'); | ||
timestampParam: 't', | ||
authTokenName: 'socketcluster.authToken', | ||
binaryType: 'arraybuffer', | ||
@@ -54,2 +53,7 @@ batchOnHandshake: false, | ||
if (opts.authTokenName == null) { | ||
let authHostString = opts.host ? `.${opts.host}` : `.${opts.hostname || 'localhost'}${opts.port ? `:${opts.port}` : ''}`; | ||
opts.authTokenName = `socketcluster.authToken${authHostString}`; | ||
} | ||
this.id = null; | ||
@@ -56,0 +60,0 @@ this.version = opts.version || null; |
{ | ||
"name": "socketcluster-client", | ||
"description": "SocketCluster JavaScript client", | ||
"version": "18.1.3", | ||
"version": "18.2.0", | ||
"homepage": "https://socketcluster.io/", | ||
@@ -6,0 +6,0 @@ "contributors": [ |
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
216725
3434