@types/paho-mqtt
Advanced tools
Comparing version 1.0.5 to 1.0.6
@@ -68,4 +68,3 @@ // Type definitions for paho-mqtt 1.0 | ||
} | ||
interface ErrorWithInvocationContext extends MQTTError, WithInvocationContext { | ||
} | ||
interface ErrorWithInvocationContext extends MQTTError, WithInvocationContext {} | ||
interface OnSubscribeSuccessParams extends WithInvocationContext { | ||
@@ -159,2 +158,6 @@ grantedQos: Qos; | ||
/** | ||
* If set to true, will force the connection to use the selected MQTT Version or will fail to connect. | ||
*/ | ||
mqttVersionExplicit?: boolean | undefined; | ||
/** | ||
* Called when the connect request has failed or timed out. | ||
@@ -173,2 +176,17 @@ */ | ||
ports?: number[] | undefined; | ||
/** | ||
* Sets whether the client will automatically attempt to reconnect | ||
* to the server if the connection is lost. | ||
*/ | ||
reconnect?: boolean | undefined; | ||
/** | ||
* If present, should contain a list of fully qualified WebSocket | ||
* uris (e.g. ws://mqtt.eclipseprojects.io:80/mqtt), that are tried | ||
* in order in place of the host and port parameter of the | ||
* construtor. The uris are tried one at a time in order until one | ||
* of them succeeds. Do not use this in conjunction with hosts as | ||
* the hosts array will be converted to uris and will overwrite this | ||
* property. | ||
*/ | ||
uris?: string[] | undefined; | ||
} | ||
@@ -212,3 +230,3 @@ | ||
interface TraceElement { | ||
severity: "Debug"; | ||
severity: 'Debug'; | ||
message: string; | ||
@@ -215,0 +233,0 @@ } |
{ | ||
"name": "@types/paho-mqtt", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "TypeScript definitions for paho-mqtt", | ||
@@ -23,4 +23,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/paho-mqtt", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "c2c61c6a669955834061b8023780d4d12a6d632c8dc79b3ac5eb7d30cb2a9c8e", | ||
"typeScriptVersion": "3.6" | ||
"typesPublisherContentHash": "76cebdbed4629535c74a94c921e89e3dde64e045e1d8ee7eefbc8f8e98575e0b", | ||
"typeScriptVersion": "3.8" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Thu, 08 Jul 2021 20:19:15 GMT | ||
* Last updated: Fri, 03 Dec 2021 21:01:01 GMT | ||
* Dependencies: none | ||
@@ -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
23945
430