4ff1bd5110
Add body and querystring to RequestOptions ( #957 )
2019-09-11 11:29:40 +02:00
a948a98be6
Refactored connection pool ( #913 )
...
* Refactored ConnectionPool
- Created BaseConnectionPool class
- Created CloudConnectionPool
- connection pool updates are immutable
- resurrect now happens inside getConnection()
* Rewritten connection pool(s) type definitions
* Updated test
* Fixed test
* Fix if check
* Removed old files
* Improve code coverage
* Updated license header
* Fix if check
* Improve code coverage
* Updated coverage script
2019-07-26 11:43:48 +02:00
36a1666cc8
Updated license header ( #915 )
2019-07-22 11:46:59 +02:00
0ebbd71e9a
Improve authentication handling ( #908 )
2019-07-18 10:33:11 +02:00
ca50f580f4
Updated type definitions ( #882 )
...
* Updated type definitions
* Updated test
2019-06-19 09:14:19 +02:00
7f77250ed5
Added toJSON method to Connection class ( #849 )
...
* Added toJSON method to Connection class
* Updated test
* Updated typings
2019-05-14 12:00:27 -04:00
c76d0249c0
Fix #803 ( #846 )
2019-05-14 11:19:08 -04:00
2919f93b73
Custom http agent support ( #810 )
2019-04-10 11:13:22 +02:00
5c60d98180
Inspect Connection ( #784 )
...
Handles `console.log` and `utils.inspect` invocations for a better debugging experience.
`agent` and `ssl` are hidden since they made the logs very hard to read.
The user can still access them with `instance.agent` and `instance.ssl`.
2019-03-19 09:50:36 +01:00
cae38e6b2b
License ( #773 )
...
- Added license header
- Added license checker
- Fixed tap
2019-03-08 07:47:24 +01:00
88c9fa8546
Consistent roles handling
2019-01-21 16:49:08 +01:00
b91b1ad1de
WIP: initial prototype
...
- Added options parameter in API methods
- Updated typings
2018-12-12 16:53:51 +01:00
a9e621721e
WIP: initial prototype
...
- Added client.close API
- Added resurrect event
- Improved resurrect ping strategy
- Updated types
2018-12-10 20:15:42 +01:00
aa5977b153
WIP: initial prototype
...
- Added error parameter to request and response event
- Dropped error event
- Updated typescript indentation
2018-12-05 22:18:32 +01:00
ab1d7ba992
Typings support ( #737 )
...
* Updated scripts
* Updated .gitignore
* Removed symbols
* Fixed typo
* Added typings
* Updated test
* Added typings test
2018-11-30 17:01:55 +01:00