From aed9cbc072456c0c16efa93d699f25b17af8555b Mon Sep 17 00:00:00 2001 From: Saravanan Mani Date: Tue, 8 Aug 2023 16:51:51 +0530 Subject: [PATCH] feat(WRW): add PSBT support for backup key recovery PSBT transaction support for UTXO coins is added. Legacy format for keyternal KRS and OVC unsigned sweep cases. PSBT format for other cases. Ticket: BG-79840 --- package-lock.json | 910 +++++++++++++++++++++++++--------------------- package.json | 21 +- 2 files changed, 508 insertions(+), 423 deletions(-) diff --git a/package-lock.json b/package-lock.json index 2ea87a9e..21c26525 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,22 +16,22 @@ "@bitgo-beta/sdk-coin-injective": "^1.1.3-beta.42", "@bitgo-beta/sdk-coin-sei": "^1.0.1-beta.45", "@bitgo-beta/sdk-coin-tia": "^1.0.0-beta.54", - "@bitgo/abstract-utxo": "2.2.0", + "@bitgo/abstract-utxo": "3.5.0", "@bitgo/sdk-api": "1.11.0", "@bitgo/sdk-coin-ada": "2.3.15", "@bitgo/sdk-coin-avaxc": "2.4.18", - "@bitgo/sdk-coin-bch": "1.3.20", - "@bitgo/sdk-coin-bcha": "1.5.15", - "@bitgo/sdk-coin-bsv": "1.3.20", - "@bitgo/sdk-coin-btc": "1.5.0", - "@bitgo/sdk-coin-btg": "1.3.20", - "@bitgo/sdk-coin-dash": "1.3.20", - "@bitgo/sdk-coin-doge": "1.8.15", + "@bitgo/sdk-coin-bch": "1.5.0", + "@bitgo/sdk-coin-bcha": "1.7.0", + "@bitgo/sdk-coin-bsv": "1.5.0", + "@bitgo/sdk-coin-btc": "1.7.0", + "@bitgo/sdk-coin-btg": "1.5.0", + "@bitgo/sdk-coin-dash": "1.5.0", + "@bitgo/sdk-coin-doge": "1.12.0", "@bitgo/sdk-coin-dot": "2.2.9", "@bitgo/sdk-coin-eos": "1.3.20", "@bitgo/sdk-coin-eth": "4.4.2", "@bitgo/sdk-coin-ethw": "1.3.20", - "@bitgo/sdk-coin-ltc": "2.0.15", + "@bitgo/sdk-coin-ltc": "2.2.0", "@bitgo/sdk-coin-near": "1.3.20", "@bitgo/sdk-coin-osmo": "^1.4.0", "@bitgo/sdk-coin-polygon": "1.5.4", @@ -39,7 +39,8 @@ "@bitgo/sdk-coin-trx": "1.8.0", "@bitgo/sdk-coin-xlm": "2.0.6", "@bitgo/sdk-coin-xrp": "1.4.2", - "@bitgo/sdk-coin-zec": "1.3.20", + "@bitgo/sdk-coin-zec": "1.5.0", + "@bitgo/utxo-lib": "9.5.0", "@ethereumjs/common": "2.6.5", "@lottiefiles/react-lottie-player": "3.4.9", "clsx": "1.2.1", @@ -3275,35 +3276,6 @@ "resolved": "https://registry.npmjs.org/@bitgo/statics/-/statics-18.1.0.tgz", "integrity": "sha512-475lRjjyWczoVcoEe0cB2fDKmEApQFh6ZmPtlWuaOybOmcmnS+/k8oxIlBNl58F8owF55X0+dDy0D7K3ypRrOQ==" }, - "node_modules/@bitgo/abstract-cosmos/node_modules/@bitgo/utxo-lib": { - "version": "9.4.0", - "resolved": "https://registry.npmjs.org/@bitgo/utxo-lib/-/utxo-lib-9.4.0.tgz", - "integrity": "sha512-BnAkGQPGrQoCtyHwQzLl4O+6HNvWHTGyy8klYRU9B+4qUtx/fWNyeXQbFDQEbmwvYc3bx+kb/xvJBbABHuJxUQ==", - "dependencies": { - "@bitgo/blake2b": "^3.2.3", - "@brandonblack/musig": "^0.0.1-alpha.0", - "@noble/secp256k1": "1.6.3", - "bech32": "^2.0.0", - "bip174": "npm:@bitgo-forks/bip174@3.1.0-master.4", - "bip32": "^3.0.1", - "bitcoin-ops": "^1.3.0", - "bitcoinjs-lib": "npm:@bitgo-forks/bitcoinjs-lib@7.1.0-master.6", - "bn.js": "^5.2.1", - "bs58check": "^2.1.2", - "cashaddress": "^1.1.0", - "create-hash": "^1.2.0", - "create-hmac": "^1.1.7", - "ecpair": "npm:@bitgo/ecpair@2.1.0-rc.0", - "elliptic": "^6.5.2", - "fastpriorityqueue": "^0.7.1", - "typeforce": "^1.11.3", - "varuint-bitcoin": "^1.1.2" - }, - "engines": { - "node": ">=10.22.0 <19", - "npm": ">=3.10.10" - } - }, "node_modules/@bitgo/abstract-cosmos/node_modules/@cosmjs/crypto": { "version": "0.30.1", "resolved": "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.30.1.tgz", @@ -3346,15 +3318,6 @@ "resolved": "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.30.1.tgz", "integrity": "sha512-KvvX58MGMWh7xA+N+deCfunkA/ZNDvFLw4YbOmX3f/XBIkqrVY7qlotfy2aNb1kgp6h4B6Yc8YawJPDTfvWX7g==" }, - "node_modules/@bitgo/abstract-cosmos/node_modules/bip174": { - "name": "@bitgo-forks/bip174", - "version": "3.1.0-master.4", - "resolved": "https://registry.npmjs.org/@bitgo-forks/bip174/-/bip174-3.1.0-master.4.tgz", - "integrity": "sha512-WDRNzPSdJGDqQNqfN+L5KHNHFDmNOPYnUnT7NkEkfHWn5m1jSOfcf8Swaslt5P0xcSDiERdN2gZxFc6XtOqRYg==", - "engines": { - "node": ">=8.0.0" - } - }, "node_modules/@bitgo/abstract-eth": { "version": "1.2.20", "resolved": "https://registry.npmjs.org/@bitgo/abstract-eth/-/abstract-eth-1.2.20.tgz", @@ -3370,6 +3333,35 @@ "node": ">=14 <17" } }, + "node_modules/@bitgo/abstract-eth/node_modules/@bitgo/utxo-lib": { + "version": "8.4.0", + "resolved": "https://registry.npmjs.org/@bitgo/utxo-lib/-/utxo-lib-8.4.0.tgz", + "integrity": "sha512-fWqxnQO/EvNf6Oc5rLvI5wiH5VtamnaKo/c3CjhmE1Yhaa1tVSZG/q+ipBlGOaPR0rFuN6KF6sw8Vt9YEzYo0w==", + "dependencies": { + "@bitgo/blake2b": "^3.2.1", + "@brandonblack/musig": "^0.0.1-alpha.0", + "@noble/secp256k1": "1.6.3", + "bech32": "^2.0.0", + "bip174": "npm:@bitgo-forks/bip174@3.1.0-master.3", + "bip32": "^3.0.1", + "bitcoin-ops": "^1.3.0", + "bitcoinjs-lib": "npm:@bitgo-forks/bitcoinjs-lib@7.1.0-master.5", + "bn.js": "^5.2.1", + "bs58check": "^2.1.2", + "cashaddress": "^1.1.0", + "create-hash": "^1.2.0", + "create-hmac": "^1.1.7", + "ecpair": "npm:@bitgo/ecpair@2.1.0-rc.0", + "elliptic": "^6.5.2", + "fastpriorityqueue": "^0.7.1", + "typeforce": "^1.11.3", + "varuint-bitcoin": "^1.1.2" + }, + "engines": { + "node": ">=10.22.0 <17", + "npm": ">=3.10.10" + } + }, "node_modules/@bitgo/abstract-eth/node_modules/bignumber.js": { "version": "8.1.1", "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-8.1.1.tgz", @@ -3378,16 +3370,37 @@ "node": "*" } }, - "node_modules/@bitgo/abstract-utxo": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/@bitgo/abstract-utxo/-/abstract-utxo-2.2.0.tgz", - "integrity": "sha512-WgdENYQSozv1s3Y5vGlTnLW79dUdSR5jnwn1u5T5Ao/xVEe4IIaPVZCV5qTz2eNBi2nWT3qYs/H85fjeh4Em4A==", + "node_modules/@bitgo/abstract-eth/node_modules/bitcoinjs-lib": { + "name": "@bitgo-forks/bitcoinjs-lib", + "version": "7.1.0-master.5", + "resolved": "https://registry.npmjs.org/@bitgo-forks/bitcoinjs-lib/-/bitcoinjs-lib-7.1.0-master.5.tgz", + "integrity": "sha512-slAMm562sRa0XH19nMsML/dvqLkIODhPK3TLfHvp3jVg7Z+I3Tx+maXh87fY3mUCDfVG9hrQjhPTpQLRFOmOSA==", "dependencies": { - "@bitgo/blockapis": "^1.6.5", - "@bitgo/sdk-api": "^1.10.2", - "@bitgo/sdk-core": "^8.4.0", - "@bitgo/unspents": "^0.14.0", - "@bitgo/utxo-lib": "^8.2.0", + "bech32": "^2.0.0", + "bip174": "npm:@bitgo-forks/bip174@3.1.0-master.3", + "bs58check": "^2.1.2", + "create-hash": "^1.1.0", + "fastpriorityqueue": "^0.7.1", + "json5": "^2.2.3", + "ripemd160": "^2.0.2", + "typeforce": "^1.11.3", + "varuint-bitcoin": "^1.1.2", + "wif": "^2.0.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/@bitgo/abstract-utxo": { + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/@bitgo/abstract-utxo/-/abstract-utxo-3.5.0.tgz", + "integrity": "sha512-xKbVzog3uiuicT5QpYdRllcAJutvzcF09+RyZAUwmKZ8s2hgN5wDJnX3AdrKum2xOK7Ggluoeo8elTY9kPdfCA==", + "dependencies": { + "@bitgo/blockapis": "^1.7.3", + "@bitgo/sdk-api": "^1.13.0", + "@bitgo/sdk-core": "^8.13.0", + "@bitgo/unspents": "^0.17.0", + "@bitgo/utxo-lib": "^9.5.0", "@types/bluebird": "^3.5.25", "@types/lodash": "^4.14.121", "@types/superagent": "4.1.15", @@ -3399,22 +3412,64 @@ "superagent": "^3.8.3" }, "engines": { - "node": ">=14 <17" + "node": ">=16 <19" } }, + "node_modules/@bitgo/abstract-utxo/node_modules/@bitgo/sdk-api": { + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/@bitgo/sdk-api/-/sdk-api-1.13.0.tgz", + "integrity": "sha512-aAqd+BsYpyO6WdsyFGsQ+ThA4wH9u5u5F2EBbDIKV4kPxvjFXH399SBvitLJlDYFy4HtSRWeqajR5C+Izj9Wtw==", + "dependencies": { + "@bitgo/sdk-core": "^8.13.0", + "@bitgo/sjcl": "^1.0.1", + "@bitgo/unspents": "^0.17.0", + "@bitgo/utxo-lib": "^9.5.0", + "@types/superagent": "4.1.15", + "bitcoinjs-message": "^2.0.0", + "bluebird": "^3.5.3", + "browser-or-node": "2.0.0", + "bs58": "^2.0.1", + "debug": "3.1.0", + "eol": "^0.5.0", + "lodash": "^4.17.15", + "sanitize-html": "^1.27.5", + "secp256k1": "^4.0.2", + "secrets.js-grempe": "^1.1.0", + "superagent": "3.8.3", + "superagent-proxy": "3.0.0" + } + }, + "node_modules/@bitgo/abstract-utxo/node_modules/bs58": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/bs58/-/bs58-2.0.1.tgz", + "integrity": "sha512-77ld2g7Hn1GyIUpuUVfbZdhO1q9R9gv/GYam4HAeAW/tzhQDrbJ2ZttN1tIe4hmKrWFE+oUtAhBNx/EA5SVdTg==" + }, + "node_modules/@bitgo/abstract-utxo/node_modules/debug": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", + "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/@bitgo/abstract-utxo/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==" + }, "node_modules/@bitgo/blake2b": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/@bitgo/blake2b/-/blake2b-3.2.3.tgz", - "integrity": "sha512-z7nvdSrExiXXGYae98bBjfFkcYCxvlANCetlGH610jI+hTJ18ZzFJa6lFLK3Ttpv2iwfSmSoT5v8q33RukgNGQ==", + "version": "3.2.4", + "resolved": "https://registry.npmjs.org/@bitgo/blake2b/-/blake2b-3.2.4.tgz", + "integrity": "sha512-46PEgEVPxecNJ/xczggIllSxIkFIvvbVM0OfIDdNJ5qpFHUeBCkNIiGdzC3fYZlsv7bVTdUZOj79GcFBLMYBqA==", "dependencies": { - "@bitgo/blake2b-wasm": "^3.2.2", + "@bitgo/blake2b-wasm": "^3.2.3", "nanoassert": "^2.0.0" } }, "node_modules/@bitgo/blake2b-wasm": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/@bitgo/blake2b-wasm/-/blake2b-wasm-3.2.2.tgz", - "integrity": "sha512-56rWkRKUugGqpAGOuppA/2H8UTN/somgyDED0NlFJu+EacDJq7iWE1u8SB/UccokhrK5Ye817NxD94hbX1PdXw==", + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/@bitgo/blake2b-wasm/-/blake2b-wasm-3.2.3.tgz", + "integrity": "sha512-NaurBrMaEpjfg7EdUJgW/c6byt27O6q1ZaxB5Ita10MjjYjUu0SyYF4q7JPNxpHF/lMxb0YZakOxigbDBu9Jjw==", "dependencies": { "nanoassert": "^1.0.0" } @@ -3425,11 +3480,11 @@ "integrity": "sha512-C40jQ3NzfkP53NsO8kEOFd79p4b9kDXQMwgiY1z8ZwrDZgUyom0AHwGegF4Dm99L+YoYhuaB0ceerUcXmqr1rQ==" }, "node_modules/@bitgo/blockapis": { - "version": "1.6.5", - "resolved": "https://registry.npmjs.org/@bitgo/blockapis/-/blockapis-1.6.5.tgz", - "integrity": "sha512-O1PyA4MO0HZZBddMD9ltfM1uPv8YEeCCFYFONCJ8Mh0PdMW4+aoqSYxglproBhkbx1d7mNU+4WTWFFdIpmeluA==", + "version": "1.7.3", + "resolved": "https://registry.npmjs.org/@bitgo/blockapis/-/blockapis-1.7.3.tgz", + "integrity": "sha512-BsurG4Jl+m1Z9LwLn3AyOyjWRL6f7BXCnyMBLKIs7NCaBKxVskdWE+yio3kxksgG39TXnstfAfayVwdQx8hd8w==", "dependencies": { - "@bitgo/utxo-lib": "^8.2.0", + "@bitgo/utxo-lib": "^9.5.0", "@types/superagent": "4.1.16", "bluebird": "^3.7.2", "superagent": "^7.1.1" @@ -3474,9 +3529,9 @@ } }, "node_modules/@bitgo/blockapis/node_modules/formidable": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/formidable/-/formidable-2.1.1.tgz", - "integrity": "sha512-0EcS9wCFEzLvfiks7omJ+SiYJAiD+TzK4Pcw1UlUoGnhUxDcMKjt0P7x8wEb0u6OHu8Nb98WG3nxtlF5C7bvUQ==", + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/formidable/-/formidable-2.1.2.tgz", + "integrity": "sha512-CM3GuJ57US06mlpQ47YcunuUZ9jpm8Vx+P2CGt2j7HpgkKZO/DJYQ0Bobim8G6PFQmK5lOqOOdUXboU+h73A4g==", "dependencies": { "dezalgo": "^1.0.4", "hexoid": "^1.0.0", @@ -3567,53 +3622,6 @@ "varuint-bitcoin": "^1.0.4" } }, - "node_modules/@bitgo/sdk-api/node_modules/@bitgo/utxo-lib": { - "version": "9.1.1", - "resolved": "https://registry.npmjs.org/@bitgo/utxo-lib/-/utxo-lib-9.1.1.tgz", - "integrity": "sha512-6uMUEJSdox8zX9+SziJRb+hAHtKTAZcbgdL6W14+02gKwiaO7Imh5DskTNFzXe0nGnPHgxdqQkCEQ0rM7rs3ug==", - "dependencies": { - "@bitgo/blake2b": "^3.2.1", - "@brandonblack/musig": "^0.0.1-alpha.0", - "@noble/secp256k1": "1.6.3", - "bech32": "^2.0.0", - "bip174": "npm:@bitgo-forks/bip174@3.1.0-master.3", - "bip32": "^3.0.1", - "bitcoin-ops": "^1.3.0", - "bitcoinjs-lib": "npm:@bitgo-forks/bitcoinjs-lib@7.1.0-master.5", - "bn.js": "^5.2.1", - "bs58check": "^2.1.2", - "cashaddress": "^1.1.0", - "create-hash": "^1.2.0", - "create-hmac": "^1.1.7", - "ecpair": "npm:@bitgo/ecpair@2.1.0-rc.0", - "elliptic": "^6.5.2", - "fastpriorityqueue": "^0.7.1", - "typeforce": "^1.11.3", - "varuint-bitcoin": "^1.1.2" - }, - "engines": { - "node": ">=10.22.0 <17", - "npm": ">=3.10.10" - } - }, - "node_modules/@bitgo/sdk-api/node_modules/bitcoinjs-lib": { - "name": "@bitgo-forks/bitcoinjs-lib", - "version": "7.1.0-master.5", - "resolved": "https://registry.npmjs.org/@bitgo-forks/bitcoinjs-lib/-/bitcoinjs-lib-7.1.0-master.5.tgz", - "integrity": "sha512-slAMm562sRa0XH19nMsML/dvqLkIODhPK3TLfHvp3jVg7Z+I3Tx+maXh87fY3mUCDfVG9hrQjhPTpQLRFOmOSA==", - "dependencies": { - "bech32": "^2.0.0", - "bip174": "npm:@bitgo-forks/bip174@3.1.0-master.3", - "bs58check": "^2.1.2", - "create-hash": "^1.1.0", - "fastpriorityqueue": "^0.7.1", - "json5": "^2.2.3", - "ripemd160": "^2.0.2", - "typeforce": "^1.11.3", - "varuint-bitcoin": "^1.1.2", - "wif": "^2.0.1" - } - }, "node_modules/@bitgo/sdk-api/node_modules/bs58": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/bs58/-/bs58-2.0.1.tgz", @@ -3715,41 +3723,6 @@ "resolved": "https://registry.npmjs.org/@bitgo/statics/-/statics-17.0.1.tgz", "integrity": "sha512-ZU3r0xwAQDk+emraCP7RSRTXp0PDt2gee3sDHeEpFyB+1sWeayGo6ruxzrxBdli80Wa3IlOeeY1nRl28KgP5vA==" }, - "node_modules/@bitgo/sdk-coin-avaxc/node_modules/@bitgo/utxo-lib": { - "version": "9.2.0", - "resolved": "https://registry.npmjs.org/@bitgo/utxo-lib/-/utxo-lib-9.2.0.tgz", - "integrity": "sha512-+PxhwKdSBt/1DkFY/VvVvhO7PqfL2Id1c8tQAaLkBKB3WsTyCIkTK7Z690iRo/5Mz2wWm5TJvA00LxT3tbDllA==", - "dependencies": { - "@bitgo/blake2b": "^3.2.1", - "@brandonblack/musig": "^0.0.1-alpha.0", - "@noble/secp256k1": "1.6.3", - "bech32": "^2.0.0", - "bip174": "npm:@bitgo-forks/bip174@3.1.0-master.4", - "bip32": "^3.0.1", - "bitcoin-ops": "^1.3.0", - "bitcoinjs-lib": "npm:@bitgo-forks/bitcoinjs-lib@7.1.0-master.6", - "bn.js": "^5.2.1", - "bs58check": "^2.1.2", - "cashaddress": "^1.1.0", - "create-hash": "^1.2.0", - "create-hmac": "^1.1.7", - "ecpair": "npm:@bitgo/ecpair@2.1.0-rc.0", - "elliptic": "^6.5.2", - "fastpriorityqueue": "^0.7.1", - "typeforce": "^1.11.3", - "varuint-bitcoin": "^1.1.2" - }, - "engines": { - "node": ">=10.22.0 <17", - "npm": ">=3.10.10" - } - }, - "node_modules/@bitgo/sdk-coin-avaxc/node_modules/@bitgo/utxo-lib/node_modules/bip174": { - "name": "@bitgo-forks/bip174", - "version": "3.1.0-master.4", - "resolved": "https://registry.npmjs.org/@bitgo-forks/bip174/-/bip174-3.1.0-master.4.tgz", - "integrity": "sha512-WDRNzPSdJGDqQNqfN+L5KHNHFDmNOPYnUnT7NkEkfHWn5m1jSOfcf8Swaslt5P0xcSDiERdN2gZxFc6XtOqRYg==" - }, "node_modules/@bitgo/sdk-coin-avaxc/node_modules/bignumber.js": { "version": "8.1.1", "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-8.1.1.tgz", @@ -3797,133 +3770,98 @@ "resolved": "https://registry.npmjs.org/@bitgo/statics/-/statics-17.0.1.tgz", "integrity": "sha512-ZU3r0xwAQDk+emraCP7RSRTXp0PDt2gee3sDHeEpFyB+1sWeayGo6ruxzrxBdli80Wa3IlOeeY1nRl28KgP5vA==" }, - "node_modules/@bitgo/sdk-coin-avaxp/node_modules/@bitgo/utxo-lib": { - "version": "9.2.0", - "resolved": "https://registry.npmjs.org/@bitgo/utxo-lib/-/utxo-lib-9.2.0.tgz", - "integrity": "sha512-+PxhwKdSBt/1DkFY/VvVvhO7PqfL2Id1c8tQAaLkBKB3WsTyCIkTK7Z690iRo/5Mz2wWm5TJvA00LxT3tbDllA==", - "dependencies": { - "@bitgo/blake2b": "^3.2.1", - "@brandonblack/musig": "^0.0.1-alpha.0", - "@noble/secp256k1": "1.6.3", - "bech32": "^2.0.0", - "bip174": "npm:@bitgo-forks/bip174@3.1.0-master.4", - "bip32": "^3.0.1", - "bitcoin-ops": "^1.3.0", - "bitcoinjs-lib": "npm:@bitgo-forks/bitcoinjs-lib@7.1.0-master.6", - "bn.js": "^5.2.1", - "bs58check": "^2.1.2", - "cashaddress": "^1.1.0", - "create-hash": "^1.2.0", - "create-hmac": "^1.1.7", - "ecpair": "npm:@bitgo/ecpair@2.1.0-rc.0", - "elliptic": "^6.5.2", - "fastpriorityqueue": "^0.7.1", - "typeforce": "^1.11.3", - "varuint-bitcoin": "^1.1.2" - }, - "engines": { - "node": ">=10.22.0 <17", - "npm": ">=3.10.10" - } - }, - "node_modules/@bitgo/sdk-coin-avaxp/node_modules/@bitgo/utxo-lib/node_modules/bip174": { - "name": "@bitgo-forks/bip174", - "version": "3.1.0-master.4", - "resolved": "https://registry.npmjs.org/@bitgo-forks/bip174/-/bip174-3.1.0-master.4.tgz", - "integrity": "sha512-WDRNzPSdJGDqQNqfN+L5KHNHFDmNOPYnUnT7NkEkfHWn5m1jSOfcf8Swaslt5P0xcSDiERdN2gZxFc6XtOqRYg==" - }, "node_modules/@bitgo/sdk-coin-bch": { - "version": "1.3.20", - "resolved": "https://registry.npmjs.org/@bitgo/sdk-coin-bch/-/sdk-coin-bch-1.3.20.tgz", - "integrity": "sha512-djAMVht7bOI4QZxExq4AExyohf8ZyTJkrW3JBKxjcKXOXtwIwzcZwxx38yeMs25ruXLRNhMdkG1qqErnWLNIxQ==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@bitgo/sdk-coin-bch/-/sdk-coin-bch-1.5.0.tgz", + "integrity": "sha512-xp5R01NweiO+lJSgchS/aQRpegRuj96eyuhMqwKdu+Z2osde9yosiEd40F4gwAR0t7KAnW9sHDvb8p201dGnag==", "dependencies": { - "@bitgo/abstract-utxo": "^2.2.0", - "@bitgo/sdk-core": "^8.4.0", - "@bitgo/utxo-lib": "^8.2.0" + "@bitgo/abstract-utxo": "^3.5.0", + "@bitgo/sdk-core": "^8.13.0", + "@bitgo/utxo-lib": "^9.5.0" }, "engines": { - "node": ">=14 <17" + "node": ">=16 <19" } }, "node_modules/@bitgo/sdk-coin-bcha": { - "version": "1.5.15", - "resolved": "https://registry.npmjs.org/@bitgo/sdk-coin-bcha/-/sdk-coin-bcha-1.5.15.tgz", - "integrity": "sha512-UTQbbv18Lut9cryDll67BIVW967GekAxEpNm7dPQ3ih2Gt3M2I4ynbOZvNSsPJQBclnqoleOZ9wNb58VVKTVgQ==", + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/@bitgo/sdk-coin-bcha/-/sdk-coin-bcha-1.7.0.tgz", + "integrity": "sha512-9G7ejYA+XRkORPhzgk4BcbQ9rsgJ89svPJmiM9dV38ZLXtvAjsZWkx+Wbh0c/2i/eYXWCAEDBHlvep3Bq8X8Lg==", "dependencies": { - "@bitgo/abstract-utxo": "^2.2.0", - "@bitgo/sdk-coin-bch": "^1.3.20", - "@bitgo/sdk-core": "^8.4.0", - "@bitgo/utxo-lib": "^8.2.0" + "@bitgo/abstract-utxo": "^3.5.0", + "@bitgo/sdk-coin-bch": "^1.5.0", + "@bitgo/sdk-core": "^8.13.0", + "@bitgo/utxo-lib": "^9.5.0" }, "engines": { - "node": ">=14 <17" + "node": ">=16 <19" } }, "node_modules/@bitgo/sdk-coin-bsv": { - "version": "1.3.20", - "resolved": "https://registry.npmjs.org/@bitgo/sdk-coin-bsv/-/sdk-coin-bsv-1.3.20.tgz", - "integrity": "sha512-kYGiJ7qGyMBcbw1N/CVzkStTbEYgGBOd9An7MNnqGZlyC6puYrVO/Qy5jmbwb5bz+nMaOQRupvHUiWi1R9Qw8g==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@bitgo/sdk-coin-bsv/-/sdk-coin-bsv-1.5.0.tgz", + "integrity": "sha512-z0DAeOfLDVOd980DwT1UMjL1zdHo7XmLO1RjaAbgFLyHVsjfYaowwKbLv6QU0G5P8C7HD2WSmf1ifF2NpFY6QQ==", "dependencies": { - "@bitgo/abstract-utxo": "^2.2.0", - "@bitgo/sdk-coin-bch": "^1.3.20", - "@bitgo/sdk-core": "^8.4.0", - "@bitgo/utxo-lib": "^8.2.0" + "@bitgo/abstract-utxo": "^3.5.0", + "@bitgo/sdk-coin-bch": "^1.5.0", + "@bitgo/sdk-core": "^8.13.0", + "@bitgo/utxo-lib": "^9.5.0" }, "engines": { - "node": ">=14 <17" + "node": ">=16 <19" } }, "node_modules/@bitgo/sdk-coin-btc": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/@bitgo/sdk-coin-btc/-/sdk-coin-btc-1.5.0.tgz", - "integrity": "sha512-4CGeTc1bXuI72Rqf0LqyXcHbqSDECHelDAReTqJvSlbC/rCbrRD0/oNHjzr9KRWjFLmjwII84A6JBadXFf0nVA==", + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/@bitgo/sdk-coin-btc/-/sdk-coin-btc-1.7.0.tgz", + "integrity": "sha512-a/okGzGpdtwZVG/L3U/w0BOiFlDOR8hirT4eSy+0G7NCKFBKVSKeEZfopLa17qii1xvFJhoEblqYMDrutUINew==", "dependencies": { - "@bitgo/abstract-utxo": "^2.2.0", - "@bitgo/sdk-core": "^8.4.0", - "@bitgo/utxo-lib": "^8.2.0", - "@bitgo/utxo-ord": "^1.2.0" + "@bitgo/abstract-utxo": "^3.5.0", + "@bitgo/sdk-core": "^8.13.0", + "@bitgo/utxo-lib": "^9.5.0", + "@bitgo/utxo-ord": "^1.4.0" }, "engines": { - "node": ">=14 <17" + "node": ">=16 <19" } }, "node_modules/@bitgo/sdk-coin-btg": { - "version": "1.3.20", - "resolved": "https://registry.npmjs.org/@bitgo/sdk-coin-btg/-/sdk-coin-btg-1.3.20.tgz", - "integrity": "sha512-/fFCoeYpkMHHM+cENjrF3NGZQmSboc01XGnEJs1rh5k5sM9Jmjh4eLFDip7NhItYGq1Zvid+JswWDtOzSKKZuQ==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@bitgo/sdk-coin-btg/-/sdk-coin-btg-1.5.0.tgz", + "integrity": "sha512-CD8/jJQFSnL97qCZ/zpvInpNlfqWF3V6cj9Xd2h1r77JmiomIbiCzu36gdME2oRMxd+pqiqHvGhn8q2F4W9dhA==", "dependencies": { - "@bitgo/abstract-utxo": "^2.2.0", - "@bitgo/sdk-core": "^8.4.0", - "@bitgo/utxo-lib": "^8.2.0" + "@bitgo/abstract-utxo": "^3.5.0", + "@bitgo/sdk-core": "^8.13.0", + "@bitgo/utxo-lib": "^9.5.0" }, "engines": { - "node": ">=14 <17" + "node": ">=16 <19" } }, "node_modules/@bitgo/sdk-coin-dash": { - "version": "1.3.20", - "resolved": "https://registry.npmjs.org/@bitgo/sdk-coin-dash/-/sdk-coin-dash-1.3.20.tgz", - "integrity": "sha512-NDEAtg1OMWXuVxAO6xeqShT2Fz/n77MjJ2FPre7E97okbWFRPO9WmdCjKHh7vY1m4C9IRkjvgck53YugEybMbg==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@bitgo/sdk-coin-dash/-/sdk-coin-dash-1.5.0.tgz", + "integrity": "sha512-T93xUUGywAJUs1sT80SrA54rIKwh/eFhn3JCDszgAiHXHCFd0aUUhlJobGefYdaUt/zon9unGwkW+61pxdhQhQ==", "dependencies": { - "@bitgo/abstract-utxo": "^2.2.0", - "@bitgo/sdk-core": "^8.4.0", - "@bitgo/utxo-lib": "^8.2.0" + "@bitgo/abstract-utxo": "^3.5.0", + "@bitgo/sdk-core": "^8.13.0", + "@bitgo/utxo-lib": "^9.5.0" }, "engines": { - "node": ">=14 <17" + "node": ">=16 <19" } }, "node_modules/@bitgo/sdk-coin-doge": { - "version": "1.8.15", - "resolved": "https://registry.npmjs.org/@bitgo/sdk-coin-doge/-/sdk-coin-doge-1.8.15.tgz", - "integrity": "sha512-04JgX4FzZXRlbk2h4LlHwGkV2GrAOXKL+j6JSBNb8GJMeLU7vdbcrRl99ciuwvsVpwLhnYkkUmCNbLJv/O+TuA==", + "version": "1.12.0", + "resolved": "https://registry.npmjs.org/@bitgo/sdk-coin-doge/-/sdk-coin-doge-1.12.0.tgz", + "integrity": "sha512-uLB54OJ2cQTs2xiGvvi2sxOgmk+iszuyJoEqr568TaQeIqN+FjYvxaqayezkT8Mw2tLascNMmImG7XvqAh5FDQ==", "dependencies": { - "@bitgo/abstract-utxo": "^2.2.0", - "@bitgo/sdk-core": "^8.4.0", - "@bitgo/utxo-lib": "^8.2.0" + "@bitgo/abstract-utxo": "^3.5.0", + "@bitgo/sdk-core": "^8.13.0", + "@bitgo/utxo-lib": "^9.5.0" }, "engines": { - "node": ">=14 <17" + "node": ">=16 <19" } }, "node_modules/@bitgo/sdk-coin-dot": { @@ -3969,6 +3907,56 @@ "node": ">=14 <17" } }, + "node_modules/@bitgo/sdk-coin-eos/node_modules/@bitgo/utxo-lib": { + "version": "8.4.0", + "resolved": "https://registry.npmjs.org/@bitgo/utxo-lib/-/utxo-lib-8.4.0.tgz", + "integrity": "sha512-fWqxnQO/EvNf6Oc5rLvI5wiH5VtamnaKo/c3CjhmE1Yhaa1tVSZG/q+ipBlGOaPR0rFuN6KF6sw8Vt9YEzYo0w==", + "dependencies": { + "@bitgo/blake2b": "^3.2.1", + "@brandonblack/musig": "^0.0.1-alpha.0", + "@noble/secp256k1": "1.6.3", + "bech32": "^2.0.0", + "bip174": "npm:@bitgo-forks/bip174@3.1.0-master.3", + "bip32": "^3.0.1", + "bitcoin-ops": "^1.3.0", + "bitcoinjs-lib": "npm:@bitgo-forks/bitcoinjs-lib@7.1.0-master.5", + "bn.js": "^5.2.1", + "bs58check": "^2.1.2", + "cashaddress": "^1.1.0", + "create-hash": "^1.2.0", + "create-hmac": "^1.1.7", + "ecpair": "npm:@bitgo/ecpair@2.1.0-rc.0", + "elliptic": "^6.5.2", + "fastpriorityqueue": "^0.7.1", + "typeforce": "^1.11.3", + "varuint-bitcoin": "^1.1.2" + }, + "engines": { + "node": ">=10.22.0 <17", + "npm": ">=3.10.10" + } + }, + "node_modules/@bitgo/sdk-coin-eos/node_modules/bitcoinjs-lib": { + "name": "@bitgo-forks/bitcoinjs-lib", + "version": "7.1.0-master.5", + "resolved": "https://registry.npmjs.org/@bitgo-forks/bitcoinjs-lib/-/bitcoinjs-lib-7.1.0-master.5.tgz", + "integrity": "sha512-slAMm562sRa0XH19nMsML/dvqLkIODhPK3TLfHvp3jVg7Z+I3Tx+maXh87fY3mUCDfVG9hrQjhPTpQLRFOmOSA==", + "dependencies": { + "bech32": "^2.0.0", + "bip174": "npm:@bitgo-forks/bip174@3.1.0-master.3", + "bs58check": "^2.1.2", + "create-hash": "^1.1.0", + "fastpriorityqueue": "^0.7.1", + "json5": "^2.2.3", + "ripemd160": "^2.0.2", + "typeforce": "^1.11.3", + "varuint-bitcoin": "^1.1.2", + "wif": "^2.0.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, "node_modules/@bitgo/sdk-coin-eth": { "version": "4.4.2", "resolved": "https://registry.npmjs.org/@bitgo/sdk-coin-eth/-/sdk-coin-eth-4.4.2.tgz", @@ -3996,6 +3984,56 @@ "node": ">=14 <17" } }, + "node_modules/@bitgo/sdk-coin-eth/node_modules/@bitgo/utxo-lib": { + "version": "8.4.0", + "resolved": "https://registry.npmjs.org/@bitgo/utxo-lib/-/utxo-lib-8.4.0.tgz", + "integrity": "sha512-fWqxnQO/EvNf6Oc5rLvI5wiH5VtamnaKo/c3CjhmE1Yhaa1tVSZG/q+ipBlGOaPR0rFuN6KF6sw8Vt9YEzYo0w==", + "dependencies": { + "@bitgo/blake2b": "^3.2.1", + "@brandonblack/musig": "^0.0.1-alpha.0", + "@noble/secp256k1": "1.6.3", + "bech32": "^2.0.0", + "bip174": "npm:@bitgo-forks/bip174@3.1.0-master.3", + "bip32": "^3.0.1", + "bitcoin-ops": "^1.3.0", + "bitcoinjs-lib": "npm:@bitgo-forks/bitcoinjs-lib@7.1.0-master.5", + "bn.js": "^5.2.1", + "bs58check": "^2.1.2", + "cashaddress": "^1.1.0", + "create-hash": "^1.2.0", + "create-hmac": "^1.1.7", + "ecpair": "npm:@bitgo/ecpair@2.1.0-rc.0", + "elliptic": "^6.5.2", + "fastpriorityqueue": "^0.7.1", + "typeforce": "^1.11.3", + "varuint-bitcoin": "^1.1.2" + }, + "engines": { + "node": ">=10.22.0 <17", + "npm": ">=3.10.10" + } + }, + "node_modules/@bitgo/sdk-coin-eth/node_modules/bitcoinjs-lib": { + "name": "@bitgo-forks/bitcoinjs-lib", + "version": "7.1.0-master.5", + "resolved": "https://registry.npmjs.org/@bitgo-forks/bitcoinjs-lib/-/bitcoinjs-lib-7.1.0-master.5.tgz", + "integrity": "sha512-slAMm562sRa0XH19nMsML/dvqLkIODhPK3TLfHvp3jVg7Z+I3Tx+maXh87fY3mUCDfVG9hrQjhPTpQLRFOmOSA==", + "dependencies": { + "bech32": "^2.0.0", + "bip174": "npm:@bitgo-forks/bip174@3.1.0-master.3", + "bs58check": "^2.1.2", + "create-hash": "^1.1.0", + "fastpriorityqueue": "^0.7.1", + "json5": "^2.2.3", + "ripemd160": "^2.0.2", + "typeforce": "^1.11.3", + "varuint-bitcoin": "^1.1.2", + "wif": "^2.0.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, "node_modules/@bitgo/sdk-coin-eth/node_modules/secp256k1": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/secp256k1/-/secp256k1-4.0.2.tgz", @@ -4028,16 +4066,16 @@ } }, "node_modules/@bitgo/sdk-coin-ltc": { - "version": "2.0.15", - "resolved": "https://registry.npmjs.org/@bitgo/sdk-coin-ltc/-/sdk-coin-ltc-2.0.15.tgz", - "integrity": "sha512-vwq74ybNG7vuS+qgeOjnUbNWl8A0F6figc/3eykJ6RyEHec7pkAC+QjcnyGgBkTFSRtGh4c6Hm89IItmsI/9Ew==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@bitgo/sdk-coin-ltc/-/sdk-coin-ltc-2.2.0.tgz", + "integrity": "sha512-uyan5DsZKd4wvnMAE4qwETA4jlF4lNVWgE7i84kr58LkDg6++7Xs9I3Vm/MDjt4wQIpS2KfA9lZ0JQ7mWSN1Pw==", "dependencies": { - "@bitgo/abstract-utxo": "^2.2.0", - "@bitgo/sdk-core": "^8.4.0", - "@bitgo/utxo-lib": "^8.2.0" + "@bitgo/abstract-utxo": "^3.5.0", + "@bitgo/sdk-core": "^8.13.0", + "@bitgo/utxo-lib": "^9.5.0" }, "engines": { - "node": ">=14 <17" + "node": ">=16 <19" } }, "node_modules/@bitgo/sdk-coin-near": { @@ -4078,31 +4116,81 @@ "node": ">=14 <17" } }, - "node_modules/@bitgo/sdk-coin-osmo/node_modules/@bitgo/statics": { - "version": "18.0.0", - "resolved": "https://registry.npmjs.org/@bitgo/statics/-/statics-18.0.0.tgz", - "integrity": "sha512-XF6g3CsX/RBIwGYh2YGnKzLTr+PJczdJHn5zI/qNqBkivRtEfuGeXn4v39VwgbOPJBm1js+Js20vsKhmjINT8g==" - }, - "node_modules/@bitgo/sdk-coin-polygon": { - "version": "1.5.4", - "resolved": "https://registry.npmjs.org/@bitgo/sdk-coin-polygon/-/sdk-coin-polygon-1.5.4.tgz", - "integrity": "sha512-5JvLjpTnuMiAIbjOL7001tzhy0VHiib/Z+J9unOhgHygcTaokghThQmTG9bfDq+fKNCH7GIH7W+7C9dPuatdtA==", + "node_modules/@bitgo/sdk-coin-osmo/node_modules/@bitgo/statics": { + "version": "18.0.0", + "resolved": "https://registry.npmjs.org/@bitgo/statics/-/statics-18.0.0.tgz", + "integrity": "sha512-XF6g3CsX/RBIwGYh2YGnKzLTr+PJczdJHn5zI/qNqBkivRtEfuGeXn4v39VwgbOPJBm1js+Js20vsKhmjINT8g==" + }, + "node_modules/@bitgo/sdk-coin-polygon": { + "version": "1.5.4", + "resolved": "https://registry.npmjs.org/@bitgo/sdk-coin-polygon/-/sdk-coin-polygon-1.5.4.tgz", + "integrity": "sha512-5JvLjpTnuMiAIbjOL7001tzhy0VHiib/Z+J9unOhgHygcTaokghThQmTG9bfDq+fKNCH7GIH7W+7C9dPuatdtA==", + "dependencies": { + "@bitgo/abstract-eth": "^1.2.20", + "@bitgo/sdk-coin-eth": "^4.4.2", + "@bitgo/sdk-core": "^8.4.0", + "@bitgo/sjcl": "^1.0.1", + "@bitgo/statics": "^15.1.2", + "@bitgo/utxo-lib": "^8.2.0", + "@ethereumjs/common": "^2.4.0", + "@ethereumjs/tx": "^3.3.0", + "bignumber.js": "^9.0.0", + "ethereumjs-abi": "^0.6.5", + "lodash": "^4.17.14", + "superagent": "^3.8.3" + }, + "engines": { + "node": ">=14 <17" + } + }, + "node_modules/@bitgo/sdk-coin-polygon/node_modules/@bitgo/utxo-lib": { + "version": "8.4.0", + "resolved": "https://registry.npmjs.org/@bitgo/utxo-lib/-/utxo-lib-8.4.0.tgz", + "integrity": "sha512-fWqxnQO/EvNf6Oc5rLvI5wiH5VtamnaKo/c3CjhmE1Yhaa1tVSZG/q+ipBlGOaPR0rFuN6KF6sw8Vt9YEzYo0w==", + "dependencies": { + "@bitgo/blake2b": "^3.2.1", + "@brandonblack/musig": "^0.0.1-alpha.0", + "@noble/secp256k1": "1.6.3", + "bech32": "^2.0.0", + "bip174": "npm:@bitgo-forks/bip174@3.1.0-master.3", + "bip32": "^3.0.1", + "bitcoin-ops": "^1.3.0", + "bitcoinjs-lib": "npm:@bitgo-forks/bitcoinjs-lib@7.1.0-master.5", + "bn.js": "^5.2.1", + "bs58check": "^2.1.2", + "cashaddress": "^1.1.0", + "create-hash": "^1.2.0", + "create-hmac": "^1.1.7", + "ecpair": "npm:@bitgo/ecpair@2.1.0-rc.0", + "elliptic": "^6.5.2", + "fastpriorityqueue": "^0.7.1", + "typeforce": "^1.11.3", + "varuint-bitcoin": "^1.1.2" + }, + "engines": { + "node": ">=10.22.0 <17", + "npm": ">=3.10.10" + } + }, + "node_modules/@bitgo/sdk-coin-polygon/node_modules/bitcoinjs-lib": { + "name": "@bitgo-forks/bitcoinjs-lib", + "version": "7.1.0-master.5", + "resolved": "https://registry.npmjs.org/@bitgo-forks/bitcoinjs-lib/-/bitcoinjs-lib-7.1.0-master.5.tgz", + "integrity": "sha512-slAMm562sRa0XH19nMsML/dvqLkIODhPK3TLfHvp3jVg7Z+I3Tx+maXh87fY3mUCDfVG9hrQjhPTpQLRFOmOSA==", "dependencies": { - "@bitgo/abstract-eth": "^1.2.20", - "@bitgo/sdk-coin-eth": "^4.4.2", - "@bitgo/sdk-core": "^8.4.0", - "@bitgo/sjcl": "^1.0.1", - "@bitgo/statics": "^15.1.2", - "@bitgo/utxo-lib": "^8.2.0", - "@ethereumjs/common": "^2.4.0", - "@ethereumjs/tx": "^3.3.0", - "bignumber.js": "^9.0.0", - "ethereumjs-abi": "^0.6.5", - "lodash": "^4.17.14", - "superagent": "^3.8.3" + "bech32": "^2.0.0", + "bip174": "npm:@bitgo-forks/bip174@3.1.0-master.3", + "bs58check": "^2.1.2", + "create-hash": "^1.1.0", + "fastpriorityqueue": "^0.7.1", + "json5": "^2.2.3", + "ripemd160": "^2.0.2", + "typeforce": "^1.11.3", + "varuint-bitcoin": "^1.1.2", + "wif": "^2.0.1" }, "engines": { - "node": ">=14 <17" + "node": ">=8.0.0" } }, "node_modules/@bitgo/sdk-coin-sol": { @@ -4209,40 +4297,6 @@ "resolved": "https://registry.npmjs.org/@bitgo/statics/-/statics-16.1.0.tgz", "integrity": "sha512-jm/hq99nIJTqlVAx8blBjpMOJ6LeIBrcEbXn7eQomG5qODZ2RAIybsO993BtRVrlgWu2te9vCZDcwCpm1omiDQ==" }, - "node_modules/@bitgo/sdk-coin-trx/node_modules/@bitgo/utxo-lib": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/@bitgo/utxo-lib/-/utxo-lib-9.0.0.tgz", - "integrity": "sha512-w0qjLbgH37wh2bC+jHJZkcOxrCJdHgVd048B1JbEtGVygBa+02sVOL+oZcwtHCuYaFkEM66nPaWSu3Vh/Yb0oQ==", - "dependencies": { - "@bitgo/blake2b": "^3.2.1", - "@brandonblack/musig": "^0.0.1-alpha.0", - "@noble/secp256k1": "1.6.3", - "bech32": "^2.0.0", - "bip174": "npm:@bitgo-forks/bip174@3.1.0-master.3", - "bip32": "^3.0.1", - "bitcoin-ops": "^1.3.0", - "bitcoinjs-lib": "npm:@bitgo-forks/bitcoinjs-lib@7.1.0-master.5", - "bn.js": "^5.2.1", - "bs58check": "^2.1.2", - "cashaddress": "^1.1.0", - "create-hash": "^1.2.0", - "create-hmac": "^1.1.7", - "ecpair": "npm:@bitgo/ecpair@2.1.0-rc.0", - "elliptic": "^6.5.2", - "fastpriorityqueue": "^0.7.1", - "typeforce": "^1.11.3", - "varuint-bitcoin": "^1.1.2" - }, - "engines": { - "node": ">=10.22.0 <17", - "npm": ">=3.10.10" - } - }, - "node_modules/@bitgo/sdk-coin-trx/node_modules/@bitgo/utxo-lib/node_modules/bech32": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/bech32/-/bech32-2.0.0.tgz", - "integrity": "sha512-LcknSilhIGatDAsY1ak2I8VtGaHNhgMSYVxFrGLXv+xLHytaKZKcaUJJUE7qmBr7h33o5YQwP55pMI0xmkpJwg==" - }, "node_modules/@bitgo/sdk-coin-trx/node_modules/@ethersproject/abi": { "version": "5.7.0", "resolved": "https://registry.npmjs.org/@ethersproject/abi/-/abi-5.7.0.tgz", @@ -4919,29 +4973,6 @@ "resolved": "https://registry.npmjs.org/bech32/-/bech32-1.1.4.tgz", "integrity": "sha512-s0IrSOzLlbvX7yp4WBfPITzpAU8sqQcpsmwXDiKwrG4r491vwCO/XpejasRNl0piBMe/DvP4Tz0mIS/X1DPJBQ==" }, - "node_modules/@bitgo/sdk-coin-trx/node_modules/bitcoinjs-lib": { - "name": "@bitgo-forks/bitcoinjs-lib", - "version": "7.1.0-master.5", - "resolved": "https://registry.npmjs.org/@bitgo-forks/bitcoinjs-lib/-/bitcoinjs-lib-7.1.0-master.5.tgz", - "integrity": "sha512-slAMm562sRa0XH19nMsML/dvqLkIODhPK3TLfHvp3jVg7Z+I3Tx+maXh87fY3mUCDfVG9hrQjhPTpQLRFOmOSA==", - "dependencies": { - "bech32": "^2.0.0", - "bip174": "npm:@bitgo-forks/bip174@3.1.0-master.3", - "bs58check": "^2.1.2", - "create-hash": "^1.1.0", - "fastpriorityqueue": "^0.7.1", - "json5": "^2.2.3", - "ripemd160": "^2.0.2", - "typeforce": "^1.11.3", - "varuint-bitcoin": "^1.1.2", - "wif": "^2.0.1" - } - }, - "node_modules/@bitgo/sdk-coin-trx/node_modules/bitcoinjs-lib/node_modules/bech32": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/bech32/-/bech32-2.0.0.tgz", - "integrity": "sha512-LcknSilhIGatDAsY1ak2I8VtGaHNhgMSYVxFrGLXv+xLHytaKZKcaUJJUE7qmBr7h33o5YQwP55pMI0xmkpJwg==" - }, "node_modules/@bitgo/sdk-coin-trx/node_modules/ethers": { "version": "5.7.2", "resolved": "https://registry.npmjs.org/ethers/-/ethers-5.7.2.tgz", @@ -5026,6 +5057,35 @@ "node": ">=14 <17" } }, + "node_modules/@bitgo/sdk-coin-xlm/node_modules/@bitgo/utxo-lib": { + "version": "8.4.0", + "resolved": "https://registry.npmjs.org/@bitgo/utxo-lib/-/utxo-lib-8.4.0.tgz", + "integrity": "sha512-fWqxnQO/EvNf6Oc5rLvI5wiH5VtamnaKo/c3CjhmE1Yhaa1tVSZG/q+ipBlGOaPR0rFuN6KF6sw8Vt9YEzYo0w==", + "dependencies": { + "@bitgo/blake2b": "^3.2.1", + "@brandonblack/musig": "^0.0.1-alpha.0", + "@noble/secp256k1": "1.6.3", + "bech32": "^2.0.0", + "bip174": "npm:@bitgo-forks/bip174@3.1.0-master.3", + "bip32": "^3.0.1", + "bitcoin-ops": "^1.3.0", + "bitcoinjs-lib": "npm:@bitgo-forks/bitcoinjs-lib@7.1.0-master.5", + "bn.js": "^5.2.1", + "bs58check": "^2.1.2", + "cashaddress": "^1.1.0", + "create-hash": "^1.2.0", + "create-hmac": "^1.1.7", + "ecpair": "npm:@bitgo/ecpair@2.1.0-rc.0", + "elliptic": "^6.5.2", + "fastpriorityqueue": "^0.7.1", + "typeforce": "^1.11.3", + "varuint-bitcoin": "^1.1.2" + }, + "engines": { + "node": ">=10.22.0 <17", + "npm": ">=3.10.10" + } + }, "node_modules/@bitgo/sdk-coin-xlm/node_modules/bignumber.js": { "version": "8.1.1", "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-8.1.1.tgz", @@ -5034,6 +5094,27 @@ "node": "*" } }, + "node_modules/@bitgo/sdk-coin-xlm/node_modules/bitcoinjs-lib": { + "name": "@bitgo-forks/bitcoinjs-lib", + "version": "7.1.0-master.5", + "resolved": "https://registry.npmjs.org/@bitgo-forks/bitcoinjs-lib/-/bitcoinjs-lib-7.1.0-master.5.tgz", + "integrity": "sha512-slAMm562sRa0XH19nMsML/dvqLkIODhPK3TLfHvp3jVg7Z+I3Tx+maXh87fY3mUCDfVG9hrQjhPTpQLRFOmOSA==", + "dependencies": { + "bech32": "^2.0.0", + "bip174": "npm:@bitgo-forks/bip174@3.1.0-master.3", + "bs58check": "^2.1.2", + "create-hash": "^1.1.0", + "fastpriorityqueue": "^0.7.1", + "json5": "^2.2.3", + "ripemd160": "^2.0.2", + "typeforce": "^1.11.3", + "varuint-bitcoin": "^1.1.2", + "wif": "^2.0.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, "node_modules/@bitgo/sdk-coin-xrp": { "version": "1.4.2", "resolved": "https://registry.npmjs.org/@bitgo/sdk-coin-xrp/-/sdk-coin-xrp-1.4.2.tgz", @@ -5052,28 +5133,78 @@ "node": ">=14 <17" } }, + "node_modules/@bitgo/sdk-coin-xrp/node_modules/@bitgo/utxo-lib": { + "version": "8.4.0", + "resolved": "https://registry.npmjs.org/@bitgo/utxo-lib/-/utxo-lib-8.4.0.tgz", + "integrity": "sha512-fWqxnQO/EvNf6Oc5rLvI5wiH5VtamnaKo/c3CjhmE1Yhaa1tVSZG/q+ipBlGOaPR0rFuN6KF6sw8Vt9YEzYo0w==", + "dependencies": { + "@bitgo/blake2b": "^3.2.1", + "@brandonblack/musig": "^0.0.1-alpha.0", + "@noble/secp256k1": "1.6.3", + "bech32": "^2.0.0", + "bip174": "npm:@bitgo-forks/bip174@3.1.0-master.3", + "bip32": "^3.0.1", + "bitcoin-ops": "^1.3.0", + "bitcoinjs-lib": "npm:@bitgo-forks/bitcoinjs-lib@7.1.0-master.5", + "bn.js": "^5.2.1", + "bs58check": "^2.1.2", + "cashaddress": "^1.1.0", + "create-hash": "^1.2.0", + "create-hmac": "^1.1.7", + "ecpair": "npm:@bitgo/ecpair@2.1.0-rc.0", + "elliptic": "^6.5.2", + "fastpriorityqueue": "^0.7.1", + "typeforce": "^1.11.3", + "varuint-bitcoin": "^1.1.2" + }, + "engines": { + "node": ">=10.22.0 <17", + "npm": ">=3.10.10" + } + }, + "node_modules/@bitgo/sdk-coin-xrp/node_modules/bitcoinjs-lib": { + "name": "@bitgo-forks/bitcoinjs-lib", + "version": "7.1.0-master.5", + "resolved": "https://registry.npmjs.org/@bitgo-forks/bitcoinjs-lib/-/bitcoinjs-lib-7.1.0-master.5.tgz", + "integrity": "sha512-slAMm562sRa0XH19nMsML/dvqLkIODhPK3TLfHvp3jVg7Z+I3Tx+maXh87fY3mUCDfVG9hrQjhPTpQLRFOmOSA==", + "dependencies": { + "bech32": "^2.0.0", + "bip174": "npm:@bitgo-forks/bip174@3.1.0-master.3", + "bs58check": "^2.1.2", + "create-hash": "^1.1.0", + "fastpriorityqueue": "^0.7.1", + "json5": "^2.2.3", + "ripemd160": "^2.0.2", + "typeforce": "^1.11.3", + "varuint-bitcoin": "^1.1.2", + "wif": "^2.0.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, "node_modules/@bitgo/sdk-coin-zec": { - "version": "1.3.20", - "resolved": "https://registry.npmjs.org/@bitgo/sdk-coin-zec/-/sdk-coin-zec-1.3.20.tgz", - "integrity": "sha512-tSXLzSsL2SE2K2SSulYGTtfoealSSv2a3sN44Sw66xVA8IXaJXZUVJCJfceLd4Rhz0t7RbGhlieW1fCKUZTCUg==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@bitgo/sdk-coin-zec/-/sdk-coin-zec-1.5.0.tgz", + "integrity": "sha512-s3TLpDCaCWcce9TGffOFoj14j8T7DD82g1VxUVwfweAjiuY3nj9lz+H4LFFbOj4rfmLCLElakzGR0tLvSVZBkw==", "dependencies": { - "@bitgo/abstract-utxo": "^2.2.0", - "@bitgo/sdk-core": "^8.4.0", - "@bitgo/utxo-lib": "^8.2.0" + "@bitgo/abstract-utxo": "^3.5.0", + "@bitgo/sdk-core": "^8.13.0", + "@bitgo/utxo-lib": "^9.5.0" }, "engines": { - "node": ">=14 <17" + "node": ">=16 <19" } }, "node_modules/@bitgo/sdk-core": { - "version": "8.12.0", - "resolved": "https://registry.npmjs.org/@bitgo/sdk-core/-/sdk-core-8.12.0.tgz", - "integrity": "sha512-jdua5lcs33EtWq7XAkXzBvo5hbwtcNDomJKWPR0DlwYiOgK5MfniuzCn4O700kYmk22DoQtkHdGBowOFu01ccw==", + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/@bitgo/sdk-core/-/sdk-core-8.13.0.tgz", + "integrity": "sha512-k5Wfhvd9rmm4jtfVvTjCaZv81aPwloNe6CzocFRSr4e/AVbdLWjVtWPx6OBi8soAsQxuihZtnG2vXv2l4w8nfQ==", "dependencies": { "@bitgo/bls-dkg": "^1.3.1", "@bitgo/sdk-lib-mpc": "^8.5.0", - "@bitgo/statics": "^18.1.0", - "@bitgo/utxo-lib": "^9.4.0", + "@bitgo/statics": "^18.2.0", + "@bitgo/utxo-lib": "^9.5.0", "@noble/secp256k1": "1.6.3", "@stablelib/hex": "^1.0.0", "@types/elliptic": "^6.4.12", @@ -5105,47 +5236,9 @@ } }, "node_modules/@bitgo/sdk-core/node_modules/@bitgo/statics": { - "version": "18.1.0", - "resolved": "https://registry.npmjs.org/@bitgo/statics/-/statics-18.1.0.tgz", - "integrity": "sha512-475lRjjyWczoVcoEe0cB2fDKmEApQFh6ZmPtlWuaOybOmcmnS+/k8oxIlBNl58F8owF55X0+dDy0D7K3ypRrOQ==" - }, - "node_modules/@bitgo/sdk-core/node_modules/@bitgo/utxo-lib": { - "version": "9.4.0", - "resolved": "https://registry.npmjs.org/@bitgo/utxo-lib/-/utxo-lib-9.4.0.tgz", - "integrity": "sha512-BnAkGQPGrQoCtyHwQzLl4O+6HNvWHTGyy8klYRU9B+4qUtx/fWNyeXQbFDQEbmwvYc3bx+kb/xvJBbABHuJxUQ==", - "dependencies": { - "@bitgo/blake2b": "^3.2.3", - "@brandonblack/musig": "^0.0.1-alpha.0", - "@noble/secp256k1": "1.6.3", - "bech32": "^2.0.0", - "bip174": "npm:@bitgo-forks/bip174@3.1.0-master.4", - "bip32": "^3.0.1", - "bitcoin-ops": "^1.3.0", - "bitcoinjs-lib": "npm:@bitgo-forks/bitcoinjs-lib@7.1.0-master.6", - "bn.js": "^5.2.1", - "bs58check": "^2.1.2", - "cashaddress": "^1.1.0", - "create-hash": "^1.2.0", - "create-hmac": "^1.1.7", - "ecpair": "npm:@bitgo/ecpair@2.1.0-rc.0", - "elliptic": "^6.5.2", - "fastpriorityqueue": "^0.7.1", - "typeforce": "^1.11.3", - "varuint-bitcoin": "^1.1.2" - }, - "engines": { - "node": ">=10.22.0 <19", - "npm": ">=3.10.10" - } - }, - "node_modules/@bitgo/sdk-core/node_modules/bip174": { - "name": "@bitgo-forks/bip174", - "version": "3.1.0-master.4", - "resolved": "https://registry.npmjs.org/@bitgo-forks/bip174/-/bip174-3.1.0-master.4.tgz", - "integrity": "sha512-WDRNzPSdJGDqQNqfN+L5KHNHFDmNOPYnUnT7NkEkfHWn5m1jSOfcf8Swaslt5P0xcSDiERdN2gZxFc6XtOqRYg==", - "engines": { - "node": ">=8.0.0" - } + "version": "18.2.0", + "resolved": "https://registry.npmjs.org/@bitgo/statics/-/statics-18.2.0.tgz", + "integrity": "sha512-i1DZuDrYOtSaVC4bUKRMymKW0B5+BYGLgzBTz7AFiAcNlt1dvDtoGK5810lXOMDHZV0RqtBFS1oiSk/CEWCeWQ==" }, "node_modules/@bitgo/sdk-lib-mpc": { "version": "8.5.0", @@ -5172,29 +5265,29 @@ "integrity": "sha512-5fElZ1OTT6ADPl7Y7F7s5TcdQxnTiiYgmuJQcyeWPaZOY8314cBYAgWWzrSxrefZIUvWO57WSpQUSZQtvd2Jig==" }, "node_modules/@bitgo/unspents": { - "version": "0.14.0", - "resolved": "https://registry.npmjs.org/@bitgo/unspents/-/unspents-0.14.0.tgz", - "integrity": "sha512-dw61BK53xbo+dfYbN4eUZT4C//e+bSzy9TMayo73VevZ0Z9JrCV4ZjK4LgOd3frC55oL3r0Hicv6pBeQyjpOXw==", + "version": "0.17.0", + "resolved": "https://registry.npmjs.org/@bitgo/unspents/-/unspents-0.17.0.tgz", + "integrity": "sha512-MbNi1DTeRQgaCIJ8+2VlqElXgIXW789Rl8VU1CVAOKTdCYAFwq+/92+bMJ8EIfSfAHq9MXo+Qtm+fK9Omg+82Q==", "dependencies": { - "@bitgo/utxo-lib": "^8.2.0", + "@bitgo/utxo-lib": "^9.5.0", "lodash": "~4.17.21", "tcomb": "~3.2.29", "varuint-bitcoin": "^1.0.4" } }, "node_modules/@bitgo/utxo-lib": { - "version": "8.2.0", - "resolved": "https://registry.npmjs.org/@bitgo/utxo-lib/-/utxo-lib-8.2.0.tgz", - "integrity": "sha512-nQysg0BDIyGBlTX5QuGe9IIywEQ2hvYw0DXxnqcgPgJw742eCuKD2ZXysALw8cP9he7aO0Fe7eMe2MAwcfKfRQ==", + "version": "9.5.0", + "resolved": "https://registry.npmjs.org/@bitgo/utxo-lib/-/utxo-lib-9.5.0.tgz", + "integrity": "sha512-fZbIi6+12Ii6goyXHiTz0uNzrGrMU43agcRkidKmgucrQyruoz9smLHYNq4wCS+9NlkiqLc7W2AmLnSQlpufmw==", "dependencies": { - "@bitgo/blake2b": "^3.2.1", + "@bitgo/blake2b": "^3.2.4", "@brandonblack/musig": "^0.0.1-alpha.0", "@noble/secp256k1": "1.6.3", "bech32": "^2.0.0", - "bip174": "npm:@bitgo-forks/bip174@3.1.0-master.3", + "bip174": "npm:@bitgo-forks/bip174@3.1.0-master.4", "bip32": "^3.0.1", "bitcoin-ops": "^1.3.0", - "bitcoinjs-lib": "npm:@bitgo-forks/bitcoinjs-lib@7.1.0-master.5", + "bitcoinjs-lib": "npm:@bitgo-forks/bitcoinjs-lib@7.1.0-master.6", "bn.js": "^5.2.1", "bs58check": "^2.1.2", "cashaddress": "^1.1.0", @@ -5207,36 +5300,27 @@ "varuint-bitcoin": "^1.1.2" }, "engines": { - "node": ">=10.22.0 <17", + "node": ">=10.22.0 <19", "npm": ">=3.10.10" } }, - "node_modules/@bitgo/utxo-lib/node_modules/bitcoinjs-lib": { - "name": "@bitgo-forks/bitcoinjs-lib", - "version": "7.1.0-master.5", - "resolved": "https://registry.npmjs.org/@bitgo-forks/bitcoinjs-lib/-/bitcoinjs-lib-7.1.0-master.5.tgz", - "integrity": "sha512-slAMm562sRa0XH19nMsML/dvqLkIODhPK3TLfHvp3jVg7Z+I3Tx+maXh87fY3mUCDfVG9hrQjhPTpQLRFOmOSA==", - "dependencies": { - "bech32": "^2.0.0", - "bip174": "npm:@bitgo-forks/bip174@3.1.0-master.3", - "bs58check": "^2.1.2", - "create-hash": "^1.1.0", - "fastpriorityqueue": "^0.7.1", - "json5": "^2.2.3", - "ripemd160": "^2.0.2", - "typeforce": "^1.11.3", - "varuint-bitcoin": "^1.1.2", - "wif": "^2.0.1" + "node_modules/@bitgo/utxo-lib/node_modules/bip174": { + "name": "@bitgo-forks/bip174", + "version": "3.1.0-master.4", + "resolved": "https://registry.npmjs.org/@bitgo-forks/bip174/-/bip174-3.1.0-master.4.tgz", + "integrity": "sha512-WDRNzPSdJGDqQNqfN+L5KHNHFDmNOPYnUnT7NkEkfHWn5m1jSOfcf8Swaslt5P0xcSDiERdN2gZxFc6XtOqRYg==", + "engines": { + "node": ">=8.0.0" } }, "node_modules/@bitgo/utxo-ord": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@bitgo/utxo-ord/-/utxo-ord-1.2.0.tgz", - "integrity": "sha512-xBGj5YBjob+SfdL9Doa1HDp3V6rKrI/l6JEkSwJ6kmWMAJeROOJ7VLDwWOWoCF03m+6D6zHK97ruumt/DL2GMA==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@bitgo/utxo-ord/-/utxo-ord-1.4.0.tgz", + "integrity": "sha512-v81N0mKMzTyQcLxrXX49dGFUP4bi4Pa7skiau81cDfeXN8sEvtKBBaZ7NJQkELgMbo5+1qz7P8uP7HknmzH5eA==", "dependencies": { - "@bitgo/sdk-core": "^8.4.0", - "@bitgo/unspents": "^0.14.0", - "@bitgo/utxo-lib": "^8.2.0" + "@bitgo/sdk-core": "^8.13.0", + "@bitgo/unspents": "^0.17.0", + "@bitgo/utxo-lib": "^9.5.0" } }, "node_modules/@brandonblack/musig": { diff --git a/package.json b/package.json index 715e51b8..5f6a95e6 100644 --- a/package.json +++ b/package.json @@ -9,27 +9,28 @@ } }, "dependencies": { + "@bitgo/utxo-lib": "9.5.0", "@bitgo-beta/sdk-coin-atom": "1.0.1-beta.111", "@bitgo-beta/abstract-cosmos": "^1.0.1-beta.70", - "@bitgo/abstract-utxo": "2.2.0", + "@bitgo/abstract-utxo": "3.5.0", "@bitgo/sdk-api": "1.11.0", "@bitgo/sdk-coin-ada": "2.3.15", "@bitgo/sdk-coin-avaxc": "2.4.18", - "@bitgo/sdk-coin-bch": "1.3.20", - "@bitgo/sdk-coin-bcha": "1.5.15", + "@bitgo/sdk-coin-bch": "1.5.0", + "@bitgo/sdk-coin-bcha": "1.7.0", "@bitgo-beta/sdk-coin-bld": "^1.0.1-beta.50", - "@bitgo/sdk-coin-bsv": "1.3.20", - "@bitgo/sdk-coin-btc": "1.5.0", - "@bitgo/sdk-coin-btg": "1.3.20", - "@bitgo/sdk-coin-dash": "1.3.20", - "@bitgo/sdk-coin-doge": "1.8.15", + "@bitgo/sdk-coin-bsv": "1.5.0", + "@bitgo/sdk-coin-btc": "1.7.0", + "@bitgo/sdk-coin-btg": "1.5.0", + "@bitgo/sdk-coin-dash": "1.5.0", + "@bitgo/sdk-coin-doge": "1.12.0", "@bitgo/sdk-coin-dot": "2.2.9", "@bitgo/sdk-coin-eos": "1.3.20", "@bitgo/sdk-coin-eth": "4.4.2", "@bitgo/sdk-coin-ethw": "1.3.20", "@bitgo-beta/sdk-coin-hash": "^1.0.1-beta.48", "@bitgo-beta/sdk-coin-injective": "^1.1.3-beta.42", - "@bitgo/sdk-coin-ltc": "2.0.15", + "@bitgo/sdk-coin-ltc": "2.2.0", "@bitgo/sdk-coin-near": "1.3.20", "@bitgo/sdk-coin-osmo": "^1.4.0", "@bitgo/sdk-coin-polygon": "1.5.4", @@ -39,7 +40,7 @@ "@bitgo/sdk-coin-trx": "1.8.0", "@bitgo/sdk-coin-xlm": "2.0.6", "@bitgo/sdk-coin-xrp": "1.4.2", - "@bitgo/sdk-coin-zec": "1.3.20", + "@bitgo/sdk-coin-zec": "1.5.0", "@ethereumjs/common": "2.6.5", "@lottiefiles/react-lottie-player": "3.4.9", "clsx": "1.2.1",