From e82d8fb6b7957e3a01689669b4fb0f55ca31947c Mon Sep 17 00:00:00 2001 From: mncdg <98714075+mncdg@users.noreply.github.com> Date: Fri, 15 Sep 2023 13:35:05 +0200 Subject: [PATCH] fix: bignumber issue (#121) Co-authored-by: Alexey Churkin <164254+alexeychr@users.noreply.github.com> --- package-lock.json | 40 +++++++++++++--------------------------- package.json | 6 +++--- 2 files changed, 16 insertions(+), 30 deletions(-) diff --git a/package-lock.json b/package-lock.json index 90452ff2..198f8ebe 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,22 +1,22 @@ { "name": "@debridge-finance/dln-taker", - "version": "2.13.4", + "version": "2.13.5", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@debridge-finance/dln-taker", - "version": "2.13.4", + "version": "2.13.5", "license": "GPL-3.0-only", "dependencies": { "@debridge-finance/dln-client": "7.0.1", - "@debridge-finance/legacy-dln-profitability": "1.3.1", + "@debridge-finance/legacy-dln-profitability": "1.3.2", "@debridge-finance/solana-utils": "4.1.0", "@protobuf-ts/plugin": "2.8.1", "@solana/web3.js": "1.66.2", "axios": "0.21.4", "axios-cache-adapter": "2.7.3", - "bignumber.js": "9.1.0", + "bignumber.js": "9.1.2", "bs58": "5.0.0", "dotenv": "16.0.3", "node-cache": "^5.1.2", @@ -544,14 +544,6 @@ "safe-buffer": "^5.0.1" } }, - "node_modules/@debridge-finance/dln-client/node_modules/bignumber.js": { - "version": "9.1.2", - "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.1.2.tgz", - "integrity": "sha512-2/mKyZH9K85bzOEfhXDBFZTGd1CTs+5IHpeFQo9luiBG7hghdC851Pj2WAhb6E3R6b9tZj/XKhbg4fum+Kepug==", - "engines": { - "node": "*" - } - }, "node_modules/@debridge-finance/dln-client/node_modules/bs58": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz", @@ -579,14 +571,16 @@ "integrity": "sha512-nPewA6m9mR3d6k7WkZ8N8zpTWfenFH3q9pA2PkuiZxINr9DKB2+40wEQf0ixn8VaGuJ78AB6iWOtStI+/4FKZQ==" }, "node_modules/@debridge-finance/legacy-dln-profitability": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/@debridge-finance/legacy-dln-profitability/-/legacy-dln-profitability-1.3.1.tgz", - "integrity": "sha512-PG4+lOYx9Eu6zOCR5Uq/OxxW/YJn97emfXeTZkGE9T8n9MxoN+Xz5kKgcgvc1PkWjhkC3YusrtSxkxvTvpsXAg==", + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/@debridge-finance/legacy-dln-profitability/-/legacy-dln-profitability-1.3.2.tgz", + "integrity": "sha512-RG15d9jXLfMDjBF0DPjZ+rMedXY3EsciSK3SOUrZ4aeg0luEjM3zwPHqdRft9QBTF+cXmplwLtUHMMncbEnsJw==", "dependencies": { "@debridge-finance/dln-client": "^7.0.0", - "bignumber.js": "9.1.2", "node-cache": "5.1.2", "web3": "4.0.1" + }, + "peerDependencies": { + "bignumber.js": "^9.1.0" } }, "node_modules/@debridge-finance/legacy-dln-profitability/node_modules/@noble/curves": { @@ -619,14 +613,6 @@ "@types/node": "*" } }, - "node_modules/@debridge-finance/legacy-dln-profitability/node_modules/bignumber.js": { - "version": "9.1.2", - "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.1.2.tgz", - "integrity": "sha512-2/mKyZH9K85bzOEfhXDBFZTGd1CTs+5IHpeFQo9luiBG7hghdC851Pj2WAhb6E3R6b9tZj/XKhbg4fum+Kepug==", - "engines": { - "node": "*" - } - }, "node_modules/@debridge-finance/legacy-dln-profitability/node_modules/ethereum-cryptography": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/ethereum-cryptography/-/ethereum-cryptography-2.1.2.tgz", @@ -3298,9 +3284,9 @@ } }, "node_modules/bignumber.js": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.1.0.tgz", - "integrity": "sha512-4LwHK4nfDOraBCtst+wOWIHbu1vhvAPJK8g8nROd4iuc3PSEjWif/qwbkh8jwCJz6yDBvtU4KPynETgrfh7y3A==", + "version": "9.1.2", + "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.1.2.tgz", + "integrity": "sha512-2/mKyZH9K85bzOEfhXDBFZTGd1CTs+5IHpeFQo9luiBG7hghdC851Pj2WAhb6E3R6b9tZj/XKhbg4fum+Kepug==", "engines": { "node": "*" } diff --git a/package.json b/package.json index d7fee22e..2dd630cc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@debridge-finance/dln-taker", - "version": "2.13.4", + "version": "2.13.5", "description": "DLN executor is the rule-based daemon service developed to automatically execute orders placed on the deSwap Liquidity Network (DLN) across supported blockchains", "license": "GPL-3.0-only", "author": "deBridge", @@ -33,13 +33,13 @@ "types": "./dist/index.d.ts", "dependencies": { "@debridge-finance/dln-client": "7.0.1", - "@debridge-finance/legacy-dln-profitability": "1.3.1", + "@debridge-finance/legacy-dln-profitability": "1.3.2", "@debridge-finance/solana-utils": "4.1.0", "@protobuf-ts/plugin": "2.8.1", "@solana/web3.js": "1.66.2", "axios": "0.21.4", "axios-cache-adapter": "2.7.3", - "bignumber.js": "9.1.0", + "bignumber.js": "9.1.2", "bs58": "5.0.0", "dotenv": "16.0.3", "node-cache": "^5.1.2",