@fluid-topics/ft-app-context 2.0.12 → 2.0.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.
|
@@ -7,7 +7,7 @@ export declare class FtAnalyticsEventsService extends FtServiceWithCache {
|
|
|
7
7
|
sendDocumentSearchEvent(event: FtDocumentSearchEvent): Promise<string>;
|
|
8
8
|
sendSearchPageSelectEvent(event: FtSearchPageSelectEvent): Promise<string>;
|
|
9
9
|
sendSearchResultOpenContextMenuEvent(event: FtSearchResultOpenContextMenuEvent): Promise<string>;
|
|
10
|
-
|
|
10
|
+
sendDocumentOnDemandTranslateEvent(event: FtDocumentOnDemandTranslateEvent): Promise<string>;
|
|
11
11
|
convertMapToAnalyticsDocument(map: FtMap): FtAnalyticsEventDocument;
|
|
12
12
|
private sortEventArrays;
|
|
13
13
|
private sendEvents;
|
|
@@ -18,7 +18,7 @@ export class FtAnalyticsEventsService extends FtServiceWithCache {
|
|
|
18
18
|
async sendSearchResultOpenContextMenuEvent(event) {
|
|
19
19
|
return this.sendEvents([this.sortEventArrays(event)], "Failed to send search_result.open_context_menu event");
|
|
20
20
|
}
|
|
21
|
-
async
|
|
21
|
+
async sendDocumentOnDemandTranslateEvent(event) {
|
|
22
22
|
return this.sendEvents([this.sortEventArrays(event)], "Failed to send document.on-demand_translate event");
|
|
23
23
|
}
|
|
24
24
|
convertMapToAnalyticsDocument(map) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-app-context",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.13",
|
|
4
4
|
"description": "Global application context for Fluid Topics integrations",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,11 +19,11 @@
|
|
|
19
19
|
"url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@fluid-topics/ft-wc-utils": "2.0.
|
|
22
|
+
"@fluid-topics/ft-wc-utils": "2.0.13",
|
|
23
23
|
"lit": "3.1.0"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@fluid-topics/public-api": "1.0.
|
|
26
|
+
"@fluid-topics/public-api": "1.0.118"
|
|
27
27
|
},
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "8fff94f7df8ec1feca0f92b763d01d9745f6b975"
|
|
29
29
|
}
|