@wildix/xbees-connect 1.2.19-alpha.2 → 1.2.19-alpha.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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wildix/xbees-connect",
3
- "version": "1.2.19-alpha.1",
3
+ "version": "1.2.19-alpha.3",
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": "",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wildix/xbees-connect",
3
- "version": "1.2.19-alpha.1",
3
+ "version": "1.2.19-alpha.3",
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": "",
@@ -168,4 +168,10 @@ export interface ConnectClient {
168
168
  /**
169
169
  * Starts listen for the events of changing iframe activity and handle with the provided callback */
170
170
  onVisibilityChange: (callback: Callback<EventType.VISIBILITY>) => RemoveEventListener;
171
+ /**
172
+ * Send data to save in x-bees storage */
173
+ sendToXbeesStorage: (key: string, value: string) => void;
174
+ /**
175
+ * Request stored data from x-bees storage */
176
+ requestFromXbeesStorage: (key: string) => Promise<ResponseMessage<ClientEventType.REQUEST_FROM_STORAGE>>;
171
177
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wildix/xbees-connect",
3
- "version": "1.2.19-alpha.2",
3
+ "version": "1.2.19-alpha.4",
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": "abe96e2f59483b3a77c2a91cc1fce1a4ee101beb"
46
+ "gitHead": "8cf6b4f65f8275bf0649cf1842df6c1f7fec695a"
47
47
  }