@midwayjs/rabbitmq 3.0.11 → 3.1.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.
- package/dist/configuration.js +1 -1
- package/dist/framework.js +1 -1
- package/dist/index.js +5 -1
- package/dist/interface.d.ts +1 -1
- package/package.json +4 -4
package/dist/configuration.js
CHANGED
package/dist/framework.js
CHANGED
|
@@ -16,7 +16,7 @@ let MidwayRabbitMQFramework = class MidwayRabbitMQFramework extends core_1.BaseF
|
|
|
16
16
|
this.consumerHandlerList = [];
|
|
17
17
|
}
|
|
18
18
|
configure() {
|
|
19
|
-
return this.configService.getConfiguration('
|
|
19
|
+
return this.configService.getConfiguration('rabbitmq');
|
|
20
20
|
}
|
|
21
21
|
async applicationInitialize(options) {
|
|
22
22
|
// Create a connection manager
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
package/dist/interface.d.ts
CHANGED
|
@@ -33,7 +33,7 @@ export declare type NextFunction = BaseNextFunction;
|
|
|
33
33
|
export declare type DefaultConfig = string | AmqpOptions.Connect;
|
|
34
34
|
declare module '@midwayjs/core/dist/interface' {
|
|
35
35
|
interface MidwayConfig {
|
|
36
|
-
|
|
36
|
+
rabbitmq?: PowerPartial<IMidwayRabbitMQConfigurationOptions>;
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
//# sourceMappingURL=interface.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@midwayjs/rabbitmq",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1.1",
|
|
4
4
|
"description": "Midway Framework for rabbitmq",
|
|
5
5
|
"main": "dist/index",
|
|
6
6
|
"typings": "dist/index.d.ts",
|
|
@@ -24,13 +24,13 @@
|
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@midwayjs/decorator": "^3.0.10",
|
|
27
|
-
"@midwayjs/mock": "^3.
|
|
27
|
+
"@midwayjs/mock": "^3.1.1",
|
|
28
28
|
"@types/amqplib": "0.8.2",
|
|
29
29
|
"amqplib": "0.8.0",
|
|
30
30
|
"fs-extra": "10.0.1"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@midwayjs/core": "^3.
|
|
33
|
+
"@midwayjs/core": "^3.1.1",
|
|
34
34
|
"@midwayjs/logger": "^2.15.0",
|
|
35
35
|
"amqp-connection-manager": "4.1.1"
|
|
36
36
|
},
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"engines": {
|
|
47
47
|
"node": ">=12"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "b7a5c817d2316b93967367c34cff20a98b1ce4b7"
|
|
50
50
|
}
|