Skip to content

Commit

Permalink
Update @hapiness/core version
Browse files Browse the repository at this point in the history
  • Loading branch information
Antoine Gomez committed Mar 27, 2018
1 parent 2e81149 commit 6bab47d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
},
"devDependencies": {
"@hapiness/config": "^1.1.1",
"@hapiness/core": "~1.4.0",
"@hapiness/core": "~1.5.0",
"@types/fs-extra": "^5.0.0",
"coveralls": "^3.0.0",
"fs-extra": "^5.0.0",
Expand All @@ -94,7 +94,7 @@
"unit.js": "^2.0.0"
},
"peerDependencies": {
"@hapiness/core": "^1.4.0",
"@hapiness/core": "^1.5.0",
"rxjs": "^5.5.7"
},
"engines": {
Expand Down
5 changes: 3 additions & 2 deletions src/module/rabbitmq.extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ import {
ExtensionWithConfig,
Extension,
errorHandler,
ExtensionShutdownPriority
ExtensionShutdownPriority,
OnShutdown
} from '@hapiness/core';
import { Observable } from 'rxjs';

Expand All @@ -16,7 +17,7 @@ import { MessageStore } from './managers/message-store';

const debug = require('debug')('hapiness:rabbitmq');

export class RabbitMQExt implements OnExtensionLoad, OnModuleInstantiated {
export class RabbitMQExt implements OnExtensionLoad, OnModuleInstantiated, OnShutdown {
static ConnectionManager: typeof ConnectionManager;

public static setConfig(config: RabbitMQConfig): ExtensionWithConfig {
Expand Down

0 comments on commit 6bab47d

Please sign in to comment.