@wildix/xbees-connect 1.1.12 → 1.1.13
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.
- package/README.md +13 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -81,6 +81,11 @@ Retrieves current x-bees context data. The data may be different depending on co
|
|
|
81
81
|
|
|
82
82
|
Retrieves contact data currently opened in x-bees.
|
|
83
83
|
|
|
84
|
+
#### `getCurrentConversation(): Promise<Response>`
|
|
85
|
+
|
|
86
|
+
Retrieves conversation data ({id, type}) currently opened in x-bees.
|
|
87
|
+
If the conversation is temporary - retrieves undefined
|
|
88
|
+
|
|
84
89
|
#### `getThemeMode(): Promise<Response>`
|
|
85
90
|
|
|
86
91
|
Retrieves current theme mode (light or dark)
|
|
@@ -139,6 +144,14 @@ Starts listening for one of the x-bees events and returns the provided callback
|
|
|
139
144
|
|
|
140
145
|
Stops listening for one of the x-bees events with the particular callback
|
|
141
146
|
|
|
147
|
+
#### `onLogout()`
|
|
148
|
+
|
|
149
|
+
Starts listen on logout event and send event to the xbees about logout able
|
|
150
|
+
|
|
151
|
+
#### `sendAnalytics()`
|
|
152
|
+
|
|
153
|
+
Sends analytics data to xbees for track into analytics data
|
|
154
|
+
|
|
142
155
|
## Known issues
|
|
143
156
|
|
|
144
157
|
The below function can fix cases when `String.replaceAll()` does not work in the mobile version. Most likely, this is some kind of WebView bug.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wildix/xbees-connect",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.13",
|
|
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": "",
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"engines": {
|
|
43
43
|
"node": ">=16"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "f61ad8eeaa80bcaf32fb3a897c1aeca47d09ba9a"
|
|
46
46
|
}
|