@interopio/browser-platform 3.0.4 → 3.1.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.
@@ -41,139 +41,8 @@ export namespace IOConnectBrowserPlatform {
41
41
  }
42
42
 
43
43
  export namespace Applications {
44
-
45
- export interface FDC3Definition {
46
- /**
47
- * Application name. Should be unique.
48
- */
49
- name: string;
50
-
51
- /**
52
- * The title of the application. Sets the window's title.
53
- */
54
- title?: string;
55
-
56
- /**
57
- * Application version.
58
- */
59
- version?: string;
60
-
61
- /**
62
- * The unique application identifier located within a specific application directory instance.
63
- */
64
- appId: string;
65
-
66
- /**
67
- * URI or full JSON of the application manifest providing all details related to launch and use requirements as described by the vendor.
68
- * The format of this manifest is vendor specific, but can be identified by the manifestType attribute.
69
- */
70
- manifest: string;
71
-
72
- /**
73
- * The manifest type which relates to the format and structure of the manifest content. The definition is based on the vendor specific format and definition outside of this specification.
74
- */
75
- manifestType: string;
76
-
77
- /**
78
- * Optional tooltip description e.g. for a launcher.
79
- */
80
- tooltip?: string;
81
-
82
- /**
83
- * Description of the application.This will typically be a 1 - 2 paragraph style blurb about the application.Allow mark up language.
84
- */
85
- description?: string;
86
-
87
- /**
88
- * Optional e - mail to receive queries about the application.
89
- */
90
- contactEmail?: string;
91
-
92
- /**
93
- * Optional e - mail to receive support requests for the application.
94
- */
95
- supportEmail?: string;
96
-
97
- /**
98
- * The name of the company that owns the application.The publisher has control over their namespace / app / signature.
99
- */
100
- publisher?: string;
101
-
102
- /**
103
- * Array of images to show the user when they are looking at app description.Each image can have an optional description / tooltip.
104
- */
105
- images?: Image[];
106
-
107
- /**
108
- * Holds Icons used for the application, a Launcher may be able to use multiple Icon sizes or there may be a 'button' Icon.
109
- */
110
- icons?: Icon[];
111
-
112
- /**
113
- * An optional set of name value pairs that can be used to deliver custom data from an App Directory to a launcher.
114
- */
115
- customConfig?: PropertiesObject;
116
-
117
- /**
118
- * The list of intents implemented by the Application
119
- */
120
- intents?: Intent[];
121
- }
122
-
123
- /** App Image holder */
124
- export interface Image {
125
- /**
126
- * App Image URL.
127
- */
128
- url?: string;
129
- }
130
-
131
- /** Icon holder */
132
- export interface Icon {
133
- /**
134
- * Icon URL.
135
- */
136
- icon?: string;
137
- }
138
-
139
- /**
140
- * An intent definition.
141
- */
142
- export interface Intent {
143
- /**
144
- * The name of the intent to 'launch'. In this case the name of an Intent supported by an Application.
145
- */
146
- name: string;
147
-
148
- /**
149
- * An optional display name for the intent that may be used in UI instead of the name.
150
- */
151
- displayName?: string;
152
-
153
- /**
154
- * A comma separated list of the types of contexts the intent offered by the application can process, here the first part of the context type is the namespace e.g."fdc3.contact, org.symphony.contact".
155
- */
156
- contexts?: string[];
157
-
158
- /**
159
- * Custom configuration for the intent that may be required for a particular desktop agent.
160
- */
161
- customConfig?: object;
162
-
163
- /**
164
- * Result type may be a type name, the string "channel" (which indicates that the app will return a channel) or a string indicating a channel that returns a specific type, e.g. "channel<fdc3.instrument>"
165
- */
166
-
167
- resultType?: string;
168
- }
169
-
170
- /** Generic object for passing properties, settings, etc., in the for of key/value pairs. */
171
- export interface PropertiesObject {
172
- [key: string]: unknown;
173
- }
174
-
175
44
  export interface Config {
176
- local?: Array<IOConnectBrowser.AppManager.Definition | FDC3Definition>;
45
+ local?: Array<IOConnectBrowser.AppManager.Definition | IOConnectBrowser.AppManager.FDC3DefinitionV1 | IOConnectBrowser.AppManager.FDC3DefinitionV2>;
177
46
  remote?: RemoteStore;
178
47
  }
179
48
  }
@@ -337,6 +206,10 @@ export namespace IOConnectBrowserPlatform {
337
206
  showDelayedIndicator?: boolean;
338
207
  }
339
208
 
209
+ export interface IFrameSandboxConfig{
210
+ flags: string;
211
+ }
212
+
340
213
  export interface Config {
341
214
  src: string;
342
215
  hibernation?: HibernationConfig;
@@ -344,6 +217,7 @@ export namespace IOConnectBrowserPlatform {
344
217
  isFrame?: boolean;
345
218
  initAsEmpty?: boolean;
346
219
  frameCache?: boolean;
220
+ iframeSandbox?: IFrameSandboxConfig
347
221
  }
348
222
  }
349
223
 
@@ -384,6 +258,7 @@ export namespace IOConnectBrowserPlatform {
384
258
  };
385
259
  fetchIntervalMS?: number;
386
260
  tokenRefreshIntervalMS?: number;
261
+ responseTimeoutMS?: number;
387
262
  }
388
263
  }
389
264
 
package/changelog.md CHANGED
@@ -1,3 +1,14 @@
1
+ 3.1.0
2
+ feat: integrated getDefaultGlobal, setDefaultGlobal and clearDefaultGlobal Layouts API methods with io.Manager
3
+ fix: fixed remove method not deleting the layout in io.Manager
4
+ fix: Update application title to be optional in intent handler interface
5
+ feat: Added the option to configure the iframe sandboxing
6
+ feat: Introduce parsing of FDC3 2.0 definitions
7
+ feat: join a specified window to a channel
8
+ feat: add getChannel method to the webWindow
9
+ feat: enable starting an application instance on a passed channel
10
+ feat: add getMy, getWindowsOnChannel and getWindowsWithChannels methods to the Channels API
11
+ feat: Integrate global layouts methods with io.Manager and fix remove method not deleting the layout in io.Manager
1
12
  3.0.4
2
13
  feat: added the option for the platform to always be a separate platform regardless how it was started
3
14
  chore: migrated @glue42/desktop to @interopio/desktop