Commit Graph

9 Commits

Author SHA1 Message Date
Timofey Gelazoniya 296294ca96
refactor!: changes in bedrock protocol code
BREAKING CHANGE: new bedrock ping response format
2024-03-31 01:56:03 +03:00
Timofey Gelazoniya c735604c38
fix: #5 add gameVersion field for Bedrock
Add gameVersion field in BedrockPingResponse

Closes: #5
2024-03-30 16:41:42 +03:00
sya-ri 13e6b8c6ff
fix(types): Change options to optional 2023-12-09 22:38:37 +09: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
sya-ri 31c58ee637 Update outdated JavaPingResponse type 2023-10-22 06:04:58 +09:00
Timofey Gelazoniya 1249fa7632
docs(docs): сhanged the module name according to the scope, added links to src files 2022-01-11 02:47:14 +03:00
Timofey Gelazoniya 9827dd60e2
style(types): the PingOptions type was removed from index.d.ts file
The PingOptions type was moved from index.d.ts to lib/bedrock.d.ts
2022-01-11 02:36:01 +03:00
Timofey Gelazoniya e9cd348935
initial commit 2022-01-10 23:21:47 +03:00