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

@aurox/persistent-websocket-connection

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aurox/persistent-websocket-connection - npm Package Compare versions

Comparing version 0.0.1 to 0.1.0

4

dist/PersistentWebsocketConnection.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const isomorphic_ws_1 = tslib_1.__importDefault(require("isomorphic-ws"));
const defaults_1 = require("./defaults");

@@ -187,3 +189,3 @@ class PersistentWebsocketConnection {

this.logger.debug(`Attempting to connect to ${this.url}.`);
this.connection = new WebSocket(this.url);
this.connection = new isomorphic_ws_1.default(this.url);
this.connection.onopen = this.handleOpen;

@@ -190,0 +192,0 @@ this.connection.onmessage = this.handleMessage;

@@ -0,1 +1,2 @@

import { MessageEvent } from 'ws';
export interface PersistentWebsocketConnectionPingPongOptions {

@@ -2,0 +3,0 @@ enabled: boolean;

{
"name": "@aurox/persistent-websocket-connection",
"version": "0.0.1",
"version": "0.1.0",
"description": "Aurox Persistent Websocket Connection",

@@ -8,3 +8,3 @@ "main": "dist/index.js",

"scripts": {
"prepublishOnly": "npm test && npm run build",
"prepublishOnly": "npm run build",
"build": "npm run clean && tsc",

@@ -29,4 +29,7 @@ "clean": "rimraf ./dist"

"@types/node": "^12.7.5",
"tslib": "^1.10.0"
"@types/ws": "^6.0.3",
"isomorphic-ws": "^4.0.1",
"tslib": "^1.10.0",
"ws": "^7.1.2"
}
}
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