Socket
Socket
Sign inDemoInstall

@trezor/connect-common

Package Overview
Dependencies
Maintainers
6
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@trezor/connect-common - npm Package Compare versions

Comparing version 0.0.9 to 0.0.10

10

CHANGELOG.md

@@ -0,1 +1,11 @@

# 0.0.10
### Added
- 2.5.3 FW
### Removed
- 2.5.2 FW
# 0.0.9

@@ -2,0 +12,0 @@

[
{
"required": false,
"version": [2, 5, 3],
"min_bridge_version": [2, 0, 7],
"min_firmware_version": [2, 0, 8],
"min_bootloader_version": [2, 0, 0],
"url": "firmware/2/trezor-2.5.3.bin",
"url_bitcoinonly": "firmware/2/trezor-2.5.3-bitcoinonly.bin",
"fingerprint": "4f57dca1abc1a60d82c4fef7c96e86d784fc7a1e5e3da724dd2ae4d14c6350bf",
"fingerprint_bitcoinonly": "c094c84ba958129885fa725ee6ddb781b580fd2c7851e83aef9054ba4a10526c",
"notes": "https://blog.trezor.io/trezor-suite-update-and-trezor-model-t-firmware-november-2022-3aff90dc30a3",
"changelog": "* Add SLIP-0025 CoinJoin accounts. \n* Show red error header when Trezor doesn't see USB data connection. \n* Add support for Zcash unified addresses. \n* Show fee rate when replacing transaction. \n* Optimize the signing of BTC transactions. \n* Support for Cardano CIP-36 governance registration format. \n* Extend decimals of fee rate to 2 digits. \n* Display only “sat” instead of “sat BTC”. \n* Fix sending XMR transaction to an integrated address. \n* Fix XMR primary address display."
},
{
"required": false,
"version": [2, 5, 2],

@@ -5,0 +18,0 @@ "min_bridge_version": [2, 0, 7],

21

lib/storage/index.js

@@ -15,11 +15,5 @@ "use strict";

window.localStorage[storageKey] = JSON.stringify(value);
return;
}
catch (ignore) {
}
try {
window.document.cookie = "".concat(encodeURIComponent(storageKey), "=").concat(JSON.stringify(value), ";");
}
catch (ignore) {
}
}

@@ -39,17 +33,2 @@ exports.save = save;

}
if (typeof value === 'undefined') {
try {
var cookie = window.document.cookie;
var prefix = "".concat(encodeURIComponent(storageKey), "=");
var location_1 = cookie.indexOf(prefix);
if (location_1 !== -1) {
var matches = /^([^;]+)/.exec(cookie.slice(location_1));
if (matches) {
value = matches[0].replace(prefix, '');
}
}
}
catch (ignore) {
}
}
}

@@ -56,0 +35,0 @@ if (typeof value === 'string') {

13

package.json
{
"name": "@trezor/connect-common",
"version": "0.0.9",
"version": "0.0.10",
"author": "Trezor <info@trezor.io>",

@@ -30,9 +30,12 @@ "homepage": "https://github.com/trezor/trezor-suite/tree/develop/packages/connect-common",

"scripts": {
"lint": "eslint '**/*.{ts,tsx,js}'",
"lint:js": "yarn g:eslint '**/*.{ts,tsx,js}'",
"test:unit": "jest --coverage",
"build:lib": "rimraf lib && tsc --build ./tsconfig.lib.json",
"build:lib": "rimraf lib && yarn tsc --build ./tsconfig.lib.json",
"type-check": "tsc --build tsconfig.json"
},
"dependencies": {},
"devDependencies": {}
"devDependencies": {
"jest": "^26.6.3",
"rimraf": "^3.0.2",
"typescript": "4.7.4"
}
}

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc