wKovacs64 / hibp

An unofficial TypeScript SDK for the 'Have I been pwned?' service.
https://wkovacs64.github.io/hibp
MIT License
112 stars 6 forks source link

Introduce `timeoutMs` option for all modules #462

Closed wKovacs64 closed 4 months ago

wKovacs64 commented 4 months ago

Closes #302

changeset-bot[bot] commented 4 months ago

🦋 Changeset detected

Latest commit: 0e9e3527232605dbbed923c04ca947b8c5fe01d5

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ---- | ----- | | hibp | Minor |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

codecov[bot] commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (aa90167) to head (0e9e352).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #462 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 15 15 Lines 1104 1194 +90 Branches 41 31 -10 ========================================= + Hits 1104 1194 +90 ``` | [Files](https://app.codecov.io/gh/wKovacs64/hibp/pull/462?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Justin+Hall) | Coverage Δ | | |---|---|---| | [src/api/haveibeenpwned/fetch-from-api.ts](https://app.codecov.io/gh/wKovacs64/hibp/pull/462?src=pr&el=tree&filepath=src%2Fapi%2Fhaveibeenpwned%2Ffetch-from-api.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Justin+Hall#diff-c3JjL2FwaS9oYXZlaWJlZW5wd25lZC9mZXRjaC1mcm9tLWFwaS50cw==) | `100.00% <100.00%> (ø)` | | | [src/api/pwnedpasswords/fetch-from-api.ts](https://app.codecov.io/gh/wKovacs64/hibp/pull/462?src=pr&el=tree&filepath=src%2Fapi%2Fpwnedpasswords%2Ffetch-from-api.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Justin+Hall#diff-c3JjL2FwaS9wd25lZHBhc3N3b3Jkcy9mZXRjaC1mcm9tLWFwaS50cw==) | `100.00% <100.00%> (ø)` | | | [src/breach.ts](https://app.codecov.io/gh/wKovacs64/hibp/pull/462?src=pr&el=tree&filepath=src%2Fbreach.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Justin+Hall#diff-c3JjL2JyZWFjaC50cw==) | `100.00% <100.00%> (ø)` | | | [src/breached-account.ts](https://app.codecov.io/gh/wKovacs64/hibp/pull/462?src=pr&el=tree&filepath=src%2Fbreached-account.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Justin+Hall#diff-c3JjL2JyZWFjaGVkLWFjY291bnQudHM=) | `100.00% <100.00%> (ø)` | | | [src/breaches.ts](https://app.codecov.io/gh/wKovacs64/hibp/pull/462?src=pr&el=tree&filepath=src%2Fbreaches.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Justin+Hall#diff-c3JjL2JyZWFjaGVzLnRz) | `100.00% <100.00%> (ø)` | | | [src/data-classes.ts](https://app.codecov.io/gh/wKovacs64/hibp/pull/462?src=pr&el=tree&filepath=src%2Fdata-classes.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Justin+Hall#diff-c3JjL2RhdGEtY2xhc3Nlcy50cw==) | `100.00% <100.00%> (ø)` | | | [src/paste-account.ts](https://app.codecov.io/gh/wKovacs64/hibp/pull/462?src=pr&el=tree&filepath=src%2Fpaste-account.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Justin+Hall#diff-c3JjL3Bhc3RlLWFjY291bnQudHM=) | `100.00% <100.00%> (ø)` | | | [src/pwned-password-range.ts](https://app.codecov.io/gh/wKovacs64/hibp/pull/462?src=pr&el=tree&filepath=src%2Fpwned-password-range.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Justin+Hall#diff-c3JjL3B3bmVkLXBhc3N3b3JkLXJhbmdlLnRz) | `100.00% <100.00%> (ø)` | | | [src/pwned-password.ts](https://app.codecov.io/gh/wKovacs64/hibp/pull/462?src=pr&el=tree&filepath=src%2Fpwned-password.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Justin+Hall#diff-c3JjL3B3bmVkLXBhc3N3b3JkLnRz) | `100.00% <100.00%> (ø)` | | | [src/search.ts](https://app.codecov.io/gh/wKovacs64/hibp/pull/462?src=pr&el=tree&filepath=src%2Fsearch.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Justin+Hall#diff-c3JjL3NlYXJjaC50cw==) | `100.00% <100.00%> (ø)` | | | ... and [1 more](https://app.codecov.io/gh/wKovacs64/hibp/pull/462?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Justin+Hall) | |