@zohoim/client-sdk 1.0.0-poc71 → 1.0.0-poc72

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.
@@ -38,11 +38,11 @@ export default class Message {
38
38
  };
39
39
  }
40
40
 
41
- static isLocationMessage(type) {
41
+ static isLocation(type) {
42
42
  return type === MessageTypes.LOCATION;
43
43
  }
44
44
 
45
- static isDeletedMessage(status) {
45
+ static isDeleted(status) {
46
46
  return status === MessageStatus.DELETED;
47
47
  }
48
48
 
@@ -50,7 +50,7 @@ export default class Message {
50
50
  return direction === MessageDirection.OUT;
51
51
  }
52
52
 
53
- static isInfoMessage(type) {
53
+ static isInfo(type) {
54
54
  return type === MessageTypes.INFO;
55
55
  }
56
56
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohoim/client-sdk",
3
- "version": "1.0.0-poc71",
3
+ "version": "1.0.0-poc72",
4
4
  "description": "To have the client sdk for the IM",
5
5
  "main": "es/index.js",
6
6
  "module": "es/index.js",