refactor metrics, fix deps

This commit is contained in:
wphan
2025-07-15 11:56:56 -07:00
parent d19e33e840
commit 74eb54c164
13 changed files with 2278 additions and 2924 deletions

View File

@@ -17,7 +17,7 @@
"@project-serum/anchor": "^0.19.1-beta.1",
"@project-serum/serum": "^0.13.65",
"@pythnetwork/hermes-client": "^1.3.1",
"@solana/web3.js": "1.95.2",
"@solana/web3.js": "1.98.0",
"@triton-one/yellowstone-grpc": "^0.3.0",
"@types/redis": "^4.0.11",
"@types/ws": "^8.5.8",
@@ -31,13 +31,11 @@
"express": "^4.18.2",
"ioredis": "^5.4.1",
"morgan": "^1.10.0",
"prom-client": "^15.0.0",
"redis": "^4.6.10",
"response-time": "^2.3.2",
"rpc-websockets": "^10.0.0",
"rxjs": "^7.8.1",
"socket.io-redis": "^6.1.1",
"typescript": "4.5.4",
"typescript": "5.4.5",
"undici": "^6.16.1",
"winston": "^3.8.1",
"ws": "^8.14.2"
@@ -46,13 +44,13 @@
"@jest/globals": "^29.3.1",
"@types/jest": "^29.4.0",
"@types/k6": "^0.45.0",
"@typescript-eslint/eslint-plugin": "^4.28.0",
"@typescript-eslint/parser": "^4.28.0",
"@typescript-eslint/eslint-plugin": "6.21.0",
"@typescript-eslint/parser": "6.21.0",
"esbuild": "^0.24.0",
"eslint": "^7.29.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0",
"husky": "^7.0.4",
"eslint": "8.57.0",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-prettier": "3.4.0",
"jest": "^29.7.0",
"k6": "^0.0.0",
"prettier": "^2.4.1",
@@ -60,6 +58,10 @@
"ts-jest": "^29.1.0",
"ts-node": "^10.9.1"
},
"resolutions": {
"rpc-websockets": "10.0.0",
"@solana/web3.js": "1.98.0"
},
"scripts": {
"prepare": "husky install",
"build": "node esbuild.config.js",
@@ -102,8 +104,5 @@
"^@drift-labs/sdk$": "<rootDir>/drift-common/protocol/sdk/lib/node/index.js",
"^@drift/common$": "<rootDir>/drift-common/common-ts/lib/index.js"
}
},
"resolutions": {
"rpc-websockets": "^10.0.0"
}
}