@interopio/browser 3.3.4 → 3.3.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.
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
  /**
@@ -1253,6 +1253,16 @@ export namespace IOConnectBrowser {
1253
1253
  flags: string;
1254
1254
  }
1255
1255
 
1256
+ /**
1257
+ * Configuration for the `allow` attribute of the `<iframe>` element in which the app will be started when opened in a Workspace.
1258
+ */
1259
+ export interface IFramePermissionsPolicyConfig {
1260
+ /**
1261
+ * Collection of flags that will be applied to the `<iframe>` element when the app is opened in a Workspace.
1262
+ */
1263
+ flags: string;
1264
+ }
1265
+
1256
1266
  export interface DefinitionDetails {
1257
1267
  url: string;
1258
1268
 
@@ -1284,6 +1294,11 @@ export namespace IOConnectBrowser {
1284
1294
  * Configuration for the `sandbox` attribute of the `<iframe>` element in which the app will be started when opened in a Workspace.
1285
1295
  */
1286
1296
  workspacesSandbox?: WorkspacesSandbox;
1297
+
1298
+ /**
1299
+ * Configuration for the `sandbox` attribute of the `<iframe>` element in which the app will be started when opened in a Workspace.
1300
+ */
1301
+ iframePermissionsPolicy?: IFramePermissionsPolicyConfig;
1287
1302
  }
1288
1303
 
1289
1304
  /**
@@ -1911,7 +1926,7 @@ export namespace IOConnectBrowser {
1911
1926
  /**
1912
1927
  * Provides additional information about an Intent (e.g., when an Intent is retrieved with the `getIntents()` method).
1913
1928
  */
1914
- export interface IntentInfo extends AddIntentListenerRequest {}
1929
+ export interface IntentInfo extends AddIntentListenerRequest { }
1915
1930
 
1916
1931
 
1917
1932
  /**
@@ -2270,14 +2285,14 @@ export namespace IOConnectBrowser {
2270
2285
  * @param app Name of the app whose user preferences to replace.
2271
2286
  * @param data Data to replace the existing user preferences.
2272
2287
  * @returns Promise that resolves when the user preferences of a specified app have been replaced.
2273
- */
2288
+ */
2274
2289
  setFor(app: string, data: any): Promise<void>;
2275
2290
 
2276
2291
  /**
2277
2292
  * Subscribes for changes to the user preferences of the current app.
2278
2293
  * @param callback Callback function that will be invoked once with the initial user preferences and after that on every change of the user preferences.
2279
2294
  * @returns Unsubscribe function.
2280
- */
2295
+ */
2281
2296
  subscribe(callback: (prefs: AppPreferences) => void): UnsubscribeFunction;
2282
2297
 
2283
2298
  /**
@@ -2285,7 +2300,7 @@ export namespace IOConnectBrowser {
2285
2300
  * @param app Name of the app to which to subscribe.
2286
2301
  * @param callback Callback function that will be invoked once with the initial user preferences and after that on every change of the user preferences.
2287
2302
  * @returns Unsubscribe function.
2288
- */
2303
+ */
2289
2304
  subscribeFor(app: string, callback: (prefs: AppPreferences) => void): UnsubscribeFunction;
2290
2305
 
2291
2306
  /**
package/changelog.md CHANGED
@@ -1,3 +1,5 @@
1
+ 3.3.5
2
+ feat: Added the permissions config for workspaces
1
3
  3.3.3
2
4
  chore: unified repo bump
3
5
  3.3.2
@@ -6112,7 +6112,7 @@ class IoC {
6112
6112
  }
6113
6113
  }
6114
6114
 
6115
- var version$1 = "3.3.4";
6115
+ var version$1 = "3.3.5";
6116
6116
 
6117
6117
  const createFactoryFunction = (coreFactoryFunction) => {
6118
6118
  return async (userConfig) => {
@@ -6118,7 +6118,7 @@
6118
6118
  }
6119
6119
  }
6120
6120
 
6121
- var version$1 = "3.3.4";
6121
+ var version$1 = "3.3.5";
6122
6122
 
6123
6123
  const createFactoryFunction = (coreFactoryFunction) => {
6124
6124
  return async (userConfig) => {