@types/cometd
Advanced tools
Comparing version 4.0.10 to 4.0.11
@@ -11,2 +11,10 @@ // Type definitions for CometD 4.0 | ||
export interface Transport { | ||
readonly type: string; | ||
url: string; | ||
accept(version: string, crossDomain: boolean, url: string): boolean; | ||
abort(): void; | ||
} | ||
export interface Configuration { | ||
@@ -546,2 +554,7 @@ /** | ||
/** | ||
* Returns the transport object associated with this CometD object | ||
*/ | ||
getTransport(): Transport | null; | ||
/** | ||
* Handler invoked every time a listener or subscriber throws an exception. | ||
@@ -567,2 +580,9 @@ * | ||
websocketEnabled: boolean; | ||
/** | ||
* Function attached to the CometD instance when the ReloadExtension is registered | ||
* | ||
* @param config the configuration object for the ReloadExtension | ||
*/ | ||
reload?: (config?: { name?: string }) => void; | ||
} |
{ | ||
"name": "@types/cometd", | ||
"version": "4.0.10", | ||
"version": "4.0.11", | ||
"description": "TypeScript definitions for CometD", | ||
@@ -43,4 +43,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/cometd", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "52b2e91c0bcf8d7a2431ed0d9f8d2d8bb52a1cbfa47c4adf744f901393487adf", | ||
"typeScriptVersion": "3.6" | ||
"typesPublisherContentHash": "92fe4e89336daa2103f687a493bfb388faf8173056e18e6a5ca8c2d095f58967", | ||
"typeScriptVersion": "3.7" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Thu, 08 Jul 2021 09:08:03 GMT | ||
* Last updated: Tue, 14 Sep 2021 21:01:31 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: none |
26669
8
584