OpenFin FDC3 API
OpenFin FDC3 Client Library.
How to use
This package takes a reference to fin and uses the interop client found on fin.me.interop to instantiate an object matching the fdc3 spec.
** This package has been deprecated. Please use the InteropClient.getFDC3 method instead. **
import { fdc3FromFin } from '@openfin/fdc3-api';
const fdc3 = await fdc3FromFin(window.fin);
window.fdc3 = fdc3;
To specify a version of fdc3 you may pass the fdc3Version option. Supported options are '1.2' and '2.0'. Default is '2.0'.
import { fdc3FromFin } from '@openfin/fdc3-api';
const fdc3 = await fdc3FromFin(window.fin, { fdc3Version: '1.2'});
window.fdc3 = fdc3;