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

exaquark-js

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

exaquark-js - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

3

lib/index.js

@@ -67,3 +67,2 @@ 'use strict';

this.state = null; // holds the latest client state
this.transport = options.transport || window.WebSocket;

@@ -101,3 +100,3 @@ // this.heartbeatTimer = null

var encodedState = encodeURIComponent(JSON.stringify(initialState));
_this.conn = new _this.transport(_this.entryPoint + '?state=' + encodedState); // eslint-disable-line
_this.conn = new WebSocket(_this.entryPoint + '?state=' + encodedState); // eslint-disable-line
_this.conn.onopen = function (data) {

@@ -104,0 +103,0 @@ return _this.onConnOpen(data);

{
"name": "exaquark-js",
"version": "1.0.5",
"version": "1.0.6",
"description": "JS wrapper for exaquark.com",

@@ -5,0 +5,0 @@ "main": "./lib/index.js",

@@ -53,3 +53,2 @@ import { log } from './utils/private'

this.state = null // holds the latest client state
this.transport = options.transport || window.WebSocket

@@ -79,3 +78,3 @@ // this.heartbeatTimer = null

let encodedState = encodeURIComponent(JSON.stringify(initialState))
this.conn = new this.transport(`${this.entryPoint}?state=${encodedState}`) // eslint-disable-line
this.conn = new WebSocket(`${this.entryPoint}?state=${encodedState}`) // eslint-disable-line
this.conn.onopen = data => this.onConnOpen(data)

@@ -82,0 +81,0 @@ this.conn.onerror = error => this.onConnError(error)

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