@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/dist/index.js CHANGED
@@ -2652,13 +2652,17 @@ ${bodyStr}`;
2652
2652
  );
2653
2653
  }
2654
2654
  // Auto-renew via the renew_option endpoint. The accepted write values are
2655
- // "auto" (auto-renew), "donot" (do not renew), and "reset" (manual renewal) —
2656
- // note these differ from the read values ("auto-renew" etc.).
2655
+ // "auto" (auto-renew), "donot" (do not renew), and "reset" (manual renewal);
2656
+ // they read back as "auto-renew", "do not renew", and "manual renewal". Off
2657
+ // writes "reset": off means "won't renew automatically", and "donot" would
2658
+ // also stop Dynadot's expiration reminder emails, so this never writes it.
2659
+ // "reset" is always manual renewal, even when the account's default renew
2660
+ // option is auto (sandbox-verified 2026-10-28).
2657
2661
  async setAutoRenew(domainName, enabled, opts) {
2658
2662
  return this.mutate(
2659
2663
  "PUT",
2660
2664
  `/restful/v2/domains/${encodeURIComponent(domainName)}/renew_option`,
2661
- { renew_option: enabled ? "auto" : "donot" },
2665
+ { renew_option: enabled ? "auto" : "reset" },
2662
2666
  `Auto-renew ${enabled ? "enabled" : "disabled"} successfully`,
2663
2667
  opts
2664
2668
  );