Revert "*Update dist"

This reverts commit e3697e8f5d.
This commit is contained in:
Derrick Hammer 2023-02-19 16:30:01 -05:00
parent e3697e8f5d
commit 221ebe70c0
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
3 changed files with 4 additions and 6 deletions

2
dist/index.d.ts vendored
View File

@ -1,6 +1,6 @@
import { Client } from "@lumeweb/libkernel-universal"; import { Client } from "@lumeweb/libkernel-universal";
export declare class DnsClient extends Client { export declare class DnsClient extends Client {
register(module: string): Promise<void>; register(): Promise<void>;
clear(): Promise<void>; clear(): Promise<void>;
getResolvers(): Promise<void>; getResolvers(): Promise<void>;
ready(): Promise<void>; ready(): Promise<void>;

2
dist/index.d.ts.map vendored
View File

@ -1 +1 @@
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAW,MAAM,8BAA8B,CAAC;AAI/D,qBAAa,SAAU,SAAQ,MAAM;IACtB,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAKvC,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAGtB,YAAY,IAAI,OAAO,CAAC,IAAI,CAAC;IAG7B,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;CAGpC;AAED,eAAO,MAAM,YAAY,6BAAwC,CAAC"} {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAW,MAAM,8BAA8B,CAAC;AAI/D,qBAAa,SAAU,SAAQ,MAAM;IACtB,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC;IAGzB,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAGtB,YAAY,IAAI,OAAO,CAAC,IAAI,CAAC;IAG7B,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;CAGpC;AAED,eAAO,MAAM,YAAY,6BAAwC,CAAC"}

6
dist/index.js vendored
View File

@ -1,10 +1,8 @@
import { Client, factory } from "@lumeweb/libkernel-universal"; import { Client, factory } from "@lumeweb/libkernel-universal";
const MODULE = "PACYNuYbp_5hgCjMK16EGcytB9QCxDLe4_uitahwePdeaA"; const MODULE = "PACYNuYbp_5hgCjMK16EGcytB9QCxDLe4_uitahwePdeaA";
export class DnsClient extends Client { export class DnsClient extends Client {
async register(module) { async register() {
const bag = await this.loadBound(module); return this.callModuleReturn("register");
const ret = await bag.callModule("register");
this.handleError(ret);
} }
async clear() { async clear() {
return this.callModuleReturn("clear"); return this.callModuleReturn("clear");