Commit Graph

43 Commits

Author SHA1 Message Date
Timofey Gelazoniya e3e7e293ed
fix: use vanilla ping format 2024-10-09 21:57:37 +03:00
Timofey Gelazoniya 88ad92e59d
chore: add example for single server ping 2024-10-09 21:55:01 +03:00
Timofey Gelazoniya 009f542c55
chore: bump version to 1.4.1 2024-03-31 02:02:08 +03:00
Timofey Gelazoniya 0b0bed4e71
docs: some clarifications in createUnconnectedPingFrame 2024-03-31 02:01:46 +03:00
Timofey Gelazoniya fa4c34d896
chore: bump version to 1.4.0 2024-03-31 01:56:43 +03:00
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 9d25aaf4ea
chore: bump version to 1.3.0 2024-03-30 16:42:44 +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
Timofey Gelazoniya afdaa9eb3e
chore(package.json): bump version to 1.2.2 2023-12-12 00:44:41 +03:00
Timofey Gelazoniya 435899309f
Merge pull request #4 from sya-ri/fix-types/optional
fix(types): Change options to optional
2023-12-12 00:44:20 +03:00
sya-ri 13e6b8c6ff
fix(types): Change options to optional 2023-12-09 22:38:37 +09:00
Timofey Gelazoniya d7256eabe7
chore(package.json): bump version to 1.2.1 2023-12-09 12:58:53 +03:00
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
Timofey Gelazoniya 6c297d0b8c
chore(package.json): bump version to 1.2.0 2023-12-08 15:22:53 +03:00
Timofey Gelazoniya 283e9b32c6
Merge pull request #3 from inotflying/patch-1
feat(pingJava): The ability to set a specific protocol version in the parameters. According to https://wiki.vg/Server_List_Ping#:~:text=0x00-,Protocol%20Version,-VarInt
2023-12-08 15:22:07 +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 9dace3748b
docs(README.md): improve clarity and grammar in the project description 2023-10-22 22:49:53 +03:00
Timofey Gelazoniya 0aa73655b1
fix(parallel.js): add break statement to stop iterating over results if a promise is rejected 2023-10-22 21:38:34 +03:00
Timofey Gelazoniya 78ca03b004
chore(package.json): update version from 1.1.0 to 1.1.1 2023-10-22 21:32:33 +03: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 915edbec9c
update version from 1.0.4 to 1.1.0 2023-10-22 02:29:54 +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
Timofey Gelazoniya c3158ac925
Merge pull request #2 from sya-ri/update-java-ping-response-type
Update outdated JavaPingResponse type
2023-10-22 00:39:14 +03:00
sya-ri 31c58ee637 Update outdated JavaPingResponse type 2023-10-22 06:04:58 +09:00
Timofey Gelazoniya 7cd3444a4f
Merge pull request #1 from romanalexander/fixes/bedrock-ping
Fix ping never firing an error when timeout occurs.
2023-10-09 02:21:00 +03:00
Roman Alexander af78a184db
Fix ping never firing an error when timeout occurs. 2023-10-08 16:22:18 -04:00
Timofey Gelazoniya 72041aa3f9
update readme 2022-08-23 16:22:42 +03:00
Timofey Gelazoniya e927748935
1.0.4 2022-01-11 02:47:40 +03: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 24a4880230
1.0.3 2022-01-11 02:36:21 +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 a9dd6ff417
docs: сhanged the module name according to the scope 2022-01-11 02:33:30 +03:00
Timofey Gelazoniya 19877019e1
1.0.2 2022-01-11 02:25:03 +03:00
Timofey Gelazoniya 9ae6e7c89d
docs: added clarification regarding CommonJS 2022-01-11 02:24:39 +03:00
Timofey Gelazoniya f369fa14b9
docs: add missing semicolon 2022-01-11 01:11:18 +03:00
Timofey Gelazoniya 8157543514
small revision of example 2022-01-11 01:09:13 +03:00
Timofey Gelazoniya 8c84925ef7
typo 2022-01-10 23:37:07 +03:00
Timofey Gelazoniya e5653c32a1
1.0.1 2022-01-10 23:33:04 +03:00
Timofey Gelazoniya 383fa55ceb
added repo link 2022-01-10 23:32:42 +03:00
Timofey Gelazoniya 1409882120
added installation instructions 2022-01-10 23:30:56 +03:00
Timofey Gelazoniya a31802fe11
change scope 2022-01-10 23:24:53 +03:00
Timofey Gelazoniya e9cd348935
initial commit 2022-01-10 23:21:47 +03:00