@aoxborrow/registrar-client 0.3.0 → 0.4.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
@@ -3042,12 +3042,24 @@ var GoDaddyRegistrar = class _GoDaddyRegistrar extends BaseRegistrar {
3042
3042
  name = "godaddy";
3043
3043
  static displayName = "GoDaddy";
3044
3044
  static website = "godaddy.com";
3045
- static helpText = 'Authenticate one of two ways. For production, create a Personal Access Token (PAT) at https://developer.godaddy.com and pass it as `apiToken` \u2014 this enables the modern v3 API. For sandbox testing, create OTE (test environment) keys and pass `apiKey` + `apiSecret` with { environment: "sandbox" }; OTE only exposes the legacy v1 API. The sso-key (API Key/Secret) scheme is deprecated by GoDaddy in 2026. Domain forwarding uses the v2 customer-scoped API \u2014 set `customerId` to your GoDaddy customer UUID, or to your numeric shopper/account ID (which the client resolves to the UUID via an sso-key-authenticated lookup).';
3045
+ static helpText = "Create a Personal Access Token (PAT) at https://developer.godaddy.com and paste it here. The PAT is GoDaddy's modern credential: it unlocks the v3 API (discovery, registration, DNS, nameservers) and also authenticates the legacy v1 API for management operations (renew, transfer, auto-renew, lock, privacy, contacts) \u2014 one token covers everything.";
3046
+ // Only the PAT is exposed for configuration — it is the sole credential
3047
+ // GoDaddy recommends going forward, and it covers every production operation.
3048
+ //
3049
+ // The legacy `apiKey` + `apiSecret` (sso-key) pair and the `customerId` field
3050
+ // are intentionally NOT advertised here. The code that consumes them is kept
3051
+ // (see `authHeader`, `useV3`, `resolveCustomerId`, and the forwarding methods)
3052
+ // so OTE/sandbox testing and direct programmatic use still work when those
3053
+ // values are passed in credentials explicitly. But because they are no longer
3054
+ // configurable, two capabilities are effectively unreachable through normal
3055
+ // (config-driven) setup:
3056
+ // - OTE/sandbox, which needs an sso-key (`apiKey` + `apiSecret`), and
3057
+ // - domain forwarding, which needs `customerId` (a customer UUID), plus an
3058
+ // sso-key to resolve a numeric shopper ID to that UUID.
3059
+ // GoDaddy is deprecating the sso-key scheme in 2026, so this is the direction
3060
+ // of travel regardless.
3046
3061
  static configFields = [
3047
- { name: "apiToken", label: "API Token (PAT)", type: "password", required: false },
3048
- { name: "apiKey", label: "API Key", type: "password", required: false },
3049
- { name: "apiSecret", label: "API Secret", type: "password", required: false },
3050
- { name: "customerId", label: "Customer ID or Shopper ID", type: "text", required: false }
3062
+ { name: "apiToken", label: "API Token (PAT)", type: "password", required: true }
3051
3063
  ];
3052
3064
  // GoDaddy's OTE ("Operational Test Environment") is its sandbox
3053
3065
  static supportsSandbox = true;