From 7a9d5a57c01ce643d32b2e5d6107b1d89808ba93 Mon Sep 17 00:00:00 2001 From: gomes <17035424+gomesalexandre@users.noreply.github.com> Date: Wed, 4 Sep 2024 00:27:53 +0200 Subject: [PATCH] feat: hdwallet-walletconnectv2 eip-712 support (#7664) --- package.json | 26 ++++----- yarn.lock | 158 +++++++++++++++++++++++++-------------------------- 2 files changed, 92 insertions(+), 92 deletions(-) diff --git a/package.json b/package.json index 26383e725d6..648c1d4f0db 100644 --- a/package.json +++ b/package.json @@ -91,19 +91,19 @@ "@shapeshiftoss/caip": "workspace:^", "@shapeshiftoss/chain-adapters": "workspace:^", "@shapeshiftoss/errors": "workspace:^", - "@shapeshiftoss/hdwallet-coinbase": "1.54.1", - "@shapeshiftoss/hdwallet-core": "1.54.1", - "@shapeshiftoss/hdwallet-keepkey": "1.54.1", - "@shapeshiftoss/hdwallet-keepkey-webusb": "1.54.1", - "@shapeshiftoss/hdwallet-keplr": "1.54.1", - "@shapeshiftoss/hdwallet-ledger": "1.54.1", - "@shapeshiftoss/hdwallet-ledger-webusb": "1.54.1", - "@shapeshiftoss/hdwallet-metamask": "1.54.1", - "@shapeshiftoss/hdwallet-native": "1.54.1", - "@shapeshiftoss/hdwallet-native-vault": "1.54.1", - "@shapeshiftoss/hdwallet-shapeshift-multichain": "1.54.1", - "@shapeshiftoss/hdwallet-walletconnectv2": "1.54.1", - "@shapeshiftoss/hdwallet-xdefi": "1.54.1", + "@shapeshiftoss/hdwallet-coinbase": "1.54.2", + "@shapeshiftoss/hdwallet-core": "1.54.2", + "@shapeshiftoss/hdwallet-keepkey": "1.54.2", + "@shapeshiftoss/hdwallet-keepkey-webusb": "1.54.2", + "@shapeshiftoss/hdwallet-keplr": "1.54.2", + "@shapeshiftoss/hdwallet-ledger": "1.54.2", + "@shapeshiftoss/hdwallet-ledger-webusb": "1.54.2", + "@shapeshiftoss/hdwallet-metamask": "1.54.2", + "@shapeshiftoss/hdwallet-native": "1.54.2", + "@shapeshiftoss/hdwallet-native-vault": "1.54.2", + "@shapeshiftoss/hdwallet-shapeshift-multichain": "1.54.2", + "@shapeshiftoss/hdwallet-walletconnectv2": "1.54.2", + "@shapeshiftoss/hdwallet-xdefi": "1.54.2", "@shapeshiftoss/swapper": "workspace:^", "@shapeshiftoss/types": "workspace:^", "@shapeshiftoss/unchained-client": "workspace:^", diff --git a/yarn.lock b/yarn.lock index c8f95fa4c17..85d64ad443f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11034,15 +11034,15 @@ __metadata: languageName: node linkType: hard -"@shapeshiftoss/hdwallet-coinbase@npm:1.54.1": - version: 1.54.1 - resolution: "@shapeshiftoss/hdwallet-coinbase@npm:1.54.1" +"@shapeshiftoss/hdwallet-coinbase@npm:1.54.2": + version: 1.54.2 + resolution: "@shapeshiftoss/hdwallet-coinbase@npm:1.54.2" dependencies: "@coinbase/wallet-sdk": ^3.6.6 - "@shapeshiftoss/hdwallet-core": 1.54.1 + "@shapeshiftoss/hdwallet-core": 1.54.2 eth-rpc-errors: ^4.0.3 lodash: ^4.17.21 - checksum: 07258c1a16551ec9c136940ca1a8005e15f79d38c81e6c1f1dc4915bfbc23644dd6052d9054b5281a104f8050c004067a8b9898dd05b053a87f66d17c538eee1 + checksum: 4d5f7acdf10fec5737b6d1bbae8f1e3832c00ea72865e1bc263cbd1fa1d161d472f510ee98aa2f5c866fe832238d72bfc4317b25a4bf53d2f8bb1b7f7a18bfbb languageName: node linkType: hard @@ -11072,9 +11072,9 @@ __metadata: languageName: node linkType: hard -"@shapeshiftoss/hdwallet-core@npm:1.54.1": - version: 1.54.1 - resolution: "@shapeshiftoss/hdwallet-core@npm:1.54.1" +"@shapeshiftoss/hdwallet-core@npm:1.54.2": + version: 1.54.2 + resolution: "@shapeshiftoss/hdwallet-core@npm:1.54.2" dependencies: "@shapeshiftoss/proto-tx-builder": ^0.8.0 eip-712: ^1.0.0 @@ -11082,30 +11082,30 @@ __metadata: lodash: ^4.17.21 rxjs: ^6.4.0 type-assertions: ^1.1.0 - checksum: a2b40ff5fd2d7b0f0370b1b6b21d7903c7b49ecd3ab9555768148d876723f15d9acf13ad3d629d65f59b220af576969929004548f7f6ef8bd1ea6af363ef529d + checksum: c24df90a31fb6bb1398bfd327f3b4c239200a56cbe52615851b4b3a9c918bb0bd850f3d34209b76cb074eeaa4409f3b724ca32ee96b0078a28015286df45d397 languageName: node linkType: hard -"@shapeshiftoss/hdwallet-keepkey-webusb@npm:1.54.1": - version: 1.54.1 - resolution: "@shapeshiftoss/hdwallet-keepkey-webusb@npm:1.54.1" +"@shapeshiftoss/hdwallet-keepkey-webusb@npm:1.54.2": + version: 1.54.2 + resolution: "@shapeshiftoss/hdwallet-keepkey-webusb@npm:1.54.2" dependencies: - "@shapeshiftoss/hdwallet-core": 1.54.1 - "@shapeshiftoss/hdwallet-keepkey": 1.54.1 - checksum: 46c6e3197882f9d3b3b97f16e544f9d0bd27516fab3b6d1b3926bdf4efe7dffe4a2458cbf22b0bc7b20c537e17816f74182ef44d01bde9ba1c9f2b6f16e732d0 + "@shapeshiftoss/hdwallet-core": 1.54.2 + "@shapeshiftoss/hdwallet-keepkey": 1.54.2 + checksum: 48c60d36786ed69cf66ff4f559d19431ae2716a41ed053a1c534d192ca9d2d99b44c18179f39ab1d8b978e5a258cc2bf7f71004b8bf3b42c83ff201ba11e1c2d languageName: node linkType: hard -"@shapeshiftoss/hdwallet-keepkey@npm:1.54.1": - version: 1.54.1 - resolution: "@shapeshiftoss/hdwallet-keepkey@npm:1.54.1" +"@shapeshiftoss/hdwallet-keepkey@npm:1.54.2": + version: 1.54.2 + resolution: "@shapeshiftoss/hdwallet-keepkey@npm:1.54.2" dependencies: "@ethereumjs/common": ^2.4.0 "@ethereumjs/tx": ^3.3.0 "@keepkey/device-protocol": ^7.12.2 "@metamask/eth-sig-util": ^7.0.0 "@shapeshiftoss/bitcoinjs-lib": 5.2.0-shapeshift.2 - "@shapeshiftoss/hdwallet-core": 1.54.1 + "@shapeshiftoss/hdwallet-core": 1.54.2 "@shapeshiftoss/proto-tx-builder": ^0.8.0 bignumber.js: ^9.0.1 bnb-javascript-sdk-nobroadcast: ^2.16.14 @@ -11117,27 +11117,27 @@ __metadata: p-lazy: ^3.1.0 semver: ^7.3.8 tiny-secp256k1: ^1.1.6 - checksum: d9a8a4b45a902231d0ac0cc2347a45d3c93203a47b0d3dca23da8c60a181ceb2989e7f43334b11858cfc524262e622ff3d5ca5d6dd60a14612067c37513d44f6 + checksum: e5922af0933008168b6a5e206116b4dbe49ff349449a5c5b4af084ebad272356b626aee7dddf45d8570271bec30275d2ed9bf6400c34a0ab3ebfb58e3613bd8d languageName: node linkType: hard -"@shapeshiftoss/hdwallet-keplr@npm:1.54.1": - version: 1.54.1 - resolution: "@shapeshiftoss/hdwallet-keplr@npm:1.54.1" +"@shapeshiftoss/hdwallet-keplr@npm:1.54.2": + version: 1.54.2 + resolution: "@shapeshiftoss/hdwallet-keplr@npm:1.54.2" dependencies: "@shapeshiftoss/caip": 8.15.0 - "@shapeshiftoss/hdwallet-core": 1.54.1 + "@shapeshiftoss/hdwallet-core": 1.54.2 "@shapeshiftoss/proto-tx-builder": ^0.8.0 "@shapeshiftoss/types": 3.1.3 base64-js: ^1.5.1 lodash: ^4.17.21 - checksum: 17ff8159991656b7d9f00623bc2779cd2b3df19e20c0c622e6f64df98ed998f476597bca04de22ed9f9492754bc58408d76ac8350c80af57c7bc89511a4dbc0d + checksum: 1ba9c18e73d3dbeb19b4f6162a3406d3159919c434d7aff439060845f967b846eec243e895eae35b0def8b9c72aa120bca2fad58798f1f0c098d8c331fdd7f6e languageName: node linkType: hard -"@shapeshiftoss/hdwallet-ledger-webusb@npm:1.54.1": - version: 1.54.1 - resolution: "@shapeshiftoss/hdwallet-ledger-webusb@npm:1.54.1" +"@shapeshiftoss/hdwallet-ledger-webusb@npm:1.54.2": + version: 1.54.2 + resolution: "@shapeshiftoss/hdwallet-ledger-webusb@npm:1.54.2" dependencies: "@ledgerhq/hw-app-btc": ^10.0.8 "@ledgerhq/hw-app-eth": ^6.9.0 @@ -11145,23 +11145,23 @@ __metadata: "@ledgerhq/hw-transport-webusb": ^6.7.0 "@ledgerhq/live-common": ^21.8.2 "@ledgerhq/logs": ^6.10.1 - "@shapeshiftoss/hdwallet-core": 1.54.1 - "@shapeshiftoss/hdwallet-ledger": 1.54.1 + "@shapeshiftoss/hdwallet-core": 1.54.2 + "@shapeshiftoss/hdwallet-ledger": 1.54.2 "@types/w3c-web-usb": ^1.0.4 p-queue: ^7.4.1 - checksum: 7c2b4d7cec0bc1870f032ed2cf4f95d4db249f4f1b6da825d0875368d5d11bf3f5ec1a057c2e300b5838053dfb6c0f55846f85b7b3e94ad38ffa3480d0828ae9 + checksum: 4b1c6c622a32f3fcbe90e3ca6fb55b729d65ce4e033325d5bfe3cab6433bb45631da3ce2d103ef6ebefe1b23b8257aace178bbd1941024c933c8e8e74be3db63 languageName: node linkType: hard -"@shapeshiftoss/hdwallet-ledger@npm:1.54.1": - version: 1.54.1 - resolution: "@shapeshiftoss/hdwallet-ledger@npm:1.54.1" +"@shapeshiftoss/hdwallet-ledger@npm:1.54.2": + version: 1.54.2 + resolution: "@shapeshiftoss/hdwallet-ledger@npm:1.54.2" dependencies: "@ethereumjs/common": ^2.4.0 "@ethereumjs/tx": ^3.3.0 "@ledgerhq/hw-app-cosmos": ^6.29.1 "@shapeshiftoss/bitcoinjs-lib": 5.2.0-shapeshift.2 - "@shapeshiftoss/hdwallet-core": 1.54.1 + "@shapeshiftoss/hdwallet-core": 1.54.2 base64-js: ^1.5.1 bchaddrjs: ^0.4.4 bitcoinjs-message: ^2.0.0 @@ -11169,28 +11169,28 @@ __metadata: ethereumjs-tx: 1.3.7 ethereumjs-util: ^6.1.0 lodash: ^4.17.21 - checksum: a5619a1ce6f0557ed96f045377cf91ee126a10651f07d8db904451f0ff73bca6b2b3b738574f91e015b988e6387a375c5ef52de922d83340b6eb79b0d94b797b + checksum: 9bb904f6660953dca8ca0b8b21d6babd7e89155d2be17b7f3e3a728ff4eabeca4d8627fee741228069a5ec0820ffd95b28bac3c49370a9d9dabf09a402177a87 languageName: node linkType: hard -"@shapeshiftoss/hdwallet-metamask@npm:1.54.1": - version: 1.54.1 - resolution: "@shapeshiftoss/hdwallet-metamask@npm:1.54.1" +"@shapeshiftoss/hdwallet-metamask@npm:1.54.2": + version: 1.54.2 + resolution: "@shapeshiftoss/hdwallet-metamask@npm:1.54.2" dependencies: "@metamask/detect-provider": ^1.2.0 "@metamask/onboarding": ^1.0.1 - "@shapeshiftoss/hdwallet-core": 1.54.1 + "@shapeshiftoss/hdwallet-core": 1.54.2 eth-rpc-errors: ^4.0.3 lodash: ^4.17.21 - checksum: d9f6f2959bb5999ecc4ca31fe99b0053e28eeb54959d6aedd47997cf0494c419e18be8991c630187992284950552401164fc21edafbf9070a1ba8368f8ee25cc + checksum: 59ef13ae365e0f0c756aedb7be3a757d03636bdcebf343a1141c9f5df73219d4319d1ce9820db96f1802bcbd62eed44d74053d1ba620b8684866e579b8e19311 languageName: node linkType: hard -"@shapeshiftoss/hdwallet-native-vault@npm:1.54.1": - version: 1.54.1 - resolution: "@shapeshiftoss/hdwallet-native-vault@npm:1.54.1" +"@shapeshiftoss/hdwallet-native-vault@npm:1.54.2": + version: 1.54.2 + resolution: "@shapeshiftoss/hdwallet-native-vault@npm:1.54.2" dependencies: - "@shapeshiftoss/hdwallet-native": 1.54.1 + "@shapeshiftoss/hdwallet-native": 1.54.2 bip39: ^3.0.4 hash-wasm: ^4.9.0 idb-keyval: ^6.0.3 @@ -11199,17 +11199,17 @@ __metadata: type-assertions: ^1.1.0 uuid: ^8.3.2 web-encoding: ^1.1.0 - checksum: af6461df0f597a9e91e312c10720af3a4862cf09e176380855ec507c796d3bcc99ddbf3f8c0057e2e4efc94d6813777d55534e7856b601b135d4a33c0bbbf673 + checksum: 36995b9bf2e05bfea82b97cd97da3b969d73da6e6c0f0cd2e638f85bb8ebb4e79ecae6eba0960e6dc627e40c4ce1b01c132819fc8f9edde2d1d283d5a13852ee languageName: node linkType: hard -"@shapeshiftoss/hdwallet-native@npm:1.54.1": - version: 1.54.1 - resolution: "@shapeshiftoss/hdwallet-native@npm:1.54.1" +"@shapeshiftoss/hdwallet-native@npm:1.54.2": + version: 1.54.2 + resolution: "@shapeshiftoss/hdwallet-native@npm:1.54.2" dependencies: "@shapeshiftoss/bitcoinjs-lib": 5.2.0-shapeshift.2 "@shapeshiftoss/fiosdk": 1.2.1-shapeshift.6 - "@shapeshiftoss/hdwallet-core": 1.54.1 + "@shapeshiftoss/hdwallet-core": 1.54.2 "@shapeshiftoss/proto-tx-builder": ^0.8.0 "@zxing/text-encoding": ^0.9.0 bchaddrjs: ^0.4.9 @@ -11230,7 +11230,7 @@ __metadata: tendermint-tx-builder: ^1.0.9 tiny-secp256k1: ^1.1.6 web-encoding: ^1.1.0 - checksum: 2b4d80350720f9404cd23df684272cacbe3905b5ceff25e1c8137c63d28ea9e7156752b68b988c32310954181727bd886d36e21c94313f346eb692c319d9924e + checksum: 81eb4fd23806d9fcb325e7e567182e9757646ad7365451469ce57433b93e2d904fa4baa0e1e34cfbbed760fc10a076cde21d48b2dfe6a930d32b218bb69c66db languageName: node linkType: hard @@ -11265,41 +11265,41 @@ __metadata: languageName: node linkType: hard -"@shapeshiftoss/hdwallet-shapeshift-multichain@npm:1.54.1": - version: 1.54.1 - resolution: "@shapeshiftoss/hdwallet-shapeshift-multichain@npm:1.54.1" +"@shapeshiftoss/hdwallet-shapeshift-multichain@npm:1.54.2": + version: 1.54.2 + resolution: "@shapeshiftoss/hdwallet-shapeshift-multichain@npm:1.54.2" dependencies: "@metamask/detect-provider": ^1.2.0 "@metamask/onboarding": ^1.0.1 "@shapeshiftoss/common-api": ^9.3.0 - "@shapeshiftoss/hdwallet-core": 1.54.1 + "@shapeshiftoss/hdwallet-core": 1.54.2 "@shapeshiftoss/metamask-snaps-adapter": ^1.0.8 "@shapeshiftoss/metamask-snaps-types": ^1.0.8 eth-rpc-errors: ^4.0.3 lodash: ^4.17.21 - checksum: 02b6030ce3bb83f3f7536a890688032990b8be8f22cf8438cfdf265d12a32c63c5722026cd8287ab54f9578bee994099b7148e86fcc5d1d00e6ddd5fb71334f3 + checksum: b1b2ef67ace6f57fd527cd48f0aa3e59b9da2e80ba7aee43888b8604df5c60da59b5a1a4e463649f062cee48d9af6d8a02508e6b7164a6d7843c655bd2c3aec6 languageName: node linkType: hard -"@shapeshiftoss/hdwallet-walletconnectv2@npm:1.54.1": - version: 1.54.1 - resolution: "@shapeshiftoss/hdwallet-walletconnectv2@npm:1.54.1" +"@shapeshiftoss/hdwallet-walletconnectv2@npm:1.54.2": + version: 1.54.2 + resolution: "@shapeshiftoss/hdwallet-walletconnectv2@npm:1.54.2" dependencies: - "@shapeshiftoss/hdwallet-core": 1.54.1 + "@shapeshiftoss/hdwallet-core": 1.54.2 "@walletconnect/ethereum-provider": ^2.10.1 "@walletconnect/modal": ^2.6.2 ethers: ^5.6.5 - checksum: e5b0fe0071c32564428df20dfd693832f2fb40ad2da6bb65aec0db6e312e732663f5fdd8c794c16c3ad0cba5bf29ce7404bfe0e1199bfa43720efe4bb69d9565 + checksum: 47e5a736ac458397deba38fce98e41fec4bd1bb725a07e30d4e2b191032aa558c1ea9da2d7c46ef09116f0fc52a7f2001fb555446a3ca85eac878f330069d2b0 languageName: node linkType: hard -"@shapeshiftoss/hdwallet-xdefi@npm:1.54.1": - version: 1.54.1 - resolution: "@shapeshiftoss/hdwallet-xdefi@npm:1.54.1" +"@shapeshiftoss/hdwallet-xdefi@npm:1.54.2": + version: 1.54.2 + resolution: "@shapeshiftoss/hdwallet-xdefi@npm:1.54.2" dependencies: - "@shapeshiftoss/hdwallet-core": 1.54.1 + "@shapeshiftoss/hdwallet-core": 1.54.2 lodash: ^4.17.21 - checksum: e5e4424f3695c1dce53b98d615f875c667198a6e7b7090c99d5fa3983c52fd181c289aac1c8276c522dfe3fd445a60896c0d39c8b6ec4647ca785688cc129ba4 + checksum: 949a229559135f8493394eec10b99f38f338b73dbf28cfa9d3f5752e56fd9f40402776380142c6d18fa5cd63d6d9833453b0f0d6d382b4efe108d807adfc2b07 languageName: node linkType: hard @@ -11494,19 +11494,19 @@ __metadata: "@shapeshiftoss/caip": "workspace:^" "@shapeshiftoss/chain-adapters": "workspace:^" "@shapeshiftoss/errors": "workspace:^" - "@shapeshiftoss/hdwallet-coinbase": 1.54.1 - "@shapeshiftoss/hdwallet-core": 1.54.1 - "@shapeshiftoss/hdwallet-keepkey": 1.54.1 - "@shapeshiftoss/hdwallet-keepkey-webusb": 1.54.1 - "@shapeshiftoss/hdwallet-keplr": 1.54.1 - "@shapeshiftoss/hdwallet-ledger": 1.54.1 - "@shapeshiftoss/hdwallet-ledger-webusb": 1.54.1 - "@shapeshiftoss/hdwallet-metamask": 1.54.1 - "@shapeshiftoss/hdwallet-native": 1.54.1 - "@shapeshiftoss/hdwallet-native-vault": 1.54.1 - "@shapeshiftoss/hdwallet-shapeshift-multichain": 1.54.1 - "@shapeshiftoss/hdwallet-walletconnectv2": 1.54.1 - "@shapeshiftoss/hdwallet-xdefi": 1.54.1 + "@shapeshiftoss/hdwallet-coinbase": 1.54.2 + "@shapeshiftoss/hdwallet-core": 1.54.2 + "@shapeshiftoss/hdwallet-keepkey": 1.54.2 + "@shapeshiftoss/hdwallet-keepkey-webusb": 1.54.2 + "@shapeshiftoss/hdwallet-keplr": 1.54.2 + "@shapeshiftoss/hdwallet-ledger": 1.54.2 + "@shapeshiftoss/hdwallet-ledger-webusb": 1.54.2 + "@shapeshiftoss/hdwallet-metamask": 1.54.2 + "@shapeshiftoss/hdwallet-native": 1.54.2 + "@shapeshiftoss/hdwallet-native-vault": 1.54.2 + "@shapeshiftoss/hdwallet-shapeshift-multichain": 1.54.2 + "@shapeshiftoss/hdwallet-walletconnectv2": 1.54.2 + "@shapeshiftoss/hdwallet-xdefi": 1.54.2 "@shapeshiftoss/swapper": "workspace:^" "@shapeshiftoss/types": "workspace:^" "@shapeshiftoss/unchained-client": "workspace:^"