@interopio/browser 3.4.0-next.0 → 3.4.0
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 +23 -6
- package/changelog.md +6 -0
- package/dist/browser.es.js +2 -2
- package/dist/browser.es.js.map +1 -1
- package/dist/browser.umd.js +2 -2
- package/dist/browser.umd.js.map +1 -1
- package/dist/browser.umd.min.js +1 -1
- package/package.json +9 -9
package/browser.d.ts
CHANGED
|
@@ -696,7 +696,7 @@ export namespace IOConnectBrowser {
|
|
|
696
696
|
export interface LayoutResult {
|
|
697
697
|
/** Status of the Layout operation. If successful, will be set to "Success", otherwise, will contain the returned error message. */
|
|
698
698
|
status: string;
|
|
699
|
-
}
|
|
699
|
+
}
|
|
700
700
|
}
|
|
701
701
|
|
|
702
702
|
/**
|
|
@@ -1268,6 +1268,16 @@ export namespace IOConnectBrowser {
|
|
|
1268
1268
|
flags: string;
|
|
1269
1269
|
}
|
|
1270
1270
|
|
|
1271
|
+
/**
|
|
1272
|
+
* Configuration for the `allow` attribute of the `<iframe>` element in which the app will be started when opened in a Workspace.
|
|
1273
|
+
*/
|
|
1274
|
+
export interface IFramePermissionsPolicyConfig {
|
|
1275
|
+
/**
|
|
1276
|
+
* Collection of flags that will be applied to the `<iframe>` element when the app is opened in a Workspace.
|
|
1277
|
+
*/
|
|
1278
|
+
flags: string;
|
|
1279
|
+
}
|
|
1280
|
+
|
|
1271
1281
|
export interface DefinitionDetails {
|
|
1272
1282
|
url: string;
|
|
1273
1283
|
|
|
@@ -1299,6 +1309,11 @@ export namespace IOConnectBrowser {
|
|
|
1299
1309
|
* Configuration for the `sandbox` attribute of the `<iframe>` element in which the app will be started when opened in a Workspace.
|
|
1300
1310
|
*/
|
|
1301
1311
|
workspacesSandbox?: WorkspacesSandbox;
|
|
1312
|
+
|
|
1313
|
+
/**
|
|
1314
|
+
* Configuration for the `sandbox` attribute of the `<iframe>` element in which the app will be started when opened in a Workspace.
|
|
1315
|
+
*/
|
|
1316
|
+
iframePermissionsPolicy?: IFramePermissionsPolicyConfig;
|
|
1302
1317
|
}
|
|
1303
1318
|
|
|
1304
1319
|
/**
|
|
@@ -1952,9 +1967,11 @@ export namespace IOConnectBrowser {
|
|
|
1952
1967
|
* @param callback Callback function for handling the event.
|
|
1953
1968
|
*/
|
|
1954
1969
|
onHandlerRemoved(callback: (removedHandler: ResolverIntentHandler, intent: IntentInfo) => void): UnsubscribeFunction;
|
|
1955
|
-
|
|
1970
|
+
|
|
1956
1971
|
/**
|
|
1957
1972
|
* Sends the chosen Intent handler to the app which raised the Intent.
|
|
1973
|
+
* @param response The Intent handler that will be sent to the app which raised the Intent.
|
|
1974
|
+
* @param options Options for sending the Intent handler to the app that raised the Intent.
|
|
1958
1975
|
*/
|
|
1959
1976
|
sendResponse(response: ResolverIntentHandler, options?: SendResolverResponseOptions): Promise<IOConnectCore.Interop.InvocationResult | undefined>;
|
|
1960
1977
|
}
|
|
@@ -2008,7 +2025,7 @@ export namespace IOConnectBrowser {
|
|
|
2008
2025
|
/**
|
|
2009
2026
|
* Provides additional information about an Intent (e.g., when an Intent is retrieved with the `getIntents()` method).
|
|
2010
2027
|
*/
|
|
2011
|
-
export interface IntentInfo extends AddIntentListenerRequest {}
|
|
2028
|
+
export interface IntentInfo extends AddIntentListenerRequest { }
|
|
2012
2029
|
|
|
2013
2030
|
|
|
2014
2031
|
/**
|
|
@@ -2373,14 +2390,14 @@ export namespace IOConnectBrowser {
|
|
|
2373
2390
|
* @param app Name of the app whose user preferences to replace.
|
|
2374
2391
|
* @param data Data to replace the existing user preferences.
|
|
2375
2392
|
* @returns Promise that resolves when the user preferences of a specified app have been replaced.
|
|
2376
|
-
*/
|
|
2393
|
+
*/
|
|
2377
2394
|
setFor(app: string, data: any): Promise<void>;
|
|
2378
2395
|
|
|
2379
2396
|
/**
|
|
2380
2397
|
* Subscribes for changes to the user preferences of the current app.
|
|
2381
2398
|
* @param callback Callback function that will be invoked once with the initial user preferences and after that on every change of the user preferences.
|
|
2382
2399
|
* @returns Unsubscribe function.
|
|
2383
|
-
*/
|
|
2400
|
+
*/
|
|
2384
2401
|
subscribe(callback: (prefs: AppPreferences) => void): UnsubscribeFunction;
|
|
2385
2402
|
|
|
2386
2403
|
/**
|
|
@@ -2388,7 +2405,7 @@ export namespace IOConnectBrowser {
|
|
|
2388
2405
|
* @param app Name of the app to which to subscribe.
|
|
2389
2406
|
* @param callback Callback function that will be invoked once with the initial user preferences and after that on every change of the user preferences.
|
|
2390
2407
|
* @returns Unsubscribe function.
|
|
2391
|
-
*/
|
|
2408
|
+
*/
|
|
2392
2409
|
subscribeFor(app: string, callback: (prefs: AppPreferences) => void): UnsubscribeFunction;
|
|
2393
2410
|
|
|
2394
2411
|
/**
|
package/changelog.md
CHANGED
package/dist/browser.es.js
CHANGED
|
@@ -6279,7 +6279,7 @@ class IoC {
|
|
|
6279
6279
|
}
|
|
6280
6280
|
}
|
|
6281
6281
|
|
|
6282
|
-
var version$1 = "3.4.0
|
|
6282
|
+
var version$1 = "3.4.0";
|
|
6283
6283
|
|
|
6284
6284
|
const createFactoryFunction = (coreFactoryFunction) => {
|
|
6285
6285
|
return async (userConfig) => {
|
|
@@ -9241,7 +9241,7 @@ const ContextMessageReplaySpec = {
|
|
|
9241
9241
|
}
|
|
9242
9242
|
};
|
|
9243
9243
|
|
|
9244
|
-
var version = "6.4.0
|
|
9244
|
+
var version = "6.4.0";
|
|
9245
9245
|
|
|
9246
9246
|
function prepareConfig (configuration, ext, glue42gd) {
|
|
9247
9247
|
let nodeStartingContext;
|