Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
@colyseus/loadtest
Advanced tools
Utility tool for load testing Colyseus.
Install the tool globally in your system.
npm install -g @colyseus/loadtest
$ colyseus-loadtest --help
Options:
--endpoint: WebSocket endpoint for all connections (default: ws://localhost:2567)
--room: room handler name
--numClients: number of connections to open
Example:
colyseus-loadtest example/bot.ts --endpoint ws://localhost:2567 --room state_handler
You may use either JavaScript or TypeScript for scripting your connections:
See below the methods that are called automatically, if implemented. (They are all optional.)
requestJoinOptions (i)
Should return a plain object containing the options for client connection i
to join the room provided as an argument.
onJoin ()
Triggered when the client successfully joins in the room.
onMessage (message)
Triggered when the server sends a message to this client, or broadcasts to everyone.
onStateChange (state)
Triggered when the room state changes in the server-side.
onLeave (Room)
Triggered when the client leaves the room.
onError (err)
Triggered whenever an error has occurred in the room handler.
MIT.
FAQs
Utility tool for load testing Colyseus.
The npm package @colyseus/loadtest receives a total of 2,301 weekly downloads. As such, @colyseus/loadtest popularity was classified as popular.
We found that @colyseus/loadtest demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.