Commit graph

1436 commits

Author SHA1 Message Date
Romain Beaumont
fd1594b8fe fix it 2021-12-11 00:51:56 +00:00
u9g
65c2f09c9e
Lint 2021-12-10 19:48:22 -05:00
u9g
b36ad53c8c
add if to it inside describe 2021-12-10 19:46:08 -05:00
u9g
cd0294181c put if in a before 2021-12-10 16:45:43 -05:00
u9g
70e57c74a1 actually use template string 2021-12-10 16:35:22 -05:00
u9g
a5ddf69c4e put test into an it function 2021-12-10 16:28:37 -05:00
u9g
e9cc45b93e
wrong var again 2021-12-10 16:25:00 -05:00
u9g
fa26710d48
wrong var name 2021-12-10 16:22:48 -05:00
u9g
dd48a49246 use mcdata's version 2021-12-10 16:20:12 -05:00
u9g
f670fee5b4 fix test regex not triggering error prematurely 2021-12-10 15:46:22 -05:00
u9g
4739e093fc fix ci 2021-12-10 15:43:25 -05:00
u9g
984da6d5f1 lint 2021-12-10 15:41:58 -05:00
u9g
4e31772da5 fix fail-fast 2021-12-10 15:40:19 -05:00
u9g
404410db4c seperate lint and test step 2021-12-10 15:38:41 -05:00
u9g
10a33f034b dont pass env to tests 2021-12-10 15:32:52 -05:00
u9g
80f2e8b10e Update packetCycleTests to match other tests 2021-12-10 15:32:29 -05:00
u9g
c6410c474c update workflow the sequel 2021-12-10 15:02:13 -05:00
u9g
40efb76089 Update workflow 2021-12-10 15:01:23 -05:00
u9g
dfe88a4d8b accidently removed object.entries 2021-12-10 01:51:57 +00:00
u9g
e1a19758b3 move object creation up 2021-12-09 20:44:20 -05:00
u9g
3c373af99c dont user new operator 2021-12-09 20:41:03 -05:00
u9g
fc89f5eaa9 allow non-par-test to run for env mc version 2021-12-10 01:22:59 +00:00
Romain Beaumont
6095c81a34 Release 1.28.1 2021-12-02 23:27:41 +00:00
Romain Beaumont
ae9f884724 update electron in example 2021-12-02 23:26:46 +00:00
extremeheat
9501694f23
Fix microsoft auth error condition handling ()
nullish operator can return undefined which causes `if` to not trigger in profile check
2021-11-23 00:37:19 +01:00
Romain Beaumont
d0a504f5db
reorganize readme 2021-11-21 00:35:48 +01:00
extremeheat
8ff8ddcef5
Release 1.28.0 () 2021-11-14 13:00:53 +01:00
LiquidDevelopment
88003d065e
Fixed TypeScript error TS2769 when authenticating with mojang ()
Fixed TypeScript Typing Error TS2769: No overload matches this call.
2021-11-12 02:08:34 +01:00
extremeheat
2a2cc1ee92
Update prismarine-auth usage ()
* Update prismarine-auth usage

add new `deviceType` parameter

* remove whitespace

* use nintendo switch title id

* update examples
2021-11-12 02:08:18 +01:00
muchnameless
24a27df8a9
types(Client): fix events ()
Co-authored-by: Robert Hartmann <robert.hartmann.sb@gmail.com>
2021-11-07 14:43:37 +01:00
dependabot[bot]
0319071da6
Bump prismarine-nbt from 1.6.0 to 2.0.0 ()
Bumps [prismarine-nbt](https://github.com/prismarinejs/prismarine-nbt) from 1.6.0 to 2.0.0.
- [Release notes](https://github.com/prismarinejs/prismarine-nbt/releases)
- [Changelog](https://github.com/PrismarineJS/prismarine-nbt/blob/master/HISTORY.md)
- [Commits](https://github.com/prismarinejs/prismarine-nbt/compare/1.6.0...2.0.0)

---
updated-dependencies:
- dependency-name: prismarine-nbt
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-06 22:52:20 -04:00
usb
052f0e9d0e
add default for authTitle ()
* add default for authTitle

* lint

* make check undefined
2021-11-06 22:44:50 +01:00
Shayne Hartford
7240ac634f
Update ping function return type and make callback optional ()
* Update index.d.ts

* Update index.d.ts

* Update index.d.ts

* Update index.d.ts

* Update index.d.ts
2021-11-04 16:22:38 -04:00
Oscar
809c226c02
Fixed typo's () 2021-11-04 16:20:56 -04:00
Ghqst
9813670271
Add the ability to send a fake hostname in set_protocol ()
* Update index.d.ts to more closely match API.md

* Update to fit more in line with my API.md

Reorder things for my additions and reorders in API.md

* Update API.md from index.d.ts

* Explain writeChannel

* Clarified on all TODOs

* Add fakeHost to client options

* Reorder index.d.ts

* Fix me forgetting options.fakeHost instead of just fakeHost

Co-authored-by: u9g <43508353+u9g@users.noreply.github.com>
2021-11-04 16:19:32 -04:00
Romain Beaumont
78f68d1ff9 Release 1.27.2 2021-11-03 23:24:39 +00:00
Romain Beaumont
3603910c2a Revert "Revert "Implement Prismarine-Auth () ()""
This reverts commit bd307493cb.
2021-11-03 23:23:56 +00:00
Romain Beaumont
17c9e6e4d2 Release 1.27.1 2021-11-03 00:28:01 +00:00
Romain Beaumont
bd307493cb Revert "Implement Prismarine-Auth () ()"
This reverts commit f777f8b8f7.
2021-11-03 00:27:11 +00:00
Romain Beaumont
562389b465 Release 1.27.0 2021-11-03 00:15:52 +00:00
Romain Beaumont
f777f8b8f7
Implement Prismarine-Auth () () 2021-11-03 01:13:40 +01:00
IceTank
4dfe9e5f87
release-1.26.6 () 2021-11-01 17:28:23 +01:00
Ghqst
e305bbdf5c
Improve Typescript definitions and API.md ()
* Update index.d.ts to more closely match API.md

* Update to fit more in line with my API.md

Reorder things for my additions and reorders in API.md

* Update API.md from index.d.ts

* Explain writeChannel

* Clarified on all TODOs

Co-authored-by: u9g <43508353+u9g@users.noreply.github.com>
2021-09-24 17:07:14 +02:00
David Duarte
d9d01c8be4
Lazily generate serverKey () 2021-09-18 23:06:20 +02:00
u9g
3be9acad8c
Add ended to typings () 2021-09-12 16:42:31 +02:00
u9g
97b94e0593
Make all events have promiselike returns for async () 2021-09-03 18:54:32 +02:00
u9g
f0138a5068
Make examples work for 1.17.1 ()
* Make examples work for 1.17.1

* Update server_channel.js

* Update server_custom_channel.js

* Update server_helloworld.js

* Update mc.js
2021-09-03 18:52:47 +02:00
u9g
655ecbd2a9
Release 1.26.5 () 2021-08-23 14:49:21 -04:00
u9g
6138db569a
Update Online Mode Exceptions () 2021-08-23 14:46:45 -04:00
u9g
634eab0ba1
Release 1.26.4 () 2021-08-21 17:42:29 -04:00