@liquidcommerce/elements-sdk 2.1.1-beta.6 → 2.1.1-beta.7

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.
@@ -2,4 +2,5 @@ import { BaseCommand } from './base-command.service';
2
2
  export declare class CommonCommands extends BaseCommand {
3
3
  static getInstance(): CommonCommands;
4
4
  loadCart(): Promise<void>;
5
+ private persistSessionData;
5
6
  }
@@ -35,7 +35,10 @@ export declare class StoreService {
35
35
  private immutableSet;
36
36
  private notifyListeners;
37
37
  private debouncedSave;
38
+ forceSave(): void;
38
39
  private saveStore;
39
40
  private loadPersistedState;
41
+ private loadFromDBPersistence;
42
+ private addBeforeUnloadHandler;
40
43
  private getAddressDataFromId;
41
44
  }
@@ -11,5 +11,7 @@ export declare class AddressCommands extends BaseCommand {
11
11
  setSelectedAddress(addressData: IAddressData): Promise<void>;
12
12
  setAddressManually(address: Omit<IAddress, 'id'>, coordinates: ICoords): Promise<void>;
13
13
  clearSelectedAddress(): void;
14
+ private shouldResetCartForAddressChange;
15
+ private persistSessionData;
14
16
  getDetails(): IAddressData | null;
15
17
  }
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "LiquidCommerce Elements SDK",
4
4
  "license": "UNLICENSED",
5
5
  "author": "LiquidCommerce Team",
6
- "version": "2.1.1-beta.6",
6
+ "version": "2.1.1-beta.7",
7
7
  "homepage": "https://docs.liquidcommerce.co/elements-sdk",
8
8
  "repository": {
9
9
  "type": "git",