@palmetto/pubsub 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -18,6 +18,7 @@ export declare class RabbitMqConnection {
|
|
|
18
18
|
static create(config: RabbitMqConnectionConfig, logger: Logger): Promise<RabbitMqConnection>;
|
|
19
19
|
private constructor();
|
|
20
20
|
close(): Promise<void>;
|
|
21
|
+
isConnected(): boolean;
|
|
21
22
|
/**
|
|
22
23
|
* Creates the exchanges necessary for the given config
|
|
23
24
|
* @param channel
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@palmetto/pubsub",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"main": "./dist/main.js",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"lint": "yarn run -T eslint --fix ./src",
|
|
@@ -15,10 +15,9 @@
|
|
|
15
15
|
"hook:format": "prettier --write --loglevel warn",
|
|
16
16
|
"hook:tc": "yarn tc",
|
|
17
17
|
"prepublishOnly": "yarn build",
|
|
18
|
-
"test": "
|
|
19
|
-
"test
|
|
20
|
-
"
|
|
21
|
-
"rabbitmq-up": "docker compose -f rabbitmq-compose.yml up -d"
|
|
18
|
+
"test-runner": "../../scripts/test-runner.sh",
|
|
19
|
+
"test": "yarn run test-runner vitest run",
|
|
20
|
+
"test:watch": "yarn run test-runner vitest watch"
|
|
22
21
|
},
|
|
23
22
|
"devDependencies": {
|
|
24
23
|
"@types/amqplib": "^0",
|