Comparing version 0.1.6 to 0.1.7
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13162