@aoxborrow/registrar-client 0.10.0 → 0.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aoxborrow/registrar-client",
3
- "version": "0.10.0",
3
+ "version": "0.10.1",
4
4
  "description": "One consistent, fully-typed TypeScript interface to many domain registrar APIs (GoDaddy, Cloudflare, Namecheap, Spaceship, Dynadot, Porkbun, and more) behind a single pluggable multi-provider client",
5
5
  "author": {
6
6
  "name": "Aaron Oxborrow",
@@ -580,8 +580,12 @@ export class DynadotRegistrar extends BaseRegistrar {
580
580
  }
581
581
 
582
582
  // Auto-renew via the renew_option endpoint. The accepted write values are
583
- // "auto" (auto-renew), "donot" (do not renew), and "reset" (manual renewal) —
584
- // note these differ from the read values ("auto-renew" etc.).
583
+ // "auto" (auto-renew), "donot" (do not renew), and "reset" (manual renewal);
584
+ // they read back as "auto-renew", "do not renew", and "manual renewal". Off
585
+ // writes "reset": off means "won't renew automatically", and "donot" would
586
+ // also stop Dynadot's expiration reminder emails, so this never writes it.
587
+ // "reset" is always manual renewal, even when the account's default renew
588
+ // option is auto (sandbox-verified 2026-10-28).
585
589
  override async setAutoRenew(
586
590
  domainName: string,
587
591
  enabled: boolean,
@@ -590,7 +594,7 @@ export class DynadotRegistrar extends BaseRegistrar {
590
594
  return this.mutate(
591
595
  'PUT',
592
596
  `/restful/v2/domains/${encodeURIComponent(domainName)}/renew_option`,
593
- { renew_option: enabled ? 'auto' : 'donot' },
597
+ { renew_option: enabled ? 'auto' : 'reset' },
594
598
  `Auto-renew ${enabled ? 'enabled' : 'disabled'} successfully`,
595
599
  opts
596
600
  );