Commit Graph

26 Commits

Author SHA1 Message Date
getlarge 38819a5934
fix: improve promises handling 2022-02-15 08:06:31 +01:00
getlarge abaa40b269
fix: run lint
Signed-off-by: getlarge <ed@getlarge.eu>
2021-03-10 08:49:10 +01:00
manolodewiner f5debab03a small refactor and add tests 2018-08-30 12:26:14 +02:00
manolodewiner 11892a1f6b handle timeout for each request 2018-08-29 16:39:15 +02:00
manolodewiner b30578d9ab remove unused headers 2018-08-28 14:27:53 +02:00
manolodewiner bd8db702c4 cap backoff time 2018-08-28 14:09:26 +02:00
manolodewiner e0cde66749 merge 2018-08-23 17:16:16 +02:00
manolodewiner ad8a889ecc add and fix tests 2018-08-23 17:14:59 +02:00
Manolo f4d1f93a5b
Merge branch 'master' into bep-14_roundrobin 2018-08-23 09:43:19 +02:00
manolodewiner 7d978286f5 created model for new connections 2018-08-22 10:10:09 +02:00
Troy McConaghy 54dfcf637f Add SPDX license info strings to all source files 2018-08-10 12:49:26 +02:00
Matthias Kretschmann 81ef5978b8
API docs & dev updates
* new command: npm run doc, for generating the API.md file
* new command: npm run dev, for live watching webpack
* JSdoc: make all methods public by default, selectively make some private
* JSdoc: organize all methods under their class
* linting fixes
* package updates
2018-05-14 17:14:40 +02:00
michielmulders d284ced256 Tried to change permissions of all files to 664 2017-09-22 10:15:02 +02:00
michielmulders dfaf97e5ce Basic usage examples added, not completed 2017-09-22 10:14:24 +02:00
michielmulders 202ae6060b Removed parenthesis in request.js 2017-09-22 10:14:24 +02:00
michielmulders 7ac13b2045 Issue 50: remove onlyJsonResponse connection.js 2017-09-22 10:14:24 +02:00
michielmulders a5509a0171 Revert "Fix Issue 50: connection.js remove onlyJsonResponse"
This reverts commit 3c9ff5c384.
2017-09-22 10:14:24 +02:00
michielmulders 5ec5df7e1d Fix Issue 50: connection.js remove onlyJsonResponse 2017-09-22 10:14:24 +02:00
vrde 2fd3fcf8ce Fix eslint errors 2017-09-22 10:14:22 +02:00
vrde 3d83083ee8
Fix Content-Type issue 2017-06-23 14:31:30 +02:00
Matthias Kretschmann c8902046b8
disable that one no-confusing-arrow snippet 2017-06-13 13:59:02 +02:00
Matthias Kretschmann 9822967a7f
more linting 2017-06-12 17:19:09 +02:00
Matthias Kretschmann 90cfaf1103
lint all the things 2017-06-12 16:57:29 +02:00
vrde 7c4d66bbb7
Do not include credentials in XHR
BigchainDB API doesn't use cookies, we can remove credentials from the
headers. It also create problems for CORS, since the server must
implement this.
2017-06-12 14:01:09 +02:00
Tim Daubenschütz 53b9513206 Add optional headers to connection 2017-05-11 17:19:07 +02:00
Matthias Kretschmann e595bf812a ignore yarn.lock 2017-04-26 15:58:19 +02:00