@cleandns/whois-rdap 1.0.23 → 1.0.24

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.
@@ -199,7 +199,7 @@ export const port43servers = {
199
199
  coop: "whois.nic.coop",
200
200
  info: "whois.afilias.net",
201
201
  jobs: "jobswhois.verisign-grs.com",
202
- mobi: "whois.dotmobiregistry.net",
202
+ mobi: "whois.nic.mobi",
203
203
  museum: "whois.museum",
204
204
  name: "whois.nic.name",
205
205
  post: "whois.dotpostregistry.net",
package/dist/test.js CHANGED
@@ -1,2 +1,2 @@
1
1
  import { whois } from "./index.js";
2
- whois(process.argv[2]).then((r) => console.log(JSON.stringify(r, undefined, 2)));
2
+ whois(process.argv[2], { thinOnly: Boolean(process.argv[3]) }).then((r) => console.log(JSON.stringify(r, undefined, 2)));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cleandns/whois-rdap",
3
- "version": "1.0.23",
3
+ "version": "1.0.24",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -248,7 +248,7 @@ export const port43servers: Record<string, any> = {
248
248
  coop: "whois.nic.coop",
249
249
  info: "whois.afilias.net",
250
250
  jobs: "jobswhois.verisign-grs.com",
251
- mobi: "whois.dotmobiregistry.net",
251
+ mobi: "whois.nic.mobi",
252
252
  museum: "whois.museum",
253
253
  name: "whois.nic.name",
254
254
  post: "whois.dotpostregistry.net",
package/src/test.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { whois } from "./index.js";
2
2
 
3
- whois(process.argv[2]).then((r) =>
3
+ whois(process.argv[2], { thinOnly: Boolean(process.argv[3]) }).then((r) =>
4
4
  console.log(JSON.stringify(r, undefined, 2))
5
5
  );