Skip to content

Commit 4eff139

Browse files
authored
Merge pull request #13 from arduino/feat/APP-839-ts-any-virtualdevice
feat(ts-any): app-839 ts-any src/utils/virtualDevice.ts
2 parents c221683 + 5d22f8d commit 4eff139

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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)