diff --git a/package-lock.json b/package-lock.json index 390f8bdc..20b65521 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,6 @@ "version": "0.0.0-placeholder-version", "license": "Apache-2.0", "dependencies": { - "@bitgo-beta/sdk-coin-sui": "^1.4.1-alpha.158", "@bitgo/abstract-cosmos": "10.0.24", "@bitgo/abstract-utxo": "8.9.0", "@bitgo/sdk-api": "1.50.0", @@ -42,6 +41,7 @@ "@bitgo/sdk-coin-polygon": "20.5.8", "@bitgo/sdk-coin-sei": "2.0.24", "@bitgo/sdk-coin-sol": "4.3.2", + "@bitgo/sdk-coin-sui": "^5.4.0", "@bitgo/sdk-coin-tia": "2.1.10", "@bitgo/sdk-coin-trx": "2.0.24", "@bitgo/sdk-coin-xlm": "3.1.2", @@ -2197,361 +2197,6 @@ "integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==", "dev": true }, - "node_modules/@bitgo-beta/blake2b": { - "version": "3.2.1-alpha.159", - "resolved": "https://registry.npmjs.org/@bitgo-beta/blake2b/-/blake2b-3.2.1-alpha.159.tgz", - "integrity": "sha512-Na2sNJnS2uxRbcRYZmbBqjF/YByylTfkkQb7YwCcNyRb5HUmv82XbP9wMglYgNpau5bDqZqDHbMUHtNiTUt/4g==", - "dependencies": { - "@bitgo-beta/blake2b-wasm": "3.2.1-alpha.160", - "nanoassert": "^2.0.0" - } - }, - "node_modules/@bitgo-beta/blake2b-wasm": { - "version": "3.2.1-alpha.160", - "resolved": "https://registry.npmjs.org/@bitgo-beta/blake2b-wasm/-/blake2b-wasm-3.2.1-alpha.160.tgz", - "integrity": "sha512-6XiYErmM7s6yzRj4eAE87rTKGSMnuryRySiuBbvdUG0zMsQ9DJN54/cb3I7bINS9cUf6siMnav0rOkuzq6MrFQ==", - "dependencies": { - "nanoassert": "^1.0.0" - } - }, - "node_modules/@bitgo-beta/blake2b-wasm/node_modules/nanoassert": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/nanoassert/-/nanoassert-1.1.0.tgz", - "integrity": "sha512-C40jQ3NzfkP53NsO8kEOFd79p4b9kDXQMwgiY1z8ZwrDZgUyom0AHwGegF4Dm99L+YoYhuaB0ceerUcXmqr1rQ==" - }, - "node_modules/@bitgo-beta/bls-dkg": { - "version": "1.3.1-alpha.160", - "resolved": "https://registry.npmjs.org/@bitgo-beta/bls-dkg/-/bls-dkg-1.3.1-alpha.160.tgz", - "integrity": "sha512-R8ZMw0gcZioK7CxnVh4OrCJXgKPG+C5oMQQCYl8yZYN8on31u2/JFu9QBfsjKCpdiOC7HW5cFWZaGBo8Nv1mYg==", - "dependencies": { - "noble-bls12-381": "^0.7.2" - } - }, - "node_modules/@bitgo-beta/sdk-coin-sui": { - "version": "1.4.1-alpha.158", - "resolved": "https://registry.npmjs.org/@bitgo-beta/sdk-coin-sui/-/sdk-coin-sui-1.4.1-alpha.158.tgz", - "integrity": "sha512-Y58bds2RM5PawcV0tVkf41LRt/OZX/eZCvxkJ84oGbaPuevwUYKxao/wz3vj3NHDNTnowZSAzhi9JMlW4DGtnQ==", - "dependencies": { - "@bitgo-beta/blake2b": "3.2.1-alpha.159", - "@bitgo-beta/sdk-core": "2.4.1-alpha.159", - "@bitgo-beta/sdk-lib-mpc": "8.2.1-alpha.114", - "@bitgo-beta/statics": "10.0.1-alpha.159", - "@mysten/bcs": "^0.7.0", - "bignumber.js": "^9.0.0", - "bs58": "^4.0.1", - "lodash": "^4.17.21", - "superagent": "3.8.2", - "superstruct": "^1.0.3", - "tweetnacl": "^1.0.3" - }, - "engines": { - "node": ">=18 <21" - } - }, - "node_modules/@bitgo-beta/sdk-coin-sui/node_modules/debug": { - "version": "3.2.7", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", - "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", - "dependencies": { - "ms": "^2.1.1" - } - }, - "node_modules/@bitgo-beta/sdk-coin-sui/node_modules/form-data": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.5.1.tgz", - "integrity": "sha512-m21N3WOmEEURgk6B9GLOE4RuWOFf28Lhh9qGYeNlGq4VDXUlJy2th2slBNU8Gp8EzloYZOibZJ7t5ecIrFSjVA==", - "dependencies": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.6", - "mime-types": "^2.1.12" - }, - "engines": { - "node": ">= 0.12" - } - }, - "node_modules/@bitgo-beta/sdk-coin-sui/node_modules/formidable": { - "version": "1.2.6", - "resolved": "https://registry.npmjs.org/formidable/-/formidable-1.2.6.tgz", - "integrity": "sha512-KcpbcpuLNOwrEjnbpMC0gS+X8ciDoZE1kkqzat4a8vrprf+s9pKNQ/QIwWfbfs4ltgmFl3MD177SNTkve3BwGQ==", - "deprecated": "Please upgrade to latest, formidable@v2 or formidable@v3! Check these notes: https://bit.ly/2ZEqIau", - "funding": { - "url": "https://ko-fi.com/tunnckoCore/commissions" - } - }, - "node_modules/@bitgo-beta/sdk-coin-sui/node_modules/isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==" - }, - "node_modules/@bitgo-beta/sdk-coin-sui/node_modules/mime": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", - "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", - "bin": { - "mime": "cli.js" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/@bitgo-beta/sdk-coin-sui/node_modules/readable-stream": { - "version": "2.3.8", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", - "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", - "dependencies": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "node_modules/@bitgo-beta/sdk-coin-sui/node_modules/safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - }, - "node_modules/@bitgo-beta/sdk-coin-sui/node_modules/string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "dependencies": { - "safe-buffer": "~5.1.0" - } - }, - "node_modules/@bitgo-beta/sdk-coin-sui/node_modules/superagent": { - "version": "3.8.2", - "resolved": "https://registry.npmjs.org/superagent/-/superagent-3.8.2.tgz", - "integrity": "sha512-gVH4QfYHcY3P0f/BZzavLreHW3T1v7hG9B+hpMQotGQqurOvhv87GcMCd6LWySmBuf+BDR44TQd0aISjVHLeNQ==", - "deprecated": "Please upgrade to v9.0.0+ as we have fixed a public vulnerability with formidable dependency. Note that v9.0.0+ requires Node.js v14.18.0+. See https://github.com/ladjs/superagent/pull/1800 for insight. This project is supported and maintained by the team at Forward Email @ https://forwardemail.net", - "dependencies": { - "component-emitter": "^1.2.0", - "cookiejar": "^2.1.0", - "debug": "^3.1.0", - "extend": "^3.0.0", - "form-data": "^2.3.1", - "formidable": "^1.1.1", - "methods": "^1.1.1", - "mime": "^1.4.1", - "qs": "^6.5.1", - "readable-stream": "^2.0.5" - }, - "engines": { - "node": ">= 4.0" - } - }, - "node_modules/@bitgo-beta/sdk-coin-sui/node_modules/superstruct": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/superstruct/-/superstruct-1.0.4.tgz", - "integrity": "sha512-7JpaAoX2NGyoFlI9NBh66BQXGONc+uE+MRS5i2iOBKuS4e+ccgMDjATgZldkah+33DakBxDHiss9kvUcGAO8UQ==", - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@bitgo-beta/sdk-core": { - "version": "2.4.1-alpha.159", - "resolved": "https://registry.npmjs.org/@bitgo-beta/sdk-core/-/sdk-core-2.4.1-alpha.159.tgz", - "integrity": "sha512-2VUiojHWJGWXcHM2xv5voCOhGPIDHNAy2Z81u2t1eXFrh1mV/Fd6qewtUElr56s3zLmpWwCgmUoCXs7EDo4FxQ==", - "dependencies": { - "@bitgo-beta/bls-dkg": "1.3.1-alpha.160", - "@bitgo-beta/sdk-lib-mpc": "8.2.1-alpha.114", - "@bitgo-beta/sjcl": "1.0.1-alpha.108", - "@bitgo-beta/statics": "10.0.1-alpha.159", - "@bitgo-beta/utxo-lib": "4.0.1-alpha.159", - "@bitgo/public-types": "2.25.1", - "@noble/secp256k1": "1.6.3", - "@stablelib/hex": "^1.0.0", - "@types/elliptic": "^6.4.12", - "@types/superagent": "4.1.15", - "bech32": "^2.0.0", - "big.js": "^3.1.3", - "bigint-crypto-utils": "3.1.4", - "bignumber.js": "^9.1.1", - "bitcoinjs-message": "npm:@bitgo-forks/bitcoinjs-message@1.0.0-master.2", - "bolt11": "^1.4.0", - "bs58": "^4.0.1", - "create-hmac": "^1.1.7", - "debug": "^3.1.0", - "elliptic": "^6.5.2", - "ethereumjs-util": "7.1.5", - "fp-ts": "^2.12.2", - "io-ts": "2.1.3", - "io-ts-types": "0.5.16", - "keccak": "3.0.3", - "libsodium-wrappers-sumo": "^0.7.9", - "lodash": "^4.17.15", - "noble-bls12-381": "0.7.2", - "openpgp": "5.10.1", - "paillier-bigint": "3.3.0", - "secp256k1": "5.0.0", - "strip-hex-prefix": "^1.0.0", - "superagent": "^9.0.1", - "tweetnacl": "^1.0.3", - "uuid": "^8.3.2" - } - }, - "node_modules/@bitgo-beta/sdk-core/node_modules/debug": { - "version": "3.2.7", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", - "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", - "dependencies": { - "ms": "^2.1.1" - } - }, - "node_modules/@bitgo-beta/sdk-core/node_modules/keccak": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/keccak/-/keccak-3.0.3.tgz", - "integrity": "sha512-JZrLIAJWuZxKbCilMpNz5Vj7Vtb4scDG3dMXLOsbzBmQGyjwE61BbW7bJkfKKCShXiQZt3T6sBgALRtmd+nZaQ==", - "hasInstallScript": true, - "dependencies": { - "node-addon-api": "^2.0.0", - "node-gyp-build": "^4.2.0", - "readable-stream": "^3.6.0" - }, - "engines": { - "node": ">=10.0.0" - } - }, - "node_modules/@bitgo-beta/sdk-core/node_modules/node-addon-api": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-2.0.2.tgz", - "integrity": "sha512-Ntyt4AIXyaLIuMHF6IOoTakB3K+RWxwtsHNRxllEoA6vPwP9o4866g6YWDLUdnucilZhmkxiHwHr11gAENw+QA==" - }, - "node_modules/@bitgo-beta/sdk-core/node_modules/secp256k1": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/secp256k1/-/secp256k1-5.0.0.tgz", - "integrity": "sha512-TKWX8xvoGHrxVdqbYeZM9w+izTF4b9z3NhSaDkdn81btvuh+ivbIMGT/zQvDtTFWhRlThpoz6LEYTr7n8A5GcA==", - "hasInstallScript": true, - "dependencies": { - "elliptic": "^6.5.4", - "node-addon-api": "^5.0.0", - "node-gyp-build": "^4.2.0" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@bitgo-beta/sdk-core/node_modules/secp256k1/node_modules/node-addon-api": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-5.1.0.tgz", - "integrity": "sha512-eh0GgfEkpnoWDq+VY8OyvYhFEzBk6jIYbRKdIlyTiAXIVJ8PyBaKb0rp7oDtoddbdoHWhq8wwr+XZ81F1rpNdA==" - }, - "node_modules/@bitgo-beta/sdk-lib-mpc": { - "version": "8.2.1-alpha.114", - "resolved": "https://registry.npmjs.org/@bitgo-beta/sdk-lib-mpc/-/sdk-lib-mpc-8.2.1-alpha.114.tgz", - "integrity": "sha512-2X9i+UAyd/Aug5BMzKhZTquRXEyTzFlEC1eoysQ1p/VL6qZmjMLmlzzwg5Aavy/LbBA4tjwW/AcYTgiWFC41IQ==", - "dependencies": { - "@noble/curves": "1.4.0", - "@silencelaboratories/dkls-wasm-ll-node": "1.1.2", - "@silencelaboratories/dkls-wasm-ll-web": "1.1.2", - "@types/superagent": "4.1.15", - "@wasmer/wasi": "^1.2.2", - "bigint-crypto-utils": "3.1.4", - "bigint-mod-arith": "3.1.2", - "cbor-x": "1.5.9", - "fp-ts": "2.16.2", - "io-ts": "2.1.3", - "libsodium-wrappers-sumo": "^0.7.9", - "openpgp": "5.10.1", - "paillier-bigint": "3.3.0", - "secp256k1": "5.0.0" - }, - "peerDependencies": { - "@silencelaboratories/dkls-wasm-ll-bundler": "1.1.2" - }, - "peerDependenciesMeta": { - "@silencelaboratories/dkls-wasm-ll-bundler": { - "optional": true - } - } - }, - "node_modules/@bitgo-beta/sdk-lib-mpc/node_modules/@noble/curves": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.4.0.tgz", - "integrity": "sha512-p+4cb332SFCrReJkCYe8Xzm0OWi4Jji5jVdIZRL/PmacmDkFNw6MrrV+gGpiPxLHbV+zKFRywUWbaseT+tZRXg==", - "dependencies": { - "@noble/hashes": "1.4.0" - }, - "funding": { - "url": "https://paulmillr.com/funding/" - } - }, - "node_modules/@bitgo-beta/sdk-lib-mpc/node_modules/@noble/hashes": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.4.0.tgz", - "integrity": "sha512-V1JJ1WTRUqHHrOSh597hURcMqVKVGL/ea3kv0gSnEdsEZ0/+VyPghM1lMNGc00z7CIQorSvbKpuJkxvuHbvdbg==", - "engines": { - "node": ">= 16" - }, - "funding": { - "url": "https://paulmillr.com/funding/" - } - }, - "node_modules/@bitgo-beta/sdk-lib-mpc/node_modules/fp-ts": { - "version": "2.16.2", - "resolved": "https://registry.npmjs.org/fp-ts/-/fp-ts-2.16.2.tgz", - "integrity": "sha512-CkqAjnIKFqvo3sCyoBTqgJvF+bHrSik584S9nhTjtBESLx26cbtVMR/T9a6ApChOcSDAaM3JydDmWDUn4EEXng==" - }, - "node_modules/@bitgo-beta/sdk-lib-mpc/node_modules/node-addon-api": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-5.1.0.tgz", - "integrity": "sha512-eh0GgfEkpnoWDq+VY8OyvYhFEzBk6jIYbRKdIlyTiAXIVJ8PyBaKb0rp7oDtoddbdoHWhq8wwr+XZ81F1rpNdA==" - }, - "node_modules/@bitgo-beta/sdk-lib-mpc/node_modules/secp256k1": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/secp256k1/-/secp256k1-5.0.0.tgz", - "integrity": "sha512-TKWX8xvoGHrxVdqbYeZM9w+izTF4b9z3NhSaDkdn81btvuh+ivbIMGT/zQvDtTFWhRlThpoz6LEYTr7n8A5GcA==", - "hasInstallScript": true, - "dependencies": { - "elliptic": "^6.5.4", - "node-addon-api": "^5.0.0", - "node-gyp-build": "^4.2.0" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@bitgo-beta/sjcl": { - "version": "1.0.1-alpha.108", - "resolved": "https://registry.npmjs.org/@bitgo-beta/sjcl/-/sjcl-1.0.1-alpha.108.tgz", - "integrity": "sha512-n3Q0qVurbvmm3BUJR685rkLU6hsSZgbmGW8WWR/qVaXmraMtsjU2fWOseCIz7nXEyWSGM3YSVGEYIVOwflwXrg==" - }, - "node_modules/@bitgo-beta/statics": { - "version": "10.0.1-alpha.159", - "resolved": "https://registry.npmjs.org/@bitgo-beta/statics/-/statics-10.0.1-alpha.159.tgz", - "integrity": "sha512-ga/1o6JKzAPHktBjJg75SvhP8xsZR6l2r9+YckmeS+NYC05Ntt0XrEjtE/vOO/xTh4L7f4qw9paSS5dnLMmgWw==" - }, - "node_modules/@bitgo-beta/utxo-lib": { - "version": "4.0.1-alpha.159", - "resolved": "https://registry.npmjs.org/@bitgo-beta/utxo-lib/-/utxo-lib-4.0.1-alpha.159.tgz", - "integrity": "sha512-z4rR6cEb0CmCT5caFKpvk3B/bzXXBE7fOkILTW9Z6ayre7XBh9f1pBP6tU/ZnPyU4aaVn6kDTyKWG3wkFRLkUw==", - "dependencies": { - "@bitgo-beta/blake2b": "3.2.1-alpha.159", - "@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.9", - "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 <21", - "npm": ">=3.10.10" - } - }, "node_modules/@bitgo-forks/avalanchejs": { "version": "4.1.0-alpha.1", "resolved": "https://registry.npmjs.org/@bitgo-forks/avalanchejs/-/avalanchejs-4.1.0-alpha.1.tgz", @@ -2757,9 +2402,9 @@ } }, "node_modules/@bitgo/public-types": { - "version": "2.25.1", - "resolved": "https://registry.npmjs.org/@bitgo/public-types/-/public-types-2.25.1.tgz", - "integrity": "sha512-85K8W5rXJYjd/ueqrL2sZpPLK0aMxF14Jk6CkogSBHUpFWp6ZZsylmKnRAUFuhzfM6Tf9F0Nt7MXHyrxKOjsxw==", + "version": "2.33.3", + "resolved": "https://registry.npmjs.org/@bitgo/public-types/-/public-types-2.33.3.tgz", + "integrity": "sha512-yPsrMRx+bgLYvFGu6mlIXuZ5cdOoqv3pVcShlHUsRnngLdd0BSq9U11MN6zjKVCFHYIFKsnxoGKUpopuRn06jQ==", "dependencies": { "@api-ts/io-ts-http": "1.0.0", "fp-ts": "2.16.2", @@ -4403,6 +4048,129 @@ "webidl-conversions": "^3.0.0" } }, + "node_modules/@bitgo/sdk-coin-sui": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@bitgo/sdk-coin-sui/-/sdk-coin-sui-5.4.0.tgz", + "integrity": "sha512-9B70n4RXzsFCfGRRKWEsKqGWeziWdsAWw1SJyRqm4GJU5SRBh6EDyxTf6m3pkMjGWMgVH8u/CCV13/XO3NcxLA==", + "dependencies": { + "@bitgo/blake2b": "^3.2.4", + "@bitgo/sdk-core": "^27.8.0", + "@bitgo/sdk-lib-mpc": "^9.11.0", + "@bitgo/statics": "^48.27.0", + "@mysten/bcs": "^0.7.0", + "bignumber.js": "^9.0.0", + "bs58": "^4.0.1", + "lodash": "^4.17.21", + "superagent": "3.8.2", + "superstruct": "^1.0.3", + "tweetnacl": "^1.0.3" + }, + "engines": { + "node": ">=18 <21" + } + }, + "node_modules/@bitgo/sdk-coin-sui/node_modules/debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dependencies": { + "ms": "^2.1.1" + } + }, + "node_modules/@bitgo/sdk-coin-sui/node_modules/form-data": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.5.1.tgz", + "integrity": "sha512-m21N3WOmEEURgk6B9GLOE4RuWOFf28Lhh9qGYeNlGq4VDXUlJy2th2slBNU8Gp8EzloYZOibZJ7t5ecIrFSjVA==", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 0.12" + } + }, + "node_modules/@bitgo/sdk-coin-sui/node_modules/formidable": { + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/formidable/-/formidable-1.2.6.tgz", + "integrity": "sha512-KcpbcpuLNOwrEjnbpMC0gS+X8ciDoZE1kkqzat4a8vrprf+s9pKNQ/QIwWfbfs4ltgmFl3MD177SNTkve3BwGQ==", + "deprecated": "Please upgrade to latest, formidable@v2 or formidable@v3! Check these notes: https://bit.ly/2ZEqIau", + "funding": { + "url": "https://ko-fi.com/tunnckoCore/commissions" + } + }, + "node_modules/@bitgo/sdk-coin-sui/node_modules/isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==" + }, + "node_modules/@bitgo/sdk-coin-sui/node_modules/mime": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", + "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/@bitgo/sdk-coin-sui/node_modules/readable-stream": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/@bitgo/sdk-coin-sui/node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" + }, + "node_modules/@bitgo/sdk-coin-sui/node_modules/string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, + "node_modules/@bitgo/sdk-coin-sui/node_modules/superagent": { + "version": "3.8.2", + "resolved": "https://registry.npmjs.org/superagent/-/superagent-3.8.2.tgz", + "integrity": "sha512-gVH4QfYHcY3P0f/BZzavLreHW3T1v7hG9B+hpMQotGQqurOvhv87GcMCd6LWySmBuf+BDR44TQd0aISjVHLeNQ==", + "deprecated": "Please upgrade to v9.0.0+ as we have fixed a public vulnerability with formidable dependency. Note that v9.0.0+ requires Node.js v14.18.0+. See https://github.com/ladjs/superagent/pull/1800 for insight. This project is supported and maintained by the team at Forward Email @ https://forwardemail.net", + "dependencies": { + "component-emitter": "^1.2.0", + "cookiejar": "^2.1.0", + "debug": "^3.1.0", + "extend": "^3.0.0", + "form-data": "^2.3.1", + "formidable": "^1.1.1", + "methods": "^1.1.1", + "mime": "^1.4.1", + "qs": "^6.5.1", + "readable-stream": "^2.0.5" + }, + "engines": { + "node": ">= 4.0" + } + }, + "node_modules/@bitgo/sdk-coin-sui/node_modules/superstruct": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/superstruct/-/superstruct-1.0.4.tgz", + "integrity": "sha512-7JpaAoX2NGyoFlI9NBh66BQXGONc+uE+MRS5i2iOBKuS4e+ccgMDjATgZldkah+33DakBxDHiss9kvUcGAO8UQ==", + "engines": { + "node": ">=14.0.0" + } + }, "node_modules/@bitgo/sdk-coin-tia": { "version": "2.1.10", "resolved": "https://registry.npmjs.org/@bitgo/sdk-coin-tia/-/sdk-coin-tia-2.1.10.tgz", @@ -4527,16 +4295,16 @@ } }, "node_modules/@bitgo/sdk-core": { - "version": "27.4.0", - "resolved": "https://registry.npmjs.org/@bitgo/sdk-core/-/sdk-core-27.4.0.tgz", - "integrity": "sha512-Fcy/+wyOELb6SsBy52WVYU+p2a6XdpdvBIxsRR5yxQR+JcKE21+oAnu9gar46rRGOCwGJfq/lqFIOv/fRsBH8g==", + "version": "27.8.0", + "resolved": "https://registry.npmjs.org/@bitgo/sdk-core/-/sdk-core-27.8.0.tgz", + "integrity": "sha512-JsqP/h8u5AWjU+7BW0jCvwRLalac//Q/ZjTm83FFV2A0uIredjbkup//sY6cm/bZbxd12ySWNCTf4b2zRzvtWA==", "dependencies": { "@bitgo/bls-dkg": "^1.3.1", - "@bitgo/public-types": "2.25.1", - "@bitgo/sdk-lib-mpc": "^9.9.0", + "@bitgo/public-types": "2.33.3", + "@bitgo/sdk-lib-mpc": "^9.11.0", "@bitgo/sjcl": "^1.0.1", - "@bitgo/statics": "^48.22.0", - "@bitgo/utxo-lib": "^9.39.0", + "@bitgo/statics": "^48.27.0", + "@bitgo/utxo-lib": "^10.1.0", "@noble/secp256k1": "1.6.3", "@stablelib/hex": "^1.0.0", "@types/elliptic": "^6.4.12", @@ -4568,6 +4336,35 @@ "uuid": "^8.3.2" } }, + "node_modules/@bitgo/sdk-core/node_modules/@bitgo/utxo-lib": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/@bitgo/utxo-lib/-/utxo-lib-10.1.0.tgz", + "integrity": "sha512-jPy4sCppQaF4j0QtJFuhLVLSjWnDMn8XSVcj+N1fYFEJa1a45O3RLGmGDeni1GEINOCgNxRrPJkLOCJTH1DuFA==", + "dependencies": { + "@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.4", + "bip32": "^3.0.1", + "bitcoin-ops": "^1.3.0", + "bitcoinjs-lib": "npm:@bitgo-forks/bitcoinjs-lib@7.1.0-master.9", + "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 <21", + "npm": ">=3.10.10" + } + }, "node_modules/@bitgo/sdk-core/node_modules/debug": { "version": "3.2.7", "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", @@ -4615,9 +4412,9 @@ "integrity": "sha512-eh0GgfEkpnoWDq+VY8OyvYhFEzBk6jIYbRKdIlyTiAXIVJ8PyBaKb0rp7oDtoddbdoHWhq8wwr+XZ81F1rpNdA==" }, "node_modules/@bitgo/sdk-lib-mpc": { - "version": "9.9.0", - "resolved": "https://registry.npmjs.org/@bitgo/sdk-lib-mpc/-/sdk-lib-mpc-9.9.0.tgz", - "integrity": "sha512-16Zn9qcjKtZ4V6lVA65HRoHOsXDcMiBFjSltc4DIIEGsQ9D5LEux+ve9N9wJY792BQR4w715hzVMSQABRTV1oQ==", + "version": "9.11.0", + "resolved": "https://registry.npmjs.org/@bitgo/sdk-lib-mpc/-/sdk-lib-mpc-9.11.0.tgz", + "integrity": "sha512-WDSo4MnJbLygZH8My8XPG5J9ZTKIMGXrNJa/Fb7j4yJSMiTvKekUOD17VSWFmNHR07YjNEhIJ2ypbjfXKIvA1Q==", "dependencies": { "@noble/curves": "1.4.0", "@silencelaboratories/dkls-wasm-ll-node": "1.1.2", @@ -4633,6 +4430,14 @@ "openpgp": "5.10.1", "paillier-bigint": "3.3.0", "secp256k1": "5.0.0" + }, + "peerDependencies": { + "@silencelaboratories/dkls-wasm-ll-bundler": "1.1.2" + }, + "peerDependenciesMeta": { + "@silencelaboratories/dkls-wasm-ll-bundler": { + "optional": true + } } }, "node_modules/@bitgo/sdk-lib-mpc/node_modules/@noble/curves": { @@ -4687,9 +4492,9 @@ "integrity": "sha512-dBICMzShC8gXdpSj9cvl4wl9Jkt4h14wt4XQ+/6V6qcC2IObyKRJfaG5TYUU6RvVknhPBPyBx9v84vNKODM5fQ==" }, "node_modules/@bitgo/statics": { - "version": "48.22.0", - "resolved": "https://registry.npmjs.org/@bitgo/statics/-/statics-48.22.0.tgz", - "integrity": "sha512-MrUgsJzqCXr4IFp+WtA6fw9vIUUAQEn61XUFFv6g9SIiKRDgFueQBQ5E+j22L0uJlLLZJzn1HxSzDwqMVfHdsw==" + "version": "48.27.0", + "resolved": "https://registry.npmjs.org/@bitgo/statics/-/statics-48.27.0.tgz", + "integrity": "sha512-IjQZ4AIa/eXAZZ6yh0Oq/ZwLbR3HhXqqqb2TFfev6QZEXISjLWgM4QlTYTckl4dwf+AhgS9yP+Y3DRIHLkoqQg==" }, "node_modules/@bitgo/unspents": { "version": "0.47.5", diff --git a/package.json b/package.json index b359b02a..44ac1586 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,6 @@ } }, "dependencies": { - "@bitgo-beta/sdk-coin-sui": "^1.4.1-alpha.158", "@bitgo/abstract-cosmos": "10.0.24", "@bitgo/abstract-utxo": "8.9.0", "@bitgo/sdk-api": "1.50.0", @@ -42,6 +41,7 @@ "@bitgo/sdk-coin-polygon": "20.5.8", "@bitgo/sdk-coin-sei": "2.0.24", "@bitgo/sdk-coin-sol": "4.3.2", + "@bitgo/sdk-coin-sui": "^5.4.0", "@bitgo/sdk-coin-tia": "2.1.10", "@bitgo/sdk-coin-trx": "2.0.24", "@bitgo/sdk-coin-xlm": "3.1.2",