Commit Graph

29 Commits

Author SHA1 Message Date
inotflying 8bebab258b fix(types): type names 2023-12-08 15:41:24 +04:00
Egornya d4176df6c7
feat(types): `PingOptions` for Java 2023-12-08 15:36:53 +04:00
Egornya da92b62ccd
feat(pingJava): add `protocolVersion` 2023-12-08 15:26:10 +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