This commit is contained in:
Erik 2023-05-15 18:05:00 +03:00
parent 5f8d64b4a9
commit 36d5339e15
Signed by: Navy.gif
GPG Key ID: 2532FBBB61C65A68
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@navy.gif/wrappers",
"version": "1.3.19",
"version": "1.3.20",
"description": "Various wrapper classes I use in my projects",
"repository": "https://git.corgi.wtf/Navy.gif/wrappers.git",
"author": "Navy.gif",

View File

@ -23,7 +23,7 @@ type QueueDef = {
}
export type BrokerOptions = {
load: boolean,
load?: boolean,
host: string,
port: number
user: string,
@ -82,7 +82,7 @@ class MessageBroker {
constructor (server: IServer, options: BrokerOptions) {
this.#load = options.load;
this.#load = options.load || false;
this.#hosts = options.host.split(',');
this.#username = options.user;
this.#password = options.pass;