Comparing version 5.1.2 to 6.0.0
@@ -1,2 +0,2 @@ | ||
// Type definitions for ws 5.1 | ||
// Type definitions for ws 6.0 | ||
// Project: https://github.com/websockets/ws | ||
@@ -123,3 +123,3 @@ // Definitions by: Paul Loyd <https://github.com/loyd> | ||
type VerifyClientCallbackAsync = (info: { origin: string; secure: boolean; req: http.IncomingMessage } | ||
, callback: (res: boolean, code?: number, message?: string) => void) => void; | ||
, callback: (res: boolean, code?: number, message?: string, headers?: http.OutgoingHttpHeaders) => void) => void; | ||
@@ -145,2 +145,3 @@ interface ClientOptions { | ||
ca?: CertMeta; | ||
maxPayload?: number; | ||
} | ||
@@ -153,4 +154,13 @@ | ||
clientMaxWindowBits?: number; | ||
level?: number; | ||
memLevel?: number; | ||
zlibDeflateOptions?: { | ||
flush?: number; | ||
finishFlush?: number; | ||
chunkSize?: number; | ||
windowBits?: number; | ||
level?: number; | ||
memLevel?: number; | ||
strategy?: number; | ||
dictionary?: Buffer | Buffer[] | DataView; | ||
info?: boolean; | ||
}; | ||
threshold?: number; | ||
@@ -157,0 +167,0 @@ concurrencyLimit?: number; |
{ | ||
"name": "@types/ws", | ||
"version": "5.1.2", | ||
"version": "6.0.0", | ||
"description": "TypeScript definitions for ws", | ||
@@ -43,4 +43,4 @@ "license": "MIT", | ||
}, | ||
"typesPublisherContentHash": "8b5bb212f4589181238778c47f30acac73104ec397b8ff04f03b571834fa673b", | ||
"typesPublisherContentHash": "485cc819a3e474f23677a0b60a530981b5ac1c9abcabfe606a81dfa97d5713e6", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Thu, 07 Jun 2018 19:55:42 GMT | ||
* Last updated: Tue, 14 Aug 2018 00:52:13 GMT | ||
* Dependencies: events, http, https, net, node | ||
@@ -14,0 +14,0 @@ * Global values: none |
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
12789
189