@aoxborrow/registrar-client 0.4.0 → 0.5.0

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
@@ -4417,7 +4417,10 @@ var NamecheapRegistrar = class extends BaseRegistrar {
4417
4417
  static configFields = [
4418
4418
  { name: "username", label: "Username", type: "text", required: true },
4419
4419
  { name: "apiKey", label: "API Key", type: "password", required: true },
4420
- { name: "clientIp", label: "Client IP", type: "text", required: false, default: "0.0.0.0" }
4420
+ // Required: Namecheap rejects any request whose ClientIp isn't on the
4421
+ // account's whitelist, so a placeholder like 0.0.0.0 only defers the
4422
+ // failure to the first call. Make the user supply the whitelisted IP.
4423
+ { name: "clientIp", label: "Client IP", type: "text", required: true }
4421
4424
  ];
4422
4425
  // Namecheap runs a sandbox at api.sandbox.namecheap.com (separate account at
4423
4426
  // sandbox.namecheap.com with its own API key)