@infrab4a/connect-angular 4.0.0-beta.51 → 4.0.0-beta.53

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.
@@ -738,7 +738,8 @@ AngularHasuraGraphQLModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.
738
738
  },
739
739
  {
740
740
  provide: CategoryCollectionChildrenHasuraGraphQLRepository,
741
- useFactory: (options) => new CategoryCollectionChildrenHasuraGraphQLRepository(options.endpoint, options.credentials),
741
+ useFactory: (options) => new CategoryCollectionChildrenHasuraGraphQLRepository(options),
742
+ deps: ['HasuraConfig'],
742
743
  },
743
744
  {
744
745
  provide: 'CategoryCollectionChildrenRepository',
@@ -851,7 +852,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImpor
851
852
  },
852
853
  {
853
854
  provide: CategoryCollectionChildrenHasuraGraphQLRepository,
854
- useFactory: (options) => new CategoryCollectionChildrenHasuraGraphQLRepository(options.endpoint, options.credentials),
855
+ useFactory: (options) => new CategoryCollectionChildrenHasuraGraphQLRepository(options),
856
+ deps: ['HasuraConfig'],
855
857
  },
856
858
  {
857
859
  provide: 'CategoryCollectionChildrenRepository',
@@ -1602,7 +1604,7 @@ __decorate([
1602
1604
  __metadata("design:type", Array)
1603
1605
  ], CategoryWithTree.prototype, "children", void 0);
1604
1606
 
1605
- class UtilService {
1607
+ class UtilHelper {
1606
1608
  static createSlug(name) {
1607
1609
  return name
1608
1610
  .toLowerCase()
@@ -1695,7 +1697,7 @@ class WishlistService {
1695
1697
  }
1696
1698
  async create(personId, title, description, userFullName) {
1697
1699
  const data = {
1698
- slug: UtilService.createSlug(`favoritos ${userFullName} ${title}`),
1700
+ slug: UtilHelper.createSlug(`favoritos ${userFullName} ${title}`),
1699
1701
  name: title,
1700
1702
  description,
1701
1703
  metadata: {
@@ -1714,7 +1716,7 @@ class WishlistService {
1714
1716
  update(id, title, description, userFullName) {
1715
1717
  const data = {
1716
1718
  id,
1717
- slug: UtilService.createSlug(`${id}-favoritos ${userFullName} ${title}`),
1719
+ slug: UtilHelper.createSlug(`${id}-favoritos ${userFullName} ${title}`),
1718
1720
  name: title,
1719
1721
  description,
1720
1722
  metadata: {
@@ -2095,5 +2097,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImpor
2095
2097
  * Generated bundle index. Do not edit.
2096
2098
  */
2097
2099
 
2098
- export { AngularConnectModule, AngularFirebaseAuthModule, AngularFirestoreModule, AngularHasuraGraphQLModule, AuthService, CartService, CatalogService, CategoryService, CategoryWithTree, CheckoutService, CheckoutSubscriptionService, CouponService, HomeShopService, OrderService, ProductSorts, ShippingService, UtilService, WishlistService };
2100
+ export { AngularConnectModule, AngularFirebaseAuthModule, AngularFirestoreModule, AngularHasuraGraphQLModule, AuthService, CartService, CatalogService, CategoryService, CategoryWithTree, CheckoutService, CheckoutSubscriptionService, CouponService, HomeShopService, OrderService, ProductSorts, ShippingService, UtilHelper, WishlistService };
2099
2101
  //# sourceMappingURL=infrab4a-connect-angular.mjs.map