@interopio/desktop 6.4.0 → 6.5.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/changelog.md CHANGED
@@ -1,3 +1,11 @@
1
+ 6.5.0
2
+ - feat: contexts - add new methods - setPath,setPaths
3
+ - fix: windows - activate/focus never resolves in certain cases
4
+ - fix: appManager - when an is started, allow the timeout to be overridden
5
+ 6.4.1
6
+ - fix: channels - listen to event for channel restrictions
7
+ - chore: windows: messageTitle should be optional in the windows
8
+ - chore: fix types for the resolver
1
9
  6.4.0
2
10
  - feat: channels - add support for channel restrictions
3
11
  - chore: update types
package/desktop.d.ts CHANGED
@@ -1624,6 +1624,11 @@ export declare namespace IOConnectDesktop {
1624
1624
  * Optional parameters that will be passed to the executable app that is to be started. The value will be used as is and no validation will be performed on it.
1625
1625
  */
1626
1626
  parameters?: string;
1627
+
1628
+ /**
1629
+ * Interval in seconds to wait for the app to initialize.
1630
+ */
1631
+ timeout?: number
1627
1632
  }
1628
1633
 
1629
1634
  /**
@@ -4415,7 +4420,7 @@ export declare namespace IOConnectDesktop {
4415
4420
  /**
4416
4421
  * Title for the message that will be displayed in the dialog.
4417
4422
  */
4418
- messageTitle: string;
4423
+ messageTitle?: string;
4419
4424
 
4420
4425
  /**
4421
4426
  * If `true`, the user will be able to move the dialog.
@@ -5949,6 +5954,20 @@ export declare namespace IOConnectDesktop {
5949
5954
  */
5950
5955
  publish(data: any, name?: string): Promise<void>;
5951
5956
 
5957
+ /**
5958
+ * Sets a specified path within the Channel context to the provided value. If the path doesn't exist, it will be created.
5959
+ * @param path Object containing the path to update and the value with which to update it. The path must be specified as a dot-separated string (e.g., `"prop1.prop2"`).
5960
+ * @param name Name of the Channel to update. If not specified, will update the current Channel.
5961
+ */
5962
+ setPath(path: IOConnectDesktop.Contexts.PathValue, name?: string): Promise<void>;
5963
+
5964
+ /**
5965
+ * Sets a list of specified paths within the Channel context to the provided values. If a path doesn't exist, it will be created.
5966
+ * @param paths List of objects each containing a path to update and the value with which to update it. The path must be specified as a dot-separated string (e.g., `"prop1.prop2"`).
5967
+ * @param name Name of the Channel to update. If not specified, will update the current Channel.
5968
+ */
5969
+ setPaths(paths: IOConnectDesktop.Contexts.PathValue[], name?: string): Promise<void>;
5970
+
5952
5971
  /**
5953
5972
  * Retrieves a list of all Channel names.
5954
5973
  */
@@ -6316,7 +6335,22 @@ export declare namespace IOConnectDesktop {
6316
6335
  /**
6317
6336
  * Name of the raised Intent.
6318
6337
  */
6319
- intent: string;
6338
+ intent?: string | IntentRequest;
6339
+
6340
+ /**
6341
+ * Version of the Intents Resolver API.
6342
+ */
6343
+ version: string;
6344
+
6345
+ /**
6346
+ * Criteria for filtering the available Intent handlers. Available only if the `filterHandlers()` method was used to open the Intents Resolver UI.
6347
+ */
6348
+ handlerFilter?: HandlerFilter;
6349
+
6350
+ /**
6351
+ * Retrieves the title for the search operation. Available only if the `filterHandlers()` method was used to open the Intents Resolver UI and the `title` property of the `HandlerFilter` object was set.
6352
+ */
6353
+ getTitle(): string | undefined;
6320
6354
 
6321
6355
  /**
6322
6356
  * Notifies when a handler for the current Intent is added. Replays already existing handlers.