-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Replace http(s)
with node-fetch
#93
feat: Replace http(s)
with node-fetch
#93
Conversation
The minimum version increases to 14.
@max-ipinfo added the changelog entry and new version. I've also simplified the documentation and added information about catching errors as a best practice. The documentation includes separate TypeScript and JavaScript examples but as TypeScript can run all JavaScript we do not need separate examples: I have consolidated the examples. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Closes #82
Replaces
http(s)
withnode-fetch
. The public-facing API of the library is unchanged but the mechanism for communicating with the API has changed and could manifest in different behaviour, e.g: previously we were handling errors in different places with different logic. There's also an increase in the minimum node version from 10 to 14.Added a Workflow to test the library with each supported version of node.