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 0.1.6 to 0.1.7

2

package.json
{
"name": "newsware",
"version": "0.1.6",
"version": "0.1.7",
"description": "Typescript client for interacting with the Newsware API",

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

import {ApiHost, Filter, News} from "./types";
import Websocket, {CloseEvent, ErrorEvent, MessageEvent} from "isomorphic-ws"
import IsoWebsocket, {CloseEvent, ErrorEvent, MessageEvent} from "isomorphic-ws"

@@ -21,3 +21,3 @@ export class Api {

})
const socket = new Websocket(`ws://${this.host}/v1/ws/news&${urlParams.toString()}`)
const socket = new IsoWebsocket(`ws://${this.host}/v1/ws/news&${urlParams.toString()}`)

@@ -24,0 +24,0 @@ socket.onmessage = (event: MessageEvent) => {

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