Skip to content

Variable: CLIENT_PROTOCOL_VERSION

const CLIENT_PROTOCOL_VERSION: 1 = 1

The version of the browser JSON contract this build is written against.

Compared with the protocol a HelloFrame announces. It versions the bridge<->browser contract only, and has nothing to do with INDI's own frozen 1.7 version attribute. Bumped only on a breaking change - a field removed, renamed, or given a new meaning - because a client that ignores an unknown key is already handling an additive change correctly. Mirrors BRIDGE_PROTOCOL_VERSION in indikit/web/control_frames.py.