Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/paho-mqtt

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/paho-mqtt - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

40

paho-mqtt/index.d.ts

@@ -123,9 +123,9 @@ // Type definitions for paho-mqtt 1.0

*/
timeout?: number;
timeout?: number | undefined;
/** Authentication username for this connection. */
userName?: string;
userName?: string | undefined;
/** Authentication password for this connection. */
password?: string;
password?: string | undefined;
/** Sent by the server when the client disconnects abnormally. */
willMessage?: Message;
willMessage?: Message | undefined;
/**

@@ -135,3 +135,3 @@ * The server disconnects this client if there is no activity for this number of seconds.

*/
keepAliveInterval?: number;
keepAliveInterval?: number | undefined;
/**

@@ -141,5 +141,5 @@ * If true(default) the client and server persistent state is deleted on successful connect.

*/
cleanSession?: boolean;
cleanSession?: boolean | undefined;
/** If present and true, use an SSL Websocket connection. */
useSSL?: boolean;
useSSL?: boolean | undefined;
/** Passed to the onSuccess callback or onFailure callback. */

@@ -150,3 +150,3 @@ invocationContext?: any;

*/
onSuccess?: OnSuccessCallback;
onSuccess?: OnSuccessCallback | undefined;
/**

@@ -160,7 +160,7 @@ * Specifies the mqtt version to use when connecting

*/
mqttVersion?: 3 | 4;
mqttVersion?: 3 | 4 | undefined;
/**
* Called when the connect request has failed or timed out.
*/
onFailure?: OnFailureCallback;
onFailure?: OnFailureCallback | undefined;
/**

@@ -171,7 +171,7 @@ * If present this contains either a set of hostnames or fully qualified

*/
hosts?: string[];
hosts?: string[] | undefined;
/**
* If present the set of ports matching the hosts. If hosts contains URIs, this property is not used.
*/
ports?: number[];
ports?: number[] | undefined;
}

@@ -184,9 +184,9 @@

/** the maximum qos of any publications sent as a result of making this subscription. */
qos?: Qos;
qos?: Qos | undefined;
/** passed to the onSuccess callback or onFailure callback. */
invocationContext?: any;
/** called when the subscribe acknowledgement has been received from the server. */
onSuccess?: OnSubscribeSuccessCallback;
onSuccess?: OnSubscribeSuccessCallback | undefined;
/** called when the subscribe request has failed or timed out. */
onFailure?: OnFailureCallback;
onFailure?: OnFailureCallback | undefined;
/**

@@ -197,3 +197,3 @@ * timeout which, if present, determines the number of seconds after which the onFailure calback is called.

*/
timeout?: number;
timeout?: number | undefined;
}

@@ -205,5 +205,5 @@

/** called when the unsubscribe acknowledgement has been received from the server. */
onSuccess?: OnSuccessCallback;
onSuccess?: OnSuccessCallback | undefined;
/** called when the unsubscribe request has failed or timed out. */
onFailure?: OnFailureCallback;
onFailure?: OnFailureCallback | undefined;
/**

@@ -214,3 +214,3 @@ * timeout which, if present, determines the number of seconds after which the onFailure calback is called.

*/
timeout?: number;
timeout?: number | undefined;
}

@@ -259,3 +259,3 @@

/** function called with trace information, if set */
trace?: TraceFunction;
trace?: TraceFunction | undefined;

@@ -262,0 +262,0 @@ /**

{
"name": "@types/paho-mqtt",
"version": "1.0.4",
"version": "1.0.5",
"description": "TypeScript definitions for paho-mqtt",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/paho-mqtt",
"license": "MIT",

@@ -14,11 +15,12 @@ "contributors": [

"main": "",
"types": "index",
"types": "index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git"
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/paho-mqtt"
},
"scripts": {},
"dependencies": {},
"typesPublisherContentHash": "8349ff8131b411a43c797ea8f29db894f4f8369341ce30c89957ec90dba73d13",
"typeScriptVersion": "2.1"
"typesPublisherContentHash": "c2c61c6a669955834061b8023780d4d12a6d632c8dc79b3ac5eb7d30cb2a9c8e",
"typeScriptVersion": "3.6"
}

@@ -8,6 +8,6 @@ # Installation

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/paho-mqtt
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/paho-mqtt.
Additional Details
* Last updated: Tue, 06 Nov 2018 18:36:12 GMT
### Additional Details
* Last updated: Thu, 08 Jul 2021 20:19:15 GMT
* Dependencies: none

@@ -17,2 +17,2 @@ * Global values: none

# Credits
These definitions were written by Alex Mikhalev <https://github.com/amikhalev>.
These definitions were written by [Alex Mikhalev](https://github.com/amikhalev).

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc