@types/websocket
Advanced tools
Comparing version 0.0.38 to 0.0.39
@@ -673,2 +673,31 @@ // Type definitions for websocket | ||
declare class w3cwebsocket { | ||
static CONNECTING: number; | ||
static OPEN: number; | ||
static CLOSING: number; | ||
static CLOSED: number; | ||
url: string; | ||
readyState: number; | ||
protocol?: string; | ||
extenstions: IExtension[]; | ||
bufferedAmount: number; | ||
CONNECTING: number; | ||
OPEN: number; | ||
CLOSING: number; | ||
CLOSED: number; | ||
onopen: () => void; | ||
onerror: (error: Error) => void; | ||
onclose: () => void; | ||
onmessage: (message: any) => void; | ||
constructor(url: string, protocols?: string[], origin?: string, headers?: any[], requestOptions?: object, clientConfig?: IClientConfig); | ||
send(data: Buffer): void; | ||
send(data: IStringified): void; | ||
close(code?: number, reason?: string): void; | ||
} | ||
export declare var version: string; | ||
@@ -675,0 +704,0 @@ export declare var constants: { |
{ | ||
"name": "@types/websocket", | ||
"version": "0.0.38", | ||
"version": "0.0.39", | ||
"description": "TypeScript definitions for websocket", | ||
@@ -31,3 +31,3 @@ "license": "MIT", | ||
"type": "git", | ||
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git.git" | ||
}, | ||
@@ -39,4 +39,4 @@ "scripts": {}, | ||
}, | ||
"typesPublisherContentHash": "26f4cc912508ab45ff3c86bd71a7909f6ade94189c80c1b150295d7670ce2a20", | ||
"typesPublisherContentHash": "ed6c43e56365d988b052ff7c0e0af279649cc55a165a8b1dc733126a8e1688af", | ||
"typeScriptVersion": "2.2" | ||
} |
@@ -8,6 +8,6 @@ # Installation | ||
# Details | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/websocket | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped.git/tree/master/types/websocket | ||
Additional Details | ||
* Last updated: Fri, 09 Mar 2018 00:09:14 GMT | ||
* Last updated: Fri, 04 May 2018 23:55:56 GMT | ||
* Dependencies: events, http, https, net, url, 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
28743
597