JSPM

  • Created
  • Published
  • Downloads 65210
  • Score
    100M100P100Q163379F
  • License SEE LICENSE IN LICENSE.md

Collection of assets and utils used by trezor-connect library.

Package Exports

  • @trezor/connect-common
  • @trezor/connect-common/files/bridge/releases.json
  • @trezor/connect-common/files/coins.json
  • @trezor/connect-common/files/firmware/1/releases.json
  • @trezor/connect-common/files/firmware/2/releases.json
  • @trezor/connect-common/lib/index.js
  • @trezor/connect-common/lib/storage
  • @trezor/connect-common/lib/storage/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@trezor/connect-common) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@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.