Comparing version 3.0.1 to 3.0.2
@@ -46,4 +46,4 @@ // Type definitions for ws 3.0 | ||
resume(): void; | ||
ping(data?: any, options?: { mask?: boolean; binary?: boolean }, dontFail?: boolean): void; | ||
pong(data?: any, options?: { mask?: boolean; binary?: boolean }, dontFail?: boolean): void; | ||
ping(data?: any, mask?: boolean, dontFail?: boolean): void; | ||
pong(data?: any, mask?: boolean, dontFail?: boolean): void; | ||
send(data: any, cb?: (err: Error) => void): void; | ||
@@ -80,4 +80,4 @@ send(data: any, options: { mask?: boolean; binary?: boolean }, cb?: (err: Error) => void): void; | ||
addListener(event: 'message', cb: (data: WebSocket.Data, flags: { binary: boolean }) => void): this; | ||
addListener(event: 'ping', cb: (data: Buffer, flags: { binary: boolean }) => void): this; | ||
addListener(event: 'pong', cb: (data: Buffer, flags: { binary: boolean }) => void): this; | ||
addListener(event: 'ping', cb: (data: Buffer) => void): this; | ||
addListener(event: 'pong', cb: (data: Buffer) => void): this; | ||
addListener(event: 'open', cb: () => void): this; | ||
@@ -84,0 +84,0 @@ addListener(event: 'unexpected-response', cb: (request: http.ClientRequest, response: http.IncomingMessage) => void): this; |
{ | ||
"name": "@types/ws", | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"description": "TypeScript definitions for ws", | ||
@@ -26,4 +26,4 @@ "license": "MIT", | ||
"peerDependencies": {}, | ||
"typesPublisherContentHash": "8b097cc9bd92c921da3ce93bdc63879e313678895b5e6473bb86414194d7a463", | ||
"typesPublisherContentHash": "f999096b92a8e9ec7212a0aabfd3223b87125210631e16fe3bd608095b5d227c", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Thu, 06 Jul 2017 14:05:07 GMT | ||
* Last updated: Mon, 10 Jul 2017 19:46:47 GMT | ||
* Dependencies: events, http, https, net, node | ||
@@ -14,0 +14,0 @@ * Global values: none |
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
10186