Commit graph

431 commits

Author SHA1 Message Date
Romain Beaumont
78aa3d1b6a Release 1.22.0 2020-12-28 01:45:46 +00:00
Romain Beaumont
2843f60e44 Release 1.21.0 2020-12-12 01:15:31 +00:00
Jordan Jones
5d723e9a04
Integrate Authentication for Microsoft Accounts (#788)
* add node-fetch and @xboxreplay/xboxlive-auth for microsoft/xbox auth

* decide which authentication to use based on options;

if options.auth === 'microsoft' then use microsoft/xbox auth, else use Yggdrasil until they kill that.

* push working auth

* commentary

* eslint does not like me :(

* User-Agent works just fine without version

* linting = 95% of development

* revert changes to encrypt.js

* set haveCredentials to whether or not we have a token.

Technically this will always be true so...?

* eslint

* mod+create: api + example

* mod: readme.md
2020-12-11 21:30:48 +01:00
Romain Beaumont
47d96936f5
Release 1.20.2 2020-12-06 18:49:45 +01:00
Romain Beaumont
011b6a189a
Revert "Revert "Add token authentication (#780)""
This reverts commit 14c4886ac4.

Adds back token auth now that mineflayed is fixed
2020-12-06 18:48:52 +01:00
Romain Beaumont
0ac19142c0
Release 1.20.1 2020-12-06 01:58:53 +01:00
Romain Beaumont
14c4886ac4
Revert "Add token authentication (#780)"
This reverts commit 0277091ddc.
This commits introduced a bug in offline mode.
We don't know yet how to fix it, so better revert first and fix later
2020-12-06 01:57:40 +01:00
Romain Beaumont
7be60af77d Release 1.20.0 2020-12-05 22:32:55 +00:00
ph0t0shop
0277091ddc
Add token authentication (#780)
* Add token authentication

* Update package.json

* Update src/client/auth.js

Co-authored-by: David Duarte <deltaduartedavid@gmail.com>

* Remove some deps

* Fix merge conflict + fix some token stuff

* Fix even more stuff + testing

* Change back echo example

* Let -> const + bugfix

* Fixed error handling

* Revert client_echo again...

* Fix linter errors

* Profile improvements

* Stupid linter errors

* Update yggdrasil, remove token auth example, move to client_echo instead

* Update client_echo

* Linter error...

Co-authored-by: David Duarte <deltaduartedavid@gmail.com>
2020-12-05 23:28:12 +01:00
Romain Beaumont
5d80168f20
Make 1.16.4 the tested version (#773) 2020-11-02 20:46:03 +01:00
Romain Beaumont
f7941b9412 update to standard 16 2020-10-31 14:48:53 +00:00
Romain Beaumont
d3ea67a184 Release 1.19.0 2020-10-25 15:19:07 +00:00
Romain Beaumont
8bfbb72e5b Release 1.18.0 2020-10-25 14:02:31 +00:00
Romain Beaumont
99edabb716 update standard to version 15 2020-10-24 13:44:33 +00:00
Romain Beaumont
d763710bd5 Release 1.17.0 2020-10-06 20:48:33 +00:00
Grooble
306b16abcd
1.16.2 and 1.16.3 support (#765)
* Update node-minecraft-data to 2.69.0

* Change default version to 1.16.3

* Update example

* Fix tests

* remove context change for bitfield

* Update README example

* Update tests

* Update examples

* Fix tests

* Update versionChecking for 1.16.3

* Update tests
2020-10-06 22:46:53 +02:00
Romain Beaumont
de731b3e1a Release 1.16.0 2020-08-16 22:23:25 +00:00
Romain Beaumont
3c626cbcb4
Release 1.15.0 2020-08-03 01:50:10 +02:00
Romain Beaumont
0dede4a06b Release 1.14.0 2020-08-02 22:30:42 +00:00
Idan Horowitz
82364c06ce Implement fallback aes-js support for cfb8 2020-08-03 00:38:53 +03:00
Romain Beaumont
61352500da update readme and change default version to 1.16.1 2020-06-27 01:34:13 +00:00
Romain Beaumont
0afc54a12b
Release 1.13.0 2020-06-23 17:15:29 +02:00
Romain Beaumont
cbef0f331f
switch to 1.16 2020-06-23 17:10:22 +02:00
Romain Beaumont
667380497b
update mcdata with fixes 2020-06-23 15:34:38 +02:00
Romain Beaumont
a7a7b5c7e2
Add 1.16-rc1 support
add topBitSetTerminatedArray native type
2020-06-23 03:28:14 +02:00
Romain Beaumont
e22e6f0ef0
move readme to docs folder for gh pages 2020-06-21 19:34:18 +02:00
Romain Beaumont
82824325da
Release 1.12.4 2020-06-21 18:59:08 +02:00
Romain Beaumont
89209cf779
if hide errors is true, don't display partial packet errors, add FAQ 2020-06-21 18:57:39 +02:00
Romain Beaumont
8e4978f379
Release 1.12.3 2020-06-21 18:26:47 +02:00
Romain Beaumont
fce9ae2661
Release 1.12.2 2020-06-16 01:49:03 +02:00
dependabot-preview[bot]
fafd9c0b27
Bump mocha from 7.2.0 to 8.0.1
Bumps [mocha](https://github.com/mochajs/mocha) from 7.2.0 to 8.0.1.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v7.2.0...v8.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-11 08:27:56 +00:00
Romain Beaumont
eb549f2ea9
Release 1.12.1 2020-06-07 23:26:30 +02:00
Romain Beaumont
345ab6071d
fix require self setup
required for github action that autopublish
2020-05-22 22:35:51 +02:00
Romain Beaumont
ea5f587a15 add back require-self for now in prepublish script 2020-05-20 10:52:54 +00:00
Romain Beaumont
649ff60e1c Release 1.12.0 2020-05-20 10:52:20 +00:00
Romain Beaumont
19d69d4701
Merge pull request #714 from Karang/karang_compiler
Use protodef compiler
2020-05-20 12:45:41 +02:00
Romain Beaumont
00b6d8aebb
add exit option to mocha to unblock tests 2020-05-20 12:44:11 +02:00
Romain Beaumont
b9350867d7
use latested nbt and protodef to use the compiler 2020-05-20 12:39:18 +02:00
Karang
66619f7ac0 Use compiled prismarine-nbt, simplify 2020-05-18 20:22:26 +02:00
dependabot-preview[bot]
663c485bf5
Bump @types/node from 13.13.6 to 14.0.1
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 13.13.6 to 14.0.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-17 09:58:48 +00:00
Karang
446bf2e923 Add protodef compiler 2020-05-16 16:57:04 +02:00
snyk-bot
d2f886a0c7 fix: package.json to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-MACADDRESS-567156
2020-05-05 00:28:57 +02:00
Romain Beaumont
28b52a9158
update mcdata, add explicit test for 1.16 (#691)
* update mcdata, add explicit test for 1.16

* Update mcdata again with fix for success packet
2020-03-30 23:55:53 +02:00
Romain Beaumont
b6d47ddc8e
update mcdata and explicit 1.15.2 support 2020-03-28 17:19:58 +01:00
Romain Beaumont
8a143588a2 Release 1.11.0 2020-02-11 21:23:18 +00:00
Idan Horowitz
54380a3cb7
Pass through http agent option to yggdrasil for proxy support (#676)
* initialize yggdrasil with agent option if it exists

* standardjs

* move require statements to the top

* add agent option to docs and ts type information
also removed useless typescript import and moved class fields from wrong class to the correct one

* update proxy examples and add http agents for proxying yggdrasil

* update to agent supporting yggdrasil version
2020-02-11 12:31:24 +01:00
Romain Beaumont
db1c7c31e4
Merge pull request #673 from wvffle/wvffle/yggdrasil
Update yggdrasil
2020-02-02 02:07:51 +01:00
Kasper Seweryn
c56723c65a
Update to v1.2.0 2020-02-02 01:04:48 +00:00
Kasper Seweryn
1904fe31b0
Update yggdrasil 2020-02-01 18:53:15 +00:00
greenkeeper[bot]
5ddf913011
chore(package): update mocha to version 7.0.1 2020-01-26 08:39:22 +00:00
Romain Beaumont
f4f72f1d35
Release 1.10.0 2019-12-29 23:39:50 +01:00
Romain Beaumont
1f56196561
also support for 1.15 2019-12-29 23:35:34 +01:00
Romain Beaumont
c0ae9b1546
update mcdata and bring 1.15.1 support 2019-12-29 22:56:59 +01:00
greenkeeper[bot]
77b963eb4e
chore(package): update @types/node to version 13.1.0 2019-12-23 17:34:42 +00:00
Kasper Seweryn
e36e8fe0d3 Add @waff/yggdrasil
As the author of node-yggdrasil doesn't seem to accept new PRs, I've created a fork which fixes phin error (thanks to @rom1505) and adds more meaningful messages for a couple of CloudFlare errors as proposed in https://github.com/PrismarineJS/mineflayer/issues/880#issuecomment-549127642
2019-11-06 01:40:21 +01:00
greenkeeper[bot]
6aff4da999
chore(package): update standard to version 14.0.0 2019-08-19 21:31:41 +00:00
Romain Beaumont
8e5264dc52 fix lint for new standard version 2019-08-03 23:29:14 +00:00
Romain Beaumont
9268d95571 Release 1.9.4 2019-08-03 23:22:04 +00:00
greenkeeper[bot]
be7757b272 chore(package): update standard to version 13.0.1 2019-08-03 23:17:27 +00:00
Romain Beaumont
b3faa54086
Make 1.14.4 the tested version of 1.14 major 2019-07-28 21:45:20 +02:00
Romain Beaumont
57717ed5ca
Make 1.14.3 the tested version of 1.14 major 2019-07-08 23:29:04 +02:00
Romain Beaumont
4a0889fe14
Release 1.9.3 2019-07-08 00:17:25 +02:00
Romain Beaumont
adbf603825
Release 1.9.2 2019-07-07 23:40:16 +02:00
Romain Beaumont
423036c42d
Release 1.9.1 2019-07-07 23:30:39 +02:00
greenkeeper[bot]
772ed06811 chore(package): update @types/node to version 12.0.3 2019-05-28 19:52:44 +00:00
Romain Beaumont
cc622a5c5c
Release 1.9.0 2019-05-20 01:56:17 +02:00
greenkeeper[bot]
a95c6a1ad2 chore(package): update @types/node to version 11.9.0 (#617) 2019-05-20 01:47:14 +02:00
Romain Beaumont
b5b500adf8
1.14 support (#628) 2019-05-20 01:46:02 +02:00
greenkeeper[bot]
f4249f15d5 chore(package): update mocha to version 6.0.0 2019-02-18 22:10:53 +00:00
Romain Beaumont
8bccc3cb75
Release 1.8.3 2018-12-15 18:48:21 +01:00
Romain Beaumont
40102f6158
make 1.13.2 the tested and supported 1.13.x version 2018-11-03 18:11:00 +01:00
Romain Beaumont
e00696f94c
update to mcdata 2.33.0 : fix version definition for 1.13.2-pre1 2018-10-16 22:35:45 +02:00
Romain Beaumont
822d9e12dd
fix slot value in packet tests and update some deps 2018-10-16 22:23:16 +02:00
Romain Beaumont
97edd67b07
add 1.13.2-pre1 support 2018-10-16 21:45:14 +02:00
Romain Beaumont
d874b990cf
Release 1.8.2 2018-10-07 20:05:58 +02:00
Romain Beaumont
eac4f3d8ac
Release 1.8.1 2018-09-25 23:44:24 +02:00
Romain Beaumont
c3589ce01d
update mcdata : fix loadpath bug for 1.13.1 2018-09-25 23:44:24 +02:00
greenkeeper[bot]
dcb9f0d2c4
chore(package): update standard to version 12.0.0 2018-09-24 22:08:11 +02:00
Romain Beaumont
fd92809f90
Merge pull request #590 from PrismarineJS/greenkeeper/debug-4.0.0
Update debug to the latest version 🚀
2018-09-24 22:03:24 +02:00
Romain Beaumont
dac5836753
move index.d.ts to src 2018-09-24 22:01:16 +02:00
greenkeeper[bot]
bb0fdb8565 fix(package): update debug to version 4.0.0 2018-09-11 15:24:46 +00:00
bangbang93
7e42b04dc0 types init 2018-08-29 19:15:10 +08:00
Romain Beaumont
63c194266f
Release 1.8.0 2018-08-26 16:09:39 +02:00
Romain Beaumont
966c15f8ab
Make tested version 1.13.1 instead of 1.13 2018-08-26 16:01:28 +02:00
Romain Beaumont
8583cd25df
Release 1.7.0 2018-08-26 01:45:28 +02:00
Romain Beaumont
9f02601a3e
Merge pull request #578 from PrismarineJS/greenkeeper/readable-stream-3.0.0
Update readable-stream to the latest version 🚀
2018-08-26 01:31:59 +02:00
Romain Beaumont
5efd1fa903
update minecraft-wrap 2018-08-26 01:09:59 +02:00
Romain Beaumont
34f7611d45
1.13 support 2018-08-11 00:04:21 +02:00
greenkeeper[bot]
13e4440338 fix(package): update readable-stream to version 3.0.0 2018-08-10 16:26:26 +00:00
Romain Beaumont
81b94f95ca
Release 1.6.0 2018-08-03 21:13:17 +02:00
Romain Beaumont
b8d38918c4
Release 1.5.3 2018-05-20 02:52:20 +02:00
Romain Beaumont
e3e0a26dfe
change codestyle to standard + enforce it with circle ci 2018-05-13 22:50:16 +02:00
Romain Beaumont
e50b7b53af
update to protodef 1.6.7 2018-05-06 22:06:18 +02:00
Romain Beaumont
f6e7a60cb6
Release 1.5.2 2018-05-01 21:12:15 +02:00
greenkeeper[bot]
306adaa5d4 chore(package): update mocha to version 5.0.5 2018-03-23 05:19:15 +00:00
Romain Beaumont
ee463f5599
Release 1.5.1 2018-01-27 15:24:30 +01:00
Romain Beaumont
c17fe285c0
update mcdata and protodef for fixes 2018-01-27 15:22:53 +01:00
Romain Beaumont
eef401c1c8
Release 1.5.0 2018-01-01 23:05:19 +01:00
Romain Beaumont
07a5c67b7b
use a full packet parser 2018-01-01 23:03:21 +01:00
Romain Beaumont
947f6bf2ea
update mcdata for this in 17w50a protocol 2018-01-01 22:28:25 +01:00
Romain Beaumont
482a4ecffd
17w50a support 2018-01-01 21:01:23 +01:00
greenkeeper[bot]
635393768e chore(package): update mocha to version 4.0.0 2017-10-03 11:17:01 +00:00
Romain Beaumont
0d4f5d49a8 Merge pull request #512 from PrismarineJS/greenkeeper/debug-3.0.0
Update debug to the latest version 🚀
2017-08-25 19:34:50 +02:00
Romain Beaumont
e47f7b1d7b Update package.json 2017-08-25 19:29:29 +02:00
greenkeeper[bot]
55090c42a6 fix(package): update yggdrasil to version 1.1.1 2017-08-25 15:51:31 +00:00
Romain Beaumont
3ab909c931
Release 1.4.1 2017-08-21 09:23:02 +02:00
Romain Beaumont
8a5621b340
lock yggdrasil until issue with 1.1.0 is fixed 2017-08-21 09:21:31 +02:00
greenkeeper[bot]
943addf89f fix(package): update debug to version 3.0.0 2017-08-08 22:10:54 +00:00
Romain Beaumont
2d5464612c
add 1.12.1 support to readme and tests 2017-08-07 12:16:03 +02:00
Romain Beaumont
294b232af8
Release 1.4.0 2017-07-24 09:24:14 +02:00
Romain Beaumont
80f103d2f0
uses node-rsa instead of keypair
package is a bit bigger but still pure js
same package used by ursa purejs
2017-07-20 17:39:54 +02:00
Romain Beaumont
01c3c95cb4
remove ursa, uses crypto rsa functionalities instead, and keypair for keys generation 2017-07-20 17:22:19 +02:00
greenkeeper[bot]
4a33bc7ac7 fix(package): update yggdrasil to version 1.0.0
Closes #501
2017-07-12 23:05:06 +02:00
Romain Beaumont
6f644042fe
Release 1.3.2 2017-07-12 13:23:45 +02:00
Romain Beaumont
aa96950ac5
Merge remote-tracking branch 'origin/master' 2017-06-19 15:50:29 +02:00
Romain Beaumont
08353123c0
Release 1.3.1 2017-06-19 15:50:11 +02:00
Romain Beaumont
3e118345d6 Merge pull request #493 from PrismarineJS/greenkeeper/require-self-0.2.1
Update require-self to the latest version 🚀
2017-06-19 15:44:10 +02:00
Romain Beaumont
a876274307
Release 1.3.0 2017-06-12 15:36:46 +02:00
Romain Beaumont
ed5f3981e8
1.12 support 2017-06-12 15:35:37 +02:00
Romain Beaumont
59bb1ac95c
Release 1.2.0 2017-06-08 14:49:59 +02:00
greenkeeper[bot]
50a62eb3c0 chore(package): update require-self to version 0.2.1 2017-06-07 02:25:38 +00:00
Romain Beaumont
a49d2add38
17w18b support 2017-05-05 14:07:53 +02:00
Romain Beaumont
87768f5d76
use protodef addProtocol 2017-04-22 14:10:47 +02:00
Romain Beaumont
730aab3c92
17w15a support 2017-04-13 14:07:33 +02:00
Romain Beaumont
1683d21214
Release 1.1.3 2017-02-26 20:07:51 +01:00
Romain Beaumont
c72d0373e8
requires node 6 in package.json 2017-02-26 19:59:56 +01:00
deathcap
3ff7ac64c1
Remove babel/gulp in favor of native ES6 2017-02-26 19:58:45 +01:00
Romain Beaumont
ce1ee7d7e3
Release 1.1.2 2017-02-26 19:48:37 +01:00
Romain Beaumont
3d3916bb93
some fixes for last protodef 2017-02-26 19:46:17 +01:00
Romain Beaumont
a4db7a10a7
1.11.2 support, fix #458 2016-12-29 12:42:34 +01:00
Romain Beaumont
4a68150be2
Release 1.1.1 2016-12-02 14:04:03 +01:00
Romain Beaumont
35dcd92234
update to yggdrasil 0.2.0 2016-11-16 00:52:17 +01:00
Romain Beaumont
2c7b41c81e
update mcdata, add 1.11 to tested versions and update version list in readme 2016-11-16 00:29:51 +01:00
Greenkeeper
a23e21c0c0 chore(package): update gulp-sourcemaps to version 2.0.0 (#429)
https://greenkeeper.io/
2016-10-11 16:32:22 +02:00
Romain Beaumont
09786ffe4f
Release 1.1.0 2016-10-08 13:59:09 +02:00
Greenkeeper
30688f5d85 chore(package): update mocha to version 3.0.2 (#422)
https://greenkeeper.io/
2016-08-08 12:13:21 +02:00
Romain Beaumont
0781a6178c
Release 1.0.1 2016-08-04 18:15:56 +02:00
Romain Beaumont
cdaf673a86
update mcdata 2016-06-19 01:53:33 +02:00
Romain Beaumont
df83143684
update supported versions list 2016-06-18 17:08:18 +02:00
Romain Beaumont
3ecc89b507
Release 1.0.0 2016-05-30 23:16:38 +02:00
Romain Beaumont
c6e36d626c
update to minecraft-data 2.0.0 2016-05-30 23:10:31 +02:00
Greenkeeper
f07cd78758 protodef@1.2.2 breaks build 🚨 (#404)
update mcdata and protodef
2016-05-14 15:57:03 +02:00
greenkeeperio-bot
95f170cf70 chore(package): update prismarine-nbt to version 1.0.0
http://greenkeeper.io/
2016-04-04 01:10:56 +02:00
Romain Beaumont
942d7fb276 Release 0.19.6 2016-04-03 01:59:55 +02:00
Romain Beaumont
7f24ae6e1b use debug package, fix #386 2016-03-21 10:38:23 +01:00
Romain Beaumont
dd6288f827 have some caret, fix #389 2016-03-20 01:34:25 +01:00
greenkeeperio-bot
387f23378c chore(package): update minecraft-wrap to version 1.0.0
http://greenkeeper.io/
2016-03-17 17:31:29 +01:00
Romain Beaumont
97322364a0 Release 0.19.5 2016-03-17 11:17:41 +01:00
Romain Beaumont
477f096e36 update mcdata for 1.9.1-pre2 2016-03-10 21:26:55 +01:00
Romain Beaumont
ffd5aa793d Release 0.19.4 2016-03-02 19:42:35 +01:00