105 Commits (master)
 

Author SHA1 Message Date
Lei OT 288be11acf 1 1 year ago
Viraj Trivedi 8216ccedf4
Merge pull request #71 from alexandrtovmach/patch-1
fix: Extended typings for "callMethod"
2 years ago
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 2b5a156604
Merge pull request #70 from meetever/master
Update README.md
5 years ago
chris-makaio 6d608bb8a2
Update README.md
fix wrong reference to "realTimeApi" in README.md
5 years ago
Viraj Trivedi fcdb89ee05
Merge pull request #59 from inf3cti0n95/dependabot/npm_and_yarn/https-proxy-agent-2.2.4
build(deps): bump https-proxy-agent from 2.2.1 to 2.2.4
5 years ago
Viraj Trivedi 3170a763b0
Merge pull request #58 from inf3cti0n95/dependabot/npm_and_yarn/acorn-5.7.4
build(deps): bump acorn from 5.7.3 to 5.7.4
5 years ago
dependabot[bot] c0bdf0e481
build(deps): bump https-proxy-agent from 2.2.1 to 2.2.4
Bumps [https-proxy-agent](https://github.com/TooTallNate/node-https-proxy-agent) from 2.2.1 to 2.2.4.
- [Release notes](https://github.com/TooTallNate/node-https-proxy-agent/releases)
- [Commits](https://github.com/TooTallNate/node-https-proxy-agent/compare/2.2.1...2.2.4)

Signed-off-by: dependabot[bot] <support@github.com>
5 years ago
dependabot[bot] bdd70c784a
build(deps): bump acorn from 5.7.3 to 5.7.4
Bumps [acorn](https://github.com/acornjs/acorn) from 5.7.3 to 5.7.4.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/5.7.3...5.7.4)

Signed-off-by: dependabot[bot] <support@github.com>
5 years ago
Viraj Trivedi 2dc4ef6361
Merge pull request #55 from inf3cti0n95/security-patch
chore: upgraded critical package updates
6 years ago
Viraj Trivedi 2c9230fd53 chore: upgraded critical package updates 6 years ago
Viraj Trivedi 6d4367bf18 test: added --notify flag to jest command in `npm test`
Added --notify, so that it runs all tests, even if some tests fails.
6 years ago
Viraj Trivedi a77ff1a0d7 test: Renamed `__tests__` directory to `tests`
Renamed directory for a consitent directory naming convention
6 years ago
Viraj Trivedi f78cf3564a ci: Possible fix for 127 error travisCI 6 years ago
Viraj Trivedi 5acac148e9 ci: Running codecov from local npm dev dependencies 6 years ago
Viraj Trivedi ffd422de9f ci: Changing the global dependencies install stage for codecoverage 6 years ago
Viraj Trivedi c3933652ff ci: Changing the global dependencies install stage for codecoverage 6 years ago
Viraj Trivedi d548b63ff2
Merge pull request #54 from inf3cti0n95/codecov
Code Coverage for Tests
6 years ago
Viraj Trivedi 314e4e3002 docs(Readme): Added codecov badge 6 years ago
Viraj Trivedi f0393bf9d6 test(codecoverage): Added codecov for code coverage.
Closes #42
6 years ago
Viraj Trivedi 95086bf1ec
Merge pull request #52 from inf3cti0n95/tests
test(RealTimeAPI): Tests for RealTimeAPI class
6 years ago
Viraj Trivedi 78e6f6cab0 test(RealTimeAPI): Added tests for onMessage, onError, onComplete, onSubscribe and getLoginObservabl
Completed testing for all the methods, branches and lines.

Closes #25
6 years ago
Viraj Trivedi dbc2e3e8c7 test(RealTimeAPI): Added tests for getSubscription() method
#25
6 years ago
Viraj Trivedi 9bade10507 test(RealTimeAPI): Added tests for filterById and filterByMessageType methods and getObservable meth
Also added stubs for other methods that needs tests

#25
6 years ago
Viraj Trivedi 44aa5b76d0 test(RealTimeAPI): Added tests for callMethod() and disconnect() methods
#25
6 years ago
Viraj Trivedi 10644306fd test(RealTimeAPI): Added tests for serve connection and login request methods
#25
6 years ago
Viraj Trivedi 02570eca1f test(RealTimeAPI): Added basic tests.
Setup for mocking websockets with mock-socket package. Added tests for websocket connection and
keepAlive().

#25
6 years ago
Viraj Trivedi cc252f0423
Merge pull request #51 from inf3cti0n95/releaserc-fix
fix(releaserc): Added plugins to release to npm, github
6 years ago
Viraj Trivedi 03f4e03e78 fix(releaserc): Added plugins to release to npm, github
#50
6 years ago
Viraj Trivedi ff0b15a9ce
Merge pull request #49 from inf3cti0n95/patch-1
feat: Removed option to pass webSocket to constructor.
6 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 b814acc3ef Merge branch 'master' of https://github.com/inf3cti0n95/Rocket.Chat.RealTime.API.RxJS 6 years ago
Viraj Trivedi 5e30c93c15 release: Bump Version 6 years ago
Viraj Trivedi a1be03d754
Merge pull request #48 from inf3cti0n95/semantic-release
fix(releaserc): Fixed typo in the releaserc
6 years ago
Viraj Trivedi e3d102ecb3 chore: Resolved Conflicts and merged changes 6 years ago
Viraj Trivedi aaf5334870 fix(releaserc): Fixed typo in the releaserc 6 years ago
Viraj Trivedi ec3a03c4ab
Merge pull request #47 from inf3cti0n95/revert-46-semantic-release
Revert "Semantic release"
6 years ago
Viraj Trivedi 0610a677fd
Revert "Semantic release" 6 years ago
Viraj Trivedi 0d700fcc1c
Merge pull request #46 from inf3cti0n95/semantic-release
Semantic release
6 years ago
Viraj Trivedi 9f2e484491 release: Bump Version 6 years ago
Viraj Trivedi e2e8eac727 feat: Added release rule for major release 6 years ago
Viraj Trivedi 53254dfcce BREAKING CHANGE: Updated to RxJS 6, Bump Package Version 6 years ago
Viraj Trivedi 7011467eb0
Merge pull request #43 from inf3cti0n95/rxjs-6
feat: Updated the current code to RxJS 6.
6 years ago
Viraj Trivedi d6871d5205
Merge pull request #45 from inf3cti0n95/keep-alive-observable
Keep alive observable
7 years ago
Viraj Trivedi 3783ad0cc8 docs: Updated the method keepAlive in docs.
#44
7 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 ee404317b6
Merge pull request #41 from inf3cti0n95/add-linter
Add linter
7 years ago
Viraj Trivedi 3b27a49de5 refactor: Linted existing code.
#35
7 years ago
Viraj Trivedi 4864443661 style: Added ESlint and prettier for linters.
Added ESlint and prettier with airbnb config and hust precommit hook to lint on commit.

#36, #38
7 years ago