Compare commits

...

4 Commits

Author SHA1 Message Date
semantic-release-bot 8e1bdf9acf chore(release): 0.1.0-develop.1 [skip ci]
# [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](62b7fb0292))
2023-07-15 08:19:45 +00:00
Derrick Hammer e1a4a7870f
dep: update module hash 2023-07-15 04:18:38 -04:00
Derrick Hammer 62b7fb0292
feat: add ready method to ResolverModule 2023-07-15 04:12:24 -04:00
Derrick Hammer 0de5765355
dep: update deps 2023-07-15 04:09:22 -04:00
5 changed files with 29 additions and 265 deletions

View File

@ -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)

276
npm-shrinkwrap.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{
"name": "@lumeweb/kernel-dns-client",
"version": "0.0.2-develop.1",
"version": "0.1.0-develop.1",
"type": "module",
"main": "lib/index.js",
"repository": {
@ -18,7 +18,7 @@
"semantic-release": "semantic-release"
},
"dependencies": {
"@lumeweb/libkernel": "^0.1.0-develop.14",
"@lumeweb/libkernel": "^0.1.0-develop.16",
"@lumeweb/libresolver": "^0.0.2-develop.1"
},
"files": [

View File

@ -6,7 +6,7 @@ import {
} from "@lumeweb/libresolver";
import { createModule, ResolverModule } from "./module.js";
const MODULE = "zduJC2T9pCyTnrYvEacy64LAufhjfpQdpz5sweUgDdGqy4u18LK6yvKLqM";
const MODULE = "zduN43vTbtVi8VVRJjpoA2feTbuDwAqv4hnhVUYN1FqMitNAf114dvQvLP";
export class DnsClient extends Client {
get resolvers(): Promise<Set<ResolverModule>> {

View File

@ -40,9 +40,14 @@ export class ResolverModule extends Client {
return resolverError(e as Error);
}
}
async getSupportedTlds(): Promise<string[]> {
return this.callModuleReturn("getSupportedTlds");
}
async ready(): Promise<any> {
return this.callModuleReturn("ready");
}
}
export const createModule = (