@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.cjs CHANGED
@@ -3044,12 +3044,24 @@ var GoDaddyRegistrar = class _GoDaddyRegistrar extends BaseRegistrar {
3044
3044
  name = "godaddy";
3045
3045
  static displayName = "GoDaddy";
3046
3046
  static website = "godaddy.com";
3047
- 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).';
3047
+ 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.";
3048
+ // Only the PAT is exposed for configuration — it is the sole credential
3049
+ // GoDaddy recommends going forward, and it covers every production operation.
3050
+ //
3051
+ // The legacy `apiKey` + `apiSecret` (sso-key) pair and the `customerId` field
3052
+ // are intentionally NOT advertised here. The code that consumes them is kept
3053
+ // (see `authHeader`, `useV3`, `resolveCustomerId`, and the forwarding methods)
3054
+ // so OTE/sandbox testing and direct programmatic use still work when those
3055
+ // values are passed in credentials explicitly. But because they are no longer
3056
+ // configurable, two capabilities are effectively unreachable through normal
3057
+ // (config-driven) setup:
3058
+ // - OTE/sandbox, which needs an sso-key (`apiKey` + `apiSecret`), and
3059
+ // - domain forwarding, which needs `customerId` (a customer UUID), plus an
3060
+ // sso-key to resolve a numeric shopper ID to that UUID.
3061
+ // GoDaddy is deprecating the sso-key scheme in 2026, so this is the direction
3062
+ // of travel regardless.
3048
3063
  static configFields = [
3049
- { name: "apiToken", label: "API Token (PAT)", type: "password", required: false },
3050
- { name: "apiKey", label: "API Key", type: "password", required: false },
3051
- { name: "apiSecret", label: "API Secret", type: "password", required: false },
3052
- { name: "customerId", label: "Customer ID or Shopper ID", type: "text", required: false }
3064
+ { name: "apiToken", label: "API Token (PAT)", type: "password", required: true }
3053
3065
  ];
3054
3066
  // GoDaddy's OTE ("Operational Test Environment") is its sandbox
3055
3067
  static supportsSandbox = true;