@openfin/remote-adapter 37.80.38 → 37.81.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -3
- package/out/remote-adapter-alpha.d.ts +301 -465
- package/out/remote-adapter-beta.d.ts +301 -465
- package/out/remote-adapter-public.d.ts +301 -465
- package/out/remote-adapter.d.ts +309 -473
- package/out/remote-adapter.js +1954 -762
- package/package.json +7 -18
package/README.md
CHANGED
|
@@ -38,7 +38,6 @@ Connect to the "host" application from a "remote" application.
|
|
|
38
38
|
|
|
39
39
|
```typescript
|
|
40
40
|
import { connect } from '@openfin/remote-adapter';
|
|
41
|
-
import { fdc3FromFin } from '@openfin/fdc3-api';
|
|
42
41
|
|
|
43
42
|
const rtcPeer = createWebRTCPeer(); // we don't provide this function it is the user's responsibility to create a RTCPeerConnection
|
|
44
43
|
|
|
@@ -47,8 +46,8 @@ const fin = await connect({ rtc: rtcPeer });
|
|
|
47
46
|
// Connect to the host application as an interop client.
|
|
48
47
|
fin.me.interop = fin.Interop.connectSync('<HOST_APP_UUID>', {});
|
|
49
48
|
|
|
50
|
-
// Get an instance of fdc3 from using the
|
|
51
|
-
const fdc3 =
|
|
49
|
+
// Get an instance of fdc3 from using the getFDC3Sync api.
|
|
50
|
+
const fdc3 = fin.me.interop.getFDC3Sync('2.0');
|
|
52
51
|
```
|
|
53
52
|
|
|
54
53
|
## License
|