Comparing version 1.4.3 to 1.4.4
@@ -26,3 +26,3 @@ "use strict"; | ||
this.executePeriodically = (ms, cb) => setInterval(cb, ms); | ||
this.stopExecuting = clearInterval; | ||
this.stopExecuting = ref => clearInterval(ref); | ||
this.executeDelayed = (ms, cb) => setTimeout(cb, ms); | ||
@@ -29,0 +29,0 @@ this.flowCounter = mqtt_utilities_1.createFlowCounter(); |
@@ -30,3 +30,3 @@ import { ConnectRequestOptions } from './packets'; | ||
export declare type ExecuteDelayed = (timeInMs: number, action: () => void) => TimerRef; | ||
export declare type StopExecuting = (ref: any) => void; | ||
export declare type StopExecuting = (ref: TimerRef) => void; | ||
export declare type AsyncLike<TIn, TOut> = (data: TIn) => TOut | PromiseLike<TOut>; | ||
@@ -33,0 +33,0 @@ export interface ListenerInfo<TIn, TOut> { |
{ | ||
"name": "mqtts", | ||
"version": "1.4.3", | ||
"version": "1.4.4", | ||
"description": "MQTT client in Typescript", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
174449