mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 01:39:44 +01:00
Add support for eip-1559 on Trezor (#12627)
* Add support for eip-1559 on Trezor * temp * Lint fix * Store trezor model type in background state instead attempting to get it in the frontend * code simplification * Temp update to eth-trezor-keyring version * Tempory update to eth-trezor-keyring version * Temp update to eth-trezor-keyring version * Fix display of hdpath selector in connect hardware flow for trezor * Updating the package version but we still need to run yarn setup and update the lockfile, once the package is updated * Update yarn.lock * Fix unit tests
This commit is contained in:
parent
76158bf26b
commit
2856ea7606
@ -32,6 +32,7 @@ export default class AppStateController extends EventEmitter {
|
|||||||
recoveryPhraseReminderHasBeenShown: false,
|
recoveryPhraseReminderHasBeenShown: false,
|
||||||
recoveryPhraseReminderLastShown: new Date().getTime(),
|
recoveryPhraseReminderLastShown: new Date().getTime(),
|
||||||
showTestnetMessageInDropdown: true,
|
showTestnetMessageInDropdown: true,
|
||||||
|
trezorModel: null,
|
||||||
...initState,
|
...initState,
|
||||||
qrHardware: {},
|
qrHardware: {},
|
||||||
});
|
});
|
||||||
@ -243,4 +244,12 @@ export default class AppStateController extends EventEmitter {
|
|||||||
setShowTestnetMessageInDropdown(showTestnetMessageInDropdown) {
|
setShowTestnetMessageInDropdown(showTestnetMessageInDropdown) {
|
||||||
this.store.updateState({ showTestnetMessageInDropdown });
|
this.store.updateState({ showTestnetMessageInDropdown });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sets a property indicating the model of the user's Trezor hardware wallet
|
||||||
|
* @returns {void}
|
||||||
|
*/
|
||||||
|
setTrezorModel(trezorModel) {
|
||||||
|
this.store.updateState({ trezorModel });
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -1718,6 +1718,11 @@ export default class MetamaskController extends EventEmitter {
|
|||||||
if (deviceName === DEVICE_NAMES.LATTICE) {
|
if (deviceName === DEVICE_NAMES.LATTICE) {
|
||||||
keyring.appName = 'MetaMask';
|
keyring.appName = 'MetaMask';
|
||||||
}
|
}
|
||||||
|
if (deviceName === 'trezor') {
|
||||||
|
const model = keyring.getModel();
|
||||||
|
this.appStateController.setTrezorModel(model);
|
||||||
|
}
|
||||||
|
|
||||||
keyring.network = this.networkController.getProviderConfig().type;
|
keyring.network = this.networkController.getProviderConfig().type;
|
||||||
|
|
||||||
return keyring;
|
return keyring;
|
||||||
@ -2386,7 +2391,11 @@ export default class MetamaskController extends EventEmitter {
|
|||||||
const address =
|
const address =
|
||||||
fromAddress || this.preferencesController.getSelectedAddress();
|
fromAddress || this.preferencesController.getSelectedAddress();
|
||||||
const keyring = await this.keyringController.getKeyringForAccount(address);
|
const keyring = await this.keyringController.getKeyringForAccount(address);
|
||||||
return keyring.type !== KEYRING_TYPES.TREZOR;
|
if (keyring.type === KEYRING_TYPES.TREZOR) {
|
||||||
|
const model = keyring.getModel();
|
||||||
|
return model === 'T';
|
||||||
|
}
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
|
@ -607,12 +607,12 @@ describe('MetaMaskController', function () {
|
|||||||
sinon.spy(metamaskController.preferencesController, 'setSelectedAddress');
|
sinon.spy(metamaskController.preferencesController, 'setSelectedAddress');
|
||||||
sinon.spy(metamaskController.preferencesController, 'setAccountLabel');
|
sinon.spy(metamaskController.preferencesController, 'setAccountLabel');
|
||||||
await metamaskController
|
await metamaskController
|
||||||
.connectHardware('trezor', 0, `m/44/0'/0'`)
|
.connectHardware('trezor', 0, `m/44'/1'/0'/0`)
|
||||||
.catch(() => null);
|
.catch(() => null);
|
||||||
await metamaskController.unlockHardwareWalletAccount(
|
await metamaskController.unlockHardwareWalletAccount(
|
||||||
accountToUnlock,
|
accountToUnlock,
|
||||||
'trezor',
|
'trezor',
|
||||||
`m/44/0'/0'`,
|
`m/44'/1'/0'/0`,
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -150,7 +150,7 @@
|
|||||||
"eth-query": "^2.1.2",
|
"eth-query": "^2.1.2",
|
||||||
"eth-rpc-errors": "^4.0.2",
|
"eth-rpc-errors": "^4.0.2",
|
||||||
"eth-sig-util": "^3.0.0",
|
"eth-sig-util": "^3.0.0",
|
||||||
"eth-trezor-keyring": "^0.7.0",
|
"eth-trezor-keyring": "^0.8.0",
|
||||||
"ethereum-ens-network-map": "^1.0.2",
|
"ethereum-ens-network-map": "^1.0.2",
|
||||||
"ethereumjs-abi": "^0.6.4",
|
"ethereumjs-abi": "^0.6.4",
|
||||||
"ethereumjs-util": "^7.0.10",
|
"ethereumjs-util": "^7.0.10",
|
||||||
|
@ -61,8 +61,9 @@ class AccountList extends Component {
|
|||||||
|
|
||||||
renderHeader() {
|
renderHeader() {
|
||||||
const { device } = this.props;
|
const { device } = this.props;
|
||||||
const shouldShowHDPaths =
|
const shouldShowHDPaths = ['ledger', 'lattice', 'trezor'].includes(
|
||||||
device.toLowerCase() === 'ledger' || device.toLowerCase() === 'lattice';
|
device.toLowerCase(),
|
||||||
|
);
|
||||||
return (
|
return (
|
||||||
<div className="hw-connect">
|
<div className="hw-connect">
|
||||||
<h3 className="hw-connect__unlock-title">
|
<h3 className="hw-connect__unlock-title">
|
||||||
|
@ -44,9 +44,16 @@ const LATTICE_HD_PATHS = [
|
|||||||
{ name: `Ledger Legacy (${LATTICE_MEW_PATH})`, value: LATTICE_MEW_PATH },
|
{ name: `Ledger Legacy (${LATTICE_MEW_PATH})`, value: LATTICE_MEW_PATH },
|
||||||
];
|
];
|
||||||
|
|
||||||
|
const TREZOR_TESTNET_PATH = `m/44'/1'/0'/0`;
|
||||||
|
const TREZOR_HD_PATHS = [
|
||||||
|
{ name: `BIP44 Standard (e.g. MetaMask, Trezor)`, value: BIP44_PATH },
|
||||||
|
{ name: `Trezor Testnets`, value: TREZOR_TESTNET_PATH },
|
||||||
|
];
|
||||||
|
|
||||||
const HD_PATHS = {
|
const HD_PATHS = {
|
||||||
ledger: LEDGER_HD_PATHS,
|
ledger: LEDGER_HD_PATHS,
|
||||||
lattice: LATTICE_HD_PATHS,
|
lattice: LATTICE_HD_PATHS,
|
||||||
|
trezor: TREZOR_HD_PATHS,
|
||||||
};
|
};
|
||||||
|
|
||||||
class ConnectHardwareForm extends Component {
|
class ConnectHardwareForm extends Component {
|
||||||
|
@ -142,9 +142,12 @@ export function getParticipateInMetaMetrics(state) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function isEIP1559Account(state) {
|
export function isEIP1559Account(state) {
|
||||||
// Trezor does not support 1559 at this time
|
const keyring = getCurrentKeyring(state);
|
||||||
const currentKeyring = getCurrentKeyring(state);
|
|
||||||
return currentKeyring && currentKeyring.type !== KEYRING_TYPES.TREZOR;
|
if (keyring?.type === KEYRING_TYPES.TREZOR) {
|
||||||
|
return state.metamask.trezorModel === 'T';
|
||||||
|
}
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
126
yarn.lock
126
yarn.lock
@ -1423,7 +1423,7 @@
|
|||||||
"@ethereumjs/common" "^2.0.0"
|
"@ethereumjs/common" "^2.0.0"
|
||||||
ethereumjs-util "^7.0.7"
|
ethereumjs-util "^7.0.7"
|
||||||
|
|
||||||
"@ethereumjs/tx@^3.1.1", "@ethereumjs/tx@^3.1.4", "@ethereumjs/tx@^3.2.0", "@ethereumjs/tx@^3.2.1", "@ethereumjs/tx@^3.3.0":
|
"@ethereumjs/tx@^3.1.1", "@ethereumjs/tx@^3.2.0", "@ethereumjs/tx@^3.2.1", "@ethereumjs/tx@^3.3.0":
|
||||||
version "3.3.0"
|
version "3.3.0"
|
||||||
resolved "https://registry.yarnpkg.com/@ethereumjs/tx/-/tx-3.3.0.tgz#14ed1b7fa0f28e1cd61e3ecbdab824205f6a4378"
|
resolved "https://registry.yarnpkg.com/@ethereumjs/tx/-/tx-3.3.0.tgz#14ed1b7fa0f28e1cd61e3ecbdab824205f6a4378"
|
||||||
integrity sha512-yTwEj2lVzSMgE6Hjw9Oa1DZks/nKTWM8Wn4ykDNapBPua2f4nXO3qKnni86O6lgDj5fVNRqbDsD0yy7/XNGDEA==
|
integrity sha512-yTwEj2lVzSMgE6Hjw9Oa1DZks/nKTWM8Wn4ykDNapBPua2f4nXO3qKnni86O6lgDj5fVNRqbDsD0yy7/XNGDEA==
|
||||||
@ -3055,6 +3055,11 @@
|
|||||||
resolved "https://registry.yarnpkg.com/@sinonjs/text-encoding/-/text-encoding-0.7.1.tgz#8da5c6530915653f3a1f38fd5f101d8c3f8079c5"
|
resolved "https://registry.yarnpkg.com/@sinonjs/text-encoding/-/text-encoding-0.7.1.tgz#8da5c6530915653f3a1f38fd5f101d8c3f8079c5"
|
||||||
integrity sha512-+iTbntw2IZPb/anVDbypzfQa+ay64MW0Zo8aJ8gZPWMMK6/OubMVb6lUPMagqjOPnmtauXnFCACVl3O7ogjeqQ==
|
integrity sha512-+iTbntw2IZPb/anVDbypzfQa+ay64MW0Zo8aJ8gZPWMMK6/OubMVb6lUPMagqjOPnmtauXnFCACVl3O7ogjeqQ==
|
||||||
|
|
||||||
|
"@socket.io/component-emitter@~3.0.0":
|
||||||
|
version "3.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/@socket.io/component-emitter/-/component-emitter-3.0.0.tgz#8863915676f837d9dad7b76f50cb500c1e9422e9"
|
||||||
|
integrity sha512-2pTGuibAXJswAPJjaKisthqS/NOK5ypG4LYT6tEAV0S/mxW0zOIvYvGK0V8w8+SHxAm6vRMSjqSalFXeBAqs+Q==
|
||||||
|
|
||||||
"@stablelib/utf8@^0.10.1":
|
"@stablelib/utf8@^0.10.1":
|
||||||
version "0.10.1"
|
version "0.10.1"
|
||||||
resolved "https://registry.yarnpkg.com/@stablelib/utf8/-/utf8-0.10.1.tgz#eecf54884da7b2bee235e3c70efb8cd5c07ba5bd"
|
resolved "https://registry.yarnpkg.com/@stablelib/utf8/-/utf8-0.10.1.tgz#eecf54884da7b2bee235e3c70efb8cd5c07ba5bd"
|
||||||
@ -3911,10 +3916,15 @@
|
|||||||
tiny-worker "^2.3.0"
|
tiny-worker "^2.3.0"
|
||||||
ws "^7.4.0"
|
ws "^7.4.0"
|
||||||
|
|
||||||
"@trezor/rollout@1.0.7":
|
"@trezor/connect-common@^0.0.2":
|
||||||
version "1.0.7"
|
version "0.0.2"
|
||||||
resolved "https://registry.yarnpkg.com/@trezor/rollout/-/rollout-1.0.7.tgz#e4ee8281866ab6712ccc8873f3a383621b1a18ca"
|
resolved "https://registry.yarnpkg.com/@trezor/connect-common/-/connect-common-0.0.2.tgz#d2bb1e90de6be2895b7f44215f09b52db361aaf4"
|
||||||
integrity sha512-yFN2J/g3Epv1dM0dCsRnOagK7lrsfs7vDy1uc4T7DF9qtN0ZGO/tdCjSdgRGUZECRdXRcPrzRUsZDXGOkPcLoA==
|
integrity sha512-b0R/HfA10mH2CR0BoPkKUs/2TC5Bf4MSGBFRF+1Q4tluQfSRzongQEZivg09vbBQEZBD1Ora3Oikn74zqsW4Aw==
|
||||||
|
|
||||||
|
"@trezor/rollout@^1.2.0":
|
||||||
|
version "1.2.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/@trezor/rollout/-/rollout-1.2.0.tgz#827316debc5cf2e8af2210900eb49540ea2753d1"
|
||||||
|
integrity sha512-R8/M8PsGQUndHlyETZ5+mPOveaJSTlEgmAovY7Ifm3quvk8nV5ByWL1LUJ8IYUgir209EWDWSKWfa5RWoon8IA==
|
||||||
dependencies:
|
dependencies:
|
||||||
cross-fetch "^3.0.6"
|
cross-fetch "^3.0.6"
|
||||||
runtypes "^5.0.1"
|
runtypes "^5.0.1"
|
||||||
@ -6550,7 +6560,7 @@ bach@^1.0.0:
|
|||||||
async-settle "^1.0.0"
|
async-settle "^1.0.0"
|
||||||
now-and-later "^2.0.0"
|
now-and-later "^2.0.0"
|
||||||
|
|
||||||
backo2@1.0.2:
|
backo2@1.0.2, backo2@~1.0.2:
|
||||||
version "1.0.2"
|
version "1.0.2"
|
||||||
resolved "https://registry.yarnpkg.com/backo2/-/backo2-1.0.2.tgz#31ab1ac8b129363463e35b3ebb69f4dfcfba7947"
|
resolved "https://registry.yarnpkg.com/backo2/-/backo2-1.0.2.tgz#31ab1ac8b129363463e35b3ebb69f4dfcfba7947"
|
||||||
integrity sha1-MasayLEpNjRj41s+u2n038+6eUc=
|
integrity sha1-MasayLEpNjRj41s+u2n038+6eUc=
|
||||||
@ -6615,6 +6625,11 @@ base64-arraybuffer@0.1.4:
|
|||||||
resolved "https://registry.yarnpkg.com/base64-arraybuffer/-/base64-arraybuffer-0.1.4.tgz#9818c79e059b1355f97e0428a017c838e90ba812"
|
resolved "https://registry.yarnpkg.com/base64-arraybuffer/-/base64-arraybuffer-0.1.4.tgz#9818c79e059b1355f97e0428a017c838e90ba812"
|
||||||
integrity sha1-mBjHngWbE1X5fgQooBfIOOkLqBI=
|
integrity sha1-mBjHngWbE1X5fgQooBfIOOkLqBI=
|
||||||
|
|
||||||
|
base64-arraybuffer@~1.0.1:
|
||||||
|
version "1.0.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/base64-arraybuffer/-/base64-arraybuffer-1.0.1.tgz#87bd13525626db4a9838e00a508c2b73efcf348c"
|
||||||
|
integrity sha512-vFIUq7FdLtjZMhATwDul5RZWv2jpXQ09Pd6jcVEOvIsqCWTRFD/ONHNfyOS8dA/Ippi5dsIgpyKWKZaAKZltbA==
|
||||||
|
|
||||||
base64-js@^1.0.2, base64-js@^1.3.1, base64-js@^1.5.1:
|
base64-js@^1.0.2, base64-js@^1.3.1, base64-js@^1.5.1:
|
||||||
version "1.5.1"
|
version "1.5.1"
|
||||||
resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a"
|
resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a"
|
||||||
@ -7765,6 +7780,11 @@ cbor-sync@^1.0.4:
|
|||||||
resolved "https://registry.yarnpkg.com/cbor-sync/-/cbor-sync-1.0.4.tgz#5a11a1ab75c2a14d1af1b237fd84aa8c1593662f"
|
resolved "https://registry.yarnpkg.com/cbor-sync/-/cbor-sync-1.0.4.tgz#5a11a1ab75c2a14d1af1b237fd84aa8c1593662f"
|
||||||
integrity sha512-GWlXN4wiz0vdWWXBU71Dvc1q3aBo0HytqwAZnXF1wOwjqNnDWA1vZ1gDMFLlqohak31VQzmhiYfiCX5QSSfagA==
|
integrity sha512-GWlXN4wiz0vdWWXBU71Dvc1q3aBo0HytqwAZnXF1wOwjqNnDWA1vZ1gDMFLlqohak31VQzmhiYfiCX5QSSfagA==
|
||||||
|
|
||||||
|
cbor-web@^7.0.6:
|
||||||
|
version "7.0.6"
|
||||||
|
resolved "https://registry.yarnpkg.com/cbor-web/-/cbor-web-7.0.6.tgz#6e23a0c58db4c38e485e395de511b9e2f628961c"
|
||||||
|
integrity sha512-A6ZH12jcDJG9PS7StugO78G+ok23SAjxMugGInPBy4IItiH6hYzybi6HQkGjWw9jBEGQpIBkleB2mizxYZIpLw==
|
||||||
|
|
||||||
ccount@^1.0.0:
|
ccount@^1.0.0:
|
||||||
version "1.0.4"
|
version "1.0.4"
|
||||||
resolved "https://registry.yarnpkg.com/ccount/-/ccount-1.0.4.tgz#9cf2de494ca84060a2a8d2854edd6dfb0445f386"
|
resolved "https://registry.yarnpkg.com/ccount/-/ccount-1.0.4.tgz#9cf2de494ca84060a2a8d2854edd6dfb0445f386"
|
||||||
@ -9230,7 +9250,7 @@ debug@3.2.6, debug@3.X, debug@^3.0.0, debug@^3.1.0, debug@^3.2.6:
|
|||||||
dependencies:
|
dependencies:
|
||||||
ms "^2.1.1"
|
ms "^2.1.1"
|
||||||
|
|
||||||
debug@4, debug@^4.0.0, debug@^4.0.1, debug@^4.1.0, debug@^4.1.1, debug@^4.2.0, debug@^4.3.1, debug@^4.3.2:
|
debug@4, debug@^4.0.0, debug@^4.0.1, debug@^4.1.0, debug@^4.1.1, debug@^4.2.0, debug@^4.3.1, debug@^4.3.2, debug@~4.3.1, debug@~4.3.2:
|
||||||
version "4.3.2"
|
version "4.3.2"
|
||||||
resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.2.tgz#f0a49c18ac8779e31d4a0c6029dfb76873c7428b"
|
resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.2.tgz#f0a49c18ac8779e31d4a0c6029dfb76873c7428b"
|
||||||
integrity sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==
|
integrity sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==
|
||||||
@ -10290,6 +10310,21 @@ engine.io-client@~3.5.0:
|
|||||||
xmlhttprequest-ssl "~1.5.4"
|
xmlhttprequest-ssl "~1.5.4"
|
||||||
yeast "0.1.2"
|
yeast "0.1.2"
|
||||||
|
|
||||||
|
engine.io-client@~6.0.1:
|
||||||
|
version "6.0.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/engine.io-client/-/engine.io-client-6.0.2.tgz#ccfc059051e65ca63845e65929184757754cc34e"
|
||||||
|
integrity sha512-cAep9lhZV6Q8jMXx3TNSU5cydMzMed8/O7Tz5uzyqZvpNPtQ3WQXrLYGADxlsuaFmOLN7wZLmT7ImiFhUOku8g==
|
||||||
|
dependencies:
|
||||||
|
"@socket.io/component-emitter" "~3.0.0"
|
||||||
|
debug "~4.3.1"
|
||||||
|
engine.io-parser "~5.0.0"
|
||||||
|
has-cors "1.1.0"
|
||||||
|
parseqs "0.0.6"
|
||||||
|
parseuri "0.0.6"
|
||||||
|
ws "~8.2.3"
|
||||||
|
xmlhttprequest-ssl "~2.0.0"
|
||||||
|
yeast "0.1.2"
|
||||||
|
|
||||||
engine.io-parser@~2.2.0:
|
engine.io-parser@~2.2.0:
|
||||||
version "2.2.1"
|
version "2.2.1"
|
||||||
resolved "https://registry.yarnpkg.com/engine.io-parser/-/engine.io-parser-2.2.1.tgz#57ce5611d9370ee94f99641b589f94c97e4f5da7"
|
resolved "https://registry.yarnpkg.com/engine.io-parser/-/engine.io-parser-2.2.1.tgz#57ce5611d9370ee94f99641b589f94c97e4f5da7"
|
||||||
@ -10301,6 +10336,13 @@ engine.io-parser@~2.2.0:
|
|||||||
blob "0.0.5"
|
blob "0.0.5"
|
||||||
has-binary2 "~1.0.2"
|
has-binary2 "~1.0.2"
|
||||||
|
|
||||||
|
engine.io-parser@~5.0.0:
|
||||||
|
version "5.0.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/engine.io-parser/-/engine.io-parser-5.0.1.tgz#6695fc0f1e6d76ad4a48300ff80db5f6b3654939"
|
||||||
|
integrity sha512-j4p3WwJrG2k92VISM0op7wiq60vO92MlF3CRGxhKHy9ywG1/Dkc72g0dXeDQ+//hrcDn8gqQzoEkdO9FN0d9AA==
|
||||||
|
dependencies:
|
||||||
|
base64-arraybuffer "~1.0.1"
|
||||||
|
|
||||||
engine.io@~3.5.0:
|
engine.io@~3.5.0:
|
||||||
version "3.5.0"
|
version "3.5.0"
|
||||||
resolved "https://registry.yarnpkg.com/engine.io/-/engine.io-3.5.0.tgz#9d6b985c8a39b1fe87cd91eb014de0552259821b"
|
resolved "https://registry.yarnpkg.com/engine.io/-/engine.io-3.5.0.tgz#9d6b985c8a39b1fe87cd91eb014de0552259821b"
|
||||||
@ -11285,17 +11327,15 @@ eth-simple-keyring@^4.2.0:
|
|||||||
ethereumjs-wallet "^1.0.1"
|
ethereumjs-wallet "^1.0.1"
|
||||||
events "^1.1.1"
|
events "^1.1.1"
|
||||||
|
|
||||||
eth-trezor-keyring@^0.7.0:
|
eth-trezor-keyring@^0.8.0:
|
||||||
version "0.7.0"
|
version "0.8.0"
|
||||||
resolved "https://registry.yarnpkg.com/eth-trezor-keyring/-/eth-trezor-keyring-0.7.0.tgz#99ebaae6783ae40347352b36f7cf19e3b818c12d"
|
resolved "https://registry.yarnpkg.com/eth-trezor-keyring/-/eth-trezor-keyring-0.8.0.tgz#e0a40ab24954ba637946ce3848b15df6dd7a8bde"
|
||||||
integrity sha512-WSJ/n68qsMzrMyTgfKiF2/Ytn37hWrIwQrkjBt6Tmt/btQnrQkwG/7Fv/diOUJNCG0HNGWyxQpkvtBOnckboLQ==
|
integrity sha512-++u/9/OkQ+NkFcGDwhabpJkcYlCWQYcVLejWvDoKCNHNSjBUxa99tI9kg2wdf/ZoFKMOekbK6/WYlXJYCHMnrQ==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@ethereumjs/tx" "^3.1.4"
|
"@ethereumjs/tx" "^3.2.1"
|
||||||
eth-sig-util "^1.4.2"
|
|
||||||
ethereumjs-tx "^1.3.4"
|
|
||||||
ethereumjs-util "^7.0.9"
|
ethereumjs-util "^7.0.9"
|
||||||
hdkey "0.8.0"
|
hdkey "0.8.0"
|
||||||
trezor-connect "8.1.23-extended"
|
trezor-connect "8.2.1-extended"
|
||||||
|
|
||||||
eth-tx-summary@^3.1.2:
|
eth-tx-summary@^3.1.2:
|
||||||
version "3.2.4"
|
version "3.2.4"
|
||||||
@ -11455,7 +11495,7 @@ ethereumjs-tx@2.1.2, ethereumjs-tx@^2.1.1, ethereumjs-tx@^2.1.2:
|
|||||||
ethereumjs-common "^1.5.0"
|
ethereumjs-common "^1.5.0"
|
||||||
ethereumjs-util "^6.0.0"
|
ethereumjs-util "^6.0.0"
|
||||||
|
|
||||||
ethereumjs-tx@^1.1.1, ethereumjs-tx@^1.2.0, ethereumjs-tx@^1.2.2, ethereumjs-tx@^1.3.3, ethereumjs-tx@^1.3.4:
|
ethereumjs-tx@^1.1.1, ethereumjs-tx@^1.2.0, ethereumjs-tx@^1.2.2, ethereumjs-tx@^1.3.3:
|
||||||
version "1.3.7"
|
version "1.3.7"
|
||||||
resolved "https://registry.yarnpkg.com/ethereumjs-tx/-/ethereumjs-tx-1.3.7.tgz#88323a2d875b10549b8347e09f4862b546f3d89a"
|
resolved "https://registry.yarnpkg.com/ethereumjs-tx/-/ethereumjs-tx-1.3.7.tgz#88323a2d875b10549b8347e09f4862b546f3d89a"
|
||||||
integrity sha512-wvLMxzt1RPhAQ9Yi3/HKZTn0FZYpnsmQdbKYfUUpi4j1SEIcbkd9tndVjcPrufY3V7j2IebOpC00Zp2P/Ay2kA==
|
integrity sha512-wvLMxzt1RPhAQ9Yi3/HKZTn0FZYpnsmQdbKYfUUpi4j1SEIcbkd9tndVjcPrufY3V7j2IebOpC00Zp2P/Ay2kA==
|
||||||
@ -14162,16 +14202,16 @@ hastscript@^6.0.0:
|
|||||||
property-information "^5.0.0"
|
property-information "^5.0.0"
|
||||||
space-separated-tokens "^1.0.0"
|
space-separated-tokens "^1.0.0"
|
||||||
|
|
||||||
hd-wallet@9.1.1:
|
hd-wallet@9.1.2:
|
||||||
version "9.1.1"
|
version "9.1.2"
|
||||||
resolved "https://registry.yarnpkg.com/hd-wallet/-/hd-wallet-9.1.1.tgz#4a6e49ff09e8cb4bbe0127133cfaf80e24142096"
|
resolved "https://registry.yarnpkg.com/hd-wallet/-/hd-wallet-9.1.2.tgz#510f35ffb6666d0af7472d5b2c6580c32a85b36e"
|
||||||
integrity sha512-Z1UhEcFv6aGrPL2fDDkEzO3MwPuiAKbLAs8MSNQ1BxeW9c2HxXjTWMEfx8xhQ0gv10Blf1bmXLm+itOe1+nh6Q==
|
integrity sha512-IkjLUqAI4kkkVUP9I1caCTdbaiQ1Ma0JbjoBzwL9RCc7/qHrYGh8Zu6b1xfTQNCMr0ctj3tzoXr2XDJ5wsOy1Q==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@trezor/utxo-lib" "0.1.2"
|
"@trezor/utxo-lib" "0.1.2"
|
||||||
bchaddrjs "^0.5.2"
|
bchaddrjs "^0.5.2"
|
||||||
bignumber.js "^9.0.1"
|
bignumber.js "^9.0.1"
|
||||||
queue "^6.0.1"
|
queue "^6.0.2"
|
||||||
socket.io-client "^2.2.0"
|
socket.io-client "^4.1.2"
|
||||||
|
|
||||||
hdkey@0.8.0:
|
hdkey@0.8.0:
|
||||||
version "0.8.0"
|
version "0.8.0"
|
||||||
@ -22697,7 +22737,7 @@ querystring@0.2.0, querystring@^0.2.0:
|
|||||||
resolved "https://registry.yarnpkg.com/querystring/-/querystring-0.2.0.tgz#b209849203bb25df820da756e747005878521620"
|
resolved "https://registry.yarnpkg.com/querystring/-/querystring-0.2.0.tgz#b209849203bb25df820da756e747005878521620"
|
||||||
integrity sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=
|
integrity sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=
|
||||||
|
|
||||||
queue@^6.0.1:
|
queue@^6.0.2:
|
||||||
version "6.0.2"
|
version "6.0.2"
|
||||||
resolved "https://registry.yarnpkg.com/queue/-/queue-6.0.2.tgz#b91525283e2315c7553d2efa18d83e76432fed65"
|
resolved "https://registry.yarnpkg.com/queue/-/queue-6.0.2.tgz#b91525283e2315c7553d2efa18d83e76432fed65"
|
||||||
integrity sha512-iHZWu+q3IdFZFX36ro/lKBkSvfkztY5Y7HMiPlOUjhupPcG2JMfst2KKEpu5XndviX/3UhFbRngUPNKtgvtZiA==
|
integrity sha512-iHZWu+q3IdFZFX36ro/lKBkSvfkztY5Y7HMiPlOUjhupPcG2JMfst2KKEpu5XndviX/3UhFbRngUPNKtgvtZiA==
|
||||||
@ -25055,7 +25095,7 @@ socket.io-adapter@~1.1.0:
|
|||||||
resolved "https://registry.yarnpkg.com/socket.io-adapter/-/socket.io-adapter-1.1.2.tgz#ab3f0d6f66b8fc7fca3959ab5991f82221789be9"
|
resolved "https://registry.yarnpkg.com/socket.io-adapter/-/socket.io-adapter-1.1.2.tgz#ab3f0d6f66b8fc7fca3959ab5991f82221789be9"
|
||||||
integrity sha512-WzZRUj1kUjrTIrUKpZLEzFZ1OLj5FwLlAFQs9kuZJzJi5DKdU7FsWc36SNmA8iDOtwBQyT8FkrriRM8vXLYz8g==
|
integrity sha512-WzZRUj1kUjrTIrUKpZLEzFZ1OLj5FwLlAFQs9kuZJzJi5DKdU7FsWc36SNmA8iDOtwBQyT8FkrriRM8vXLYz8g==
|
||||||
|
|
||||||
socket.io-client@2.4.0, socket.io-client@^2.1.1, socket.io-client@^2.2.0:
|
socket.io-client@2.4.0, socket.io-client@^2.1.1:
|
||||||
version "2.4.0"
|
version "2.4.0"
|
||||||
resolved "https://registry.yarnpkg.com/socket.io-client/-/socket.io-client-2.4.0.tgz#aafb5d594a3c55a34355562fc8aea22ed9119a35"
|
resolved "https://registry.yarnpkg.com/socket.io-client/-/socket.io-client-2.4.0.tgz#aafb5d594a3c55a34355562fc8aea22ed9119a35"
|
||||||
integrity sha512-M6xhnKQHuuZd4Ba9vltCLT9oa+YvTsP8j9NcEiLElfIg8KeYPyhWOes6x4t+LTAC8enQbE/995AdTem2uNyKKQ==
|
integrity sha512-M6xhnKQHuuZd4Ba9vltCLT9oa+YvTsP8j9NcEiLElfIg8KeYPyhWOes6x4t+LTAC8enQbE/995AdTem2uNyKKQ==
|
||||||
@ -25072,6 +25112,18 @@ socket.io-client@2.4.0, socket.io-client@^2.1.1, socket.io-client@^2.2.0:
|
|||||||
socket.io-parser "~3.3.0"
|
socket.io-parser "~3.3.0"
|
||||||
to-array "0.1.4"
|
to-array "0.1.4"
|
||||||
|
|
||||||
|
socket.io-client@^4.1.2:
|
||||||
|
version "4.3.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/socket.io-client/-/socket.io-client-4.3.2.tgz#9cfdb8fecac8a24d5723daf8c8749e70c8fdeb25"
|
||||||
|
integrity sha512-2B9LqSunN60yV8F7S84CCEEcgbYNfrn7ejIInZtLZ7ppWtiX8rGZAjvdCvbnC8bqo/9RlCNOUsORLyskxSFP1g==
|
||||||
|
dependencies:
|
||||||
|
"@socket.io/component-emitter" "~3.0.0"
|
||||||
|
backo2 "~1.0.2"
|
||||||
|
debug "~4.3.2"
|
||||||
|
engine.io-client "~6.0.1"
|
||||||
|
parseuri "0.0.6"
|
||||||
|
socket.io-parser "~4.1.1"
|
||||||
|
|
||||||
socket.io-parser@~3.3.0:
|
socket.io-parser@~3.3.0:
|
||||||
version "3.3.2"
|
version "3.3.2"
|
||||||
resolved "https://registry.yarnpkg.com/socket.io-parser/-/socket.io-parser-3.3.2.tgz#ef872009d0adcf704f2fbe830191a14752ad50b6"
|
resolved "https://registry.yarnpkg.com/socket.io-parser/-/socket.io-parser-3.3.2.tgz#ef872009d0adcf704f2fbe830191a14752ad50b6"
|
||||||
@ -25090,6 +25142,14 @@ socket.io-parser@~3.4.0:
|
|||||||
debug "~4.1.0"
|
debug "~4.1.0"
|
||||||
isarray "2.0.1"
|
isarray "2.0.1"
|
||||||
|
|
||||||
|
socket.io-parser@~4.1.1:
|
||||||
|
version "4.1.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/socket.io-parser/-/socket.io-parser-4.1.1.tgz#0ad53d980781cab1eabe320417d8480c0133e62d"
|
||||||
|
integrity sha512-USQVLSkDWE5nbcY760ExdKaJxCE65kcsG/8k5FDGZVVxpD1pA7hABYXYkCUvxUuYYh/+uQw0N/fvBzfT8o07KA==
|
||||||
|
dependencies:
|
||||||
|
"@socket.io/component-emitter" "~3.0.0"
|
||||||
|
debug "~4.3.1"
|
||||||
|
|
||||||
socket.io-pull-stream@~0.1.5:
|
socket.io-pull-stream@~0.1.5:
|
||||||
version "0.1.5"
|
version "0.1.5"
|
||||||
resolved "https://registry.yarnpkg.com/socket.io-pull-stream/-/socket.io-pull-stream-0.1.5.tgz#4e5d282b93635d8bf7780da405d82fc149346710"
|
resolved "https://registry.yarnpkg.com/socket.io-pull-stream/-/socket.io-pull-stream-0.1.5.tgz#4e5d282b93635d8bf7780da405d82fc149346710"
|
||||||
@ -26687,20 +26747,22 @@ tree-kill@^1.2.2:
|
|||||||
resolved "https://registry.yarnpkg.com/tree-kill/-/tree-kill-1.2.2.tgz#4ca09a9092c88b73a7cdc5e8a01b507b0790a0cc"
|
resolved "https://registry.yarnpkg.com/tree-kill/-/tree-kill-1.2.2.tgz#4ca09a9092c88b73a7cdc5e8a01b507b0790a0cc"
|
||||||
integrity sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==
|
integrity sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==
|
||||||
|
|
||||||
trezor-connect@8.1.23-extended:
|
trezor-connect@8.2.1-extended:
|
||||||
version "8.1.23-extended"
|
version "8.2.1-extended"
|
||||||
resolved "https://registry.yarnpkg.com/trezor-connect/-/trezor-connect-8.1.23-extended.tgz#353369a9f136216630b9673a239dcdb140abe49e"
|
resolved "https://registry.yarnpkg.com/trezor-connect/-/trezor-connect-8.2.1-extended.tgz#83f4f28bdaf6253c87c59dfb77b769823428da2d"
|
||||||
integrity sha512-Otlim+/tPiywWcuK7uIVP9UDUPvIhkvdBOPHzV6UKVylbqecTKb1LcUNq3tSfHq78CIsWvTa6g5AQrHq1wSPAw==
|
integrity sha512-U5OKXG2MBrKEvAEyloDYyqpWZpg5nvZrjE3RsAO/Slmk0ZI22VZZbKAiCbQZsAv2s5OV6PNn4uVyPmUztnS6uQ==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@babel/runtime" "^7.12.5"
|
"@babel/runtime" "^7.12.5"
|
||||||
"@trezor/blockchain-link" "^1.0.17"
|
"@trezor/blockchain-link" "^1.0.17"
|
||||||
"@trezor/rollout" "1.0.7"
|
"@trezor/connect-common" "^0.0.2"
|
||||||
|
"@trezor/rollout" "^1.2.0"
|
||||||
"@trezor/utxo-lib" "^0.1.2"
|
"@trezor/utxo-lib" "^0.1.2"
|
||||||
bchaddrjs "^0.5.2"
|
bchaddrjs "^0.5.2"
|
||||||
bignumber.js "^9.0.1"
|
bignumber.js "^9.0.1"
|
||||||
bowser "^2.11.0"
|
bowser "^2.11.0"
|
||||||
|
cbor-web "^7.0.6"
|
||||||
events "^3.2.0"
|
events "^3.2.0"
|
||||||
hd-wallet "9.1.1"
|
hd-wallet "9.1.2"
|
||||||
keccak "^3.0.1"
|
keccak "^3.0.1"
|
||||||
node-fetch "^2.6.1"
|
node-fetch "^2.6.1"
|
||||||
parse-uri "^1.0.3"
|
parse-uri "^1.0.3"
|
||||||
@ -28515,7 +28577,7 @@ write@^0.2.1:
|
|||||||
dependencies:
|
dependencies:
|
||||||
mkdirp "^0.5.1"
|
mkdirp "^0.5.1"
|
||||||
|
|
||||||
ws@7.1.0, ws@7.4.6, ws@^1.1.0, ws@^3.0.0, ws@^5.1.1, ws@^7, ws@^7.2.0, ws@^7.4.0, ws@^7.4.6, ws@~7.4.2:
|
ws@7.1.0, ws@7.4.6, ws@^1.1.0, ws@^3.0.0, ws@^5.1.1, ws@^7, ws@^7.2.0, ws@^7.4.0, ws@^7.4.6, ws@~7.4.2, ws@~8.2.3:
|
||||||
version "7.4.6"
|
version "7.4.6"
|
||||||
resolved "https://registry.yarnpkg.com/ws/-/ws-7.4.6.tgz#5654ca8ecdeee47c33a9a4bf6d28e2be2980377c"
|
resolved "https://registry.yarnpkg.com/ws/-/ws-7.4.6.tgz#5654ca8ecdeee47c33a9a4bf6d28e2be2980377c"
|
||||||
integrity sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A==
|
integrity sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A==
|
||||||
@ -28582,7 +28644,7 @@ xmlchars@^2.2.0:
|
|||||||
resolved "https://registry.yarnpkg.com/xmlchars/-/xmlchars-2.2.0.tgz#060fe1bcb7f9c76fe2a17db86a9bc3ab894210cb"
|
resolved "https://registry.yarnpkg.com/xmlchars/-/xmlchars-2.2.0.tgz#060fe1bcb7f9c76fe2a17db86a9bc3ab894210cb"
|
||||||
integrity sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==
|
integrity sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==
|
||||||
|
|
||||||
xmlhttprequest-ssl@^1.6.2, xmlhttprequest-ssl@~1.5.4:
|
xmlhttprequest-ssl@^1.6.2, xmlhttprequest-ssl@~1.5.4, xmlhttprequest-ssl@~2.0.0:
|
||||||
version "1.6.2"
|
version "1.6.2"
|
||||||
resolved "https://registry.yarnpkg.com/xmlhttprequest-ssl/-/xmlhttprequest-ssl-1.6.2.tgz#dd6899bfbcf684b554e393c30b13b9f3b001a7ee"
|
resolved "https://registry.yarnpkg.com/xmlhttprequest-ssl/-/xmlhttprequest-ssl-1.6.2.tgz#dd6899bfbcf684b554e393c30b13b9f3b001a7ee"
|
||||||
integrity sha512-tYOaldF/0BLfKuoA39QMwD4j2m8lq4DIncqj1yuNELX4vz9+z/ieG/vwmctjJce+boFHXstqhWnHSxc4W8f4qg==
|
integrity sha512-tYOaldF/0BLfKuoA39QMwD4j2m8lq4DIncqj1yuNELX4vz9+z/ieG/vwmctjJce+boFHXstqhWnHSxc4W8f4qg==
|
||||||
|
Loading…
Reference in New Issue
Block a user