@adaptabletools/adaptable-plugin-openfin 11.1.5 → 11.1.8
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/package.json +2 -2
- package/src/index.js +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adaptabletools/adaptable-plugin-openfin",
|
|
3
|
-
"version": "11.1.
|
|
3
|
+
"version": "11.1.8",
|
|
4
4
|
"description": "",
|
|
5
5
|
"homepage": "http://www.adaptabletools.com/",
|
|
6
6
|
"author": {
|
|
@@ -20,6 +20,6 @@
|
|
|
20
20
|
"redux": "4.0.5",
|
|
21
21
|
"styled-components": "^4.4.1",
|
|
22
22
|
"tslib": "^2.0.0",
|
|
23
|
-
"@adaptabletools/adaptable": "11.1.
|
|
23
|
+
"@adaptabletools/adaptable": "11.1.8"
|
|
24
24
|
}
|
|
25
25
|
}
|
package/src/index.js
CHANGED
|
@@ -91,11 +91,11 @@ class OpenFinPlugin extends types_1.AdaptablePlugin {
|
|
|
91
91
|
}
|
|
92
92
|
afterInit(adaptable) {
|
|
93
93
|
//@ts-ignore
|
|
94
|
-
adaptable.api.eventApi.on('
|
|
94
|
+
adaptable.api.eventApi.on('FDC3MessageSent', (eventInfo) => {
|
|
95
95
|
requestAnimationFrame(() => {
|
|
96
96
|
var _a, _b;
|
|
97
|
-
// do this on a RAF, so we potentially allow other listeners to
|
|
98
|
-
(_b = (_a = this.options).
|
|
97
|
+
// do this on a RAF, so we potentially allow other listeners to FDC3MessageSent to add data on the context
|
|
98
|
+
(_b = (_a = this.options).onFDC3MessageSent) === null || _b === void 0 ? void 0 : _b.call(_a, eventInfo);
|
|
99
99
|
});
|
|
100
100
|
});
|
|
101
101
|
this.openFinModule = (adaptable.adaptableModules.get(ModuleConstants.OpenFinModuleId));
|