@interopio/browser-platform 3.0.3 → 3.0.5

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.
@@ -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 { Glue42 } from "@glue42/desktop";
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
  }
@@ -336,6 +337,10 @@ export namespace IOConnectBrowserPlatform {
336
337
  showDelayedIndicator?: boolean;
337
338
  }
338
339
 
340
+ export interface IFrameSandboxConfig{
341
+ flags: string;
342
+ }
343
+
339
344
  export interface Config {
340
345
  src: string;
341
346
  hibernation?: HibernationConfig;
@@ -343,6 +348,7 @@ export namespace IOConnectBrowserPlatform {
343
348
  isFrame?: boolean;
344
349
  initAsEmpty?: boolean;
345
350
  frameCache?: boolean;
351
+ iframeSandbox?: IFrameSandboxConfig
346
352
  }
347
353
  }
348
354
 
@@ -448,7 +454,7 @@ export namespace IOConnectBrowserPlatform {
448
454
  }
449
455
  }
450
456
 
451
- export type IOConnectBrowserPlatformFactoryFunction = (config: IOConnectBrowserPlatform.Config) => Promise<{ io: IOConnectBrowser.API | Glue42.Glue; platform?: IOConnectBrowserPlatform.API }>;
457
+ export type IOConnectBrowserPlatformFactoryFunction = (config: IOConnectBrowserPlatform.Config) => Promise<{ io: IOConnectBrowser.API | IOConnectDesktop.API; platform?: IOConnectBrowserPlatform.API }>;
452
458
 
453
459
  declare const IOConnectBrowserPlatformFactory: IOConnectBrowserPlatformFactoryFunction;
454
460
 
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