@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 +17 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +17 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/registrars/godaddy.ts +21 -13
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 =
|
|
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:
|
|
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;
|