Comparing version 0.0.32 to 0.0.33
@@ -25,3 +25,3 @@ // Type definitions for ws | ||
supports: any; | ||
upgradeReq: http.ServerRequest; | ||
upgradeReq: http.IncomingMessage; | ||
protocol: string; | ||
@@ -83,4 +83,4 @@ | ||
type VerifyClientCallbackSync = (info: { origin: string; secure: boolean; req: http.ServerRequest }) => boolean; | ||
type VerifyClientCallbackAsync = (info: { origin: string; secure: boolean; req: http.ServerRequest } | ||
type VerifyClientCallbackSync = (info: { origin: string; secure: boolean; req: http.IncomingMessage }) => boolean; | ||
type VerifyClientCallbackAsync = (info: { origin: string; secure: boolean; req: http.IncomingMessage } | ||
, callback: (res: boolean) => void) => void; | ||
@@ -124,3 +124,3 @@ | ||
close(cb?: () => {}): void; | ||
handleUpgrade(request: http.ServerRequest, socket: net.Socket, | ||
handleUpgrade(request: http.IncomingMessage, socket: net.Socket, | ||
upgradeHead: Buffer, callback: (client: WebSocket) => void): void; | ||
@@ -127,0 +127,0 @@ |
{ | ||
"name": "@types/ws", | ||
"version": "0.0.32", | ||
"version": "0.0.33", | ||
"description": "TypeScript definitions for ws", | ||
@@ -17,3 +17,3 @@ "license": "MIT", | ||
"typings": "index.d.ts", | ||
"typesPublisherContentHash": "86a0a46a928e0b303a9f785e21e661a6d40f91f4c7f0431dcb7e94c674f72eb0" | ||
"typesPublisherContentHash": "614262839f2e003b201893b64f8c4856e1ab5baeafde03d27486e8a0d60ae161" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Wed, 21 Sep 2016 20:25:58 GMT | ||
* Last updated: Fri, 23 Sep 2016 17:58:37 GMT | ||
* File structure: ProperModule | ||
@@ -14,0 +14,0 @@ * Library Dependencies: node |
@@ -31,3 +31,3 @@ { | ||
"hasPackageJson": false, | ||
"contentHash": "86a0a46a928e0b303a9f785e21e661a6d40f91f4c7f0431dcb7e94c674f72eb0" | ||
"contentHash": "614262839f2e003b201893b64f8c4856e1ab5baeafde03d27486e8a0d60ae161" | ||
} |
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
7791