react-native-matrix-sdk
Advanced tools
Comparing version
# Changelog | ||
## 1.0.0-alpha68 | ||
- Removed age property from events | ||
- Added `getRoom(roomId)` functionality | ||
## 1.0.0-alpha67 | ||
@@ -4,0 +9,0 @@ |
{ | ||
"name": "react-native-matrix-sdk", | ||
"title": "React Native Matrix Sdk", | ||
"version": "1.0.0-alpha67", | ||
"version": "1.0.0-alpha68", | ||
"description": "React Native SDK for Matrix.org", | ||
@@ -6,0 +6,0 @@ "main": "index.js", |
@@ -30,9 +30,2 @@ declare interface MXCredentials { | ||
/** | ||
* The age of the event in milliseconds. | ||
* As home servers clocks may be not synchronised, this relative value may be more accurate. | ||
* It is computed by the user's home server each time it sends the event to a client. | ||
* Then, the SDK updates it each time the property is read (this doesn't work reliable yet). | ||
*/ | ||
age: number; | ||
/** | ||
* The timestamp in ms since Epoch generated by the origin homeserver when it receives the event | ||
@@ -155,2 +148,8 @@ * from the client. | ||
/** | ||
* Gets a single room (left rooms included). | ||
* Will reject if room does not exist. | ||
*/ | ||
getRoom(): Promise<MXRoomAttributes[]>; | ||
getInvitedRooms(): Promise<MXRoomAttributes[]>; | ||
@@ -157,0 +156,0 @@ getPublicRooms(url: string): Promise<PublicRoom[]>; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
757447
0.21%1525
1.4%