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

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,10 +1,16 @@
1
1
  {
2
2
  "name": "@adaptabletools/adaptable-plugin-openfin",
3
- "version": "10.0.4-canary.3",
3
+ "version": "11.0.0-canary.3",
4
4
  "description": "",
5
+ "homepage": "http://www.adaptabletools.com/",
6
+ "author": {
7
+ "name": "Jonny Wolfson",
8
+ "email": "jonny.wolfson@adaptabletools.com"
9
+ },
5
10
  "main": "src/index.js",
11
+ "typings": "src/index.d.ts",
6
12
  "dependencies": {
7
- "lodash-es": "^4.17.15",
13
+ "lodash": "^4.17.15",
8
14
  "openfin-fdc3": "^0.2.3",
9
15
  "openfin-notifications": "^0.12.6",
10
16
  "prop-types": "^15.6.2",
@@ -13,11 +19,7 @@
13
19
  "rebass": "^3.2.2",
14
20
  "redux": "4.0.5",
15
21
  "styled-components": "^4.4.1",
16
- "@adaptabletools/adaptable": "10.0.4-canary.3"
17
- },
18
- "author": {
19
- "name": "Jonny Wolfson",
20
- "email": "jonny.wolfson@adaptabletools.com"
21
- },
22
- "homepage": "http://www.adaptabletools.com/"
22
+ "tslib": "^2.0.0",
23
+ "@adaptabletools/adaptable": "11.0.0-canary.3"
24
+ }
23
25
  }
@@ -4,7 +4,7 @@ exports.OpenFinModule = exports.EXCEL_VALIDATION_FAILED = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const AdaptableModuleBase_1 = require("@adaptabletools/adaptable/src/Strategy/AdaptableModuleBase");
6
6
  const ModuleConstants = tslib_1.__importStar(require("@adaptabletools/adaptable/src/Utilities/Constants/ModuleConstants"));
7
- const throttle_1 = tslib_1.__importDefault(require("lodash-es/throttle"));
7
+ const throttle_1 = tslib_1.__importDefault(require("lodash/throttle"));
8
8
  const logger_1 = require("../logger");
9
9
  const GeneralConstants_1 = require("@adaptabletools/adaptable/src/Utilities/Constants/GeneralConstants");
10
10
  exports.EXCEL_VALIDATION_FAILED = 'excelValidationFailed';
@@ -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);