@openfin/cloud-interop
Advanced tools
Comparing version 0.41.107 to 0.41.108
{ | ||
"name": "@openfin/cloud-interop", | ||
"version": "0.41.107", | ||
"version": "0.41.108", | ||
"description": "", | ||
@@ -23,7 +23,7 @@ "private": false, | ||
"peerDependencies": { | ||
"@openfin/core": "41.100.105" | ||
"@openfin/core": "41.100.106" | ||
}, | ||
"dependencies": { | ||
"@openfin/cloud-interop-core-api": "0.0.1-alpha.a27677b" | ||
"@openfin/cloud-interop-core-api": "0.0.1-alpha.05c8c77" | ||
} | ||
} |
@@ -7,4 +7,23 @@ # @openfin/cloud-interop | ||
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. | ||
Once overriden the `InteropBroker` will connect to the given Cloud Interop Service upon initialization. `Context` will be sent to the Cloud Interop Service when the override broker calls `setContext` and the broker will also subscribe `Context` updates from other any other connected brokers in the shared session. | ||
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. | ||
## Override Options | ||
| Option | Type | Description | Default Value | Required | | ||
|------------------------------------|----------------------------------------------------------------|-----------------------------------------------------------------------------------------------|-------------------|----------| | ||
| `url` | `string` | URL of the Cloud Interop service | N/A | Yes | | ||
| `platformId` | `string` | Platform ID | N/A | Yes | | ||
| `sourceId` | `string` | Source ID | N/A | Yes | | ||
| `reconnectRetryLimit` | `number` (optional) | Limit for reconnect retries | N/A | No | | ||
| `keepAliveIntervalSeconds` | `number` (optional) | Interval in seconds to keep the connection alive | N/A | No | | ||
| `findIntentTimeout` | `number` (optional) | How long to wait for connected clients to respond. Do not make this too high. | `3 seconds` | No | | ||
| `authenticationType` | ``'jwt' \| 'basic' \| 'default'`` (optional) | Type of authentication to use | N/A | No | | ||
| `basicAuthenticationParameters` | `{ username: string, password: string }` (optional) | Parameters for basic authentication | N/A | No | | ||
| `jwtAuthenticationParameters` | `{ jwtRequestCallback: () => string \| object, authenticationId: string }` (optional) | Parameters for JWT authentication | N/A | No | | ||
| `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 | | ||
| `logLevel` | ``'log' \| 'debug' \| 'info' \| 'warn' \| 'error'`` (optional) | The level at which cloud-interop override will log. | `'warn'` | No | | ||
## Usage | ||
@@ -11,0 +30,0 @@ |
Sorry, the diff of this file is too big to display
386167
2323
123
+ Added@openfin/cloud-interop-core-api@0.0.1-alpha.05c8c77(transitive)
+ Added@openfin/core@41.100.106(transitive)
- Removed@openfin/cloud-interop-core-api@0.0.1-alpha.a27677b(transitive)
- Removed@openfin/core@41.100.105(transitive)