@adaptabletools/adaptable-plugin-openfin 10.0.4-canary.5 → 11.0.0-canary.2

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adaptabletools/adaptable-plugin-openfin",
3
- "version": "10.0.4-canary.5",
3
+ "version": "11.0.0-canary.2",
4
4
  "description": "",
5
5
  "main": "src/index.js",
6
6
  "dependencies": {
@@ -13,7 +13,8 @@
13
13
  "rebass": "^3.2.2",
14
14
  "redux": "4.0.5",
15
15
  "styled-components": "^4.4.1",
16
- "@adaptabletools/adaptable": "10.0.4-canary.5"
16
+ "tslib": "^2.0.0",
17
+ "@adaptabletools/adaptable": "11.0.0-canary.2"
17
18
  },
18
19
  "author": {
19
20
  "name": "Jonny Wolfson",
@@ -30,7 +30,7 @@ class OpenFinApiImpl extends ApiBase_1.ApiBase {
30
30
  ((_a = event.notification.customData) === null || _a === void 0 ? void 0 : _a.name) === 'validation-failed') {
31
31
  if (this.getCurrentLiveOpenFinReport()) {
32
32
  try {
33
- let openFinModule = (this.adaptable.modules.get(ModuleConstants.OpenFinModuleId));
33
+ let openFinModule = (this.adaptable.adaptableModules.get(ModuleConstants.OpenFinModuleId));
34
34
  openFinModule.sendInitialLiveData(true);
35
35
  }
36
36
  catch (ex) {
package/src/index.js CHANGED
@@ -98,7 +98,7 @@ class OpenFinPlugin extends types_1.AdaptablePlugin {
98
98
  (_b = (_a = this.options).broadcastFDC3Instrument) === null || _b === void 0 ? void 0 : _b.call(_a, instrumentContext);
99
99
  });
100
100
  });
101
- this.openFinModule = adaptable.modules.get(ModuleConstants.OpenFinModuleId);
101
+ this.openFinModule = (adaptable.adaptableModules.get(ModuleConstants.OpenFinModuleId));
102
102
  }
103
103
  afterInitApi(adaptable) {
104
104
  this.openFinApi = new OpenFinApiImpl_1.OpenFinApiImpl(adaptable, this.options);