We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c221683 commit 5d22f8dCopy full SHA for 5d22f8d
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "react-native-mqtt-client",
3
- "version": "0.2.1",
+ "version": "0.2.3",
4
"description": "MQTT client for React Native",
5
"main": "lib/commonjs/index",
6
"module": "lib/module/index",
src/index.tsx
@@ -161,7 +161,7 @@ export class MqttClient {
161
*
162
* Resolved when publishing has finished.
163
*/
164
- publish(topic: string, payload: string): Promise<void> {
+ publish(topic: string, payload: number[]): Promise<void> {
165
return MqttClientImpl.publish(topic, payload);
166
}
167
0 commit comments