juggleim-rnsdk 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -426,8 +426,7 @@ RCT_EXPORT_METHOD(addConversationDelegate) {
426
426
  - (NSDictionary *)convertMessageToDictionary:(JMessage *)message {
427
427
  NSMutableDictionary *dict = [NSMutableDictionary dictionary];
428
428
  dict[@"messageId"] = message.messageId ?: @"";
429
- dict[@"clientMsgNo"] =
430
- [NSString stringWithFormat:@"%lld", message.clientMsgNo];
429
+ dict[@"clientMsgNo"] = @(message.clientMsgNo);
431
430
  dict[@"timestamp"] = @(message.timestamp);
432
431
  dict[@"senderUserId"] = message.senderUserId ?: @"";
433
432
  dict[@"conversation"] =
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "juggleim-rnsdk",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "React Native wrapper for Juggle IM SDK",
5
5
  "main": "src/index.js",
6
6
  "types": "src/index.d.ts",