From f7b1c061cc74da6b394fb42aef75a9aa2dabc731 Mon Sep 17 00:00:00 2001 From: DeFiChain Bot <79204074+defichain-bot@users.noreply.github.com> Date: Wed, 8 Sep 2021 21:04:07 +0800 Subject: [PATCH] Bump @defichain/jellyfish dependencies (#381) * Bump @defichain/jellyfish dependencies * fixed package-lock.json Co-authored-by: Fuxing Loh --- package-lock.json | 302 ++++++++++++------------ package.json | 18 +- packages/whale-api-client/package.json | 2 +- packages/whale-api-wallet/package.json | 4 +- packages/whale-api-wallet/src/wallet.ts | 2 +- 5 files changed, 170 insertions(+), 158 deletions(-) diff --git a/package-lock.json b/package-lock.json index eaa5dfe5a..f7961459b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,12 +11,12 @@ "./packages/*" ], "dependencies": { - "@defichain/jellyfish-address": ">=0.40.0", - "@defichain/jellyfish-api-core": ">=0.40.0", - "@defichain/jellyfish-api-jsonrpc": ">=0.40.0", - "@defichain/jellyfish-json": ">=0.40.0", - "@defichain/jellyfish-network": ">=0.40.0", - "@defichain/jellyfish-transaction": ">=0.40.0", + "@defichain/jellyfish-address": ">=0.41.0", + "@defichain/jellyfish-api-core": ">=0.41.0", + "@defichain/jellyfish-api-jsonrpc": ">=0.41.0", + "@defichain/jellyfish-json": ">=0.41.0", + "@defichain/jellyfish-network": ">=0.41.0", + "@defichain/jellyfish-transaction": ">=0.41.0", "@nestjs/common": "^8.0.6", "@nestjs/config": "^1.0.1", "@nestjs/core": "^8.0.6", @@ -37,9 +37,9 @@ "subleveldown": "^5.0.1" }, "devDependencies": { - "@defichain/jellyfish-crypto": ">=0.40.0", - "@defichain/testcontainers": ">=0.40.0", - "@defichain/testing": ">=0.40.0", + "@defichain/jellyfish-crypto": ">=0.41.0", + "@defichain/testcontainers": ">=0.41.0", + "@defichain/testing": ">=0.41.0", "@nestjs/cli": "^8.1.1", "@nestjs/schematics": "^8.0.3", "@nestjs/testing": "^8.0.6", @@ -838,38 +838,47 @@ } }, "node_modules/@defichain/jellyfish-address": { - "version": "0.40.0", - "resolved": "https://registry.npmjs.org/@defichain/jellyfish-address/-/jellyfish-address-0.40.0.tgz", - "integrity": "sha512-011xAys3gBHY4xRzbmd9hJd+pHQY0EOdtn15vzCWu8J6s84T8eMnJWYDLUEpOOzhadV16EkeHP6ynjVF9nRMBg==", + "version": "0.41.0", + "resolved": "https://registry.npmjs.org/@defichain/jellyfish-address/-/jellyfish-address-0.41.0.tgz", + "integrity": "sha512-COj3YJBSJOKKnoBXPXGQcezGbFGVc7Aac/mArMsUmHUeUR34me1x0Qd4fL0LqTuhx9lPtWmDBmRsBZGaXpeAmA==", "dependencies": { - "@defichain/jellyfish-crypto": "^0.40.0", - "@defichain/jellyfish-network": "^0.40.0", - "@defichain/jellyfish-transaction": "^0.40.0", + "@defichain/jellyfish-crypto": "^0.41.0", + "@defichain/jellyfish-network": "^0.41.0", + "@defichain/jellyfish-transaction": "^0.41.0", "bs58": "^4.0.1" } }, "node_modules/@defichain/jellyfish-api-core": { - "version": "0.40.0", - "resolved": "https://registry.npmjs.org/@defichain/jellyfish-api-core/-/jellyfish-api-core-0.40.0.tgz", - "integrity": "sha512-/yzTqeEFbez6S7EKCiIuVEsKl/ob6hQoCsvexSNrj72t7dw8LUETwO/3S7c7x7d5OOU+9Tl801IprF+m+pwf9w==", + "version": "0.41.0", + "resolved": "https://registry.npmjs.org/@defichain/jellyfish-api-core/-/jellyfish-api-core-0.41.0.tgz", + "integrity": "sha512-a83HQ+T6/dosawi5d14Stcavz+IvUBKBM5fO88D19AhQzg5eYv3pm2ha3vv/scTw3WmzfeHtNKczTrlazhqBnA==", "dependencies": { - "@defichain/jellyfish-json": "^0.40.0" + "@defichain/jellyfish-json": "^0.41.0" } }, "node_modules/@defichain/jellyfish-api-jsonrpc": { - "version": "0.40.0", - "resolved": "https://registry.npmjs.org/@defichain/jellyfish-api-jsonrpc/-/jellyfish-api-jsonrpc-0.40.0.tgz", - "integrity": "sha512-uVHGiaaxnw4CAfIF23rkXrf3Znb+FzTJAuawIlq6CiEX1t+8Ncm+kEclvwkvhqpSrcXpMdOhclLlpOlO9qSxww==", + "version": "0.41.0", + "resolved": "https://registry.npmjs.org/@defichain/jellyfish-api-jsonrpc/-/jellyfish-api-jsonrpc-0.41.0.tgz", + "integrity": "sha512-IsIJp4Q/vCxYqVHxSRKOSD13k5SrIV62q7a32zkt6SR5qgGgDgSHCk9YvEottoFsi3pJ3zQ6laEUvJEKmJPBkQ==", "dependencies": { - "@defichain/jellyfish-api-core": "^0.40.0", + "@defichain/jellyfish-api-core": "^0.41.0", "abort-controller": "^3.0.0", "cross-fetch": "^3.1.4" } }, + "node_modules/@defichain/jellyfish-buffer": { + "version": "0.41.0", + "resolved": "https://registry.npmjs.org/@defichain/jellyfish-buffer/-/jellyfish-buffer-0.41.0.tgz", + "integrity": "sha512-S5uhAOxC5gBGEjwPhURszm5CRY8EoQplL7oDTqp4n+9FEH4R4+oGiH9N6Xt8reO+ET2g9GeTIgn41yrytebt+Q==", + "dependencies": { + "bignumber.js": "^9.0.1", + "smart-buffer": "^4.2.0" + } + }, "node_modules/@defichain/jellyfish-crypto": { - "version": "0.40.0", - "resolved": "https://registry.npmjs.org/@defichain/jellyfish-crypto/-/jellyfish-crypto-0.40.0.tgz", - "integrity": "sha512-qz8hm4z/vC3iLqpaEY+d0Oqzq8xojSumORRhb5OVoq1r/6av82TBpxymNb4Nvjyw4un/CSE1knDYpMoFI6haYg==", + "version": "0.41.0", + "resolved": "https://registry.npmjs.org/@defichain/jellyfish-crypto/-/jellyfish-crypto-0.41.0.tgz", + "integrity": "sha512-z+bSxUwQYaPwSzHOebMIhKI/V6bnj+C24LQSU1+xvmej0VSAaCtlxPGP0qimPgq5WBJQZ5+GI3fTOZ/OpO7bAw==", "dependencies": { "bech32": "^2.0.0", "bip66": "^1.1.5", @@ -882,9 +891,9 @@ } }, "node_modules/@defichain/jellyfish-json": { - "version": "0.40.0", - "resolved": "https://registry.npmjs.org/@defichain/jellyfish-json/-/jellyfish-json-0.40.0.tgz", - "integrity": "sha512-hHC4SppDnfJiYuQ+drIjR2lMxijv8FeyR1ufQ+C4Fmn4C0nk1i6+MtPx9SRtBMQCr7vI1PcQEZxQzxpbY41t8w==", + "version": "0.41.0", + "resolved": "https://registry.npmjs.org/@defichain/jellyfish-json/-/jellyfish-json-0.41.0.tgz", + "integrity": "sha512-1p/Go+/c6drx2/ElKwqBRQCZNqaepj4EJollOC/OgbYkY8lntnrQ2dOg/ocifpR3qspEQVse824XKZoaC9Pk7A==", "dependencies": { "@types/lossless-json": "^1.0.1", "lossless-json": "^1.0.5" @@ -894,82 +903,76 @@ } }, "node_modules/@defichain/jellyfish-network": { - "version": "0.40.0", - "resolved": "https://registry.npmjs.org/@defichain/jellyfish-network/-/jellyfish-network-0.40.0.tgz", - "integrity": "sha512-Tw4Bnet1ZVYPl0+pShJv3+qLUdShIqyRU8sdjA+1hspSfl0Tcb1h2q2mDQjZDnlA3/UnMWWh/6+AOUVYKYpePg==" + "version": "0.41.0", + "resolved": "https://registry.npmjs.org/@defichain/jellyfish-network/-/jellyfish-network-0.41.0.tgz", + "integrity": "sha512-BVvZFKGZHB/dmdG1du4EcRyLq6lJRESxnj0nMgWPXSy6Y74aKrTkjlHppPHB/a+frKr5KmBljRYzEvjBJLQP3w==" }, "node_modules/@defichain/jellyfish-transaction": { - "version": "0.40.0", - "resolved": "https://registry.npmjs.org/@defichain/jellyfish-transaction/-/jellyfish-transaction-0.40.0.tgz", - "integrity": "sha512-7dowclvVh4uP45kU6QeqSns0IVTuwP7uAnkPLPPkQkbPWohDhbdeApUUK+cudz0PdM2JET9ebl15gXJP5PnEIA==", + "version": "0.41.0", + "resolved": "https://registry.npmjs.org/@defichain/jellyfish-transaction/-/jellyfish-transaction-0.41.0.tgz", + "integrity": "sha512-4n7chRjlw4Zxl9G7gPSHVndnpBKc5pH4JP7DLFLxGLmNxOVKThcPI9q64/N1+PU/XNYdjtjBIwio6RaXCypHbg==", "dependencies": { - "@defichain/jellyfish-crypto": "^0.40.0", - "smart-buffer": "^4.1.0" - }, - "peerDependencies": { - "bignumber.js": "^9.0.1" + "@defichain/jellyfish-buffer": "^0.41.0", + "@defichain/jellyfish-crypto": "^0.41.0" } }, "node_modules/@defichain/jellyfish-transaction-builder": { - "version": "0.40.0", - "resolved": "https://registry.npmjs.org/@defichain/jellyfish-transaction-builder/-/jellyfish-transaction-builder-0.40.0.tgz", - "integrity": "sha512-L4O3AN2hxXLBBsNpbnLrN7kjlWReRIZY84rCtLJzjT4qs7LdBOGnUMEzAaldHA+ZTX+2jh2gZU4cCbyFFLO46A==", + "version": "0.41.0", + "resolved": "https://registry.npmjs.org/@defichain/jellyfish-transaction-builder/-/jellyfish-transaction-builder-0.41.0.tgz", + "integrity": "sha512-NM1wGmpBoqzvivNXqOavLN/CXzMYCxeBIJdIENNndfLbU2sI5XvYEEI1AK7mLuEQRJ9DGpzZpAytGgpCGKA/4w==", "dependencies": { - "@defichain/jellyfish-crypto": "^0.40.0", - "@defichain/jellyfish-transaction": "^0.40.0", - "@defichain/jellyfish-transaction-signature": "^0.40.0" + "@defichain/jellyfish-crypto": "^0.41.0", + "@defichain/jellyfish-transaction": "^0.41.0", + "@defichain/jellyfish-transaction-signature": "^0.41.0" }, "peerDependencies": { "bignumber.js": "^9.0.1" } }, "node_modules/@defichain/jellyfish-transaction-signature": { - "version": "0.40.0", - "resolved": "https://registry.npmjs.org/@defichain/jellyfish-transaction-signature/-/jellyfish-transaction-signature-0.40.0.tgz", - "integrity": "sha512-MDfU1X9IU8a06GnpSwNZdVr1v1I7z6m7Vho/oMx31JHLhkDqB90ZhZNuc355FIShttgrv3AXdRUk+3CSQv8tSg==", + "version": "0.41.0", + "resolved": "https://registry.npmjs.org/@defichain/jellyfish-transaction-signature/-/jellyfish-transaction-signature-0.41.0.tgz", + "integrity": "sha512-7479lFb9Zh0b4EDKfLiSCgywRikI/tcHPi3q3IILGJGGTLIa77YYs7katvWoT3xwR4HNVVRIQX0+sVMSEno44A==", "dependencies": { - "@defichain/jellyfish-crypto": "^0.40.0", - "@defichain/jellyfish-transaction": "^0.40.0", - "smart-buffer": "^4.1.0" - }, - "peerDependencies": { - "bignumber.js": "^9.0.1" + "@defichain/jellyfish-buffer": "^0.41.0", + "@defichain/jellyfish-crypto": "^0.41.0", + "@defichain/jellyfish-transaction": "^0.41.0" } }, "node_modules/@defichain/jellyfish-wallet": { - "version": "0.40.0", - "resolved": "https://registry.npmjs.org/@defichain/jellyfish-wallet/-/jellyfish-wallet-0.40.0.tgz", - "integrity": "sha512-zNU9EoqC1UtzKv0IUT2I6pjpeRvSUdbqE/02Cu4s7DuHdirYVpy3KEaOEwHhgVqW1OKp9Wu72NV9ePQ3Agb/2w==", + "version": "0.41.0", + "resolved": "https://registry.npmjs.org/@defichain/jellyfish-wallet/-/jellyfish-wallet-0.41.0.tgz", + "integrity": "sha512-2EcjNwRgDQKxbI1yRUowCkgdw4TD9AncSMrjXJOgF8AW/KEhNmTIcGpkNw10GvDQlO7fvcYRYO/gddTtCB17pQ==", "dependencies": { - "@defichain/jellyfish-address": "^0.40.0", - "@defichain/jellyfish-crypto": "^0.40.0", - "@defichain/jellyfish-network": "^0.40.0", - "@defichain/jellyfish-transaction": "^0.40.0" + "@defichain/jellyfish-address": "^0.41.0", + "@defichain/jellyfish-crypto": "^0.41.0", + "@defichain/jellyfish-network": "^0.41.0", + "@defichain/jellyfish-transaction": "^0.41.0" }, "peerDependencies": { "bignumber.js": "^9.0.1" } }, "node_modules/@defichain/testcontainers": { - "version": "0.40.0", - "resolved": "https://registry.npmjs.org/@defichain/testcontainers/-/testcontainers-0.40.0.tgz", - "integrity": "sha512-pyRIJMxOjLDGF0V7Jq98nApr65gW5WayTAqoTh5OsaRfazgLRe+gFHy80+gONlTGxqU6c01HHcTIsy+wTlFcPw==", + "version": "0.41.0", + "resolved": "https://registry.npmjs.org/@defichain/testcontainers/-/testcontainers-0.41.0.tgz", + "integrity": "sha512-gfNxtyQUzURbqjeex3YDa/2/CivAPdxsXoam6IDYlc5HNGAYV1+iiL4xf6x6lmjRSjcbVaXq8vtlHCjS3V0GdQ==", "dev": true, "dependencies": { - "dockerode": "^3.3.0", - "node-fetch": "^2.6.1" + "cross-fetch": "^3.1.4", + "dockerode": "^3.3.0" } }, "node_modules/@defichain/testing": { - "version": "0.40.0", - "resolved": "https://registry.npmjs.org/@defichain/testing/-/testing-0.40.0.tgz", - "integrity": "sha512-akRBP3sd7QkkcyBoe71+FIhdYT2MFzl0O33A9HmA+J0SI53a7mkWGa7vtzJ+GE8yoK/V01nAuxPs22Xf9s78xw==", + "version": "0.41.0", + "resolved": "https://registry.npmjs.org/@defichain/testing/-/testing-0.41.0.tgz", + "integrity": "sha512-qgr35pYNwy89ENRonKY0naOpg9kEJzZ+J41fq3LTjKdMGjaf0bAOWkF7S9dcUSKxC+ZtOwk54VhNWSMK2/j15Q==", "dev": true, "dependencies": { - "@defichain/jellyfish-api-core": "^0.40.0", - "@defichain/jellyfish-crypto": "^0.40.0", - "@defichain/jellyfish-network": "^0.40.0", - "@defichain/testcontainers": "^0.40.0" + "@defichain/jellyfish-api-core": "^0.41.0", + "@defichain/jellyfish-crypto": "^0.41.0", + "@defichain/jellyfish-network": "^0.41.0", + "@defichain/testcontainers": "^0.41.0" } }, "node_modules/@defichain/whale-api-client": { @@ -13890,9 +13893,9 @@ } }, "node_modules/smart-buffer": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.1.0.tgz", - "integrity": "sha512-iVICrxOzCynf/SNaBQCw34eM9jROU/s5rzIhpOvzhzuYHfJR/DhZfDkXiZSgKXfgv26HT3Yni3AV/DGw0cGnnw==", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz", + "integrity": "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==", "engines": { "node": ">= 6.0.0", "npm": ">= 3.0.0" @@ -16148,7 +16151,7 @@ "version": "0.0.0", "license": "MIT", "dependencies": { - "@defichain/jellyfish-api-core": ">=0.40.0", + "@defichain/jellyfish-api-core": ">=0.41.0", "abort-controller": "^3.0.0", "cross-fetch": "^3.1.2", "url-search-params-polyfill": "8.1.1" @@ -16159,8 +16162,8 @@ "version": "0.0.0", "license": "MIT", "dependencies": { - "@defichain/jellyfish-transaction-builder": ">=0.40.0", - "@defichain/jellyfish-wallet": ">=0.40.0", + "@defichain/jellyfish-transaction-builder": ">=0.41.0", + "@defichain/jellyfish-wallet": ">=0.41.0", "@defichain/whale-api-client": "0.0.0" } } @@ -16755,38 +16758,47 @@ } }, "@defichain/jellyfish-address": { - "version": "0.40.0", - "resolved": "https://registry.npmjs.org/@defichain/jellyfish-address/-/jellyfish-address-0.40.0.tgz", - "integrity": "sha512-011xAys3gBHY4xRzbmd9hJd+pHQY0EOdtn15vzCWu8J6s84T8eMnJWYDLUEpOOzhadV16EkeHP6ynjVF9nRMBg==", + "version": "0.41.0", + "resolved": "https://registry.npmjs.org/@defichain/jellyfish-address/-/jellyfish-address-0.41.0.tgz", + "integrity": "sha512-COj3YJBSJOKKnoBXPXGQcezGbFGVc7Aac/mArMsUmHUeUR34me1x0Qd4fL0LqTuhx9lPtWmDBmRsBZGaXpeAmA==", "requires": { - "@defichain/jellyfish-crypto": "^0.40.0", - "@defichain/jellyfish-network": "^0.40.0", - "@defichain/jellyfish-transaction": "^0.40.0", + "@defichain/jellyfish-crypto": "^0.41.0", + "@defichain/jellyfish-network": "^0.41.0", + "@defichain/jellyfish-transaction": "^0.41.0", "bs58": "^4.0.1" } }, "@defichain/jellyfish-api-core": { - "version": "0.40.0", - "resolved": "https://registry.npmjs.org/@defichain/jellyfish-api-core/-/jellyfish-api-core-0.40.0.tgz", - "integrity": "sha512-/yzTqeEFbez6S7EKCiIuVEsKl/ob6hQoCsvexSNrj72t7dw8LUETwO/3S7c7x7d5OOU+9Tl801IprF+m+pwf9w==", + "version": "0.41.0", + "resolved": "https://registry.npmjs.org/@defichain/jellyfish-api-core/-/jellyfish-api-core-0.41.0.tgz", + "integrity": "sha512-a83HQ+T6/dosawi5d14Stcavz+IvUBKBM5fO88D19AhQzg5eYv3pm2ha3vv/scTw3WmzfeHtNKczTrlazhqBnA==", "requires": { - "@defichain/jellyfish-json": "^0.40.0" + "@defichain/jellyfish-json": "^0.41.0" } }, "@defichain/jellyfish-api-jsonrpc": { - "version": "0.40.0", - "resolved": "https://registry.npmjs.org/@defichain/jellyfish-api-jsonrpc/-/jellyfish-api-jsonrpc-0.40.0.tgz", - "integrity": "sha512-uVHGiaaxnw4CAfIF23rkXrf3Znb+FzTJAuawIlq6CiEX1t+8Ncm+kEclvwkvhqpSrcXpMdOhclLlpOlO9qSxww==", + "version": "0.41.0", + "resolved": "https://registry.npmjs.org/@defichain/jellyfish-api-jsonrpc/-/jellyfish-api-jsonrpc-0.41.0.tgz", + "integrity": "sha512-IsIJp4Q/vCxYqVHxSRKOSD13k5SrIV62q7a32zkt6SR5qgGgDgSHCk9YvEottoFsi3pJ3zQ6laEUvJEKmJPBkQ==", "requires": { - "@defichain/jellyfish-api-core": "^0.40.0", + "@defichain/jellyfish-api-core": "^0.41.0", "abort-controller": "^3.0.0", "cross-fetch": "^3.1.4" } }, + "@defichain/jellyfish-buffer": { + "version": "0.41.0", + "resolved": "https://registry.npmjs.org/@defichain/jellyfish-buffer/-/jellyfish-buffer-0.41.0.tgz", + "integrity": "sha512-S5uhAOxC5gBGEjwPhURszm5CRY8EoQplL7oDTqp4n+9FEH4R4+oGiH9N6Xt8reO+ET2g9GeTIgn41yrytebt+Q==", + "requires": { + "bignumber.js": "^9.0.1", + "smart-buffer": "^4.2.0" + } + }, "@defichain/jellyfish-crypto": { - "version": "0.40.0", - "resolved": "https://registry.npmjs.org/@defichain/jellyfish-crypto/-/jellyfish-crypto-0.40.0.tgz", - "integrity": "sha512-qz8hm4z/vC3iLqpaEY+d0Oqzq8xojSumORRhb5OVoq1r/6av82TBpxymNb4Nvjyw4un/CSE1knDYpMoFI6haYg==", + "version": "0.41.0", + "resolved": "https://registry.npmjs.org/@defichain/jellyfish-crypto/-/jellyfish-crypto-0.41.0.tgz", + "integrity": "sha512-z+bSxUwQYaPwSzHOebMIhKI/V6bnj+C24LQSU1+xvmej0VSAaCtlxPGP0qimPgq5WBJQZ5+GI3fTOZ/OpO7bAw==", "requires": { "bech32": "^2.0.0", "bip66": "^1.1.5", @@ -16799,85 +16811,85 @@ } }, "@defichain/jellyfish-json": { - "version": "0.40.0", - "resolved": "https://registry.npmjs.org/@defichain/jellyfish-json/-/jellyfish-json-0.40.0.tgz", - "integrity": "sha512-hHC4SppDnfJiYuQ+drIjR2lMxijv8FeyR1ufQ+C4Fmn4C0nk1i6+MtPx9SRtBMQCr7vI1PcQEZxQzxpbY41t8w==", + "version": "0.41.0", + "resolved": "https://registry.npmjs.org/@defichain/jellyfish-json/-/jellyfish-json-0.41.0.tgz", + "integrity": "sha512-1p/Go+/c6drx2/ElKwqBRQCZNqaepj4EJollOC/OgbYkY8lntnrQ2dOg/ocifpR3qspEQVse824XKZoaC9Pk7A==", "requires": { "@types/lossless-json": "^1.0.1", "lossless-json": "^1.0.5" } }, "@defichain/jellyfish-network": { - "version": "0.40.0", - "resolved": "https://registry.npmjs.org/@defichain/jellyfish-network/-/jellyfish-network-0.40.0.tgz", - "integrity": "sha512-Tw4Bnet1ZVYPl0+pShJv3+qLUdShIqyRU8sdjA+1hspSfl0Tcb1h2q2mDQjZDnlA3/UnMWWh/6+AOUVYKYpePg==" + "version": "0.41.0", + "resolved": "https://registry.npmjs.org/@defichain/jellyfish-network/-/jellyfish-network-0.41.0.tgz", + "integrity": "sha512-BVvZFKGZHB/dmdG1du4EcRyLq6lJRESxnj0nMgWPXSy6Y74aKrTkjlHppPHB/a+frKr5KmBljRYzEvjBJLQP3w==" }, "@defichain/jellyfish-transaction": { - "version": "0.40.0", - "resolved": "https://registry.npmjs.org/@defichain/jellyfish-transaction/-/jellyfish-transaction-0.40.0.tgz", - "integrity": "sha512-7dowclvVh4uP45kU6QeqSns0IVTuwP7uAnkPLPPkQkbPWohDhbdeApUUK+cudz0PdM2JET9ebl15gXJP5PnEIA==", + "version": "0.41.0", + "resolved": "https://registry.npmjs.org/@defichain/jellyfish-transaction/-/jellyfish-transaction-0.41.0.tgz", + "integrity": "sha512-4n7chRjlw4Zxl9G7gPSHVndnpBKc5pH4JP7DLFLxGLmNxOVKThcPI9q64/N1+PU/XNYdjtjBIwio6RaXCypHbg==", "requires": { - "@defichain/jellyfish-crypto": "^0.40.0", - "smart-buffer": "^4.1.0" + "@defichain/jellyfish-buffer": "^0.41.0", + "@defichain/jellyfish-crypto": "^0.41.0" } }, "@defichain/jellyfish-transaction-builder": { - "version": "0.40.0", - "resolved": "https://registry.npmjs.org/@defichain/jellyfish-transaction-builder/-/jellyfish-transaction-builder-0.40.0.tgz", - "integrity": "sha512-L4O3AN2hxXLBBsNpbnLrN7kjlWReRIZY84rCtLJzjT4qs7LdBOGnUMEzAaldHA+ZTX+2jh2gZU4cCbyFFLO46A==", + "version": "0.41.0", + "resolved": "https://registry.npmjs.org/@defichain/jellyfish-transaction-builder/-/jellyfish-transaction-builder-0.41.0.tgz", + "integrity": "sha512-NM1wGmpBoqzvivNXqOavLN/CXzMYCxeBIJdIENNndfLbU2sI5XvYEEI1AK7mLuEQRJ9DGpzZpAytGgpCGKA/4w==", "requires": { - "@defichain/jellyfish-crypto": "^0.40.0", - "@defichain/jellyfish-transaction": "^0.40.0", - "@defichain/jellyfish-transaction-signature": "^0.40.0" + "@defichain/jellyfish-crypto": "^0.41.0", + "@defichain/jellyfish-transaction": "^0.41.0", + "@defichain/jellyfish-transaction-signature": "^0.41.0" } }, "@defichain/jellyfish-transaction-signature": { - "version": "0.40.0", - "resolved": "https://registry.npmjs.org/@defichain/jellyfish-transaction-signature/-/jellyfish-transaction-signature-0.40.0.tgz", - "integrity": "sha512-MDfU1X9IU8a06GnpSwNZdVr1v1I7z6m7Vho/oMx31JHLhkDqB90ZhZNuc355FIShttgrv3AXdRUk+3CSQv8tSg==", + "version": "0.41.0", + "resolved": "https://registry.npmjs.org/@defichain/jellyfish-transaction-signature/-/jellyfish-transaction-signature-0.41.0.tgz", + "integrity": "sha512-7479lFb9Zh0b4EDKfLiSCgywRikI/tcHPi3q3IILGJGGTLIa77YYs7katvWoT3xwR4HNVVRIQX0+sVMSEno44A==", "requires": { - "@defichain/jellyfish-crypto": "^0.40.0", - "@defichain/jellyfish-transaction": "^0.40.0", - "smart-buffer": "^4.1.0" + "@defichain/jellyfish-buffer": "^0.41.0", + "@defichain/jellyfish-crypto": "^0.41.0", + "@defichain/jellyfish-transaction": "^0.41.0" } }, "@defichain/jellyfish-wallet": { - "version": "0.40.0", - "resolved": "https://registry.npmjs.org/@defichain/jellyfish-wallet/-/jellyfish-wallet-0.40.0.tgz", - "integrity": "sha512-zNU9EoqC1UtzKv0IUT2I6pjpeRvSUdbqE/02Cu4s7DuHdirYVpy3KEaOEwHhgVqW1OKp9Wu72NV9ePQ3Agb/2w==", + "version": "0.41.0", + "resolved": "https://registry.npmjs.org/@defichain/jellyfish-wallet/-/jellyfish-wallet-0.41.0.tgz", + "integrity": "sha512-2EcjNwRgDQKxbI1yRUowCkgdw4TD9AncSMrjXJOgF8AW/KEhNmTIcGpkNw10GvDQlO7fvcYRYO/gddTtCB17pQ==", "requires": { - "@defichain/jellyfish-address": "^0.40.0", - "@defichain/jellyfish-crypto": "^0.40.0", - "@defichain/jellyfish-network": "^0.40.0", - "@defichain/jellyfish-transaction": "^0.40.0" + "@defichain/jellyfish-address": "^0.41.0", + "@defichain/jellyfish-crypto": "^0.41.0", + "@defichain/jellyfish-network": "^0.41.0", + "@defichain/jellyfish-transaction": "^0.41.0" } }, "@defichain/testcontainers": { - "version": "0.40.0", - "resolved": "https://registry.npmjs.org/@defichain/testcontainers/-/testcontainers-0.40.0.tgz", - "integrity": "sha512-pyRIJMxOjLDGF0V7Jq98nApr65gW5WayTAqoTh5OsaRfazgLRe+gFHy80+gONlTGxqU6c01HHcTIsy+wTlFcPw==", + "version": "0.41.0", + "resolved": "https://registry.npmjs.org/@defichain/testcontainers/-/testcontainers-0.41.0.tgz", + "integrity": "sha512-gfNxtyQUzURbqjeex3YDa/2/CivAPdxsXoam6IDYlc5HNGAYV1+iiL4xf6x6lmjRSjcbVaXq8vtlHCjS3V0GdQ==", "dev": true, "requires": { - "dockerode": "^3.3.0", - "node-fetch": "^2.6.1" + "cross-fetch": "^3.1.4", + "dockerode": "^3.3.0" } }, "@defichain/testing": { - "version": "0.40.0", - "resolved": "https://registry.npmjs.org/@defichain/testing/-/testing-0.40.0.tgz", - "integrity": "sha512-akRBP3sd7QkkcyBoe71+FIhdYT2MFzl0O33A9HmA+J0SI53a7mkWGa7vtzJ+GE8yoK/V01nAuxPs22Xf9s78xw==", + "version": "0.41.0", + "resolved": "https://registry.npmjs.org/@defichain/testing/-/testing-0.41.0.tgz", + "integrity": "sha512-qgr35pYNwy89ENRonKY0naOpg9kEJzZ+J41fq3LTjKdMGjaf0bAOWkF7S9dcUSKxC+ZtOwk54VhNWSMK2/j15Q==", "dev": true, "requires": { - "@defichain/jellyfish-api-core": "^0.40.0", - "@defichain/jellyfish-crypto": "^0.40.0", - "@defichain/jellyfish-network": "^0.40.0", - "@defichain/testcontainers": "^0.40.0" + "@defichain/jellyfish-api-core": "^0.41.0", + "@defichain/jellyfish-crypto": "^0.41.0", + "@defichain/jellyfish-network": "^0.41.0", + "@defichain/testcontainers": "^0.41.0" } }, "@defichain/whale-api-client": { "version": "file:packages/whale-api-client", "requires": { - "@defichain/jellyfish-api-core": ">=0.40.0", + "@defichain/jellyfish-api-core": ">=0.41.0", "abort-controller": "^3.0.0", "cross-fetch": "^3.1.2", "url-search-params-polyfill": "8.1.1" @@ -16886,8 +16898,8 @@ "@defichain/whale-api-wallet": { "version": "file:packages/whale-api-wallet", "requires": { - "@defichain/jellyfish-transaction-builder": ">=0.40.0", - "@defichain/jellyfish-wallet": ">=0.40.0", + "@defichain/jellyfish-transaction-builder": ">=0.41.0", + "@defichain/jellyfish-wallet": ">=0.41.0", "@defichain/whale-api-client": "0.0.0" } }, @@ -26913,9 +26925,9 @@ "dev": true }, "smart-buffer": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.1.0.tgz", - "integrity": "sha512-iVICrxOzCynf/SNaBQCw34eM9jROU/s5rzIhpOvzhzuYHfJR/DhZfDkXiZSgKXfgv26HT3Yni3AV/DGw0cGnnw==" + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz", + "integrity": "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==" }, "socks": { "version": "2.6.1", diff --git a/package.json b/package.json index 700e2b4e4..499c92bbc 100644 --- a/package.json +++ b/package.json @@ -26,12 +26,12 @@ "packages:publish:latest": "lerna exec --no-private -- npm publish --tag latest --access public" }, "dependencies": { - "@defichain/jellyfish-address": ">=0.40.0", - "@defichain/jellyfish-api-core": ">=0.40.0", - "@defichain/jellyfish-api-jsonrpc": ">=0.40.0", - "@defichain/jellyfish-json": ">=0.40.0", - "@defichain/jellyfish-network": ">=0.40.0", - "@defichain/jellyfish-transaction": ">=0.40.0", + "@defichain/jellyfish-address": ">=0.41.0", + "@defichain/jellyfish-api-core": ">=0.41.0", + "@defichain/jellyfish-api-jsonrpc": ">=0.41.0", + "@defichain/jellyfish-json": ">=0.41.0", + "@defichain/jellyfish-network": ">=0.41.0", + "@defichain/jellyfish-transaction": ">=0.41.0", "@nestjs/common": "^8.0.6", "@nestjs/config": "^1.0.1", "@nestjs/core": "^8.0.6", @@ -52,9 +52,9 @@ "subleveldown": "^5.0.1" }, "devDependencies": { - "@defichain/jellyfish-crypto": ">=0.40.0", - "@defichain/testcontainers": ">=0.40.0", - "@defichain/testing": ">=0.40.0", + "@defichain/jellyfish-crypto": ">=0.41.0", + "@defichain/testcontainers": ">=0.41.0", + "@defichain/testing": ">=0.41.0", "@nestjs/cli": "^8.1.1", "@nestjs/schematics": "^8.0.3", "@nestjs/testing": "^8.0.6", diff --git a/packages/whale-api-client/package.json b/packages/whale-api-client/package.json index eed890df3..b580edd28 100644 --- a/packages/whale-api-client/package.json +++ b/packages/whale-api-client/package.json @@ -41,7 +41,7 @@ "version.ts": "node -p \"'export default \\'v' + require('./package.json').version.replace(/\\.\\d+$/, '') + '\\''\" > src/version.ts" }, "dependencies": { - "@defichain/jellyfish-api-core": ">=0.40.0", + "@defichain/jellyfish-api-core": ">=0.41.0", "abort-controller": "^3.0.0", "cross-fetch": "^3.1.2", "url-search-params-polyfill": "8.1.1" diff --git a/packages/whale-api-wallet/package.json b/packages/whale-api-wallet/package.json index cbc64ba76..1db5a5e77 100644 --- a/packages/whale-api-wallet/package.json +++ b/packages/whale-api-wallet/package.json @@ -40,8 +40,8 @@ "build": "tsc" }, "dependencies": { - "@defichain/jellyfish-transaction-builder": ">=0.40.0", - "@defichain/jellyfish-wallet": ">=0.40.0", + "@defichain/jellyfish-transaction-builder": ">=0.41.0", + "@defichain/jellyfish-wallet": ">=0.41.0", "@defichain/whale-api-client": "0.0.0" } } diff --git a/packages/whale-api-wallet/src/wallet.ts b/packages/whale-api-wallet/src/wallet.ts index d7e50ccf2..d89abbe36 100644 --- a/packages/whale-api-wallet/src/wallet.ts +++ b/packages/whale-api-wallet/src/wallet.ts @@ -29,7 +29,7 @@ export class WhaleWalletAccount extends WalletAccount { withTransactionBuilder (): P2WPKHTransactionBuilder { return new P2WPKHTransactionBuilder(this.feeRateProvider, this.prevoutProvider, { get: (_) => this - }) + }, this.network) } }