Conversation
|
|
TBDocs Report 🛑 Errors: 0 @tbdex/protocol
@tbdex/http-client
@tbdex/http-server
TBDocs Report Updated at 2024-03-29T15:50:25Z |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #212 +/- ##
==========================================
- Coverage 93.53% 91.77% -1.76%
==========================================
Files 39 40 +1
Lines 3141 3236 +95
Branches 356 357 +1
==========================================
+ Hits 2938 2970 +32
- Misses 203 266 +63
|
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #212 +/- ##
==========================================
+ Coverage 92.91% 93.03% +0.11%
==========================================
Files 39 42 +3
Lines 3104 3386 +282
Branches 344 374 +30
==========================================
+ Hits 2884 3150 +266
- Misses 220 236 +16
|
14c8e0a to
5af95dd
Compare
8a35046 to
3da75c2
Compare
| it('returns 401 if bearer token is missing from the Authorization header', async () => { | ||
| const resp = await fetch('http://localhost:8000/balances', { | ||
| headers: { | ||
| 'Authorization': 'Not well formatted token' |
Check failure
Code scanning / CodeQL
Hard-coded credentials
| it('returns 401 if the bearer token is malformed in the Authorization header', async () => { | ||
| const resp = await fetch('http://localhost:8000/balances', { | ||
| headers: { | ||
| 'Authorization': 'Bearer MALFORMED' |
Check failure
Code scanning / CodeQL
Hard-coded credentials
| this.api.get('/balances', (req, res) => | ||
| getBalances(req, res, { | ||
| callback: this.callbacks['getBalances'], | ||
| balancesApi, | ||
| pfiDid, | ||
| }) |
Check failure
Code scanning / CodeQL
Missing rate limiting
KendallWeihe
left a comment
There was a problem hiding this comment.
two open comments but neither are blockers
awesome work here!
818ce7a to
e221206
Compare
closes #138
Balanceresource and protocol testsgetBalancemethod and testsGET /balanceendpoint, handlers and tests