Commit graph

49 commits

Author SHA1 Message Date
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
extremeheat
e3e553bf91
index.d.ts: update version enum 2021-12-07 23:23:53 -05:00
extremeheat
b0856e0cc7
update docs and error handling (#155) 2021-11-28 00:57:41 -05:00
extremeheat
75bf22d619
1.17.40 update (#150)
* 1.17.40

* Update mcdata to 2.96.0

Co-authored-by: Romain Beaumont <romain.rom1@gmail.com>
2021-11-07 12:47:45 +01:00
extremeheat
10feeea4ca
Release 3.6.0 (#141) 2021-10-04 13:27:38 -04:00
extremeheat
f530677245
Option to use JS implementation of RakNet, fix 1.17.10 issue (#110)
* Default to JS implementation of RakNet

* update server also, adjust test timeout based on number of versions

* 1.17.10: fix texture pack issue, keep raknet default at C++

* force_build
2021-07-17 05:30:13 -04:00
JammSpread
90d12fa696
fix: type definition errors found related to ServerAdvertisements. (#103)
* fix: online/max player count type definition.

Fixes the type definition of the online/max players to be an immediate
child of the ServerAdvertisement class so that it can be accessed
properly on TypeScript.

Signed-off-by: JK <u.sslooky@gmail.com>

* feat: implement advertisementFn type definition.

Adds the type definition for the 'advertisementFn' server option.

Signed-off-by: JK <u.sslooky@gmail.com>

* fix: minor advertisementFn typo in API docs.

Fixes a minor typo found in the API docs that misspells
'advertisementFn' as 'advertismentFn'.

Signed-off-by: JK <u.sslooky@gmail.com>

* feat: add skipPing to the API docs.

Adds the 'skipPing' client option to the API docs.

Signed-off-by: JK <u.sslooky@gmail.com>

* feat: add connectTimeout type definition.

Adds the 'connectTimeout' client option to the package type definitions.

Signed-off-by: JK <u.sslooky@gmail.com>
2021-06-11 18:45:54 -04:00
extremeheat
5f0adfab76
1.17 support (#99) 2021-06-09 17:26:44 -04:00
u9g
d02eb6c041
update connect version based on ping response & fix typings (#101)
* update connect ver based on ping resp& add typings

* Fixed and added extremeheat suggestion

* Update API.md

* Update createClient.js
2021-06-09 13:40:45 -04:00
JammSpread
e16e8381e5
fix: ping types. (#100)
* fix: ping types.

Sets the TypeScript definition file to include more accurate types for
the ping function.

Signed-off-by: JK <u.sslooky@gmail.com>

* fix: changed usage.

Reverts the usage to the previous method of entering in ping options.
This makes it so that the host and port can once again be entered by
their order alone.

Signed-off-by: JK <u.sslooky@gmail.com>
2021-06-08 22:57:55 -04:00
extremeheat
700ee08e11 correct type definitions 2021-06-04 19:52:09 -04:00
extremeheat
5af828bcb7 Update types, add authTitle option to relay, client renderDistance -> viewDistance 2021-06-01 20:10:59 -04:00
extremeheat
76febb29f1
Support xbox title + live.com auth (#86)
* preliminary support for xbox title + live.com auth

* cleanup

* export title list

* add to api docs

* Verify that minecraft token has titleId if did titleAuth

* Minor changes
2021-05-19 09:53:55 -04:00
u9g
39659cf48b
rename hostname to host (#74) 2021-04-23 03:23:43 -04:00
extremeheat
b60fd53ad5
Add relay proxy to tests, docs, fix offline (#71)
* Add relay proxy to tests, docs

* Add proxy example, type defs

* update docs

* proxy: forward login packet, fix offline
2021-04-21 06:22:51 -04:00
extremeheat
1538c3fc03 Add server MOTD options 2021-04-20 09:55:57 -04:00
extremeheat
999bfd3569
Enforce server auth, ping on createClient, update docs (#68)
* Add createServer, ping on createClient, update README

* fix createClient keepalive

* resort readme, fix node 14

* Enforce auth on server connections, fix close/connect issues

* add type definitions, update readme, docs

* Wait some time before closing connection, update docs

* wait for server close in tests, fix race bug

* export a ping api

* Rename api.md to API.md

* add ping example
2021-04-18 09:19:59 -04:00