# @openfin/web-interop

> `@openfin/web-interop` enables interopability within a web browser. It is intended to be used by both content and platform developers to create integrated experiences which leverage OpenFin's existing interopability APIs.

Latest version **0.37.17** (published 2024-03-27) · SEE LICENSE IN LICENSE.md license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install @openfin/web-interop
pnpm add @openfin/web-interop
yarn add @openfin/web-interop
bun add @openfin/web-interop
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.37.17 |
| Published | 2024-03-27 |
| First published | 2023-12-01 |
| Weekly downloads | 0 |
| License | SEE LICENSE IN LICENSE.md |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 3 |
| Unpacked size | 2 MB |
| Known vulnerabilities | 0 (+4 in 2 direct dependencies) |
| Install scripts | no |
| Maintainers | ameet-openfin, jmransegnola, marek_openfin, yoge-openfin, nil.ffej, gilesstevenson-openfin, eheyder, newaz.sharif, efraim-herstic, royhafin, openfincolinhu, openfin-johans, alan15008, openfin-ci-gh, hina-khalid, ife-dev1, mjosling, elliott.burr, vsaw3, gallak-openfin, galim.kaudinov, hzhi0209, andy.westacott, __tomasz__, cameronopenfin, jennrondeau, dhilan, benstubbington, davidcoxon-of, openfin-jeff, gouthamc, hannahmcmillen, xyopenfin, smocarski, eugeneross-openfin, imansuri, manamiueda, sakibahmad, shahossain, openfinbrandon, pierrebaize, noyangunday, michaelmcoates, johnmandia-openfin, rdepena, tgoc99, wenjunche, harsimran.openfin.singh, luiemilio, licui3936, connormccafferty, adam.saland, openfin-ci, chrishobsonexpero, richbrowne-openfin, azizyok, openfin-gavin, oblarg |

## Links

- npm: https://www.npmjs.com/package/@openfin/web-interop
- npm.io page: https://npm.io/package/@openfin/web-interop

## Dependencies (3)

- [uuid](https://npm.io/package/uuid.md) ^8.3.2
- [events](https://npm.io/package/events.md) ^3.3.0
- [lodash](https://npm.io/package/lodash.md) 4.17.21

## Recent versions

- 0.37.17 (latest) — 2024-03-27
- 0.37.30 (recent) — 2024-06-03
- 0.37.26 — 2024-05-20
- 0.37.25 — 2024-05-18
- 0.37.24 — 2024-05-13
- 0.37.22 — 2024-04-24
- 0.37.21 — 2024-04-24
- 0.37.20 — 2024-04-22
- 0.0.1-v36.80.11-preview.0 — 2024-04-16
- 0.37.19 — 2024-04-13
- 0.38.24 — 2024-04-12
- 0.38.23 — 2024-04-11
- 0.38.22 — 2024-04-10
- 0.0.1-v36.80.10-preview.0 — 2024-04-09
- 0.38.19 — 2024-04-09
- … 40 more at https://npm.io/package/@openfin/web-interop/versions

## README

# @openfin/web-interop

`@openfin/web-interop` enables interopability within a web browser. It is intended to be used by both content and platform developers to create integrated experiences which leverage OpenFin's existing interopability APIs.

This package relies on the type definitions found in [@openfin/core](https://www.npmjs.com/package/@openfin/core) which is a required peer dependency.

## Developer Guides

* [Content Developer Guide](docs/web-application-developer-guide.md) - For developers who need access to the `fin` api to build web applications.
* [Platform Developer Guide](docs/platform-developer-guide.md) - For developers building platform-like web experiences who wish to enable and host a Web Interop setup.

## Supported APIs

`@openfin/web-interop` currently supports the following APIs:

- `fin.me.identity` - The identity of the `fin` instance provided by the Web Broker.
- `fin.InterApplicationBus.Channel.connect` - Currently, the only supported channel strategy is `classic`.
- `fin.InterApplicationBus.Channel.create`
- `InteropBroker`
  - `fin.Interop.init`
- `InteropClient`
    - `fin.Interop.connectSync`
    - `fin.me.interop`
    - `InteropClient.getFDC3()` - (FDC3 support is currently limited to context sharing on User Channels)

## API Reference

-   [index](out/docs/README.md)
-   [@openfin/web-interop](out/docs/@openfin/web-interop/README.md)
-   [@openfin/web-interop/iframe-broker](out/docs/@openfin/web-interop/iframe-broker/README.md)
-   [@openfin/web-interop/shared-worker](out/docs/@openfin/web-interop/shared-worker/README.md)

## See Also

-   [OpenFin Container Developer guide](https://developers.openfin.co/of-docs/docs/container-overview)
-   [Fin API reference](https://developer.openfin.co/docs/javascript/stable)

---
_Source: https://npm.io/package/@openfin/web-interop · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
