@adaptabletools/adaptable-plugin-ipushpull 20.1.5 → 20.1.7
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 +1 -1
- package/src/index.js +4 -3
package/package.json
CHANGED
package/src/index.js
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
import { AdaptablePlugin } from '@adaptabletools/adaptable/types';
|
2
2
|
import env from './env';
|
3
|
-
|
4
|
-
import
|
5
|
-
import { version as coreVersion } from '@adaptabletools/adaptable/package.json';
|
3
|
+
import packageJson from '../package.json';
|
4
|
+
import adaptableCorePackageJson from '@adaptabletools/adaptable/package.json';
|
6
5
|
import * as ModuleConstants from '@adaptabletools/adaptable/src/Utilities/Constants/ModuleConstants';
|
7
6
|
import { IPushPullModuleId } from '@adaptabletools/adaptable/src/Utilities/Constants/ModuleConstants';
|
8
7
|
import * as PopupRedux from '@adaptabletools/adaptable/src/Redux/ActionsReducers/PopupRedux';
|
@@ -17,6 +16,8 @@ import { IPushPullAddPagePopup } from './View/IPushPullAddPagePopup';
|
|
17
16
|
import { IPUSHPULL_ADD_PAGE, IPUSHPULL_DOMAIN_PAGES_SET, IPUSHPULL_LOGIN, IPUSHPULL_SEND_SNAPSHOT, IPUSHPULL_SET_CURRENT_FOLDER, IPUSHPULL_START_LIVE_DATA, IPUSHPULL_STOP_LIVE_DATA, } from '@adaptabletools/adaptable/src/Redux/ActionsReducers/PluginsRedux';
|
18
17
|
import StringExtensions from '@adaptabletools/adaptable/src/Utilities/Extensions/StringExtensions';
|
19
18
|
import { IPushPullViewPanelControl } from './View/IPushPullViewPanel';
|
19
|
+
const { version, name } = packageJson;
|
20
|
+
const { version: coreVersion } = adaptableCorePackageJson;
|
20
21
|
const suffix = name.endsWith('-cjs') ? '-cjs' : '';
|
21
22
|
if (version !== coreVersion) {
|
22
23
|
console.warn(`
|