@midwayjs/rabbitmq 3.8.0 → 3.10.0

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.
@@ -7,7 +7,7 @@ export interface IRabbitMQApplication {
7
7
  createConsumer(listenerOptions: RabbitMQListenerOptions, listenerCallback: (msg: ConsumeMessage | null, channel: Channel, channelWrapper: any) => Promise<void>): Promise<void>;
8
8
  close(): Promise<void>;
9
9
  }
10
- export declare type IMidwayRabbitMQApplication = IMidwayApplication<IMidwayRabbitMQContext> & IRabbitMQApplication;
10
+ export type IMidwayRabbitMQApplication = IMidwayApplication<IMidwayRabbitMQContext> & IRabbitMQApplication;
11
11
  export interface IRabbitMQExchange {
12
12
  name: string;
13
13
  type: string;
@@ -20,14 +20,14 @@ export interface IMidwayRabbitMQConfigurationOptions extends IConfigurationOptio
20
20
  exchanges?: IRabbitMQExchange[];
21
21
  useConfirmChannel?: boolean;
22
22
  }
23
- export declare type IMidwayRabbitMQContext = IMidwayContext<{
23
+ export type IMidwayRabbitMQContext = IMidwayContext<{
24
24
  channel: Channel;
25
25
  queueName: string;
26
26
  ack: (data: any) => void;
27
27
  }>;
28
- export declare type Application = IMidwayRabbitMQApplication;
28
+ export type Application = IMidwayRabbitMQApplication;
29
29
  export interface Context extends IMidwayRabbitMQContext {
30
30
  }
31
- export declare type NextFunction = BaseNextFunction;
32
- export declare type DefaultConfig = string | AmqpOptions.Connect;
31
+ export type NextFunction = BaseNextFunction;
32
+ export type DefaultConfig = string | AmqpOptions.Connect;
33
33
  //# sourceMappingURL=interface.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@midwayjs/rabbitmq",
3
- "version": "3.8.0",
3
+ "version": "3.10.0",
4
4
  "description": "Midway Framework for rabbitmq",
5
5
  "main": "dist/index",
6
6
  "typings": "index.d.ts",
@@ -24,15 +24,15 @@
24
24
  ],
25
25
  "license": "MIT",
26
26
  "devDependencies": {
27
- "@midwayjs/mock": "^3.8.0",
28
- "@types/amqplib": "0.8.2",
27
+ "@midwayjs/mock": "^3.10.0",
28
+ "@types/amqplib": "0.10.1",
29
29
  "amqplib": "0.10.3",
30
- "fs-extra": "10.0.1"
30
+ "fs-extra": "10.1.0"
31
31
  },
32
32
  "dependencies": {
33
- "@midwayjs/core": "^3.8.0",
33
+ "@midwayjs/core": "^3.10.0",
34
34
  "@midwayjs/logger": "^2.15.0",
35
- "amqp-connection-manager": "4.1.9"
35
+ "amqp-connection-manager": "4.1.10"
36
36
  },
37
37
  "peerDependencies": {
38
38
  "@types/amqplib": "*",
@@ -46,5 +46,5 @@
46
46
  "engines": {
47
47
  "node": ">=12"
48
48
  },
49
- "gitHead": "5c640c7182923587139f9f9c0aecf50585798e1e"
49
+ "gitHead": "33d28f1a020963404488e866432916fd15c0952c"
50
50
  }