13 Commits (ddfd32a3d71e81813677e167283b3d3a191e6a26)

Author SHA1 Message Date
Alexandr Tovmach ddfd32a3d7
fix: Extended typings for "callMethod"
Based on Realtime API docs, method call should support `null` for dates
https://docs.rocket.chat/api/realtime-api/method-calls/load-history
4 years ago
Viraj Trivedi 3ca05bd590 feat: Removed option to pass webSocket to constructor.
Only url or websocket config can be passed to the constructor.
6 years ago
Viraj Trivedi 4eb0ce4546 feat: keepAlive() method returns an Observable.
keepAlive() method returns an Observable to subscribe to send ping - pong messages to server.

#44
7 years ago
Viraj Trivedi 7cd295bc63 feat: Updated the current code to RxJS 6.
#32
7 years ago
Viraj Trivedi 3b27a49de5 refactor: Linted existing code.
#35
7 years ago
Viraj Trivedi 1b11cc5ce7 fix: Changed the filtering of "added" message
Changed the filtering of "added" message in getLoginObservable. Removing all the imperative array
access and handling async stream with buffer.

#30
7 years ago
Kawin f3c05c1265 Add disconnect method & Update documentation 7 years ago
Yiin bb04f0ff83
Use uuid.v4 instead of v1
v1 is based on timestamp, and gives same uuid when methods/subscriptions are called at the same time.
7 years ago
Viraj Trivedi 0180c5249a Login with Username and Email 8 years ago
Viraj Trivedi 8bad3e1cfa Subscription Method Added 8 years ago
Viraj Trivedi ce28bd48ca Generic Method for Realtime API method calls 8 years ago
Viraj Trivedi cf9296cfae Implementation of Methods for Login 8 years ago
Viraj Trivedi d52a4547bc Implementation of Basic Methods of RealTime API Class 8 years ago