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