Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 736 Bytes

header.md

File metadata and controls

23 lines (14 loc) · 736 Bytes

Seer API

This library provides an abstraction around the Window.postMessage API to interact with the Seer extension.

How the communication is done exactly relies on the bridge, that you can checkout in its dedicated directory. The following schema represent the complete data flow:

Install

Simply download the package from the npm registry

yarn add seer

Notes

The extension will declare a __SEER_INITIALIZED__ boolean on the window, that you can use to check if the extension is installed and prevent any useless processing in production or for real-users.