From 7e349bba8f72d94c8bbef6863dd1268b7685b803 Mon Sep 17 00:00:00 2001 From: Fabio Rigamonti <73019897+fabiorigam@users.noreply.github.com> Date: Mon, 7 Oct 2024 17:46:55 +0200 Subject: [PATCH] Remove unused packages (#1393) * fix: remove unused packages from core * fix: remove unused libraries * fix: add @ethereumjs/rlp --- packages/core/package.json | 3 --- packages/ethers-adapter/package.json | 3 --- yarn.lock | 23 ++++++++--------------- 3 files changed, 8 insertions(+), 21 deletions(-) diff --git a/packages/core/package.json b/packages/core/package.json index f62fce5f3..5091f6c63 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -43,14 +43,11 @@ "@scure/bip39": "^1.4.0", "@vechain/sdk-errors": "1.0.0-beta.32", "@vechain/sdk-logging": "1.0.0-beta.32", - "bignumber.js": "^9.1.2", - "blakejs": "^1.2.1", "ethers": "6.13.2", "fast-json-stable-stringify": "^2.1.0", "viem": "^2.21.14" }, "devDependencies": { - "@types/elliptic": "^6.4.18", "bignumber.js": "^9.1.2", "thor-devkit": "^2.0.9" } diff --git a/packages/ethers-adapter/package.json b/packages/ethers-adapter/package.json index 46c85d904..12f38b761 100644 --- a/packages/ethers-adapter/package.json +++ b/packages/ethers-adapter/package.json @@ -36,8 +36,5 @@ "@vechain/sdk-core": "1.0.0-beta.32", "@vechain/sdk-errors": "1.0.0-beta.32", "@vechain/sdk-network": "1.0.0-beta.32" - }, - "devDependencies": { - "@nomicfoundation/hardhat-ethers": "^3.0.8" } } \ No newline at end of file diff --git a/yarn.lock b/yarn.lock index 210f74ec2..e36008ffa 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2557,13 +2557,6 @@ dependencies: "@babel/types" "^7.20.7" -"@types/bn.js@*", "@types/bn.js@^5.1.0": - version "5.1.6" - resolved "https://registry.yarnpkg.com/@types/bn.js/-/bn.js-5.1.6.tgz#9ba818eec0c85e4d3c679518428afdf611d03203" - integrity sha512-Xh8vSwUeMKeYYrj3cX4lGQgFSF/N03r+tv4AiLl1SucqV+uTQpxRcnM8AkXKHwYP9ZPXOYXRr2KPXpVlIvqh9w== - dependencies: - "@types/node" "*" - "@types/bn.js@^4.11.3": version "4.11.6" resolved "https://registry.yarnpkg.com/@types/bn.js/-/bn.js-4.11.6.tgz#c306c70d9358aaea33cd4eda092a742b9505967c" @@ -2571,6 +2564,13 @@ dependencies: "@types/node" "*" +"@types/bn.js@^5.1.0": + version "5.1.6" + resolved "https://registry.yarnpkg.com/@types/bn.js/-/bn.js-5.1.6.tgz#9ba818eec0c85e4d3c679518428afdf611d03203" + integrity sha512-Xh8vSwUeMKeYYrj3cX4lGQgFSF/N03r+tv4AiLl1SucqV+uTQpxRcnM8AkXKHwYP9ZPXOYXRr2KPXpVlIvqh9w== + dependencies: + "@types/node" "*" + "@types/body-parser@*": version "1.19.5" resolved "https://registry.yarnpkg.com/@types/body-parser/-/body-parser-1.19.5.tgz#04ce9a3b677dc8bd681a17da1ab9835dc9d3ede4" @@ -2641,13 +2641,6 @@ "@types/node" "*" "@types/ssh2" "*" -"@types/elliptic@^6.4.18": - version "6.4.18" - resolved "https://registry.yarnpkg.com/@types/elliptic/-/elliptic-6.4.18.tgz#bc96e26e1ccccbabe8b6f0e409c85898635482e1" - integrity sha512-UseG6H5vjRiNpQvrhy4VF/JXdA3V/Fp5amvveaL+fs28BZ6xIKJBPnUPRlEaZpysD9MbpfaLi8lbl7PGUAkpWw== - dependencies: - "@types/bn.js" "*" - "@types/estree@1.0.6", "@types/estree@^1.0.0": version "1.0.6" resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.6.tgz#628effeeae2064a1b4e79f78e81d87b7e5fc7b50" @@ -3825,7 +3818,7 @@ blake3-wasm@^2.1.5: resolved "https://registry.yarnpkg.com/blake3-wasm/-/blake3-wasm-2.1.5.tgz#b22dbb84bc9419ed0159caa76af4b1b132e6ba52" integrity sha512-F1+K8EbfOZE49dtoPtmxUQrpXaBIl3ICvasLh+nJta0xkz+9kF/7uet9fLnwKqhDrmj6g+6K3Tw9yQPUg2ka5g== -blakejs@^1.1.0, blakejs@^1.1.2, blakejs@^1.2.1: +blakejs@^1.1.0, blakejs@^1.1.2: version "1.2.1" resolved "https://registry.yarnpkg.com/blakejs/-/blakejs-1.2.1.tgz#5057e4206eadb4a97f7c0b6e197a505042fc3814" integrity sha512-QXUSXI3QVc/gJME0dBpXrag1kbzOqCjCX8/b54ntNyW6sjtoqxqRk3LTmXzaJoh71zMsDCjM+47jS7XiwN/+fQ==