We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c221683 + 5d22f8d commit 4eff139Copy full SHA for 4eff139
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