apirocket 0.9.3 → 0.9.4

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.
@@ -8,9 +8,13 @@ export declare class AccountService {
8
8
  get myAccount$(): Observable<CustomerAccount>;
9
9
  get myOrders$(): Observable<CustomerOrders>;
10
10
  constructor();
11
+ private initMyAccountData;
12
+ private myAccountData;
13
+ passwordForm(formElement: HTMLFormElement, canChange: (canChange: boolean) => void): FormControl;
14
+ personalForm(formElement: HTMLFormElement, ecommerceService: EcommerceService, canUpdate: (canUpdate: boolean) => void): FormControl;
11
15
  setCustomerService(customer: CustomerService): void;
16
+ updateMyAccount(form: FormControl, customer: CustomerService): Observable<void>;
12
17
  updateShippingAddress(shippingAddress: ShippingAddress): void;
13
- personalForm(formElement: HTMLFormElement, ecommerceService: EcommerceService, canUpdate: (canUpdate: boolean) => void): FormControl;
14
- private myAccountData;
15
18
  private myOrderData;
19
+ passwordChange(form: FormControl, customer: CustomerService): Observable<void>;
16
20
  }
@@ -1,4 +1,10 @@
1
1
  import type { Discounts } from "./checkout.type";
2
+ export declare enum AccountStatus {
3
+ PERSONAL = "personal",
4
+ SHIPPING = "shipping",
5
+ BILLING = "billing",
6
+ ORDERS = "orders"
7
+ }
2
8
  export type CartItem = {
3
9
  product: {
4
10
  barcode: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apirocket",
3
- "version": "0.9.3",
3
+ "version": "0.9.4",
4
4
  "description": " ",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -37,7 +37,7 @@
37
37
  "typescript": "^4.9.5"
38
38
  },
39
39
  "dependencies": {
40
- "@e-xisto/form-control": "0.1.15",
40
+ "@e-xisto/form-control": "0.1.17",
41
41
  "@paypal/paypal-js": "^8.0.2",
42
42
  "dompurify": "^3.0.1",
43
43
  "rxjs": "^7.8.0"
@@ -1,6 +0,0 @@
1
- export declare enum AccountStatus {
2
- PERSONAL = "personal",
3
- SHIPPING = "shipping",
4
- BILLING = "billing",
5
- ORDERS = "orders"
6
- }