Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Websockets on the http rest port #436

Draft
wants to merge 11 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
fixing deps
  • Loading branch information
pragmaxim committed Nov 25, 2024
commit 49f56d96f4b3c3dfb6ccd4f936da5be243f6f427
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -5,14 +5,12 @@
"@alephium/cli": "workspace:*",
"@alephium/web3": "workspace:*",
"@alephium/web3-test": "workspace:*",
"@alephium/web3-wallet": "workspace:*",
"ws": "^8.5.4"
"@alephium/web3-wallet": "workspace:*"
},
"devDependencies": {
"@swc/core": "^1.4.1",
"@types/jest": "^28.1.8",
"@types/node": "^16.18.23",
"@types/ws": "^8.5.4",
"bip39": "3.0.4",
"eslint": "^8.37.0",
"eslint-plugin-jest": "^27.2.1",
2 changes: 2 additions & 0 deletions packages/web3/package.json
Original file line number Diff line number Diff line change
@@ -46,6 +46,7 @@
},
"type": "commonjs",
"dependencies": {
"ws": "^8.5.4",
"@noble/secp256k1": "1.7.1",
"base-x": "4.0.0",
"bignumber.js": "^9.1.1",
@@ -67,6 +68,7 @@
"@types/mock-fs": "^4.13.1",
"@types/node": "^16.18.23",
"@types/rewire": "^2.5.28",
"@types/ws": "^8.5.4",
"@typescript-eslint/eslint-plugin": "^5.57.0",
"@typescript-eslint/parser": "^5.57.0",
"clean-webpack-plugin": "4.0.0",
2 changes: 1 addition & 1 deletion packages/web3/src/ws/websocket-client.ts
Original file line number Diff line number Diff line change
@@ -70,4 +70,4 @@ export class WebSocketClient extends EventEmitter {
close() {
this.ws.close();
}
}
}
Loading
Oops, something went wrong.