@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
|
|
41
|
+
static isLocation(type) {
|
|
42
42
|
return type === MessageTypes.LOCATION;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
static
|
|
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
|
|
53
|
+
static isInfo(type) {
|
|
54
54
|
return type === MessageTypes.INFO;
|
|
55
55
|
}
|
|
56
56
|
|