From fabfdc2b4b3b80d6a19e7906d19237ce0d45d167 Mon Sep 17 00:00:00 2001 From: Afoxcute <58422036+Afoxcute@users.noreply.github.com> Date: Fri, 18 Oct 2024 14:54:21 +0100 Subject: [PATCH] fix: deps issue install this deps using yarn and use npm update to resolve all the deps issue --- package.json | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 4985473..2f98b30 100644 --- a/package.json +++ b/package.json @@ -8,11 +8,11 @@ }, "bin": "./src/index.js", "engines": { - "node": ">=16" + "node": "==18" }, "scripts": { "wizard": "node ./src/index.js", - "start": "node --no-deprecation ./src/index.js && node --no-deprecation ./src/bot/index.js", + "start": "node --no-deprecation ./src/index.js", "trade": "node --no-deprecation ./src/bot/index.js", "test": "xo && ava", "transaction": "node ./src/utils/transaction.js" @@ -24,10 +24,14 @@ "dependencies": { "@coral-xyz/anchor": "^0", "@jup-ag/core": "^4.0.0-beta.21", - "@solana/web3.js": "^1.66.1", + "@jup-ag/raydium-clmm-sdk": "^1.0.6", + "@raydium-io/raydium-sdk": "^1.3.1-beta.58", + "@solana/web3.js": "^1.87.6", "asciichart": "^1.5.25", "axios": "^0.27.2", + "bn.js": "^5.2.1", "bs58": "^5.0.0", + "buffer": "^6.0.3", "cliui": "^7.0.4", "express": "4.17.1", "gradient-string": "^2.0.1", @@ -47,6 +51,7 @@ "ora-classic": "^5.4.2", "promise-retry": "^2.0.1", "react": "^17.0.2", + "rpc-websockets": "^7.5.1", "strip-ansi": "^7.0.1" }, "ava": { @@ -83,6 +88,9 @@ "typescript": "^4.6.4" }, "resolutions": { - "@solana/buffer-layout": "4.0.0" + "@solana/buffer-layout": "4.0.0", + "bn.js": "^5.2.1", + "@solana/web3.js/bn.js": "^5.2.1", + "@jup-ag/core/bn.js": "^5.2.1" } }