v1.3.20
This commit is contained in:
parent
5f8d64b4a9
commit
36d5339e15
@ -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",
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user