Compare commits

..

No commits in common. "v1.0.0-develop.9" and "v1.0.0-develop.8" have entirely different histories.

4 changed files with 7 additions and 16 deletions

View File

@ -1,10 +1,3 @@
# [1.0.0-develop.9](https://git.lumeweb.com/LumeWeb/resolver-module-eth/compare/v1.0.0-develop.8...v1.0.0-develop.9) (2023-10-26)
### Bug Fixes
* only push a record if we have a content response ([65dffe2](https://git.lumeweb.com/LumeWeb/resolver-module-eth/commit/65dffe202ec82a7bcfd16e959445825ffa136938))
# [1.0.0-develop.8](https://git.lumeweb.com/LumeWeb/resolver-module-eth/compare/v1.0.0-develop.7...v1.0.0-develop.8) (2023-10-12)
# [1.0.0-develop.7](https://git.lumeweb.com/LumeWeb/resolver-module-eth/compare/v1.0.0-develop.6...v1.0.0-develop.7) (2023-09-04)

4
npm-shrinkwrap.json generated
View File

@ -1,12 +1,12 @@
{
"name": "@lumeweb/resolver-module-eth",
"version": "1.0.0-develop.9",
"version": "1.0.0-develop.8",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@lumeweb/resolver-module-eth",
"version": "1.0.0-develop.9",
"version": "1.0.0-develop.8",
"dependencies": {
"@ensdomains/ensjs": "^3.0.0-alpha.65",
"@lumeweb/kernel-eth-client": "^0.1.0-develop.17",

View File

@ -1,6 +1,6 @@
{
"name": "@lumeweb/resolver-module-eth",
"version": "1.0.0-develop.9",
"version": "1.0.0-develop.8",
"main": "lib/index.js",
"type": "module",
"readme": "ERROR: No README data found!",

View File

@ -93,13 +93,11 @@ export default class Eth extends AbstractResolverModule {
return resolverError(e);
}
if (content) {
records.push({
type: DNS_RECORD_TYPE.CONTENT,
value: `${content.protocolType}://${content.decoded}` as string,
});
}
}
if ([DNS_RECORD_TYPE.CUSTOM].includes(options.type)) {
let text;