apirocket 0.14.0 → 0.14.2

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.
@@ -18,4 +18,5 @@ export declare class AccountService {
18
18
  pdfOrder(orderId: number): Observable<PdfOrder>;
19
19
  private myOrderData;
20
20
  private myAccountData;
21
+ init(): void;
21
22
  }
@@ -1,9 +1,9 @@
1
1
  import type { Observable } from 'rxjs/internal/Observable';
2
2
  import type { FormControl } from "@e-xisto/form-control";
3
3
  import type { CartService } from "./cart.service";
4
- import type { CustomerType } from "@src/types/types";
5
4
  import type { AccountService } from "./account.service";
6
5
  export declare class CustomerService implements Authentication {
6
+ #private;
7
7
  readonly change$: Observable<CustomerService>;
8
8
  get acceptEmailMarketing(): boolean;
9
9
  get email(): string;
@@ -15,11 +15,6 @@ export declare class CustomerService implements Authentication {
15
15
  get token(): string;
16
16
  get type(): CustomerType;
17
17
  get isLogged(): boolean;
18
- private _accountService?;
19
- private _cartService?;
20
- private _state;
21
- private _subscribe$;
22
- private _update$;
23
18
  constructor();
24
19
  private changeCustomer;
25
20
  myAccount(): Promise<CustomerAccount>;
@@ -34,7 +34,6 @@ export type CartType = {
34
34
  units: number;
35
35
  uuid: string;
36
36
  };
37
- export type CustomerType = 'B2C' | 'B2B';
38
37
  export type LastOrder = {
39
38
  id: number;
40
39
  hash: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apirocket",
3
- "version": "0.14.0",
3
+ "version": "0.14.2",
4
4
  "description": " ",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",