diff --git a/package-lock.json b/package-lock.json index 5793d2bfe..559eab4ed 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,18 +11,18 @@ "./packages/*" ], "dependencies": { - "@defichain/jellyfish-address": "^2.45.4", - "@defichain/jellyfish-api-core": "^2.45.4", - "@defichain/jellyfish-api-jsonrpc": "^2.45.4", - "@defichain/jellyfish-crypto": "^2.45.4", - "@defichain/jellyfish-json": "^2.45.4", - "@defichain/jellyfish-network": "^2.45.4", - "@defichain/jellyfish-testing": "^2.45.4", - "@defichain/jellyfish-transaction": "^2.45.4", - "@defichain/jellyfish-transaction-builder": "^2.45.4", - "@defichain/jellyfish-wallet": "^2.45.4", - "@defichain/testcontainers": "^2.45.4", - "@defichain/testing": "^2.45.4", + "@defichain/jellyfish-address": "^2.45.5", + "@defichain/jellyfish-api-core": "^2.45.5", + "@defichain/jellyfish-api-jsonrpc": "^2.45.5", + "@defichain/jellyfish-crypto": "^2.45.5", + "@defichain/jellyfish-json": "^2.45.5", + "@defichain/jellyfish-network": "^2.45.5", + "@defichain/jellyfish-testing": "^2.45.5", + "@defichain/jellyfish-transaction": "^2.45.5", + "@defichain/jellyfish-transaction-builder": "^2.45.5", + "@defichain/jellyfish-wallet": "^2.45.5", + "@defichain/testcontainers": "^2.45.5", + "@defichain/testing": "^2.45.5", "@nestjs/common": "^8.4.2", "@nestjs/config": "^2.0.0", "@nestjs/core": "^8.4.2", @@ -34,7 +34,7 @@ "cache-manager": "^3.6.1", "class-transformer": "^0.5.1", "class-validator": "^0.13.2", - "defichain": "^2.45.4", + "defichain": "^2.45.5", "graphology": "^0.24.1", "graphology-components": "^1.5.2", "graphology-simple-path": "^0.1.2", @@ -915,60 +915,60 @@ } }, "node_modules/@defichain/jellyfish-address": { - "version": "2.45.4", - "resolved": "https://registry.npmjs.org/@defichain/jellyfish-address/-/jellyfish-address-2.45.4.tgz", - "integrity": "sha512-5L+yFUoPrmA+v4iKSBVPOgc2XDtlkrYN20y8GF2yI7l2qoDLgT4meQ1eUVrcLy5koZUo0vrDz6XRkC2GnbjxMA==", + "version": "2.45.5", + "resolved": "https://registry.npmjs.org/@defichain/jellyfish-address/-/jellyfish-address-2.45.5.tgz", + "integrity": "sha512-ywZDiNP8kA4ZM0nOqxxawZr5bR6ooeiXP1Cm34uVChcM8+6xoOyi9imIRzzt3H5smexXac3XInBjeWfHMbkrQQ==", "dependencies": { - "@defichain/jellyfish-crypto": "2.45.4", - "@defichain/jellyfish-network": "2.45.4", - "@defichain/jellyfish-transaction": "2.45.4", + "@defichain/jellyfish-crypto": "2.45.5", + "@defichain/jellyfish-network": "2.45.5", + "@defichain/jellyfish-transaction": "2.45.5", "bech32": "^2.0.0", "bs58": "^4.0.1" }, "peerDependencies": { - "defichain": "^2.45.4" + "defichain": "^2.45.5" } }, "node_modules/@defichain/jellyfish-api-core": { - "version": "2.45.4", - "resolved": "https://registry.npmjs.org/@defichain/jellyfish-api-core/-/jellyfish-api-core-2.45.4.tgz", - "integrity": "sha512-bAU4MGy8a9hEXQ7z8KZbQ/uqfMEGi9yYYL9vi/0kz8yJg4HC7wvIqE2z1DABdnMoqbQRutixu7kEtkOZVXagCA==", + "version": "2.45.5", + "resolved": "https://registry.npmjs.org/@defichain/jellyfish-api-core/-/jellyfish-api-core-2.45.5.tgz", + "integrity": "sha512-/JMLyZmfRjiYN3A1uhU9rWqqZBqIyaZTVWnDZxPKjzmAjRsK74FjNI5ENgH9sLIyRQiTBoj6h0xjyyQpcDsENg==", "dependencies": { - "@defichain/jellyfish-json": "2.45.4" + "@defichain/jellyfish-json": "2.45.5" }, "peerDependencies": { - "defichain": "^2.45.4" + "defichain": "^2.45.5" } }, "node_modules/@defichain/jellyfish-api-jsonrpc": { - "version": "2.45.4", - "resolved": "https://registry.npmjs.org/@defichain/jellyfish-api-jsonrpc/-/jellyfish-api-jsonrpc-2.45.4.tgz", - "integrity": "sha512-e/kguACPjpHTUf0tnEm7rF1s6ft/6DgzDOTwO2HuPwHN2+H9yZHyjlA7nbFMdmRNAitQmZjESTEP+s+bP6rAyA==", + "version": "2.45.5", + "resolved": "https://registry.npmjs.org/@defichain/jellyfish-api-jsonrpc/-/jellyfish-api-jsonrpc-2.45.5.tgz", + "integrity": "sha512-FHCdJN2aqB5dw2//Au3SW8+FmWY1sWCiNWz4iTDC+XP5Sc0mzeGsqiUZwOEQR86ex+ZNRGcnCfeZf3y6daRuhw==", "dependencies": { - "@defichain/jellyfish-api-core": "2.45.4", + "@defichain/jellyfish-api-core": "2.45.5", "abort-controller": "^3.0.0", "cross-fetch": "^3.1.5" }, "peerDependencies": { - "defichain": "^2.45.4" + "defichain": "^2.45.5" } }, "node_modules/@defichain/jellyfish-buffer": { - "version": "2.45.4", - "resolved": "https://registry.npmjs.org/@defichain/jellyfish-buffer/-/jellyfish-buffer-2.45.4.tgz", - "integrity": "sha512-QfFbhnu6oTDgx5lI6KYtgpASxZkXyoEt+n5shvdpgIBsRxS8sRrF2/rjjQtvJDgSZbpSrFEbL2sw8UCKDDotyw==", + "version": "2.45.5", + "resolved": "https://registry.npmjs.org/@defichain/jellyfish-buffer/-/jellyfish-buffer-2.45.5.tgz", + "integrity": "sha512-8gxqZ3Z1aiqQ98dv2t5+LPP5YFzNwqk0sWKOaHDPRh7uR41rD7RHLDLcChYyYbgxqU8cbG8yCzrHsoS3hdfJ7g==", "dependencies": { "bignumber.js": "^9.0.2", "smart-buffer": "^4.2.0" }, "peerDependencies": { - "defichain": "^2.45.4" + "defichain": "^2.45.5" } }, "node_modules/@defichain/jellyfish-crypto": { - "version": "2.45.4", - "resolved": "https://registry.npmjs.org/@defichain/jellyfish-crypto/-/jellyfish-crypto-2.45.4.tgz", - "integrity": "sha512-8EvUksoMqKFnzGpNZIF1Y4803p6VopaZvOQYsUZA9zOajviVuH5G+un5heL7M+uNPhMndcxnaCV4d1S43deSqg==", + "version": "2.45.5", + "resolved": "https://registry.npmjs.org/@defichain/jellyfish-crypto/-/jellyfish-crypto-2.45.5.tgz", + "integrity": "sha512-oIiQ8GjCSpLxGzwATkyPMNeZafDVeRCmogh7blZsqfsO2H+4vjq6+r9d6hts5yKLM8DBQ7oxwhaTBLWY1raljQ==", "dependencies": { "bech32": "^2.0.0", "bip66": "^1.1.5", @@ -980,108 +980,108 @@ "wif": "^2.0.6" }, "peerDependencies": { - "defichain": "^2.45.4" + "defichain": "^2.45.5" } }, "node_modules/@defichain/jellyfish-json": { - "version": "2.45.4", - "resolved": "https://registry.npmjs.org/@defichain/jellyfish-json/-/jellyfish-json-2.45.4.tgz", - "integrity": "sha512-HfvLHjuyGyPmOrdj3UmH+8XS5NNFiP5pHbMglIfm+ldAwUbGGSludpdQlvz5F50qSdQJh2eNUE+VuWGCt7cTBA==", + "version": "2.45.5", + "resolved": "https://registry.npmjs.org/@defichain/jellyfish-json/-/jellyfish-json-2.45.5.tgz", + "integrity": "sha512-UOYLkwt9ykkwATtAgRo6fPTMcZctMfCJcr7s60xYv1uPWQBBWOUW5E41JxvPMEuOLBKejoe7mZC2ZSgew+LoFA==", "dependencies": { "@types/lossless-json": "^1.0.1", "bignumber.js": "^9.0.2", "lossless-json": "^1.0.5" }, "peerDependencies": { - "defichain": "^2.45.4" + "defichain": "^2.45.5" } }, "node_modules/@defichain/jellyfish-network": { - "version": "2.45.4", - "resolved": "https://registry.npmjs.org/@defichain/jellyfish-network/-/jellyfish-network-2.45.4.tgz", - "integrity": "sha512-+LOBL7nZwb9/yM4Fu6iM0ZNpLMA9YWa7cK9xI7DI8rMZfAQNFImHb3hzVQbTW/auVV1sYufxWWwE+35CKhw47w==", + "version": "2.45.5", + "resolved": "https://registry.npmjs.org/@defichain/jellyfish-network/-/jellyfish-network-2.45.5.tgz", + "integrity": "sha512-AMk+BIRC6G6dSVbk2wTWFHY3SFPkgTGu0F03FvZ0ipVvyvAvmi2sEra8tVspsKKdlgVAob3Vg+swJh7SKyloPg==", "dependencies": { "bignumber.js": "^9.0.2" }, "peerDependencies": { - "defichain": "^2.45.4" + "defichain": "^2.45.5" } }, "node_modules/@defichain/jellyfish-testing": { - "version": "2.45.4", - "resolved": "https://registry.npmjs.org/@defichain/jellyfish-testing/-/jellyfish-testing-2.45.4.tgz", - "integrity": "sha512-/r8vo3LY6BGunxNWXcK0QiykpUMOLNrzcnpnKYvMov+jLmEWm87vNnJf2UgImROOfVrw0SnDiPPvQrEbbHMzoQ==", - "dependencies": { - "@defichain/jellyfish-api-jsonrpc": "2.45.4", - "@defichain/jellyfish-crypto": "2.45.4", - "@defichain/jellyfish-network": "2.45.4", - "@defichain/testcontainers": "2.45.4", + "version": "2.45.5", + "resolved": "https://registry.npmjs.org/@defichain/jellyfish-testing/-/jellyfish-testing-2.45.5.tgz", + "integrity": "sha512-l9ORzbzn7gg2PTEuLB57Z6whNnAW6YPMa16ZAbBCOOEL2aUriS0xomtsUWStzLdzNh+WIZJWIeGD+zjxE0wSyw==", + "dependencies": { + "@defichain/jellyfish-api-jsonrpc": "2.45.5", + "@defichain/jellyfish-crypto": "2.45.5", + "@defichain/jellyfish-network": "2.45.5", + "@defichain/testcontainers": "2.45.5", "cross-fetch": "^3.1.5" }, "peerDependencies": { - "defichain": "^2.45.4" + "defichain": "^2.45.5" } }, "node_modules/@defichain/jellyfish-transaction": { - "version": "2.45.4", - "resolved": "https://registry.npmjs.org/@defichain/jellyfish-transaction/-/jellyfish-transaction-2.45.4.tgz", - "integrity": "sha512-zE1vmsZFYRlac/lAraFSauPDOJf4n69B4ob1X/n8kUipUzW6x/rH0kIRKNxRMoflH684f4uq8USlxT5WeNGbYw==", + "version": "2.45.5", + "resolved": "https://registry.npmjs.org/@defichain/jellyfish-transaction/-/jellyfish-transaction-2.45.5.tgz", + "integrity": "sha512-VJYsp0xGuqulXdBT5RtOkHELAUhUuSPHMiX7UWqowBoo4mGNyQW5JlbFoMRGELJcESo3HMmp561BlnEnS7k+vg==", "dependencies": { - "@defichain/jellyfish-buffer": "2.45.4", - "@defichain/jellyfish-crypto": "2.45.4" + "@defichain/jellyfish-buffer": "2.45.5", + "@defichain/jellyfish-crypto": "2.45.5" }, "peerDependencies": { - "defichain": "^2.45.4" + "defichain": "^2.45.5" } }, "node_modules/@defichain/jellyfish-transaction-builder": { - "version": "2.45.4", - "resolved": "https://registry.npmjs.org/@defichain/jellyfish-transaction-builder/-/jellyfish-transaction-builder-2.45.4.tgz", - "integrity": "sha512-QW9Qs8LZ2D5SYIcrcMF2urg8mq+GBRqzMnxfWALIDpUNjN0o9bCqfuXYv1W7yWJtvW1OW+ms7d9c4J9He9RacQ==", + "version": "2.45.5", + "resolved": "https://registry.npmjs.org/@defichain/jellyfish-transaction-builder/-/jellyfish-transaction-builder-2.45.5.tgz", + "integrity": "sha512-d7IwJCZtR/Nv5O0iBZyzeSf7kWYUosrOubF1tKgRaeLG3oNiXiJYCr5ndLuTu/kRyhuR5azcKP9Gs62Br5h6ZA==", "dependencies": { - "@defichain/jellyfish-crypto": "2.45.4", - "@defichain/jellyfish-transaction": "2.45.4", - "@defichain/jellyfish-transaction-signature": "2.45.4" + "@defichain/jellyfish-crypto": "2.45.5", + "@defichain/jellyfish-transaction": "2.45.5", + "@defichain/jellyfish-transaction-signature": "2.45.5" }, "peerDependencies": { - "defichain": "^2.45.4" + "defichain": "^2.45.5" } }, "node_modules/@defichain/jellyfish-transaction-signature": { - "version": "2.45.4", - "resolved": "https://registry.npmjs.org/@defichain/jellyfish-transaction-signature/-/jellyfish-transaction-signature-2.45.4.tgz", - "integrity": "sha512-glogs6Ma8TMfPX5D06IgTvhc8JtqNlHA1N0GpgoYg2XNKQ3/l1+EF0qaKCtWdjvaDM96I8dV4/F/nN2ITatZbg==", + "version": "2.45.5", + "resolved": "https://registry.npmjs.org/@defichain/jellyfish-transaction-signature/-/jellyfish-transaction-signature-2.45.5.tgz", + "integrity": "sha512-9oxawWikgys8/psLI/QFyTDSfzkGyyfTlGzLSivMsMlPSjeHMyh5PppF+ZWCYciN3/YGwhSnyNAeJHBxOtSjNA==", "dependencies": { - "@defichain/jellyfish-buffer": "2.45.4", - "@defichain/jellyfish-crypto": "2.45.4", - "@defichain/jellyfish-transaction": "2.45.4" + "@defichain/jellyfish-buffer": "2.45.5", + "@defichain/jellyfish-crypto": "2.45.5", + "@defichain/jellyfish-transaction": "2.45.5" }, "peerDependencies": { - "defichain": "^2.45.4" + "defichain": "^2.45.5" } }, "node_modules/@defichain/jellyfish-wallet": { - "version": "2.45.4", - "resolved": "https://registry.npmjs.org/@defichain/jellyfish-wallet/-/jellyfish-wallet-2.45.4.tgz", - "integrity": "sha512-Mk0YoPLFIZpyTjbjwsJssTSlrthSkwjUvstAa2yvksq1zQmhHe+AbYquM8AGKudVoApcRNxQwX5uuXf3X/yXsg==", + "version": "2.45.5", + "resolved": "https://registry.npmjs.org/@defichain/jellyfish-wallet/-/jellyfish-wallet-2.45.5.tgz", + "integrity": "sha512-Td63Y+ca3t4BnAfjhoAdd9UwDljVoK6cXIE8EYcnRdwg80/YDDOadRx4PMbEyu9t90Uq9P5WMPd5m6tsKPOCaw==", "dependencies": { - "@defichain/jellyfish-address": "2.45.4", - "@defichain/jellyfish-crypto": "2.45.4", - "@defichain/jellyfish-network": "2.45.4", - "@defichain/jellyfish-transaction": "2.45.4", - "@defichain/jellyfish-transaction-builder": "2.45.4", - "@defichain/jellyfish-transaction-signature": "2.45.4" + "@defichain/jellyfish-address": "2.45.5", + "@defichain/jellyfish-crypto": "2.45.5", + "@defichain/jellyfish-network": "2.45.5", + "@defichain/jellyfish-transaction": "2.45.5", + "@defichain/jellyfish-transaction-builder": "2.45.5", + "@defichain/jellyfish-transaction-signature": "2.45.5" }, "peerDependencies": { - "defichain": "^2.45.4" + "defichain": "^2.45.5" } }, "node_modules/@defichain/testcontainers": { - "version": "2.45.4", - "resolved": "https://registry.npmjs.org/@defichain/testcontainers/-/testcontainers-2.45.4.tgz", - "integrity": "sha512-H5HP7q7xVFXKJF4Js9MCia2npMQRBS1xTlMOtUibFDZMxY4AIK+g4UPJVP6sGGNlXXfuJ8NDWrh43LaiWQPjIQ==", + "version": "2.45.5", + "resolved": "https://registry.npmjs.org/@defichain/testcontainers/-/testcontainers-2.45.5.tgz", + "integrity": "sha512-jqybZN/eYchaXKN4QbQnlXzvhyqlQnux71ZfQezs/IdfSt86vUGcYpVHXQQbj8p4ntqf+fkGRSbd/oGFOhW26Q==", "dependencies": { - "@defichain/jellyfish-network": "2.45.4", + "@defichain/jellyfish-network": "2.45.5", "cross-fetch": "^3.1.5", "dockerode": "^3.3.1", "tar-fs": "^2.1.1", @@ -1089,7 +1089,7 @@ }, "peerDependencies": { "@types/tar-fs": "^2.0.1", - "defichain": "^2.45.4" + "defichain": "^2.45.5" } }, "node_modules/@defichain/testcontainers/node_modules/chownr": { @@ -1109,17 +1109,17 @@ } }, "node_modules/@defichain/testing": { - "version": "2.45.4", - "resolved": "https://registry.npmjs.org/@defichain/testing/-/testing-2.45.4.tgz", - "integrity": "sha512-MN8pNpCthfsnw5wgCfaWczOOzTEhP6fhvMv8Y24wCog2S3VYY9hQ4VSY4uA1HChHe9E9254zT9eW4jVy9XscLg==", + "version": "2.45.5", + "resolved": "https://registry.npmjs.org/@defichain/testing/-/testing-2.45.5.tgz", + "integrity": "sha512-spm7IM6gNldLu24FkGs14AVQ/TovHsTao624kGqTfkNOxKCDRIGBoAHSC5BuTGZcrdjF+X/iz9I8zNLOuB752g==", "dependencies": { - "@defichain/jellyfish-api-core": "2.45.4", - "@defichain/jellyfish-crypto": "2.45.4", - "@defichain/jellyfish-network": "2.45.4", - "@defichain/testcontainers": "2.45.4" + "@defichain/jellyfish-api-core": "2.45.5", + "@defichain/jellyfish-crypto": "2.45.5", + "@defichain/jellyfish-network": "2.45.5", + "@defichain/testcontainers": "2.45.5" }, "peerDependencies": { - "defichain": "^2.45.4" + "defichain": "^2.45.5" } }, "node_modules/@defichain/whale-api-client": { @@ -6139,9 +6139,9 @@ } }, "node_modules/defichain": { - "version": "2.45.4", - "resolved": "https://registry.npmjs.org/defichain/-/defichain-2.45.4.tgz", - "integrity": "sha512-kfIvWpNDiL79cAPeY4x4DjTHaj4QW2vGvMisCaYCxjXHSLpXCXg0oYrCEtat95yciE5oFUHZ9B9ThK4bvQ36rw==", + "version": "2.45.5", + "resolved": "https://registry.npmjs.org/defichain/-/defichain-2.45.5.tgz", + "integrity": "sha512-bEvR9z1VT1RB8PbHwYMA16pPikkbicmxjeQKDYGWNaCuHxovHwYyEkPbllsBBgf0HUXOa/rTIN3eCBOm3wQ9Cw==", "engines": { "node": ">=14.x" } @@ -16017,7 +16017,7 @@ "version": "0.0.0", "license": "MIT", "dependencies": { - "@defichain/jellyfish-api-jsonrpc": "^2.45.4", + "@defichain/jellyfish-api-jsonrpc": "^2.45.5", "abort-controller": "^3.0.0", "cross-fetch": "^3.1.5", "url-search-params-polyfill": "8.1.1" @@ -16028,8 +16028,8 @@ "version": "0.0.0", "license": "MIT", "dependencies": { - "@defichain/jellyfish-transaction-builder": "^2.45.4", - "@defichain/jellyfish-wallet": "^2.45.4", + "@defichain/jellyfish-transaction-builder": "^2.45.5", + "@defichain/jellyfish-wallet": "^2.45.5", "@defichain/whale-api-client": "0.0.0" } } @@ -16667,48 +16667,48 @@ } }, "@defichain/jellyfish-address": { - "version": "2.45.4", - "resolved": "https://registry.npmjs.org/@defichain/jellyfish-address/-/jellyfish-address-2.45.4.tgz", - "integrity": "sha512-5L+yFUoPrmA+v4iKSBVPOgc2XDtlkrYN20y8GF2yI7l2qoDLgT4meQ1eUVrcLy5koZUo0vrDz6XRkC2GnbjxMA==", + "version": "2.45.5", + "resolved": "https://registry.npmjs.org/@defichain/jellyfish-address/-/jellyfish-address-2.45.5.tgz", + "integrity": "sha512-ywZDiNP8kA4ZM0nOqxxawZr5bR6ooeiXP1Cm34uVChcM8+6xoOyi9imIRzzt3H5smexXac3XInBjeWfHMbkrQQ==", "requires": { - "@defichain/jellyfish-crypto": "2.45.4", - "@defichain/jellyfish-network": "2.45.4", - "@defichain/jellyfish-transaction": "2.45.4", + "@defichain/jellyfish-crypto": "2.45.5", + "@defichain/jellyfish-network": "2.45.5", + "@defichain/jellyfish-transaction": "2.45.5", "bech32": "^2.0.0", "bs58": "^4.0.1" } }, "@defichain/jellyfish-api-core": { - "version": "2.45.4", - "resolved": "https://registry.npmjs.org/@defichain/jellyfish-api-core/-/jellyfish-api-core-2.45.4.tgz", - "integrity": "sha512-bAU4MGy8a9hEXQ7z8KZbQ/uqfMEGi9yYYL9vi/0kz8yJg4HC7wvIqE2z1DABdnMoqbQRutixu7kEtkOZVXagCA==", + "version": "2.45.5", + "resolved": "https://registry.npmjs.org/@defichain/jellyfish-api-core/-/jellyfish-api-core-2.45.5.tgz", + "integrity": "sha512-/JMLyZmfRjiYN3A1uhU9rWqqZBqIyaZTVWnDZxPKjzmAjRsK74FjNI5ENgH9sLIyRQiTBoj6h0xjyyQpcDsENg==", "requires": { - "@defichain/jellyfish-json": "2.45.4" + "@defichain/jellyfish-json": "2.45.5" } }, "@defichain/jellyfish-api-jsonrpc": { - "version": "2.45.4", - "resolved": "https://registry.npmjs.org/@defichain/jellyfish-api-jsonrpc/-/jellyfish-api-jsonrpc-2.45.4.tgz", - "integrity": "sha512-e/kguACPjpHTUf0tnEm7rF1s6ft/6DgzDOTwO2HuPwHN2+H9yZHyjlA7nbFMdmRNAitQmZjESTEP+s+bP6rAyA==", + "version": "2.45.5", + "resolved": "https://registry.npmjs.org/@defichain/jellyfish-api-jsonrpc/-/jellyfish-api-jsonrpc-2.45.5.tgz", + "integrity": "sha512-FHCdJN2aqB5dw2//Au3SW8+FmWY1sWCiNWz4iTDC+XP5Sc0mzeGsqiUZwOEQR86ex+ZNRGcnCfeZf3y6daRuhw==", "requires": { - "@defichain/jellyfish-api-core": "2.45.4", + "@defichain/jellyfish-api-core": "2.45.5", "abort-controller": "^3.0.0", "cross-fetch": "^3.1.5" } }, "@defichain/jellyfish-buffer": { - "version": "2.45.4", - "resolved": "https://registry.npmjs.org/@defichain/jellyfish-buffer/-/jellyfish-buffer-2.45.4.tgz", - "integrity": "sha512-QfFbhnu6oTDgx5lI6KYtgpASxZkXyoEt+n5shvdpgIBsRxS8sRrF2/rjjQtvJDgSZbpSrFEbL2sw8UCKDDotyw==", + "version": "2.45.5", + "resolved": "https://registry.npmjs.org/@defichain/jellyfish-buffer/-/jellyfish-buffer-2.45.5.tgz", + "integrity": "sha512-8gxqZ3Z1aiqQ98dv2t5+LPP5YFzNwqk0sWKOaHDPRh7uR41rD7RHLDLcChYyYbgxqU8cbG8yCzrHsoS3hdfJ7g==", "requires": { "bignumber.js": "^9.0.2", "smart-buffer": "^4.2.0" } }, "@defichain/jellyfish-crypto": { - "version": "2.45.4", - "resolved": "https://registry.npmjs.org/@defichain/jellyfish-crypto/-/jellyfish-crypto-2.45.4.tgz", - "integrity": "sha512-8EvUksoMqKFnzGpNZIF1Y4803p6VopaZvOQYsUZA9zOajviVuH5G+un5heL7M+uNPhMndcxnaCV4d1S43deSqg==", + "version": "2.45.5", + "resolved": "https://registry.npmjs.org/@defichain/jellyfish-crypto/-/jellyfish-crypto-2.45.5.tgz", + "integrity": "sha512-oIiQ8GjCSpLxGzwATkyPMNeZafDVeRCmogh7blZsqfsO2H+4vjq6+r9d6hts5yKLM8DBQ7oxwhaTBLWY1raljQ==", "requires": { "bech32": "^2.0.0", "bip66": "^1.1.5", @@ -16721,9 +16721,9 @@ } }, "@defichain/jellyfish-json": { - "version": "2.45.4", - "resolved": "https://registry.npmjs.org/@defichain/jellyfish-json/-/jellyfish-json-2.45.4.tgz", - "integrity": "sha512-HfvLHjuyGyPmOrdj3UmH+8XS5NNFiP5pHbMglIfm+ldAwUbGGSludpdQlvz5F50qSdQJh2eNUE+VuWGCt7cTBA==", + "version": "2.45.5", + "resolved": "https://registry.npmjs.org/@defichain/jellyfish-json/-/jellyfish-json-2.45.5.tgz", + "integrity": "sha512-UOYLkwt9ykkwATtAgRo6fPTMcZctMfCJcr7s60xYv1uPWQBBWOUW5E41JxvPMEuOLBKejoe7mZC2ZSgew+LoFA==", "requires": { "@types/lossless-json": "^1.0.1", "bignumber.js": "^9.0.2", @@ -16731,73 +16731,73 @@ } }, "@defichain/jellyfish-network": { - "version": "2.45.4", - "resolved": "https://registry.npmjs.org/@defichain/jellyfish-network/-/jellyfish-network-2.45.4.tgz", - "integrity": "sha512-+LOBL7nZwb9/yM4Fu6iM0ZNpLMA9YWa7cK9xI7DI8rMZfAQNFImHb3hzVQbTW/auVV1sYufxWWwE+35CKhw47w==", + "version": "2.45.5", + "resolved": "https://registry.npmjs.org/@defichain/jellyfish-network/-/jellyfish-network-2.45.5.tgz", + "integrity": "sha512-AMk+BIRC6G6dSVbk2wTWFHY3SFPkgTGu0F03FvZ0ipVvyvAvmi2sEra8tVspsKKdlgVAob3Vg+swJh7SKyloPg==", "requires": { "bignumber.js": "^9.0.2" } }, "@defichain/jellyfish-testing": { - "version": "2.45.4", - "resolved": "https://registry.npmjs.org/@defichain/jellyfish-testing/-/jellyfish-testing-2.45.4.tgz", - "integrity": "sha512-/r8vo3LY6BGunxNWXcK0QiykpUMOLNrzcnpnKYvMov+jLmEWm87vNnJf2UgImROOfVrw0SnDiPPvQrEbbHMzoQ==", - "requires": { - "@defichain/jellyfish-api-jsonrpc": "2.45.4", - "@defichain/jellyfish-crypto": "2.45.4", - "@defichain/jellyfish-network": "2.45.4", - "@defichain/testcontainers": "2.45.4", + "version": "2.45.5", + "resolved": "https://registry.npmjs.org/@defichain/jellyfish-testing/-/jellyfish-testing-2.45.5.tgz", + "integrity": "sha512-l9ORzbzn7gg2PTEuLB57Z6whNnAW6YPMa16ZAbBCOOEL2aUriS0xomtsUWStzLdzNh+WIZJWIeGD+zjxE0wSyw==", + "requires": { + "@defichain/jellyfish-api-jsonrpc": "2.45.5", + "@defichain/jellyfish-crypto": "2.45.5", + "@defichain/jellyfish-network": "2.45.5", + "@defichain/testcontainers": "2.45.5", "cross-fetch": "^3.1.5" } }, "@defichain/jellyfish-transaction": { - "version": "2.45.4", - "resolved": "https://registry.npmjs.org/@defichain/jellyfish-transaction/-/jellyfish-transaction-2.45.4.tgz", - "integrity": "sha512-zE1vmsZFYRlac/lAraFSauPDOJf4n69B4ob1X/n8kUipUzW6x/rH0kIRKNxRMoflH684f4uq8USlxT5WeNGbYw==", + "version": "2.45.5", + "resolved": "https://registry.npmjs.org/@defichain/jellyfish-transaction/-/jellyfish-transaction-2.45.5.tgz", + "integrity": "sha512-VJYsp0xGuqulXdBT5RtOkHELAUhUuSPHMiX7UWqowBoo4mGNyQW5JlbFoMRGELJcESo3HMmp561BlnEnS7k+vg==", "requires": { - "@defichain/jellyfish-buffer": "2.45.4", - "@defichain/jellyfish-crypto": "2.45.4" + "@defichain/jellyfish-buffer": "2.45.5", + "@defichain/jellyfish-crypto": "2.45.5" } }, "@defichain/jellyfish-transaction-builder": { - "version": "2.45.4", - "resolved": "https://registry.npmjs.org/@defichain/jellyfish-transaction-builder/-/jellyfish-transaction-builder-2.45.4.tgz", - "integrity": "sha512-QW9Qs8LZ2D5SYIcrcMF2urg8mq+GBRqzMnxfWALIDpUNjN0o9bCqfuXYv1W7yWJtvW1OW+ms7d9c4J9He9RacQ==", + "version": "2.45.5", + "resolved": "https://registry.npmjs.org/@defichain/jellyfish-transaction-builder/-/jellyfish-transaction-builder-2.45.5.tgz", + "integrity": "sha512-d7IwJCZtR/Nv5O0iBZyzeSf7kWYUosrOubF1tKgRaeLG3oNiXiJYCr5ndLuTu/kRyhuR5azcKP9Gs62Br5h6ZA==", "requires": { - "@defichain/jellyfish-crypto": "2.45.4", - "@defichain/jellyfish-transaction": "2.45.4", - "@defichain/jellyfish-transaction-signature": "2.45.4" + "@defichain/jellyfish-crypto": "2.45.5", + "@defichain/jellyfish-transaction": "2.45.5", + "@defichain/jellyfish-transaction-signature": "2.45.5" } }, "@defichain/jellyfish-transaction-signature": { - "version": "2.45.4", - "resolved": "https://registry.npmjs.org/@defichain/jellyfish-transaction-signature/-/jellyfish-transaction-signature-2.45.4.tgz", - "integrity": "sha512-glogs6Ma8TMfPX5D06IgTvhc8JtqNlHA1N0GpgoYg2XNKQ3/l1+EF0qaKCtWdjvaDM96I8dV4/F/nN2ITatZbg==", + "version": "2.45.5", + "resolved": "https://registry.npmjs.org/@defichain/jellyfish-transaction-signature/-/jellyfish-transaction-signature-2.45.5.tgz", + "integrity": "sha512-9oxawWikgys8/psLI/QFyTDSfzkGyyfTlGzLSivMsMlPSjeHMyh5PppF+ZWCYciN3/YGwhSnyNAeJHBxOtSjNA==", "requires": { - "@defichain/jellyfish-buffer": "2.45.4", - "@defichain/jellyfish-crypto": "2.45.4", - "@defichain/jellyfish-transaction": "2.45.4" + "@defichain/jellyfish-buffer": "2.45.5", + "@defichain/jellyfish-crypto": "2.45.5", + "@defichain/jellyfish-transaction": "2.45.5" } }, "@defichain/jellyfish-wallet": { - "version": "2.45.4", - "resolved": "https://registry.npmjs.org/@defichain/jellyfish-wallet/-/jellyfish-wallet-2.45.4.tgz", - "integrity": "sha512-Mk0YoPLFIZpyTjbjwsJssTSlrthSkwjUvstAa2yvksq1zQmhHe+AbYquM8AGKudVoApcRNxQwX5uuXf3X/yXsg==", + "version": "2.45.5", + "resolved": "https://registry.npmjs.org/@defichain/jellyfish-wallet/-/jellyfish-wallet-2.45.5.tgz", + "integrity": "sha512-Td63Y+ca3t4BnAfjhoAdd9UwDljVoK6cXIE8EYcnRdwg80/YDDOadRx4PMbEyu9t90Uq9P5WMPd5m6tsKPOCaw==", "requires": { - "@defichain/jellyfish-address": "2.45.4", - "@defichain/jellyfish-crypto": "2.45.4", - "@defichain/jellyfish-network": "2.45.4", - "@defichain/jellyfish-transaction": "2.45.4", - "@defichain/jellyfish-transaction-builder": "2.45.4", - "@defichain/jellyfish-transaction-signature": "2.45.4" + "@defichain/jellyfish-address": "2.45.5", + "@defichain/jellyfish-crypto": "2.45.5", + "@defichain/jellyfish-network": "2.45.5", + "@defichain/jellyfish-transaction": "2.45.5", + "@defichain/jellyfish-transaction-builder": "2.45.5", + "@defichain/jellyfish-transaction-signature": "2.45.5" } }, "@defichain/testcontainers": { - "version": "2.45.4", - "resolved": "https://registry.npmjs.org/@defichain/testcontainers/-/testcontainers-2.45.4.tgz", - "integrity": "sha512-H5HP7q7xVFXKJF4Js9MCia2npMQRBS1xTlMOtUibFDZMxY4AIK+g4UPJVP6sGGNlXXfuJ8NDWrh43LaiWQPjIQ==", + "version": "2.45.5", + "resolved": "https://registry.npmjs.org/@defichain/testcontainers/-/testcontainers-2.45.5.tgz", + "integrity": "sha512-jqybZN/eYchaXKN4QbQnlXzvhyqlQnux71ZfQezs/IdfSt86vUGcYpVHXQQbj8p4ntqf+fkGRSbd/oGFOhW26Q==", "requires": { - "@defichain/jellyfish-network": "2.45.4", + "@defichain/jellyfish-network": "2.45.5", "cross-fetch": "^3.1.5", "dockerode": "^3.3.1", "tar-fs": "^2.1.1", @@ -16823,20 +16823,20 @@ } }, "@defichain/testing": { - "version": "2.45.4", - "resolved": "https://registry.npmjs.org/@defichain/testing/-/testing-2.45.4.tgz", - "integrity": "sha512-MN8pNpCthfsnw5wgCfaWczOOzTEhP6fhvMv8Y24wCog2S3VYY9hQ4VSY4uA1HChHe9E9254zT9eW4jVy9XscLg==", + "version": "2.45.5", + "resolved": "https://registry.npmjs.org/@defichain/testing/-/testing-2.45.5.tgz", + "integrity": "sha512-spm7IM6gNldLu24FkGs14AVQ/TovHsTao624kGqTfkNOxKCDRIGBoAHSC5BuTGZcrdjF+X/iz9I8zNLOuB752g==", "requires": { - "@defichain/jellyfish-api-core": "2.45.4", - "@defichain/jellyfish-crypto": "2.45.4", - "@defichain/jellyfish-network": "2.45.4", - "@defichain/testcontainers": "2.45.4" + "@defichain/jellyfish-api-core": "2.45.5", + "@defichain/jellyfish-crypto": "2.45.5", + "@defichain/jellyfish-network": "2.45.5", + "@defichain/testcontainers": "2.45.5" } }, "@defichain/whale-api-client": { "version": "file:packages/whale-api-client", "requires": { - "@defichain/jellyfish-api-jsonrpc": "^2.45.4", + "@defichain/jellyfish-api-jsonrpc": "^2.45.5", "abort-controller": "^3.0.0", "cross-fetch": "^3.1.5", "url-search-params-polyfill": "8.1.1" @@ -16845,8 +16845,8 @@ "@defichain/whale-api-wallet": { "version": "file:packages/whale-api-wallet", "requires": { - "@defichain/jellyfish-transaction-builder": "^2.45.4", - "@defichain/jellyfish-wallet": "^2.45.4", + "@defichain/jellyfish-transaction-builder": "^2.45.5", + "@defichain/jellyfish-wallet": "^2.45.5", "@defichain/whale-api-client": "0.0.0" } }, @@ -20869,9 +20869,9 @@ } }, "defichain": { - "version": "2.45.4", - "resolved": "https://registry.npmjs.org/defichain/-/defichain-2.45.4.tgz", - "integrity": "sha512-kfIvWpNDiL79cAPeY4x4DjTHaj4QW2vGvMisCaYCxjXHSLpXCXg0oYrCEtat95yciE5oFUHZ9B9ThK4bvQ36rw==" + "version": "2.45.5", + "resolved": "https://registry.npmjs.org/defichain/-/defichain-2.45.5.tgz", + "integrity": "sha512-bEvR9z1VT1RB8PbHwYMA16pPikkbicmxjeQKDYGWNaCuHxovHwYyEkPbllsBBgf0HUXOa/rTIN3eCBOm3wQ9Cw==" }, "define-properties": { "version": "1.1.3", diff --git a/package.json b/package.json index abc497247..4ed4a2cba 100644 --- a/package.json +++ b/package.json @@ -27,18 +27,18 @@ "packages:publish:latest": "lerna exec --no-private -- npm publish --tag latest --access public" }, "dependencies": { - "@defichain/jellyfish-address": "^2.45.4", - "@defichain/jellyfish-api-core": "^2.45.4", - "@defichain/jellyfish-api-jsonrpc": "^2.45.4", - "@defichain/jellyfish-crypto": "^2.45.4", - "@defichain/jellyfish-json": "^2.45.4", - "@defichain/jellyfish-network": "^2.45.4", - "@defichain/jellyfish-testing": "^2.45.4", - "@defichain/jellyfish-transaction": "^2.45.4", - "@defichain/jellyfish-transaction-builder": "^2.45.4", - "@defichain/jellyfish-wallet": "^2.45.4", - "@defichain/testcontainers": "^2.45.4", - "@defichain/testing": "^2.45.4", + "@defichain/jellyfish-address": "^2.45.5", + "@defichain/jellyfish-api-core": "^2.45.5", + "@defichain/jellyfish-api-jsonrpc": "^2.45.5", + "@defichain/jellyfish-crypto": "^2.45.5", + "@defichain/jellyfish-json": "^2.45.5", + "@defichain/jellyfish-network": "^2.45.5", + "@defichain/jellyfish-testing": "^2.45.5", + "@defichain/jellyfish-transaction": "^2.45.5", + "@defichain/jellyfish-transaction-builder": "^2.45.5", + "@defichain/jellyfish-wallet": "^2.45.5", + "@defichain/testcontainers": "^2.45.5", + "@defichain/testing": "^2.45.5", "@nestjs/common": "^8.4.2", "@nestjs/config": "^2.0.0", "@nestjs/core": "^8.4.2", @@ -50,7 +50,7 @@ "cache-manager": "^3.6.1", "class-transformer": "^0.5.1", "class-validator": "^0.13.2", - "defichain": "^2.45.4", + "defichain": "^2.45.5", "graphology": "^0.24.1", "graphology-components": "^1.5.2", "graphology-simple-path": "^0.1.2", diff --git a/packages/whale-api-client/__tests__/api/loan.collateral.test.ts b/packages/whale-api-client/__tests__/api/loan.collateral.test.ts index e854d2485..6a0dfe4f8 100644 --- a/packages/whale-api-client/__tests__/api/loan.collateral.test.ts +++ b/packages/whale-api-client/__tests__/api/loan.collateral.test.ts @@ -8,7 +8,6 @@ import { MasterNodeRegTestContainer } from '@defichain/testcontainers' const container = new MasterNodeRegTestContainer() const service = new StubService(container) const client = new StubWhaleApiClient(service) -let collateralTokenId1: string /* eslint-disable no-lone-blocks */ @@ -107,7 +106,7 @@ beforeAll(async () => { } { - collateralTokenId1 = await testing.rpc.loan.setCollateralToken({ + await testing.rpc.loan.setCollateralToken({ token: 'AAPL', factor: new BigNumber(0.1), fixedIntervalPriceId: 'AAPL/USD' @@ -244,7 +243,7 @@ describe('get', () => { it('should get collateral token by symbol', async () => { const data = await client.loan.getCollateralToken('AAPL') expect(data).toStrictEqual({ - tokenId: collateralTokenId1, + tokenId: expect.any(String), factor: '0.1', token: { collateralAddress: expect.any(String), @@ -271,7 +270,7 @@ describe('get', () => { symbolKey: expect.any(String), tradeable: true }, - activateAfterBlock: 110, + activateAfterBlock: 0, fixedIntervalPriceId: 'AAPL/USD', activePrice: { active: { diff --git a/packages/whale-api-client/package.json b/packages/whale-api-client/package.json index 9bf28a187..080d23ede 100644 --- a/packages/whale-api-client/package.json +++ b/packages/whale-api-client/package.json @@ -12,7 +12,7 @@ "build": "tsc" }, "dependencies": { - "@defichain/jellyfish-api-jsonrpc": "^2.45.4", + "@defichain/jellyfish-api-jsonrpc": "^2.45.5", "abort-controller": "^3.0.0", "cross-fetch": "^3.1.5", "url-search-params-polyfill": "8.1.1" diff --git a/packages/whale-api-client/src/api/address.ts b/packages/whale-api-client/src/api/address.ts index db39301e2..84f88800c 100644 --- a/packages/whale-api-client/src/api/address.ts +++ b/packages/whale-api-client/src/api/address.ts @@ -214,7 +214,7 @@ export interface AddressHistory { amounts: string[] block: { height: number - hash: string - time: number + hash?: string + time?: number } } diff --git a/packages/whale-api-wallet/package.json b/packages/whale-api-wallet/package.json index cf7cdba58..a423f96ca 100644 --- a/packages/whale-api-wallet/package.json +++ b/packages/whale-api-wallet/package.json @@ -12,8 +12,8 @@ "build": "tsc" }, "dependencies": { - "@defichain/jellyfish-transaction-builder": "^2.45.4", - "@defichain/jellyfish-wallet": "^2.45.4", + "@defichain/jellyfish-transaction-builder": "^2.45.5", + "@defichain/jellyfish-wallet": "^2.45.5", "@defichain/whale-api-client": "0.0.0" } } diff --git a/src/module.api/loan.collateral.controller.e2e.ts b/src/module.api/loan.collateral.controller.e2e.ts index f53abd1e3..4dc7f2687 100644 --- a/src/module.api/loan.collateral.controller.e2e.ts +++ b/src/module.api/loan.collateral.controller.e2e.ts @@ -10,8 +10,6 @@ const container = new LoanMasterNodeRegTestContainer() let app: NestFastifyApplication let controller: LoanController -let collateralTokenId1: string - beforeAll(async () => { await container.start() await container.waitForWalletCoinbaseMaturity() @@ -68,7 +66,7 @@ beforeAll(async () => { }) await testing.generate(1) - collateralTokenId1 = await testing.rpc.loan.setCollateralToken({ + await testing.rpc.loan.setCollateralToken({ token: 'AAPL', factor: new BigNumber(0.1), fixedIntervalPriceId: 'AAPL/USD' @@ -175,10 +173,10 @@ describe('get', () => { const data = await controller.getCollateral('AAPL') expect(data).toStrictEqual( { - tokenId: collateralTokenId1, + tokenId: expect.any(String), fixedIntervalPriceId: 'AAPL/USD', factor: '0.1', - activateAfterBlock: 108, + activateAfterBlock: 0, token: { collateralAddress: expect.any(String), creation: { diff --git a/src/module.api/loan.controller.ts b/src/module.api/loan.controller.ts index 03f8aeb6a..fc94e6e68 100644 --- a/src/module.api/loan.controller.ts +++ b/src/module.api/loan.controller.ts @@ -233,7 +233,7 @@ export class LoanController { tokenId: detail.tokenId, token: mapTokenData(id, tokenInfo), factor: detail.factor.toFixed(), - activateAfterBlock: detail?.activateAfterBlock?.toNumber() ?? 0, + activateAfterBlock: 0, fixedIntervalPriceId: detail.fixedIntervalPriceId, activePrice: await this.getActivePrice(detail.fixedIntervalPriceId) }