@wildix/xbees-connect 1.2.23 → 1.2.24

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.
@@ -146,7 +146,7 @@ export interface ConnectClient {
146
146
  off: (callback: Callback | StorageEventCallback) => void;
147
147
  /**
148
148
  * saves data to localStorage */
149
- saveToStorage: <SavingType>(key: string, value: SavingType, sendToXbees?: boolean) => void;
149
+ saveToStorage: <SavingType>(key: string, value: SavingType) => void;
150
150
  /**
151
151
  * Retrieves data from localStorage */
152
152
  getFromStorage: <Type>(key: string) => Type | null;
@@ -173,7 +173,7 @@ export interface ConnectClient {
173
173
  onVisibilityChange: (callback: Callback<EventType.VISIBILITY>) => RemoveEventListener;
174
174
  /**
175
175
  * Send data to save in x-bees storage */
176
- saveInXbeesStorage: (key: string, value: string) => void;
176
+ saveInXbeesStorage: <SavingType>(key: string, value: SavingType) => void;
177
177
  /**
178
178
  * Request stored data from x-bees storage */
179
179
  getFromXbeesStorage: (key: string) => Promise<ResponseMessage<ClientEventType.GET_FROM_STORAGE>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wildix/xbees-connect",
3
- "version": "1.2.23",
3
+ "version": "1.2.24",
4
4
  "description": "This library provides easy communication between x-bees and integrated web applications",
5
5
  "author": "dimitri.chernykh <dimitri.chernykh@wildix.com>",
6
6
  "homepage": "",
@@ -43,5 +43,5 @@
43
43
  "engines": {
44
44
  "node": ">=16"
45
45
  },
46
- "gitHead": "f962b6b02c49ce08b6e25aef431ebaeca1e5a74f"
46
+ "gitHead": "78da3dfb044776c69c5fc4df9259409ab43e1556"
47
47
  }