@lenne.tech/ng-base 0.3.13 → 12.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1556,7 +1556,7 @@
1556
1556
  /**
1557
1557
  * Set configuration of base module in root module of the app
1558
1558
  */
1559
- BaseModule.forRoot = function (baseModuleConfig) {
1559
+ BaseModule.forRoot = function (baseModuleConfig, AppAuthService) {
1560
1560
  if (baseModuleConfig === void 0) { baseModuleConfig = {}; }
1561
1561
  // Default config
1562
1562
  var config = Object.assign({ apiUrl: 'localhost:3000', authGuardRedirectUrl: '/auth', logging: false, version: null, prefix: null, scrollDetectionOffset: 200, scrollOffset: 100, storageType: 'local' }, baseModuleConfig);
@@ -1572,7 +1572,7 @@
1572
1572
  providers.push({
1573
1573
  provide: i1$1.APOLLO_OPTIONS,
1574
1574
  useFactory: apolloOptionsFactory,
1575
- deps: [BASE_MODULE_CONFIG, http.HttpLink, AuthService, WsService],
1575
+ deps: [BASE_MODULE_CONFIG, http.HttpLink, AppAuthService ? AppAuthService : AuthService, WsService],
1576
1576
  });
1577
1577
  }
1578
1578
  else if (config.logging) {