@exodus/trezor-meta
Advanced tools
Comparing version 3.3.5 to 3.3.6
{ | ||
"name": "@exodus/trezor-meta", | ||
"version": "3.3.5", | ||
"version": "3.3.6", | ||
"description": "trezor constants, firmware, and utils", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -10,3 +10,3 @@ const gte = require('semver').gte | ||
(coin) => | ||
coin.support.trezor2 && gte(MINIMUM_FIRMWARE_VERSIONS['Safe 3'], coin.support.trezor2) | ||
coin.support.trezor3 && gte(MINIMUM_FIRMWARE_VERSIONS['Safe 3'], coin.support.trezor3) | ||
) | ||
@@ -34,5 +34,3 @@ .map((coin) => coin.exodus_name), | ||
const SUPPORTED_MODELS = ['Safe 3', 'T', '1'] | ||
const isSupportedModel = ( | ||
model | ||
) => SUPPORTED_MODELS.includes(model) | ||
const isSupportedModel = (model) => SUPPORTED_MODELS.includes(model) | ||
@@ -39,0 +37,0 @@ const assets = coins.map((coin) => coin.exodus_name) |
@@ -47,2 +47,3 @@ [ | ||
"trezor2": "2.0.5", | ||
"trezor3": "2.6.2", | ||
"webwallet": true | ||
@@ -100,2 +101,3 @@ }, | ||
"trezor2": "2.0.7", | ||
"trezor3": "2.6.2", | ||
"webwallet": true | ||
@@ -153,2 +155,3 @@ }, | ||
"trezor2": "2.0.7", | ||
"trezor3": false, | ||
"webwallet": true | ||
@@ -203,2 +206,3 @@ }, | ||
"trezor2": "2.0.5", | ||
"trezor3": false, | ||
"webwallet": true | ||
@@ -253,2 +257,3 @@ }, | ||
"trezor2": "2.0.5", | ||
"trezor3": "2.6.2", | ||
"webwallet": true | ||
@@ -278,2 +283,3 @@ }, | ||
"trezor2": "2.0.7", | ||
"trezor3": false, | ||
"webwallet": true | ||
@@ -298,2 +304,3 @@ }, | ||
"trezor2": "2.0.8", | ||
"trezor3": "2.6.2", | ||
"webwallet": false | ||
@@ -318,2 +325,3 @@ } | ||
"trezor2": "2.1.0", | ||
"trezor3": false, | ||
"webwallet": false | ||
@@ -367,2 +375,3 @@ }, | ||
"trezor2": "2.0.5", | ||
"trezor3": "2.6.2", | ||
"webwallet": true | ||
@@ -417,2 +426,3 @@ }, | ||
"trezor2": "2.0.5", | ||
"trezor3": false, | ||
"webwallet": true | ||
@@ -467,2 +477,3 @@ }, | ||
"trezor2": "2.0.7", | ||
"trezor3": "2.6.2", | ||
"webwallet": true | ||
@@ -517,2 +528,3 @@ }, | ||
"trezor2": "2.0.5", | ||
"trezor3": "2.6.2", | ||
"webwallet": true | ||
@@ -567,2 +579,3 @@ }, | ||
"trezor2": "2.0.5", | ||
"trezor3": false, | ||
"webwallet": true | ||
@@ -611,2 +624,3 @@ }, | ||
"trezor2": "2.0.10", | ||
"trezor3": "2.6.2", | ||
"webwallet": true | ||
@@ -633,2 +647,3 @@ }, | ||
"trezor2": "2.0.7", | ||
"trezor3": "2.6.2", | ||
"webwallet": true | ||
@@ -652,2 +667,3 @@ }, | ||
"trezor2": "2.0.7", | ||
"trezor3": "2.6.2", | ||
"webwallet": true | ||
@@ -667,2 +683,3 @@ }, | ||
"trezor2": "2.0.7", | ||
"trezor3": false, | ||
"webwallet": false | ||
@@ -682,2 +699,3 @@ }, | ||
"trezor2": "2.0.8", | ||
"trezor3": "2.6.2", | ||
"webwallet": false | ||
@@ -699,2 +717,3 @@ }, | ||
"trezor2": "2.0.8", | ||
"trezor3": "2.6.2", | ||
"webwallet": false | ||
@@ -715,2 +734,3 @@ }, | ||
"trezor2": "2.0.8", | ||
"trezor3": "2.6.2", | ||
"webwallet": false | ||
@@ -730,2 +750,3 @@ } | ||
"trezor2": "2.0.7", | ||
"trezor3": false, | ||
"webwallet": false | ||
@@ -755,2 +776,3 @@ }, | ||
"trezor2": "2.0.8", | ||
"trezor3": "2.6.2", | ||
"webwallet": false | ||
@@ -757,0 +779,0 @@ } |
@@ -11,10 +11,7 @@ const difference = require('lodash/difference') | ||
// Assets supported by both trezor models on Exodus | ||
// Assets supported by all trezor models on Exodus | ||
const BASE_SUPPORTED_ASSETS = [ | ||
'bitcoin', | ||
'ethereum', | ||
'dash', | ||
'dogecoin', | ||
'decred', | ||
'bgold', | ||
'litecoin', | ||
@@ -25,11 +22,19 @@ 'bcash', | ||
'stellar', | ||
'digibyte', | ||
...ERC20_TOKEN_NAMES, | ||
].sort() | ||
// Trezor Safe 3 has deprecated support for some assets | ||
const BASE_SUPPORTED_TREZOR_ONE_AND_T = [ | ||
...BASE_SUPPORTED_ASSETS, | ||
'bgold', | ||
'dash', | ||
'decred', | ||
'digibyte', | ||
] | ||
// Assets supported by specific Trezor models on Exodus. | ||
const ASSETS_BY_MODEL = { | ||
'Safe 3': [...BASE_SUPPORTED_ASSETS, 'cardano', 'monero', 'ripple'].sort(), | ||
T: [...BASE_SUPPORTED_ASSETS, 'cardano', 'monero', 'ripple'].sort(), | ||
1: [...BASE_SUPPORTED_ASSETS], | ||
T: [...BASE_SUPPORTED_TREZOR_ONE_AND_T, 'cardano', 'monero', 'ripple'].sort(), | ||
1: [...BASE_SUPPORTED_TREZOR_ONE_AND_T], | ||
} | ||
@@ -36,0 +41,0 @@ |
26392
927