diff --git a/index.d.ts b/index.d.ts index 777e069..402d905 100644 --- a/index.d.ts +++ b/index.d.ts @@ -22,7 +22,8 @@ export interface BusClient extends EventEmitter { options?: Bus.PublishOptions, ): Boolean; - close(): Promise; + // forceClose defaults to false + close(forceClose?: Boolean): Promise; } declare namespace Bus { diff --git a/package.json b/package.json index 717fa8f..3bfb662 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@chauffeur-prive/node-amqp-bus", - "version": "5.2.0", + "version": "6.0.0", "description": "Implement a Bus using AMQP in nodejs", "repository": { "type": "git",