@adaptabletools/adaptable-plugin-interopio 22.0.2 → 22.0.4

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-interopio",
3
- "version": "22.0.2",
3
+ "version": "22.0.4",
4
4
  "description": "",
5
5
  "homepage": "http://www.adaptabletools.com/",
6
6
  "author": {
package/src/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { AdaptablePlugin } from '@adaptabletools/adaptable/types';
2
2
  import { IAdaptable } from '@adaptabletools/adaptable/src/AdaptableInterfaces/IAdaptable';
3
3
  import { InteropioPluginApiImpl } from './InteropioPluginApiImpl';
4
- import { InteropioPluginOptions } from '../../../adaptable/src/AdaptableOptions/InteropioPluginOptions';
4
+ import { InteropioPluginOptions } from './types';
5
5
  import * as Interop from '@interopio/browser';
6
6
  import * as InteropDesktop from '@interopio/desktop';
7
7
  type InteropAPI = Interop.IOConnectBrowser.API | InteropDesktop.IOConnectDesktop.API;
@@ -26,5 +26,6 @@ declare class InteropioPlugin extends AdaptablePlugin {
26
26
  */
27
27
  private integrateAdaptableAlerts;
28
28
  }
29
- declare const _default: (options: InteropioPluginOptions, interopioApi: InteropAPI) => InteropioPlugin;
30
- export default _default;
29
+ export type { InteropioPluginOptions } from './types';
30
+ export declare const interopioPlugin: (options: InteropioPluginOptions, interopioApi: InteropAPI) => InteropioPlugin;
31
+ export default interopioPlugin;
package/src/index.js CHANGED
@@ -106,4 +106,5 @@ class InteropioPlugin extends AdaptablePlugin {
106
106
  });
107
107
  }
108
108
  }
109
- export default (options, interopioApi) => new InteropioPlugin(options, interopioApi);
109
+ export const interopioPlugin = (options, interopioApi) => new InteropioPlugin(options, interopioApi);
110
+ export default interopioPlugin;
package/src/types.d.ts ADDED
@@ -0,0 +1 @@
1
+ export type { InteropioPluginOptions } from '@adaptabletools/adaptable/src/AdaptableOptions/InteropioPluginOptions';
package/src/types.js ADDED
@@ -0,0 +1 @@
1
+ export {};