Merge pull request #8 from drift-labs/ws-server

Ws server
This commit is contained in:
Nour Alharithi
2023-10-27 11:51:30 -07:00
committed by GitHub
13 changed files with 1257 additions and 489 deletions

View File

@@ -13,6 +13,7 @@
"@project-serum/anchor": "^0.19.1-beta.1",
"@project-serum/serum": "^0.13.65",
"@solana/web3.js": "^1.22.0",
"@types/redis": "^4.0.11",
"async-mutex": "^0.4.0",
"commander": "^9.4.0",
"compression": "^1.7.4",
@@ -20,8 +21,13 @@
"dotenv": "^10.0.0",
"express": "^4.18.2",
"express-rate-limit": "^6.7.0",
"ioredis": "^5.3.2",
"morgan": "^1.10.0",
"redis": "^4.6.10",
"response-time": "^2.3.2",
"socket.io": "^4.7.2",
"socket.io-client": "^4.7.2",
"socket.io-redis": "^6.1.1",
"typescript": "4.5.4",
"winston": "^3.8.1"
},
@@ -43,6 +49,8 @@
"clean": "rm -rf lib",
"start": "node lib/index.js",
"dev": "ts-node src/index.ts",
"ws-publish": "ts-node src/wsPublish.ts",
"manager": "ts-node src/wsConnectionManager.ts",
"dev:inspect": "yarn build && node --inspect ./lib/index.js",
"dev:debug": "yarn build && node --inspect-brk --inspect=2230 ./lib/index.js",
"example": "ts-node example/client.ts",
@@ -50,6 +58,7 @@
"prettify": "prettier --check './src/**/*.ts'",
"prettify:fix": "prettier --write './src/**/*.ts'",
"lint": "eslint . --ext ts --quiet",
"lint:fix": "eslint . --ext ts --fix"
"lint:fix": "eslint . --ext ts --fix",
"playground": "ts-node src/playground.ts"
}
}