@interopio/browser-platform 3.0.3 → 3.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/browser.platform.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
2
2
|
import { IOConnectCore } from "@interopio/core";
|
|
3
3
|
import { IOConnectBrowser } from "@interopio/browser";
|
|
4
|
-
import {
|
|
4
|
+
import { IOConnectDesktop } from "@interopio/desktop";
|
|
5
5
|
|
|
6
6
|
export namespace IOConnectBrowserPlatform {
|
|
7
7
|
|
|
@@ -292,6 +292,7 @@ export namespace IOConnectBrowserPlatform {
|
|
|
292
292
|
}
|
|
293
293
|
|
|
294
294
|
export interface Config {
|
|
295
|
+
alwaysPlatform?: boolean;
|
|
295
296
|
preferred?: PreferredConnectionSettings;
|
|
296
297
|
enableManualSwitching?: boolean;
|
|
297
298
|
}
|
|
@@ -448,7 +449,7 @@ export namespace IOConnectBrowserPlatform {
|
|
|
448
449
|
}
|
|
449
450
|
}
|
|
450
451
|
|
|
451
|
-
export type IOConnectBrowserPlatformFactoryFunction = (config: IOConnectBrowserPlatform.Config) => Promise<{ io: IOConnectBrowser.API |
|
|
452
|
+
export type IOConnectBrowserPlatformFactoryFunction = (config: IOConnectBrowserPlatform.Config) => Promise<{ io: IOConnectBrowser.API | IOConnectDesktop.API; platform?: IOConnectBrowserPlatform.API }>;
|
|
452
453
|
|
|
453
454
|
declare const IOConnectBrowserPlatformFactory: IOConnectBrowserPlatformFactoryFunction;
|
|
454
455
|
|
package/changelog.md
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
3.0.4
|
|
2
|
+
feat: added the option for the platform to always be a separate platform regardless how it was started
|
|
3
|
+
chore: migrated @glue42/desktop to @interopio/desktop
|
|
1
4
|
3.0.3
|
|
2
5
|
fix: invoking interop method in correct instance when an intent is raised with target 'startNew'
|
|
3
6
|
3.0.2
|