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

newsware

Package Overview
Dependencies
Maintainers
1
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

newsware - npm Package Compare versions

Comparing version 10.0.0-beta.9 to 10.0.0-beta.10

4

lib/src/wsApi.js

@@ -27,3 +27,5 @@ "use strict";

this.apikey = apikey;
this.closeConnection();
if (this.socket.readyState === isomorphic_ws_1.default.OPEN) {
this.closeConnection();
}
this.connect();

@@ -30,0 +32,0 @@ }

{
"name": "newsware",
"version": "10.0.0-beta.9",
"version": "10.0.0-beta.10",
"description": "Typescript client for interacting with the Newsware API",

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

@@ -31,3 +31,5 @@ import { ConnectOptions, SubscribeOptions, WebsocketRequest, WebsocketResponse, } from "./types";

this.apikey = apikey
this.closeConnection()
if (this.socket.readyState === WebSocket.OPEN) {
this.closeConnection()
}
this.connect()

@@ -34,0 +36,0 @@ }

Sorry, the diff of this file is not supported yet

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