![require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages](https://cdn.sanity.io/images/cgdhsj6q/production/be8ab80c8efa5907bc341c6fefe9aa20d239d890-1600x1097.png?w=400&fit=max&auto=format)
Security News
require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
@openfin/cloud-interop
Advanced tools
This package contains an override that enables Cloud Interop for OpenFin `InteropBroker`'s unlocking Interop across applications and devices.
This package contains an override that enables Cloud Interop for OpenFin InteropBroker
's unlocking Interop across applications and devices.
Overrides are passed to fin.Platform.init
when initializing a platform or to fin.Interop.init
when creating an InteropBroker
directly.
Once overriden the InteropBroker
will connect to Cloud Interop. 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.
Using the service currently requires user credentials provided by OpenFin, please contact support@openfin.co.
In a Platform:
import { cloudInteropOverride } from "@openfin/cloud-interop";
import { ExampleOverride } from "./example";
const cloudConfig = {
userId: "andy", // Credentials provided by OpenFin
password: "asdf1234", // Credentials provided by OpenFin
platformId: "8cef8205-d5a8-41c4-b368-47475b32c019", // Shared identifier for apps that should communicate
url: "<CLOUD_INTEROP_SERVER_URL>",
sourceId: fin.me.identity.uuid,
source: "Desktop",
};
const InitializedCloudInteropOverride = await cloudInteropOverride(cloudConfig);
// Ordering is important, ensure Cloud Interop Override is at the end of the list to send overriden Context to the cloud
await fin.Platform.init({
interopOverride: [ExampleOverride, InitializedCloudInteropOverride],
});
When creating an InteropBroker
directly:
import { cloudInteropOverride } from "@openfin/cloud-interop";
const cloudConfig = {
userId: "andy", // Credentials provided by OpenFin
password: "asdf1234", // Credentials provided by OpenFin
platformId: "8cef8205-d5a8-41c4-b368-47475b32c019", // Shared identifier for apps that should communicate
url: "<CLOUD_INTEROP_SERVER_URL>",
sourceId: fin.me.identity.uuid,
source: "Desktop",
};
const InitializedCloudInteropOverride = await cloudInteropOverride(cloudConfig);
await fin.Interop.init(fin.me.uuid, InitializedCloudInteropOverride);
FAQs
This package contains an override that enables Cloud Interop for `InteropBroker`'s unlocking Interop across applications and devices. It is powered by the [@openfin/cloud-interop-core-api](https://www.npmjs.com/package/@openfin/cloud-interop-core-api?acti
The npm package @openfin/cloud-interop receives a total of 714 weekly downloads. As such, @openfin/cloud-interop popularity was classified as not popular.
We found that @openfin/cloud-interop demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 60 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.