Skip to content

Commit

Permalink
Bumped to v0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tazo90 committed Jun 9, 2021
1 parent 8b677ab commit ddd3a88
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 8 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,19 @@

All notable changes to this project will be documented in this file.

## v0.3.0 09/06/2021

Refactoring eventBus and eventBusManager.

### Added

- Interfaces IEventType and IEventHandlerType

### Removed

- Dependency Injection
- Logger

## v0.2.3 07/06/2021

Fix version in package.json
Expand Down
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
- **Publish/Subscribe events** - send/receive events to/from channels.
- **Manage events** - event bus manager allows to manage events.
- **External broker support** - RabbitMQ as a service bus.
- **Dependency injection** - easily inject parts of event bus.
- **Logs**

## Installation

Expand Down
9 changes: 5 additions & 4 deletions lib/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import Event, { IEvent } from './event';
import Event, { IEvent, IEventType } from './event';
import EventBus, { IEventBus } from './eventBus';
import { IEventHandler } from './eventHandler';
import { IEventHandler, IEventHandlerType } from './eventHandler';
import RabbitMQConnection from './rabbitMQConnection';

export {
Event, EventBus, RabbitMQConnection,
IEvent, IEventBus, IEventHandler
}
IEvent, IEventBus, IEventHandler,
IEventType, IEventHandlerType
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "micro-event-bus",
"version": "0.2.3",
"version": "0.3.0",
"description": "Event bus library based on RabbitMQ",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand All @@ -11,7 +11,7 @@
"dependencies": {
"amqplib": "^0.8.0",
"dayjs": "^1.10.4",
"dotenv": "8.2.0",
"dotenv": "^8.2.0",
"nanoid": "^3.1.20",
"reflect-metadata": "^0.1.13",
"typedi": "^0.10.0"
Expand Down

0 comments on commit ddd3a88

Please sign in to comment.