Skip to content

Commit

Permalink
[BUFIX] Fixed circular dependency; should work with Angular 8; Fixes #…
Browse files Browse the repository at this point in the history
  • Loading branch information
Emanuel ACHIREI authored and sclausen committed Sep 7, 2019
1 parent 977fa10 commit 6d5015e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
export * from './mqtt.module';
export * from './mqtt.service';
export * from './mqtt.model';
3 changes: 0 additions & 3 deletions src/mqtt.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ import {
} from '@angular/core';
import { IMqttClient, IMqttServiceOptions } from './mqtt.model';

export * from './mqtt.service';
export * from './mqtt.model';

export const MQTT_SERVICE_OPTIONS: IMqttServiceOptions = {
connectOnCreate: true,
hostname: 'localhost',
Expand Down
2 changes: 1 addition & 1 deletion src/mqtt.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import {
MqttConnectionState
} from './mqtt.model';

import { MqttServiceConfig, MqttClientService } from './index';
import { MqttServiceConfig, MqttClientService } from './mqtt.module';

/**
* With an instance of MqttService, you can observe and subscribe to MQTT in multiple places, e.g. in different components,
Expand Down

0 comments on commit 6d5015e

Please sign in to comment.