@apiverve/whoislookup 1.2.2 → 1.2.4
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/README.md +29 -1
- package/index.d.ts +13 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# WHOIS Lookup API
|
|
2
2
|
|
|
3
|
-
WHOIS Lookup
|
|
3
|
+
WHOIS Lookup is a domain WHOIS API that reads the registry's RDAP or WHOIS record for any domain and returns the registrar, creation and expiry dates, nameservers, EPP status codes explained in plain English, transfer-lock and privacy flags, the registrant country where it is published, and domain age in days and years.
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@apiverve/whoislookup)
|
|
6
6
|
|
|
@@ -142,6 +142,34 @@ async function makeRequest() {
|
|
|
142
142
|
"ns-cloud-a4.googledomains.com",
|
|
143
143
|
"ns-cloud-a1.googledomains.com"
|
|
144
144
|
],
|
|
145
|
+
"statusDetails": [
|
|
146
|
+
{
|
|
147
|
+
"code": "clientDeleteProhibited",
|
|
148
|
+
"setBy": "registrar",
|
|
149
|
+
"description": "The registrar blocks deletion"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"code": "clientRenewProhibited",
|
|
153
|
+
"setBy": "registrar",
|
|
154
|
+
"description": "The registrar blocks renewal"
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"code": "clientTransferProhibited",
|
|
158
|
+
"setBy": "registrar",
|
|
159
|
+
"description": "The registrar blocks transfer to another registrar"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"code": "clientUpdateProhibited",
|
|
163
|
+
"setBy": "registrar",
|
|
164
|
+
"description": "The registrar blocks changes to the record"
|
|
165
|
+
}
|
|
166
|
+
],
|
|
167
|
+
"isTransferLocked": true,
|
|
168
|
+
"isOnHold": false,
|
|
169
|
+
"isPendingDelete": false,
|
|
170
|
+
"registrantOrganization": "Domains By Proxy, LLC",
|
|
171
|
+
"registrantCountry": "US",
|
|
172
|
+
"isPrivacyProtected": true,
|
|
145
173
|
"domain": "myspace.com",
|
|
146
174
|
"fetchedAtUTC": "2025-12-17T01:54:05.069Z",
|
|
147
175
|
"tld": "com",
|
package/index.d.ts
CHANGED
|
@@ -38,6 +38,13 @@ declare module '@apiverve/whoislookup' {
|
|
|
38
38
|
registrarAbuseContactEmail: null | string;
|
|
39
39
|
registrarAbuseContactPhone: null | string;
|
|
40
40
|
nameServers: (null | string)[];
|
|
41
|
+
statusDetails: StatusDetail[];
|
|
42
|
+
isTransferLocked: boolean | null;
|
|
43
|
+
isOnHold: boolean | null;
|
|
44
|
+
isPendingDelete: boolean | null;
|
|
45
|
+
registrantOrganization: null | string;
|
|
46
|
+
registrantCountry: null | string;
|
|
47
|
+
isPrivacyProtected: boolean | null;
|
|
41
48
|
domain: null | string;
|
|
42
49
|
fetchedAtUTC: Date | null;
|
|
43
50
|
tld: null | string;
|
|
@@ -48,6 +55,12 @@ declare module '@apiverve/whoislookup' {
|
|
|
48
55
|
trustScore: number | null;
|
|
49
56
|
trustLevel: null | string;
|
|
50
57
|
}
|
|
58
|
+
|
|
59
|
+
interface StatusDetail {
|
|
60
|
+
code: null | string;
|
|
61
|
+
setBy: null | string;
|
|
62
|
+
description: null | string;
|
|
63
|
+
}
|
|
51
64
|
|
|
52
65
|
export default class whoislookupWrapper {
|
|
53
66
|
constructor(options: whoislookupOptions);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apiverve/whoislookup",
|
|
3
|
-
"version": "1.2.
|
|
4
|
-
"description": "WHOIS Lookup
|
|
3
|
+
"version": "1.2.4",
|
|
4
|
+
"description": "WHOIS Lookup is a domain WHOIS API that reads the registry's RDAP or WHOIS record for any domain and returns the registrar, creation and expiry dates, nameservers, EPP status codes explained in plain English, transfer-lock and privacy flags, the registrant country where it is published, and domain age in days and years.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
7
7
|
"sideEffects": false,
|