@midwayjs/rabbitmq 3.1.6 → 3.2.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/interface.d.ts +0 -5
- package/index.d.ts +8 -0
- package/package.json +7 -6
package/dist/interface.d.ts
CHANGED
|
@@ -31,9 +31,4 @@ export interface Context extends IMidwayRabbitMQContext {
|
|
|
31
31
|
}
|
|
32
32
|
export declare type NextFunction = BaseNextFunction;
|
|
33
33
|
export declare type DefaultConfig = string | AmqpOptions.Connect;
|
|
34
|
-
declare module '@midwayjs/core/dist/interface' {
|
|
35
|
-
interface MidwayConfig {
|
|
36
|
-
rabbitmq?: PowerPartial<IMidwayRabbitMQConfigurationOptions>;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
34
|
//# sourceMappingURL=interface.d.ts.map
|
package/index.d.ts
ADDED
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@midwayjs/rabbitmq",
|
|
3
|
-
"version": "3.1
|
|
3
|
+
"version": "3.2.1",
|
|
4
4
|
"description": "Midway Framework for rabbitmq",
|
|
5
5
|
"main": "dist/index",
|
|
6
|
-
"typings": "
|
|
6
|
+
"typings": "index.d.ts",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"build": "tsc",
|
|
9
9
|
"test": "node --require=ts-node/register ../../node_modules/.bin/jest --runInBand",
|
|
@@ -19,18 +19,19 @@
|
|
|
19
19
|
],
|
|
20
20
|
"files": [
|
|
21
21
|
"dist/**/*.js",
|
|
22
|
-
"dist/**/*.d.ts"
|
|
22
|
+
"dist/**/*.d.ts",
|
|
23
|
+
"index.d.ts"
|
|
23
24
|
],
|
|
24
25
|
"license": "MIT",
|
|
25
26
|
"devDependencies": {
|
|
26
27
|
"@midwayjs/decorator": "^3.1.6",
|
|
27
|
-
"@midwayjs/mock": "^3.
|
|
28
|
+
"@midwayjs/mock": "^3.2.0",
|
|
28
29
|
"@types/amqplib": "0.8.2",
|
|
29
30
|
"amqplib": "0.8.0",
|
|
30
31
|
"fs-extra": "10.0.1"
|
|
31
32
|
},
|
|
32
33
|
"dependencies": {
|
|
33
|
-
"@midwayjs/core": "^3.
|
|
34
|
+
"@midwayjs/core": "^3.2.0",
|
|
34
35
|
"@midwayjs/logger": "^2.15.0",
|
|
35
36
|
"amqp-connection-manager": "4.1.1"
|
|
36
37
|
},
|
|
@@ -46,5 +47,5 @@
|
|
|
46
47
|
"engines": {
|
|
47
48
|
"node": ">=12"
|
|
48
49
|
},
|
|
49
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "e957e25e353a2e4c56d5ddcce24bb55a10f007ca"
|
|
50
51
|
}
|