@unstoppabledomains/resolution
Advanced tools
Comparing version 1.3.5 to 1.3.6
@@ -61,2 +61,3 @@ #!/usr/bin/env node | ||
.option('-n, --namehash', "returns domain's namehash") | ||
.option('-o, --owner', "returns domain's owner") | ||
.option('-m, --meta', 'shortcut for all meta data options (-siren)') | ||
@@ -73,2 +74,3 @@ .option('-d, --domain <domain>', 'domain you wish to resolve') | ||
options.namehash = true; | ||
options.owner = true; | ||
delete options.meta; | ||
@@ -108,3 +110,9 @@ } | ||
service: function () { return cli_helpers_js_1.tryInfo(function () { return resolution.serviceName(domain); }, response, 'service'); }, | ||
namehash: function () { return cli_helpers_js_1.tryInfo(function () { return resolution.namehash(domain); }, response, 'namehash'); } | ||
namehash: function () { return cli_helpers_js_1.tryInfo(function () { return resolution.namehash(domain); }, response, 'namehash'); }, | ||
owner: function () { return cli_helpers_js_1.tryInfo(function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) { | ||
switch (_a.label) { | ||
case 0: return [4 /*yield*/, resolution.owner(domain)]; | ||
case 1: return [2 /*return*/, _a.sent()]; | ||
} | ||
}); }); }, response, 'owner'); } | ||
}; | ||
@@ -111,0 +119,0 @@ resolutionProcess = []; |
{ | ||
"name": "@unstoppabledomains/resolution", | ||
"version": "1.3.4", | ||
"version": "1.3.5", | ||
"description": "Domain Resolution for blockchain domains", | ||
@@ -5,0 +5,0 @@ "main": "./build/index.js", |
## Unreleased | ||
## 1.3.6 | ||
* Add -o, --owner flag to CLI. Flag resolves in owner address. | ||
## 1.3.5 | ||
@@ -4,0 +7,0 @@ * Fixed CLI config file persistent location issue |
{ | ||
"name": "@unstoppabledomains/resolution", | ||
"version": "1.3.5", | ||
"version": "1.3.6", | ||
"description": "Domain Resolution for blockchain domains", | ||
@@ -5,0 +5,0 @@ "main": "./build/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
497194
12378