Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

socketcluster-client

Package Overview
Dependencies
Maintainers
1
Versions
236
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

socketcluster-client - npm Package Compare versions

Comparing version 18.1.3 to 18.2.0

6

lib/clientsocket.js

@@ -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;

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc