@infrab4a/connect-angular 0.12.2 → 0.12.3

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 (45) hide show
  1. package/bundles/infrab4a-connect-angular.umd.js +1219 -1188
  2. package/bundles/infrab4a-connect-angular.umd.js.map +1 -1
  3. package/esm2015/infrab4a-connect-angular.js +4 -4
  4. package/esm2015/lib/angular-connect.module.js +29 -29
  5. package/esm2015/lib/angular-firebase-auth.module.js +113 -113
  6. package/esm2015/lib/angular-firestore.module.js +336 -336
  7. package/esm2015/lib/consts/default-shop.const.js +1 -1
  8. package/esm2015/lib/consts/index.js +1 -1
  9. package/esm2015/lib/index.js +4 -4
  10. package/esm2015/lib/services/auth.service.js +41 -41
  11. package/esm2015/lib/services/cart.service.js +165 -165
  12. package/esm2015/lib/services/checkout-subscription.service.js +71 -37
  13. package/esm2015/lib/services/checkout.service.js +79 -79
  14. package/esm2015/lib/services/coupon.service.js +51 -51
  15. package/esm2015/lib/services/errors/index.js +1 -1
  16. package/esm2015/lib/services/errors/invalid-coupon.error.js +6 -6
  17. package/esm2015/lib/services/index.js +6 -6
  18. package/esm2015/lib/services/order.service.js +31 -31
  19. package/esm2015/lib/services/types/index.js +2 -2
  20. package/esm2015/lib/services/types/required-checkout-data.type.js +1 -1
  21. package/esm2015/lib/services/types/required-checkout-subscription-data.type.js +1 -1
  22. package/esm2015/public-api.js +1 -1
  23. package/fesm2015/infrab4a-connect-angular.js +841 -811
  24. package/fesm2015/infrab4a-connect-angular.js.map +1 -1
  25. package/infrab4a-connect-angular.d.ts +5 -5
  26. package/lib/angular-connect.module.d.ts +12 -12
  27. package/lib/angular-firebase-auth.module.d.ts +10 -10
  28. package/lib/angular-firestore.module.d.ts +10 -10
  29. package/lib/consts/default-shop.const.d.ts +1 -1
  30. package/lib/consts/index.d.ts +1 -1
  31. package/lib/index.d.ts +4 -4
  32. package/lib/services/auth.service.d.ts +19 -19
  33. package/lib/services/cart.service.d.ts +41 -41
  34. package/lib/services/checkout-subscription.service.d.ts +18 -13
  35. package/lib/services/checkout.service.d.ts +22 -22
  36. package/lib/services/coupon.service.d.ts +13 -13
  37. package/lib/services/errors/index.d.ts +1 -1
  38. package/lib/services/errors/invalid-coupon.error.d.ts +4 -4
  39. package/lib/services/index.d.ts +6 -6
  40. package/lib/services/order.service.d.ts +13 -13
  41. package/lib/services/types/index.d.ts +2 -2
  42. package/lib/services/types/required-checkout-data.type.d.ts +2 -2
  43. package/lib/services/types/required-checkout-subscription-data.type.d.ts +2 -2
  44. package/package.json +1 -1
  45. package/public-api.d.ts +1 -1
@@ -1 +1 @@
1
- export * from './invalid-coupon.error';
1
+ export * from './invalid-coupon.error';
@@ -1,4 +1,4 @@
1
- export declare class InvalidCouponError extends Error {
2
- readonly message: any;
3
- constructor(message: any);
4
- }
1
+ export declare class InvalidCouponError extends Error {
2
+ readonly message: any;
3
+ constructor(message: any);
4
+ }
@@ -1,6 +1,6 @@
1
- export * from './auth.service';
2
- export * from './cart.service';
3
- export * from './checkout.service';
4
- export * from './checkout-subscription.service';
5
- export * from './order.service';
6
- export * from './coupon.service';
1
+ export * from './auth.service';
2
+ export * from './cart.service';
3
+ export * from './checkout.service';
4
+ export * from './checkout-subscription.service';
5
+ export * from './order.service';
6
+ export * from './coupon.service';
@@ -1,13 +1,13 @@
1
- import { AngularFirestore } from '@angular/fire/firestore';
2
- import { Order, OrderFirestoreRepository } from '@infrab4a/connect';
3
- import { Subject } from 'rxjs';
4
- import * as i0 from "@angular/core";
5
- export declare class OrderService {
6
- private readonly angularFirestore;
7
- private readonly orderRepository;
8
- orderSubject: Subject<Order>;
9
- constructor(angularFirestore: AngularFirestore, orderRepository: OrderFirestoreRepository);
10
- getOrder(id: string): Subject<Order>;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<OrderService, never>;
12
- static ɵprov: i0.ɵɵInjectableDeclaration<OrderService>;
13
- }
1
+ import { AngularFirestore } from '@angular/fire/firestore';
2
+ import { Order, OrderFirestoreRepository } from '@infrab4a/connect';
3
+ import { Subject } from 'rxjs';
4
+ import * as i0 from "@angular/core";
5
+ export declare class OrderService {
6
+ private readonly angularFirestore;
7
+ private readonly orderRepository;
8
+ orderSubject: Subject<Order>;
9
+ constructor(angularFirestore: AngularFirestore, orderRepository: OrderFirestoreRepository);
10
+ getOrder(id: string): Subject<Order>;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<OrderService, never>;
12
+ static ɵprov: i0.ɵɵInjectableDeclaration<OrderService>;
13
+ }
@@ -1,2 +1,2 @@
1
- export * from './required-checkout-data.type';
2
- export * from './required-checkout-subscription-data.type';
1
+ export * from './required-checkout-data.type';
2
+ export * from './required-checkout-subscription-data.type';
@@ -1,2 +1,2 @@
1
- import { Checkout } from '@infrab4a/connect';
2
- export declare type RequiredCheckoutData = Partial<Pick<Checkout, 'id' | 'user' | 'shop' | 'lineItems'>>;
1
+ import { Checkout } from '@infrab4a/connect';
2
+ export declare type RequiredCheckoutData = Partial<Pick<Checkout, 'id' | 'user' | 'shop' | 'lineItems'>>;
@@ -1,2 +1,2 @@
1
- import { CheckoutSubscription } from '@infrab4a/connect';
2
- export declare type RequiredCheckoutSubscriptionData = Partial<Pick<CheckoutSubscription, 'id'>>;
1
+ import { CheckoutSubscription } from '@infrab4a/connect';
2
+ export declare type RequiredCheckoutSubscriptionData = Partial<Pick<CheckoutSubscription, 'id'>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infrab4a/connect-angular",
3
- "version": "0.12.2",
3
+ "version": "0.12.3",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org"
6
6
  },
package/public-api.d.ts CHANGED
@@ -1 +1 @@
1
- export * from './lib';
1
+ export * from './lib';