From 5d22f8d03ed55d19d9eda5604fe20a4fbc63b01c Mon Sep 17 00:00:00 2001 From: Alessio Emireni Date: Tue, 10 Oct 2023 13:05:05 +0200 Subject: [PATCH] feat(ts-any): app-839 ts-any src/utils/virtualDevice.ts --- package.json | 2 +- src/index.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index a8c764a..6979e5a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-mqtt-client", - "version": "0.2.1", + "version": "0.2.3", "description": "MQTT client for React Native", "main": "lib/commonjs/index", "module": "lib/module/index", diff --git a/src/index.tsx b/src/index.tsx index 9f0f470..04de92a 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -161,7 +161,7 @@ export class MqttClient { * * Resolved when publishing has finished. */ - publish(topic: string, payload: string): Promise { + publish(topic: string, payload: number[]): Promise { return MqttClientImpl.publish(topic, payload); }