Skip to content

Latest commit

 

History

History
 
 

connect-common

@trezor/connect-common

NPM Known Vulnerabilities

Collection of assets and utilities used by @trezor/connect* packages.

files

bridge

Data in releases.json are used to determin which version of Bridge to use depending on the user's operating system.

firmware

Binaries of the latest versions of firmware for each Trezor model are included in this package so that they are available to users of Suite desktop app without connecting to the internet. The process of adding new firmwares is described here. Besides the latest versions, model One and model T both require a transitory version for upgrading from old firware (intermediary firmware trezor-inter-1.10.0.bin for model One and version trezor-2.1.1.bin for model T).

There is a releases.json file for each Trezor model which must be updated any time new binaries are added. This file provides data about all available firmware versions and it is used to display them in Suite and to make sure that the correct firmware is downloaded. Read more about releases.json and it's structure here

src

Storage

A utility to remember app permissions given by user.

Publishing

Follow instructions how to publish @trezor package to npm registry.