@openfin/cloud-interop 0.41.108 → 0.42.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +1 -20
- package/package.json +3 -3
package/README.md
CHANGED
@@ -4,26 +4,7 @@ This package contains an override that enables Cloud Interop for `InteropBroker`
|
|
4
4
|
|
5
5
|
Overrides are passed to `fin.Platform.init` when initializing a platform or to `fin.Interop.init` when creating an `InteropBroker` directly.
|
6
6
|
|
7
|
-
Once overriden the `InteropBroker` will connect to the given Cloud Interop Service upon initialization. `Context` will be sent to the Cloud Interop
|
8
|
-
|
9
|
-
The Cloud Interop Service also supports `Intent`'s. Connected `InteropBroker`'s info calls (`handleInfoForIntent`, `handleInfoForIntentsByContext`, `fdc3.findIntent`, `fdc3.findIntentsByContext`) will include results for remote sessions and decorate those app identifiers with additional metadata which can then be used to raise `Intent`'s on remote sessions.
|
10
|
-
|
11
|
-
## Override Options
|
12
|
-
|
13
|
-
| Option | Type | Description | Default Value | Required |
|
14
|
-
|------------------------------------|----------------------------------------------------------------|-----------------------------------------------------------------------------------------------|-------------------|----------|
|
15
|
-
| `url` | `string` | URL of the Cloud Interop service | N/A | Yes |
|
16
|
-
| `platformId` | `string` | Platform ID | N/A | Yes |
|
17
|
-
| `sourceId` | `string` | Source ID | N/A | Yes |
|
18
|
-
| `reconnectRetryLimit` | `number` (optional) | Limit for reconnect retries | N/A | No |
|
19
|
-
| `keepAliveIntervalSeconds` | `number` (optional) | Interval in seconds to keep the connection alive | N/A | No |
|
20
|
-
| `findIntentTimeout` | `number` (optional) | How long to wait for connected clients to respond. Do not make this too high. | `3 seconds` | No |
|
21
|
-
| `authenticationType` | ``'jwt' \| 'basic' \| 'default'`` (optional) | Type of authentication to use | N/A | No |
|
22
|
-
| `basicAuthenticationParameters` | `{ username: string, password: string }` (optional) | Parameters for basic authentication | N/A | No |
|
23
|
-
| `jwtAuthenticationParameters` | `{ jwtRequestCallback: () => string \| object, authenticationId: string }` (optional) | Parameters for JWT authentication | N/A | No |
|
24
|
-
| `logger` | ``(logLevel: 'log' \| 'debug' \| 'info' \| 'warn' \| 'error', message: string, ...args: unknown[]) => void`` (optional) | If provided, will defer to this logger, otherwise logs to `console.debug`, reduced by LogLevel | `console.debug` | No |
|
25
|
-
| `logLevel` | ``'log' \| 'debug' \| 'info' \| 'warn' \| 'error'`` (optional) | The level at which cloud-interop override will log. | `'warn'` | No |
|
26
|
-
|
7
|
+
Once overriden the `InteropBroker` will connect to the given Cloud Interop Service upon initialization. `Context` will be sent to the Cloud Interop server and the broker will receive `Context` updates from other any other connected brokers in the shared session.
|
27
8
|
|
28
9
|
## Usage
|
29
10
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@openfin/cloud-interop",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.42.0",
|
4
4
|
"description": "",
|
5
5
|
"private": false,
|
6
6
|
"files": [
|
@@ -20,9 +20,9 @@
|
|
20
20
|
"author": "",
|
21
21
|
"license": "SEE LICENSE IN LICENSE.md",
|
22
22
|
"peerDependencies": {
|
23
|
-
"@openfin/core": "
|
23
|
+
"@openfin/core": "42.100.1"
|
24
24
|
},
|
25
25
|
"dependencies": {
|
26
|
-
"@openfin/cloud-interop-core-api": "0.0.1-alpha.
|
26
|
+
"@openfin/cloud-interop-core-api": "0.0.1-alpha.a27677b"
|
27
27
|
}
|
28
28
|
}
|