Commit graph

66 commits

Author SHA1 Message Date
Tamás Papp
14daa2d95a
1.21.93 support (#623) 2025-07-04 16:47:12 -04:00
LunaryNet2
b6b0bcdd70
Update index.d.ts (#596) 2025-03-31 20:13:27 -04:00
Tamás Papp
eeb5e47e35
1.21.60 support (#570)
* Add support for ItemRegistryPacket (for shield item ID)

* simplify

* lint

* internal test

* update start_game handling

* test: capture events rejections

---------

Co-authored-by: extremeheat <extreme@protonmail.ch>
2025-02-11 21:42:31 -05:00
extremeheat
38dc5a2561
Fix Server maxPlayers option (#565) 2025-01-18 02:51:08 -05:00
extremeheat
dd5c4de4f2
1.21.42 2024-10-24 22:46:20 -04:00
poekcosimo
fc30c96135
1.21.30 support (#527) 2024-09-20 03:50:40 -04:00
Tamás Papp
5d3986924d
Support 1.21.2, and add missing versions to type definitions (#510)
* Add missing versions to type definitions

* Add support for 1.21.2

* Add 1.21.2 to README
2024-07-10 20:58:47 -04:00
Kaaaaii
16e15d80a5
Fix typo in types (#501)
`ClientStatus.Disconected` is now `ClientStatus.Disconnected`
2024-05-31 10:20:59 -04:00
GameParrot
842e66266f
Add flow and deviceType options to relay (#464)
* add flow and deviceType

for when authTitle is changed

* Update index.d.ts

---------

Co-authored-by: extremeheat <extreme@protonmail.ch>
2024-01-02 14:37:32 -05:00
Tamas Papp
2ecf01d63e
Add 1.20.30 and 1.20.40 to index.d.ts (#461) 2023-10-26 22:41:43 -04:00
kotinash
2c00402a9e
index.d.ts: Fixed a typo (#441) 2023-08-09 20:26:55 -04:00
MrSterdy
50cd489f6e
Mark listen and close as async (#440) 2023-08-05 15:33:25 +02:00
MrSterdy
1414420574
Stop disconnecting when upstream packet deserialization fails (#435)
* Remove disconnect on upstream packet deserialization error

* Add disconnectOnParseError option

* Rename disconnectOnParseError option to omitParseErrors

* Update index.d.ts

* Update index.d.ts

---------

Co-authored-by: extremeheat <extreme@protonmail.ch>
2023-07-29 10:14:10 +02:00
Tamas Papp
010d57e78a
Add 1.20.0 and 1.20.10 to index.d.ts (#431) 2023-07-19 12:59:38 -04:00
Visual1mpact
0b7f3e037d
types: Fix Relay authTitle type (#418)
authType is a string. It was corrected in commit 8507286895 but this particular change was overlooked.

This solves the error:

node_modules/bedrock-protocol/index.d.ts:177:17 - error TS2304: Cannot find name 'title'.

177     authTitle?: title | string
                    ~~~~~


Found 1 error in node_modules/bedrock-protocol/index.d.ts:177
2023-06-13 09:42:31 -04:00
extremeheat
8507286895
Update index.d.ts
inline versions list for helper-bot workflow
2023-04-30 19:21:11 -04:00
Hitesh
a8f1349c83
Update type definitions (#391)
* Better Types

* Fixed version

got that issue/information from U9G

Co-Authored-By: u9g <git@u9g.dev>

* removing undocumented type

---------

Co-authored-by: u9g <git@u9g.dev>
2023-04-30 19:19:04 -04:00
extremeheat
55cac72af1
Release 3.27.1 (#380) 2023-04-22 17:51:07 -04:00
extremeheat
9cda78f9b5
Release 3.27.0 (#376) 2023-04-21 19:05:28 -04:00
Stephen O'Connor
92b5e42bb5
Update index.d.ts with optionals (#373) 2023-04-19 17:27:37 -04:00
extremeheat
75c1447bb6
Release 3.26.0 (#358)
* Update package.json

* Update index.d.ts

* Update HISTORY.md
2023-03-15 01:11:49 -04:00
Hitesh
9848398714
types: add some type hints (#354) 2023-03-15 00:38:28 -04:00
Stephen O'Connor
3fd70f97c9
Support 1.19.63 (#352)
* README - bump version

* Update index.d.ts

* Update options.js

---------

Co-authored-by: extremeheat <extreme@protonmail.ch>
2023-02-24 18:07:04 -05:00
Tamas Papp
2c78372933
1.19.62 support (#345) 2023-02-17 16:44:27 -05:00
extremeheat
fada3aa12a
1.19.60 support (#340) 2023-02-08 22:05:27 -05:00
extremeheat
5e395c5aa4
Add 1.19.51 to types 2023-02-04 14:42:07 -05:00
Jarco
d06386e0f3
added onMsaCode to ClientOptions (#335)
* added onMsaCode to ClientOptions

* Import the type instead of declaring it
2023-01-20 22:19:20 -05:00
Jarco
d7345ed732
add profilesFolder to ClientOptions (#331) 2022-12-29 18:07:02 +01:00
William
74f2efa7a4
1.19.50 support (#324) 2022-12-02 14:34:28 -05:00
Black Hat
d66094a4fd
Add 1.19.41 support to readme (#322)
Co-authored-by: extremeheat <extreme@protonmail.ch>
2022-11-29 12:19:30 -05:00
extremeheat
e7f8357a36
Support 1.19.40 (#314) 2022-10-29 02:25:31 -04:00
Miner
58724960ba
types: Fix missing field in ServerAdvertisement (#313) 2022-10-27 17:41:31 -04:00
extremeheat
616c587f14
Add 1.19.31 to types 2022-10-22 10:17:15 -04:00
extremeheat
7c716b9232
1.19.30 support (#286) 2022-09-24 16:47:03 -04:00
extremeheat
99153c2de2
Add option for port redirection, fix Realm handling (#282)
* Port Redirect Fix - Only Redirect on Unspecified Port

* Update to use `followPort` option

Co-authored-by: Stephen O'Connor <oconnor39@gmail.com>
2022-09-22 15:14:49 -04:00
extremeheat
9d717744b6
Add 1.19.22 to types 2022-09-01 15:37:45 -04:00
extremeheat
ffe0fb42b5
Update index.d.ts 2022-08-25 14:05:14 -04:00
extremeheat
c395f0b05b
relay: Add multi-user login support (#258)
* relay: add multi-user login support

* relay: Fix close handling, connect username
2022-08-24 00:41:12 -04:00
extremeheat
d221da7613
Update version list for 1.19.11
Update index.d.ts
2022-07-26 21:05:51 -04:00
extremeheat
1542ab63d1
Release 3.15.0 (#236)
* Update options.js

* Update package.json

* Update README.md

* Update index.d.ts

* Update HISTORY.md
2022-07-18 22:03:01 -04:00
extremeheat
19bc2519e7
types: add 1.19.2 to versions
Add 1.19.2 to versions
2022-06-22 14:57:33 -04:00
ATXLtheAxolotl
6e73a75138
Add Realm support to Relay (#226)
* add(): realm relay

* fix(): Non-async solution to realm proxy

* fix(): follow the guidlines of the strict linter

* fix(): Use Client constructor instead of createClient function

* types(): Update index.d.ts to include realms option in destination
2022-06-17 05:55:50 -04:00
extremeheat
f4bd49dca0
Add 1.18.31 to types 2022-04-30 19:25:33 -04:00
extremeheat
f2d39a071b
Update index.d.ts 2022-04-21 22:28:38 -04:00
LucienHH
cde600d51e
Implement Realm joining (#193)
* Pass client options to ping

* Implement RealmAPI to auth

* Add Realm join example

* Update package.json

* Update README.md

* Update index.d.ts

* Show one option, remove listener

* Fix wording

* Explain options

* Optional fields

* Fix typo

* Moved retry ad host/port extraction to prealms

* Add docs

* Fix lint

* Depend on prealms release

Co-authored-by: LucienHH <Lucien.holloway@aprox.co.uk>
2022-04-09 13:11:12 -04:00
extremeheat
817fd918ce
Ignore unconnected packets, remove babel (#185)
* Ignore unconnected packets, remove babel

* re-enable proxy test on ubuntu runner
2022-02-21 10:35:24 +01:00
extremeheat
957c83995a
1.18.11 (#179)
* Fix js raknet client disconnection

* 1.18.11
2022-02-09 12:15:35 -05:00
extremeheat
14af5fe04f
Switch to sync zlib with 512k chunks, adjustable compression level (#174)
* Switch to sync zlib with 512k chunks, adjustable compression level

* update serverPlayer
2022-02-04 20:30:21 -05:00
extremeheat
a1698d712f relay: fix empty chunk loading issues, make chunk caching optional 2022-01-03 11:11:07 -05:00
extremeheat
bb2179a8cb
Fix port collision caused by race condition in tests (#164)
* Fix port collision caused by race condition in tests

The ipv6 port is not randomized, if the previous ports for the last test didn't get freed in time, the server can crash on launch

* try again

* Update index.d.ts

* Update genPacketDumps.js
2021-12-15 23:55:32 -05:00