Comparing version 10.0.4-beta.1 to 10.0.4-beta.2
@@ -113,5 +113,4 @@ "use strict"; | ||
closeConnection() { | ||
var _a, _b; | ||
(_a = this.socket) === null || _a === void 0 ? void 0 : _a.removeAllListeners(); | ||
(_b = this.socket) === null || _b === void 0 ? void 0 : _b.close(); | ||
var _a; | ||
(_a = this.socket) === null || _a === void 0 ? void 0 : _a.terminate(); | ||
this.closed = true; | ||
@@ -118,0 +117,0 @@ } |
{ | ||
"name": "newsware", | ||
"version": "10.0.4-beta.1", | ||
"version": "10.0.4-beta.2", | ||
"description": "Typescript client for interacting with the Newsware API", | ||
@@ -5,0 +5,0 @@ "main": "lib/src/index.js", |
@@ -125,6 +125,5 @@ import WebSocket, { CloseEvent, ErrorEvent, MessageEvent } from "isomorphic-ws"; | ||
closeConnection() { | ||
this.socket?.removeAllListeners() | ||
this.socket?.close() | ||
this.socket?.terminate() | ||
this.closed = true | ||
} | ||
} |
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
103221
2019