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

websocket.js

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

websocket.js - npm Package Compare versions

Comparing version 0.1.11 to 0.1.12

2

package.json
{
"name": "websocket.js",
"version": "0.1.11",
"version": "0.1.12",
"description": "WebSocket browser client with reconnect back-off feature.",

@@ -5,0 +5,0 @@ "repository": {

@@ -22,6 +22,6 @@ declare module "websocket.js" {

onCloseCallback (): void;
onErrorCallback (): void;
onMessageCallback (): void;
onOpenCallback (): void;
onCloseCallback (event?: Event): void;
onErrorCallback (event?: Event): void;
onMessageCallback (event?: Event): void;
onOpenCallback (event?: Event): void;
}

@@ -28,0 +28,0 @@

@@ -8,1 +8,7 @@ ///<reference path="index.d.ts"/>

wsClient.onmessage = () => {};
class MyClient extends WebSocketClient {
onMessageCallback (event) {
super.onMessageCallback();
}
}
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