Skip to content

Commit e99b0cc

Browse files
sqlProvidersqlProvider
authored andcommitted
[Fixed #7] created multiple pubsub service fix
1 parent 586bca1 commit e99b0cc

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
## Next v4.0.0
22
- Only version changed for anyone using Angular 4.0.0
33

4+
## v2.0.4
5+
- Fixed the issue that created multiple pubsub services (#7).
6+
47
## v2.0.1
58
- $pub command return undefined when no event subscribe.
69
- $sub method bug solved. RxJS Subscriber no longer call subscribe method on start.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular2-pubsub",
3-
"version": "2.0.3",
3+
"version": "2.0.4",
44
"description": "Pub/Sub service for Angular 2",
55
"main": "./umd/angular2-pubsub.js",
66
"module": "./esm/src/index.js",

src/angular2-pubsub.module.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
import { PubSubService } from './angular2-pubsub.service';
22
import { ModuleWithProviders, NgModule } from '@angular/core';
33

4-
@NgModule({
5-
providers: [
6-
PubSubService
7-
]
8-
})
94
export class PubSubModule {
105
public static forRoot(): ModuleWithProviders {
116
return {

0 commit comments

Comments
 (0)