@infrab4a/connect-angular 4.3.0-beta.8 → 4.3.0-beta.9

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.
Files changed (50) hide show
  1. package/esm2022/angular-connect.module.mjs +1 -1
  2. package/esm2022/angular-elastic-search.module.mjs +1 -1
  3. package/esm2022/angular-firebase-auth.module.mjs +1 -1
  4. package/esm2022/angular-firestore.module.mjs +1 -1
  5. package/esm2022/angular-hasura-graphql.module.mjs +1 -1
  6. package/esm2022/consts/category-structure.mjs +1 -1
  7. package/esm2022/consts/default-shop.const.mjs +1 -1
  8. package/esm2022/consts/es-config.const.mjs +1 -1
  9. package/esm2022/consts/firebase-const.mjs +1 -1
  10. package/esm2022/consts/hasura-options.const.mjs +1 -1
  11. package/esm2022/consts/index.mjs +1 -1
  12. package/esm2022/helpers/index.mjs +1 -1
  13. package/esm2022/helpers/mobile-operation-system-checker.helper.mjs +1 -1
  14. package/esm2022/index.mjs +1 -1
  15. package/esm2022/services/auth.service.mjs +1 -1
  16. package/esm2022/services/cart.service.mjs +1 -1
  17. package/esm2022/services/catalog/adapters/category-structure.adapter.mjs +1 -1
  18. package/esm2022/services/catalog/adapters/index.mjs +1 -1
  19. package/esm2022/services/catalog/adapters/new-category-structure.adapter.mjs +1 -1
  20. package/esm2022/services/catalog/adapters/old-category-structure.adapter.mjs +1 -1
  21. package/esm2022/services/catalog/catalog.service.mjs +1 -1
  22. package/esm2022/services/catalog/category.service.mjs +1 -1
  23. package/esm2022/services/catalog/enums/index.mjs +1 -1
  24. package/esm2022/services/catalog/enums/product-sorts.enum.mjs +1 -1
  25. package/esm2022/services/catalog/index.mjs +1 -2
  26. package/esm2022/services/catalog/models/category-with-tree.model.mjs +1 -1
  27. package/esm2022/services/catalog/models/index.mjs +1 -1
  28. package/esm2022/services/catalog/types/index.mjs +1 -1
  29. package/esm2022/services/catalog/types/product-sort.type.mjs +1 -1
  30. package/esm2022/services/catalog/wishlist.service.mjs +8 -17
  31. package/esm2022/services/checkout-subscription.service.mjs +1 -1
  32. package/esm2022/services/checkout.service.mjs +1 -1
  33. package/esm2022/services/coupon.service.mjs +1 -1
  34. package/esm2022/services/helpers/index.mjs +1 -1
  35. package/esm2022/services/helpers/util.helper.mjs +1 -1
  36. package/esm2022/services/home-shop.service.mjs +1 -1
  37. package/esm2022/services/index.mjs +1 -1
  38. package/esm2022/services/order.service.mjs +1 -1
  39. package/esm2022/services/shipping.service.mjs +1 -1
  40. package/esm2022/services/types/index.mjs +1 -1
  41. package/esm2022/services/types/required-checkout-data.type.mjs +1 -1
  42. package/esm2022/services/types/required-checkout-subscription-data.type.mjs +1 -1
  43. package/esm2022/services/types/shipping-methods.type.mjs +1 -1
  44. package/esm2022/types/firebase-app-config.type.mjs +1 -1
  45. package/esm2022/types/index.mjs +1 -1
  46. package/fesm2022/infrab4a-connect-angular.mjs +66 -75
  47. package/fesm2022/infrab4a-connect-angular.mjs.map +1 -1
  48. package/package.json +6 -6
  49. package/services/catalog/index.d.ts +0 -1
  50. package/services/catalog/wishlist.service.d.ts +4 -21
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infrab4a/connect-angular",
3
- "version": "4.3.0-beta.8",
3
+ "version": "4.3.0-beta.9",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org"
6
6
  },
@@ -9,12 +9,12 @@
9
9
  "url": "https://github.com/B4AGroup/b4a-firebase-libs"
10
10
  },
11
11
  "peerDependencies": {
12
- "@angular/common": "^17.0.0",
13
- "@angular/core": "^17.0.0",
14
- "@angular/fire": "^7.5.0",
15
- "@infrab4a/connect": "^4.2.6",
12
+ "@angular/common": "^17.0.1",
13
+ "@angular/core": "^17.0.1",
14
+ "@angular/fire": "17.0.0-next.0",
15
+ "@infrab4a/connect": "^4.2.4",
16
16
  "js-cookie": "^3.0.1",
17
- "rxjs": "^6.6.7"
17
+ "rxjs": "~7.8.0"
18
18
  },
19
19
  "dependencies": {
20
20
  "js-cookie": "^3.0.1",
@@ -1,4 +1,3 @@
1
- export * from './adapters';
2
1
  export * from './catalog.service';
3
2
  export * from './category.service';
4
3
  export * from './enums';
@@ -1,34 +1,17 @@
1
- import { CategoryFilterRepository, CategoryRepository, ProductRepository, ProductsIndex, Shops, Wishlist, WishlistRepository } from '@infrab4a/connect';
1
+ import { CategoryFilterRepository, ProductRepository, ProductsIndex, Shops, Wishlist, WishlistRepository } from '@infrab4a/connect';
2
2
  import { CatalogService } from './catalog.service';
3
3
  import { CategoryService } from './category.service';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class WishlistService {
6
6
  private readonly wishlistRepository;
7
- private readonly categoryRepository;
8
7
  private readonly shop;
9
8
  private catalogService;
10
9
  private categoryService;
11
- constructor(wishlistRepository: WishlistRepository, categoryRepository: CategoryRepository, shop: Shops, productRepository: ProductRepository, categoryFilterRepository: CategoryFilterRepository, productIndex: ProductsIndex);
10
+ constructor(wishlistRepository: WishlistRepository, shop: Shops, productRepository: ProductRepository, categoryFilterRepository: CategoryFilterRepository, productIndex: ProductsIndex);
12
11
  getCatalogService(): CatalogService<import("@infrab4a/connect").Category>;
13
12
  getCategoryService(): CategoryService;
14
- create({ personId, title, description, userFullName, userPhoto, theme, bannerUrl, }: {
15
- personId: string;
16
- title: string;
17
- description: string;
18
- userFullName: string;
19
- userPhoto?: string;
20
- theme?: string;
21
- bannerUrl?: string;
22
- }): Promise<Wishlist>;
23
- update({ id, title, description, userFullName, userPhoto, theme, bannerUrl, }: {
24
- id: string;
25
- title: string;
26
- description: string;
27
- userFullName: string;
28
- userPhoto?: string;
29
- theme?: string;
30
- bannerUrl?: string;
31
- }): Promise<Wishlist>;
13
+ create(personId: string, title: string, description: string, userFullName: string, userPhoto?: string): Promise<Wishlist>;
14
+ update(id: string, title: string, description: string, userFullName: string, userPhoto?: string): Promise<Wishlist>;
32
15
  delete(wishlistId: string): Promise<void>;
33
16
  getWishlistBySlug(slug: string): Promise<Wishlist>;
34
17
  getWishlistsByPerson(personId: string): Promise<Wishlist[]>;