
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@finos/fdc3-backplane-client
Advanced tools
JS client for connecting and communicating with 'backplane'
Javascript client which allows web based desktop agents to connect and communicate with backplane through API.
import { BackplaneClient } from '@finos/fdc3-backplane-client';
const instrument = {
type: "fdc3.instrument",
id: {
ticker: "AAPL",
ISIN: "US0378331005",
FIGI: "BBG000B9XRY4",
},
};
var backplaneClient = new backplaneClient.BackplaneClient({
appIdentifier: {
appId: 'backplaneJSClient',
},
url: 'http://localhost:4475',
});
await backplaneClient.connect(
//hook for receive message from backplane
msg => {
if (msg.type == Fdc3Action.Broadcast) {
console.info(`Backplane Client: Recived broadcast over channel: ${msg.payload.channelId}`);
}
console.info(JSON.stringify(msg));
},
//hook on disconnection
err => {
console.error(`Backplane Client: Disconnected.${err}`);
}
);
await backplaneClient.broadcast(instrument, "Channel 1");
To access the APIs in your application, simply install '@finos/fdc3-backplane-client' npm package:
# npm
npm install @finos/fdc3-backplane-client
#yarn
yarn add @finos/fdc3-backplane-client
Use any of below to locally build and reference this package in your web application.
Copyright (C) 2022 Backplane open source project
Distributed under the Apache License, Version 2.0.
SPDX-License-Identifier: Apache-2.0
FAQs
JS client for connecting and communicating with 'backplane'
The npm package @finos/fdc3-backplane-client receives a total of 1 weekly downloads. As such, @finos/fdc3-backplane-client popularity was classified as not popular.
We found that @finos/fdc3-backplane-client demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.