@frontegg/angular 6.10.0-alpha.6962449603 → 6.10.0-alpha.7006542540

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.
@@ -1362,18 +1362,7 @@
1362
1362
  FronteggAppModule.forRoot = function (config) {
1363
1363
  return {
1364
1364
  ngModule: FronteggAppModule,
1365
- providers: [
1366
- FronteggAppService,
1367
- FronteggAuthGuard,
1368
- FronteggLoadGuard,
1369
- FronteggAuthService,
1370
- FronteggEntitlementsService,
1371
- FronteggSubscriptionService,
1372
- {
1373
- provide: FronteggAppOptionsClass,
1374
- useValue: config,
1375
- },
1376
- ],
1365
+ providers: provideFrontegg(config)
1377
1366
  };
1378
1367
  };
1379
1368
  return FronteggAppModule;
@@ -1389,6 +1378,18 @@
1389
1378
  exports: [FronteggComponent, AuthorizedContentDirective],
1390
1379
  }]
1391
1380
  }] });
1381
+ var provideFrontegg = function (config) { return [
1382
+ FronteggAppService,
1383
+ FronteggAuthGuard,
1384
+ FronteggLoadGuard,
1385
+ FronteggAuthService,
1386
+ FronteggEntitlementsService,
1387
+ FronteggSubscriptionService,
1388
+ {
1389
+ provide: FronteggAppOptionsClass,
1390
+ useValue: config,
1391
+ }
1392
+ ]; };
1392
1393
 
1393
1394
  /*
1394
1395
  * Public API Surface of frontegg-app
@@ -1410,6 +1411,7 @@
1410
1411
  exports.FronteggComponent = FronteggComponent;
1411
1412
  exports.FronteggEntitlementsService = FronteggEntitlementsService;
1412
1413
  exports.FronteggSubscriptionService = FronteggSubscriptionService;
1414
+ exports.provideFrontegg = provideFrontegg;
1413
1415
 
1414
1416
  Object.defineProperty(exports, '__esModule', { value: true });
1415
1417