websocket.js
Advanced tools
Comparing version 0.1.11 to 0.1.12
{ | ||
"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(); | ||
} | ||
} |
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
209670
2010