Compare commits
4 Commits
v0.0.2-dev
...
v0.1.0-dev
Author | SHA1 | Date |
---|---|---|
semantic-release-bot | 8e1bdf9acf | |
Derrick Hammer | e1a4a7870f | |
Derrick Hammer | 62b7fb0292 | |
Derrick Hammer | 0de5765355 |
|
@ -1,3 +1,10 @@
|
||||||
|
# [0.1.0-develop.1](https://git.lumeweb.com/LumeWeb/kernel-dns-client/compare/v0.0.2-develop.1...v0.1.0-develop.1) (2023-07-15)
|
||||||
|
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
* add ready method to ResolverModule ([62b7fb0](https://git.lumeweb.com/LumeWeb/kernel-dns-client/commit/62b7fb0292c82f28b134710770f550054bbbbc81))
|
||||||
|
|
||||||
## [0.0.2-develop.1](https://git.lumeweb.com/LumeWeb/kernel-dns-client/compare/v0.0.1...v0.0.2-develop.1) (2023-07-05)
|
## [0.0.2-develop.1](https://git.lumeweb.com/LumeWeb/kernel-dns-client/compare/v0.0.1...v0.0.2-develop.1) (2023-07-05)
|
||||||
|
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@lumeweb/kernel-dns-client",
|
"name": "@lumeweb/kernel-dns-client",
|
||||||
"version": "0.0.2-develop.1",
|
"version": "0.1.0-develop.1",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
@ -18,7 +18,7 @@
|
||||||
"semantic-release": "semantic-release"
|
"semantic-release": "semantic-release"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@lumeweb/libkernel": "^0.1.0-develop.14",
|
"@lumeweb/libkernel": "^0.1.0-develop.16",
|
||||||
"@lumeweb/libresolver": "^0.0.2-develop.1"
|
"@lumeweb/libresolver": "^0.0.2-develop.1"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
|
|
|
@ -6,7 +6,7 @@ import {
|
||||||
} from "@lumeweb/libresolver";
|
} from "@lumeweb/libresolver";
|
||||||
import { createModule, ResolverModule } from "./module.js";
|
import { createModule, ResolverModule } from "./module.js";
|
||||||
|
|
||||||
const MODULE = "zduJC2T9pCyTnrYvEacy64LAufhjfpQdpz5sweUgDdGqy4u18LK6yvKLqM";
|
const MODULE = "zduN43vTbtVi8VVRJjpoA2feTbuDwAqv4hnhVUYN1FqMitNAf114dvQvLP";
|
||||||
|
|
||||||
export class DnsClient extends Client {
|
export class DnsClient extends Client {
|
||||||
get resolvers(): Promise<Set<ResolverModule>> {
|
get resolvers(): Promise<Set<ResolverModule>> {
|
||||||
|
|
|
@ -40,9 +40,14 @@ export class ResolverModule extends Client {
|
||||||
return resolverError(e as Error);
|
return resolverError(e as Error);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
async getSupportedTlds(): Promise<string[]> {
|
async getSupportedTlds(): Promise<string[]> {
|
||||||
return this.callModuleReturn("getSupportedTlds");
|
return this.callModuleReturn("getSupportedTlds");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
async ready(): Promise<any> {
|
||||||
|
return this.callModuleReturn("ready");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export const createModule = (
|
export const createModule = (
|
||||||
|
|
Loading…
Reference in New Issue