Comparing version 6.8.5 to 6.9.0
{ | ||
"name": "ngx-mqtt", | ||
"version": "6.8.5", | ||
"version": "6.9.0", | ||
"description": "ngx mqtt client library", | ||
@@ -5,0 +5,0 @@ "main": "bundles/ngx-mqtt.min.js", |
@@ -0,1 +1,2 @@ | ||
/// <reference types="node" /> | ||
import { EventEmitter } from '@angular/core'; | ||
@@ -84,3 +85,3 @@ import { IClientSubscribeOptions } from 'mqtt'; | ||
*/ | ||
publish(topic: string, message: any, options?: IPublishOptions): Observable<void>; | ||
publish(topic: string, message: string | Buffer, options?: IPublishOptions): Observable<void>; | ||
/** | ||
@@ -90,3 +91,3 @@ * This method publishes a message for a topic with optional options. | ||
*/ | ||
unsafePublish(topic: string, message: any, options?: IPublishOptions): void; | ||
unsafePublish(topic: string, message: string | Buffer, options?: IPublishOptions): void; | ||
/** | ||
@@ -93,0 +94,0 @@ * This static method shall be used to determine whether a MQTT |
Sorry, the diff of this file is not supported yet
526581
29
1596