*update dist

This commit is contained in:
Derrick Hammer 2023-04-08 22:56:38 -04:00
parent b2aa51d8de
commit a53c238889
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
2 changed files with 4 additions and 0 deletions

1
dist/index.d.ts vendored
View File

@ -39,6 +39,7 @@ declare class Channel extends Client {
}): Message;
queueMessage(message: Message): Promise<void>;
private init;
destroy(error: Error): void;
}
declare class Message extends Client {
private encoding;

3
dist/index.js vendored
View File

@ -107,6 +107,9 @@ class Channel extends Client {
ret.catch((e) => this._created.reject(e));
return this._created.promise;
}
destroy(error) {
this._send?.({ action: "destroy", args: [error] });
}
}
class Message extends Client {
encoding;