@adaptabletools/adaptable-plugin-openfin 16.0.0 → 16.0.1-canary.1
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 +0 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adaptabletools/adaptable-plugin-openfin",
|
|
3
|
-
"version": "16.0.
|
|
3
|
+
"version": "16.0.1-canary.1",
|
|
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.3.0",
|
|
23
|
-
"@adaptabletools/adaptable": "16.0.
|
|
23
|
+
"@adaptabletools/adaptable": "16.0.1-canary.1"
|
|
24
24
|
}
|
|
25
25
|
}
|
package/src/index.js
CHANGED
|
@@ -70,14 +70,6 @@ class OpenFinPlugin extends types_1.AdaptablePlugin {
|
|
|
70
70
|
this.options = Object.assign(Object.assign({}, defaultOptions), options);
|
|
71
71
|
}
|
|
72
72
|
afterInit(adaptable) {
|
|
73
|
-
//@ts-ignore
|
|
74
|
-
adaptable.api.eventApi.on('FDC3MessageSent', (eventInfo) => {
|
|
75
|
-
requestAnimationFrame(() => {
|
|
76
|
-
var _a, _b;
|
|
77
|
-
// do this on a RAF, so we potentially allow other listeners to FDC3MessageSent to add data on the context
|
|
78
|
-
(_b = (_a = this.options).onFDC3MessageSent) === null || _b === void 0 ? void 0 : _b.call(_a, eventInfo);
|
|
79
|
-
});
|
|
80
|
-
});
|
|
81
73
|
this.openFinModule = (adaptable.adaptableModules.get(ModuleConstants.OpenFinModuleId));
|
|
82
74
|
}
|
|
83
75
|
afterInitApi(adaptable) {
|