Skip to content

Commit

Permalink
feat: switch to v8.0.0 released version
Browse files Browse the repository at this point in the history
  • Loading branch information
Akaryatrh committed Dec 17, 2024
1 parent 6e2eec2 commit 717c864
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 204 deletions.
2 changes: 1 addition & 1 deletion offscreen/scripts/ledger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ function setupMessageListeners(iframe: HTMLIFrameElement) {
export default async function init() {
return new Promise<void>((resolve) => {
const iframe = document.createElement('iframe');
iframe.src = 'https://dawnseeker8.github.io/eth-ledger-bridge-keyring';
iframe.src = 'https://metamask.github.io/ledger-iframe-bridge/8.0.0/';
iframe.allow = 'hid';
iframe.onload = () => {
setupMessageListeners(iframe);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@
"@metamask/ens-resolver-snap": "^0.1.2",
"@metamask/eth-json-rpc-filters": "^9.0.0",
"@metamask/eth-json-rpc-middleware": "^15.0.0",
"@metamask/eth-ledger-bridge-keyring": "^5.0.1",
"@metamask/eth-ledger-bridge-keyring": "^8.0.0",
"@metamask/eth-query": "^4.0.0",
"@metamask/eth-sig-util": "^7.0.1",
"@metamask/eth-snap-keyring": "^5.0.1",
Expand Down
1 change: 0 additions & 1 deletion privacy-snapshot.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
"metamask-sdk.api.cx.metamask.io",
"metamask.eth",
"metamask.github.io",
"dawnseeker8.github.io",
"metametrics.metamask.test",
"min-api.cryptocompare.com",
"nft.api.cx.metamask.io",
Expand Down
2 changes: 1 addition & 1 deletion shared/constants/offscreen-communication.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,5 @@ export enum LedgerAction {
*/
export enum KnownOrigins {
lattice = 'https://lattice.gridplus.io',
ledger = 'https://dawnseeker8.github.io',
ledger = 'https://metamask.github.io',
}
212 changes: 12 additions & 200 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2735,7 +2735,7 @@ __metadata:
languageName: node
linkType: hard

"@ethersproject/rlp@npm:5.7.0, @ethersproject/rlp@npm:^5.5.0, @ethersproject/rlp@npm:^5.7.0":
"@ethersproject/rlp@npm:5.7.0, @ethersproject/rlp@npm:^5.7.0":
version: 5.7.0
resolution: "@ethersproject/rlp@npm:5.7.0"
dependencies:
Expand Down Expand Up @@ -4300,168 +4300,6 @@ __metadata:
languageName: node
linkType: hard

"@ledgerhq/cryptoassets-evm-signatures@npm:^13.5.0":
version: 13.5.0
resolution: "@ledgerhq/cryptoassets-evm-signatures@npm:13.5.0"
dependencies:
"@ledgerhq/live-env": "npm:^2.3.0"
axios: "npm:1.7.7"
checksum: 10/ce6e3343fdf60255ede1d784a2fb47c8c5f49e8257559947e2678fac250700140695c85ae06bef777ccc4bb37577db813a4b3d031f3b0b84cbcd6e139613fbf9
languageName: node
linkType: hard

"@ledgerhq/devices@npm:^8.4.4":
version: 8.4.4
resolution: "@ledgerhq/devices@npm:8.4.4"
dependencies:
"@ledgerhq/errors": "npm:^6.19.1"
"@ledgerhq/logs": "npm:^6.12.0"
rxjs: "npm:^7.8.1"
semver: "npm:^7.3.5"
checksum: 10/57136fc45ae2fa42b3cf93eb7cc3542fd84010390b3d0a536d342c7e92f90e475d608b1774f17a547419edddd7df0d0b1b1dbd6d2c778009ebab0fc3ec313f67
languageName: node
linkType: hard

"@ledgerhq/domain-service@npm:^1.2.6":
version: 1.2.6
resolution: "@ledgerhq/domain-service@npm:1.2.6"
dependencies:
"@ledgerhq/errors": "npm:^6.19.1"
"@ledgerhq/logs": "npm:^6.12.0"
"@ledgerhq/types-live": "npm:^6.52.0"
axios: "npm:1.7.7"
eip55: "npm:^2.1.1"
react: "npm:^18.2.0"
react-dom: "npm:^18.2.0"
checksum: 10/0b680af9deff24f608446cb7026b06e09ea693a367a5ef5e71068c70fabfbb98019cb618daefed278ed875a0ff5d296735fb743746ac0edee1357ae12fd58d99
languageName: node
linkType: hard

"@ledgerhq/errors@npm:^6.19.1":
version: 6.19.1
resolution: "@ledgerhq/errors@npm:6.19.1"
checksum: 10/8265c6d73c314a4aabbe060ec29e2feebb4e904fe811bf7a9c53cde08e713dcbceded9d927ebb2f0ffc47a7b16524379d4a7e9aa3d61945b8a832be7cd5cf69b
languageName: node
linkType: hard

"@ledgerhq/evm-tools@npm:1.2.3":
version: 1.2.3
resolution: "@ledgerhq/evm-tools@npm:1.2.3"
dependencies:
"@ledgerhq/cryptoassets-evm-signatures": "npm:^13.5.0"
"@ledgerhq/live-env": "npm:^2.3.0"
axios: "npm:1.7.7"
crypto-js: "npm:4.2.0"
ethers: "npm:5.7.2"
checksum: 10/956a0a3ac26454ac350c5e34b5cfb911ed3a0f3f724bec1ce2c56f2de344635b582f977e4901841c353d98c50b076e40bfb03d865eed3a82e328744043e00ee7
languageName: node
linkType: hard

"@ledgerhq/evm-tools@patch:@ledgerhq/evm-tools@npm%3A1.2.3#~/.yarn/patches/@ledgerhq-evm-tools-npm-1.2.3-414f44baa9.patch":
version: 1.2.3
resolution: "@ledgerhq/evm-tools@patch:@ledgerhq/evm-tools@npm%3A1.2.3#~/.yarn/patches/@ledgerhq-evm-tools-npm-1.2.3-414f44baa9.patch::version=1.2.3&hash=1deaa9"
dependencies:
"@ledgerhq/cryptoassets-evm-signatures": "npm:^13.5.0"
"@ledgerhq/live-env": "npm:^2.3.0"
axios: "npm:1.7.7"
crypto-js: "npm:4.2.0"
ethers: "npm:5.7.2"
checksum: 10/c7d79c691f681376efc6c44d16a00f6349301091a82a7a8ad264475562896bf8a9b4e922080f4f6f541bb62483ad9efeeec87910fa6f15d9db3e1d22820548c8
languageName: node
linkType: hard

"@ledgerhq/hw-app-eth@npm:6.39.0":
version: 6.39.0
resolution: "@ledgerhq/hw-app-eth@npm:6.39.0"
dependencies:
"@ethersproject/abi": "npm:^5.5.0"
"@ethersproject/rlp": "npm:^5.5.0"
"@ledgerhq/cryptoassets-evm-signatures": "npm:^13.5.0"
"@ledgerhq/domain-service": "npm:^1.2.6"
"@ledgerhq/errors": "npm:^6.19.1"
"@ledgerhq/evm-tools": "npm:^1.2.3"
"@ledgerhq/hw-transport": "npm:^6.31.4"
"@ledgerhq/hw-transport-mocker": "npm:^6.29.4"
"@ledgerhq/logs": "npm:^6.12.0"
"@ledgerhq/types-live": "npm:^6.52.0"
axios: "npm:1.7.7"
bignumber.js: "npm:^9.1.2"
semver: "npm:^7.3.5"
checksum: 10/5b50aac35989e09704557523efe5b6b29a1f31f5279088ecceb90164e32e05860f3ff20c32a084003a69723ed08165ae140c2987424657245f088c3f9a908cd6
languageName: node
linkType: hard

"@ledgerhq/hw-app-eth@patch:@ledgerhq/hw-app-eth@npm%3A6.39.0#~/.yarn/patches/@ledgerhq-hw-app-eth-npm-6.39.0-866309bbbe.patch":
version: 6.39.0
resolution: "@ledgerhq/hw-app-eth@patch:@ledgerhq/hw-app-eth@npm%3A6.39.0#~/.yarn/patches/@ledgerhq-hw-app-eth-npm-6.39.0-866309bbbe.patch::version=6.39.0&hash=f5404c"
dependencies:
"@ethersproject/abi": "npm:^5.5.0"
"@ethersproject/rlp": "npm:^5.5.0"
"@ledgerhq/cryptoassets-evm-signatures": "npm:^13.5.0"
"@ledgerhq/domain-service": "npm:^1.2.6"
"@ledgerhq/errors": "npm:^6.19.1"
"@ledgerhq/evm-tools": "npm:^1.2.3"
"@ledgerhq/hw-transport": "npm:^6.31.4"
"@ledgerhq/hw-transport-mocker": "npm:^6.29.4"
"@ledgerhq/logs": "npm:^6.12.0"
"@ledgerhq/types-live": "npm:^6.52.0"
axios: "npm:1.7.7"
bignumber.js: "npm:^9.1.2"
semver: "npm:^7.3.5"
checksum: 10/fb270eee2b2d0886462908b4c511262da0c884f0b72ab50225407608d197ece71b05b4fdc07e628c75ab3ae573e49ed5c3ccf3b2f40a28e4663a28788d46b4dd
languageName: node
linkType: hard

"@ledgerhq/hw-transport-mocker@npm:^6.29.4":
version: 6.29.4
resolution: "@ledgerhq/hw-transport-mocker@npm:6.29.4"
dependencies:
"@ledgerhq/hw-transport": "npm:^6.31.4"
"@ledgerhq/logs": "npm:^6.12.0"
rxjs: "npm:^7.8.1"
checksum: 10/6f1568b1723ee6964872b09b712714bacf33c87e83413a33420b7ba11e3c30fa6786f02d2cf7b8bc9b3560f4b5c3b166017d5e0a960267a7824a153687fe32ed
languageName: node
linkType: hard

"@ledgerhq/hw-transport@npm:^6.31.4":
version: 6.31.4
resolution: "@ledgerhq/hw-transport@npm:6.31.4"
dependencies:
"@ledgerhq/devices": "npm:^8.4.4"
"@ledgerhq/errors": "npm:^6.19.1"
"@ledgerhq/logs": "npm:^6.12.0"
events: "npm:^3.3.0"
checksum: 10/cf101e5b818e95e59031241d556dbec24658f54104910e414be493bc4b90b0aea50f5d4b3339a237dd0b12845bb2683c845f3a82f2ea9da4e077b68d1e1f7e48
languageName: node
linkType: hard

"@ledgerhq/live-env@npm:^2.3.0":
version: 2.3.0
resolution: "@ledgerhq/live-env@npm:2.3.0"
dependencies:
rxjs: "npm:^7.8.1"
utility-types: "npm:^3.10.0"
checksum: 10/757ff834d6b94dce0487d60ab0efa45ef206ebbdfd29053c232b4c0fdce1594016531340c1603695b37f17deb1639dcb98078a9629eeb36c835a19f4180834ce
languageName: node
linkType: hard

"@ledgerhq/logs@npm:^6.12.0":
version: 6.12.0
resolution: "@ledgerhq/logs@npm:6.12.0"
checksum: 10/a0a01f5d6edb0c14e7a42d24ab67ce362219517f6a50d0572c917f4f7988a1e2e9363e3d0fb170fe267f054e1e30a111564de44276e01c538b258d902c546421
languageName: node
linkType: hard

"@ledgerhq/types-live@npm:^6.52.0":
version: 6.52.0
resolution: "@ledgerhq/types-live@npm:6.52.0"
dependencies:
bignumber.js: "npm:^9.1.2"
rxjs: "npm:^7.8.1"
checksum: 10/c410f02159538d66f59956512fc5bab2cb17edee7f6a15a517c31d89d6c730e52691666bb2e1d98718c701e94306dd7498544ea3d7772ff0b5ad6522fb2c335c
languageName: node
linkType: hard

"@leichtgewicht/ip-codec@npm:^2.0.1":
version: 2.0.4
resolution: "@leichtgewicht/ip-codec@npm:2.0.4"
Expand Down Expand Up @@ -5302,14 +5140,15 @@ __metadata:
version: 8.0.0
resolution: "@metamask/eth-ledger-bridge-keyring@npm:8.0.0"
dependencies:
"@ethereumjs/rlp": "npm:^5.0.2"
"@ethereumjs/tx": "npm:^4.2.0"
"@ethereumjs/util": "npm:^8.1.0"
"@ledgerhq/hw-app-eth": "npm:^6.39.0"
"@metamask/eth-sig-util": "npm:^8.0.0"
hdkey: "npm:^2.1.0"
json-rpc-random-id: "npm:^1.0.0"
xtend: "npm:^4.0.1"
checksum: 10/665769f368dcfa18532e67691a2aaa44a330c0bbbf8a0371f4f7e82e85f58e8c95a7a0004439f04db5306b4e60bcb6be82ee6b256834047fd8514adccc3ed525
languageName: node
linkType: hard

"@metamask/eth-query@npm:^4.0.0":
version: 4.0.0
resolution: "@metamask/eth-query@npm:4.0.0"
dependencies:
json-rpc-random-id: "npm:^1.0.0"
xtend: "npm:^4.0.1"
Expand Down Expand Up @@ -13186,17 +13025,6 @@ __metadata:
languageName: node
linkType: hard

"axios@npm:^0.28.0":
version: 0.28.1
resolution: "axios@npm:0.28.1"
dependencies:
follow-redirects: "npm:^1.15.0"
form-data: "npm:^4.0.0"
proxy-from-env: "npm:^1.1.0"
checksum: 10/3eb6799ce716de877c3015ddc2cbb5d5176c914d777c36076e097157792f2bc6d0a491156a9239bf32e8dfe1c138ec008d6bd31f4c5602d8e7b915111c10b635
languageName: node
linkType: hard

"axios@npm:^1.1.3":
version: 1.7.7
resolution: "axios@npm:1.7.7"
Expand Down Expand Up @@ -15947,7 +15775,7 @@ __metadata:
languageName: node
linkType: hard

"crypto-js@npm:4.2.0, crypto-js@npm:^4.2.0":
"crypto-js@npm:^4.2.0":
version: 4.2.0
resolution: "crypto-js@npm:4.2.0"
checksum: 10/c7bcc56a6e01c3c397e95aa4a74e4241321f04677f9a618a8f48a63b5781617248afb9adb0629824792e7ec20ca0d4241a49b6b2938ae6f973ec4efc5c53c924
Expand Down Expand Up @@ -17439,15 +17267,6 @@ __metadata:
languageName: node
linkType: hard

"eip55@npm:^2.1.1":
version: 2.1.1
resolution: "eip55@npm:2.1.1"
dependencies:
keccak: "npm:^3.0.3"
checksum: 10/512d319e4f91ab0c33b514f371206956521dcdcdd23e8eb4d6f9c21e3be9f72287c0b82feb854d3a1eec91805804d13c31e7a1a7dafd37f69eb9994a9c6c8f32
languageName: node
linkType: hard

"ejs@npm:^3.1.5, ejs@npm:^3.1.8":
version: 3.1.9
resolution: "ejs@npm:3.1.9"
Expand Down Expand Up @@ -18877,7 +18696,7 @@ __metadata:
languageName: node
linkType: hard

"ethers@npm:5.7.2, ethers@npm:^5.7.0":
"ethers@npm:^5.7.0":
version: 5.7.2
resolution: "ethers@npm:5.7.2"
dependencies:
Expand Down Expand Up @@ -20001,7 +19820,7 @@ __metadata:
languageName: node
linkType: hard

"follow-redirects@npm:^1.0.0, follow-redirects@npm:^1.14.0, follow-redirects@npm:^1.14.9, follow-redirects@npm:^1.15.0, follow-redirects@npm:^1.15.6":
"follow-redirects@npm:^1.0.0, follow-redirects@npm:^1.14.0, follow-redirects@npm:^1.14.9, follow-redirects@npm:^1.15.6":
version: 1.15.9
resolution: "follow-redirects@npm:1.15.9"
peerDependenciesMeta:
Expand Down Expand Up @@ -24945,7 +24764,7 @@ __metadata:
languageName: node
linkType: hard

"keccak@npm:^3.0.0, keccak@npm:^3.0.3":
"keccak@npm:^3.0.0":
version: 3.0.4
resolution: "keccak@npm:3.0.4"
dependencies:
Expand Down Expand Up @@ -36744,13 +36563,6 @@ __metadata:
languageName: node
linkType: hard

"utility-types@npm:^3.10.0":
version: 3.11.0
resolution: "utility-types@npm:3.11.0"
checksum: 10/a3c51463fc807ed04ccc8b5d0fa6e31f3dcd7a4cbd30ab4bc6d760ce5319dd493d95bf04244693daf316f97e9ab2a37741edfed8748ad38572a595398ad0fdaf
languageName: node
linkType: hard

"utils-merge@npm:1.0.1":
version: 1.0.1
resolution: "utils-merge@npm:1.0.1"
Expand Down

0 comments on commit 717c864

Please sign in to comment.