-
-
Notifications
You must be signed in to change notification settings - Fork 205
feat: add name.com provider #474
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
Conversation
@qdm12 review suggestions applied and fixed a lint error. |
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.
Re-reviewed, there are a few changes/additions needed, sorry I didn't dig too much on the first review. Thanks! 👍
Will look into these over the next couple of days, appreciate the thoroughness. |
- Make TTL optional - Change TTL type to be `*uint32` to match name.com API documentation - Validate TTL is 300 at least, if set - Set content type application/json header to requests - Set user agent header to requests - Check response received for ip mismatch - Rename password -> token - docs/name.com.md: remove domain setup section - docs/name.com.md: inline API credentials section in compulsory parameters - Inline isValid function in constructor - Handle common status code errors and error messages - Other minor PR feedback
I rebased the branch and solved the PR feedback I left 😉 You can get changes on your fork with |
@qdm12 had to make a slight change in the create logic. Previously if a record was created after not being found, the logic was setup so that the update method would be called. This resulted in an error as no recordID is included at this point so the update will fail. ![]() Also checked on using wrong credentials and a clean message is displayed: ![]() |
Awesome, thanks! Merging ahead! 😉 |
Implementing feature request #218 to add support for name.com as a provider.