Skip to content

Commit 5d22f8d

Browse files
feat(ts-any): app-839 ts-any src/utils/virtualDevice.ts
1 parent c221683 commit 5d22f8d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-mqtt-client",
3-
"version": "0.2.1",
3+
"version": "0.2.3",
44
"description": "MQTT client for React Native",
55
"main": "lib/commonjs/index",
66
"module": "lib/module/index",

src/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ export class MqttClient {
161161
*
162162
* Resolved when publishing has finished.
163163
*/
164-
publish(topic: string, payload: string): Promise<void> {
164+
publish(topic: string, payload: number[]): Promise<void> {
165165
return MqttClientImpl.publish(topic, payload);
166166
}
167167

0 commit comments

Comments
 (0)