Skip to content

Commit c64397d

Browse files
committed
Bumped version .21
1 parent d2748c5 commit c64397d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

ios/RCTMqtt.m

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,14 @@ -(void)stopObserving {
6868
RCT_EXPORT_METHOD(createClient:(NSDictionary *) options
6969
resolver:(RCTPromiseResolveBlock)resolve
7070
rejecter:(RCTPromiseRejectBlock)reject) {
71-
71+
7272
NSString *clientRef = [[NSProcessInfo processInfo] globallyUniqueString];
73-
73+
7474
Mqtt *client = [[Mqtt allocWithZone: nil] initWithEmitter:self options:options clientRef:clientRef];
75-
75+
7676
[[self clients] setObject:client forKey:clientRef];
7777
resolve(clientRef);
78-
78+
7979
}
8080

8181
RCT_EXPORT_METHOD(removeClient:(nonnull NSString *) clientRef) {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sp-react-native-mqtt",
3-
"version": "0.4.20",
3+
"version": "0.4.21",
44
"description": "MQTT client for react-native",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)