Commit Graph

7 Commits

Author SHA1 Message Date
Timofey Gelazoniya afa2c3025f
fix(bedrock.js): resolve UNCONNECTED_PING formation issue
- Simplify UNCONNECTED_PING function
- Address an issue where certain servers, particularly those based on Pocketmine, were unresponsive to Unconnected Ping requests
2023-12-09 12:57:43 +03:00
Egornya 354fa212a6
fix(javaPing): default `protocolVersion` value 2023-12-08 16:16:30 +04:00
Egornya d9bf4cfb3f feat(pingJava): add `protocolVersion`
feat(types): `PingOptions` for Java

fix(types): type names

fix(types): type names
2023-12-08 16:04:35 +04:00
Timofey Gelazoniya 910184bf5f
refactoring and comments
fix(cli.js): refactor help and error handling logic for better readability and maintainability
feat(cli.js): add support for custom port and timeout options
fix(parallel.js): update list of hosts to ping
fix(bedrock.js): add comments and improve error handling in ping function
fix(java.js): add comments and improve error handling in ping function
fix(varint.js): add comments to functions and improve readability
fix(index.d.ts): export all functions from java.js and bedrock.js
fix(lib/bedrock.d.ts): update source link
fix(lib/java.d.ts): update source link
2023-10-22 21:32:00 +03:00
Timofey Gelazoniya 0fe675385f
bedrock.js refactoring, remove bytebuffer dependency
add parallel.js file to demonstrate parallel pinging of multiple Bedrock servers
2023-10-22 02:29:20 +03:00
Roman Alexander af78a184db
Fix ping never firing an error when timeout occurs. 2023-10-08 16:22:18 -04:00
Timofey Gelazoniya e9cd348935
initial commit 2022-01-10 23:21:47 +03:00