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