@infrab4a/connect-angular 3.8.0-beta.1 → 3.8.0-beta.10

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.
@@ -1,8 +1,8 @@
1
1
  import { ModuleWithProviders } from '@angular/core';
2
- import { ESClientOptions } from '@infrab4a/connect';
2
+ import { AxiosElasticSearchConfig } from '@infrab4a/connect';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class AngularElasticSeachModule {
5
- static initializeApp(options: ESClientOptions): ModuleWithProviders<AngularElasticSeachModule>;
5
+ static initializeApp(options: AxiosElasticSearchConfig): ModuleWithProviders<AngularElasticSeachModule>;
6
6
  static ɵfac: i0.ɵɵFactoryDeclaration<AngularElasticSeachModule, never>;
7
7
  static ɵmod: i0.ɵɵNgModuleDeclaration<AngularElasticSeachModule, never, never, never>;
8
8
  static ɵinj: i0.ɵɵInjectorDeclaration<AngularElasticSeachModule>;
@@ -1418,8 +1418,7 @@
1418
1418
  {
1419
1419
  provide: i1$1.ProductsIndex,
1420
1420
  useFactory: function (configuration) {
1421
- // return new ProductsIndex(new AxiosAdapter(configuration))
1422
- return new i1$1.ProductsIndex(new i1$1.ElasticSearchAdapter(configuration));
1421
+ return new i1$1.ProductsIndex(new i1$1.AxiosAdapter(configuration));
1423
1422
  },
1424
1423
  deps: [ES_CONFIG],
1425
1424
  },
@@ -1431,8 +1430,7 @@
1431
1430
  {
1432
1431
  provide: i1$1.ProductsIndex,
1433
1432
  useFactory: function (configuration) {
1434
- // return new ProductsIndex(new AxiosAdapter(configuration))
1435
- return new i1$1.ProductsIndex(new i1$1.ElasticSearchAdapter(configuration));
1433
+ return new i1$1.ProductsIndex(new i1$1.AxiosAdapter(configuration));
1436
1434
  },
1437
1435
  deps: [ES_CONFIG],
1438
1436
  },