quiq-socket
Advanced tools
Comparing version 0.4.6 to 0.4.7
@@ -75,2 +75,3 @@ type Timeout = ReturnType<typeof setTimeout>; | ||
_isDead: boolean; | ||
_isDestroyed: boolean; | ||
_log: Logging; | ||
@@ -119,2 +120,7 @@ constructor(); | ||
/** | ||
* (1) Kills: Disconnects the websocket and prevents it from being re-connected. | ||
* (2) Removes all event listeners. | ||
*/ | ||
destroy: () => QuiqSocket; | ||
/** | ||
* Verifies websocket connectivity. Checks the time since the last received heartbeat response | ||
@@ -121,0 +127,0 @@ * to make sure it's within the heartbeat frequency. If it isn't, initiates reconnection. If it is, |
{ | ||
"name": "quiq-socket", | ||
"version": "0.4.6", | ||
"version": "0.4.7", | ||
"description": "WebSocket API wrapper with automatic retry handling and heartbeat", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
226852
10
5872
1