@interopio/browser 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.d.ts +3 -3
- package/changelog.md +2 -0
- package/dist/browser.es.js +1 -1
- package/dist/browser.es.js.map +1 -1
- package/dist/browser.umd.js +1 -1
- package/dist/browser.umd.js.map +1 -1
- package/dist/browser.umd.min.js +1 -1
- package/package.json +3 -3
package/browser.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable @typescript-eslint/no-empty-interface */
|
|
4
4
|
import { UnsubscribeFunction } from "callback-registry";
|
|
5
5
|
import { IOConnectCore } from "@interopio/core";
|
|
6
|
-
import {
|
|
6
|
+
import { IOConnectDesktop } from "@interopio/desktop";
|
|
7
7
|
import { IOConnectWorkspaces } from "@interopio/workspaces-api";
|
|
8
8
|
import { IOConnectSearch } from "@interopio/search-api";
|
|
9
9
|
|
|
@@ -11,7 +11,7 @@ import { IOConnectSearch } from "@interopio/search-api";
|
|
|
11
11
|
* Factory function that creates a new ioconnect instance.
|
|
12
12
|
* If your application is running in IOConnect Desktop this will return a Glue42.Glue API, which is a super-set of the IOConnectBrowser.API.
|
|
13
13
|
*/
|
|
14
|
-
export type IOConnectBrowserFactoryFunction = (config?: IOConnectBrowser.Config) => Promise<IOConnectBrowser.API |
|
|
14
|
+
export type IOConnectBrowserFactoryFunction = (config?: IOConnectBrowser.Config) => Promise<IOConnectBrowser.API | IOConnectDesktop.API>;
|
|
15
15
|
declare const IOConnectBrowserFactory: IOConnectBrowserFactoryFunction;
|
|
16
16
|
export default IOConnectBrowserFactory;
|
|
17
17
|
|
|
@@ -100,7 +100,7 @@ export namespace IOConnectBrowser {
|
|
|
100
100
|
/**
|
|
101
101
|
* A list of io.Connect libraries which will be initiated internally and provide access to specific functionalities
|
|
102
102
|
*/
|
|
103
|
-
libraries?: Array<(io: IOConnectBrowser.API, config?: IOConnectBrowser.Config |
|
|
103
|
+
libraries?: Array<(io: IOConnectBrowser.API, config?: IOConnectBrowser.Config | IOConnectDesktop.Config) => Promise<void>>;
|
|
104
104
|
|
|
105
105
|
/* Enable and configure Intents Resolver UI */
|
|
106
106
|
intents?: IOConnectBrowser.Intents.Config;
|
package/changelog.md
CHANGED
package/dist/browser.es.js
CHANGED