Commit graph

1281 commits

Author SHA1 Message Date
deathcap
4aac85c09a Show disconnect reason in examples 2016-01-22 00:32:36 -08:00
Romain Beaumont
3f161622f9 update to babel6 and remove some dependencies 2016-01-20 00:50:04 +01:00
Romain Beaumont
16a5c0fc0d Merge pull request #321 from deathcap/remove-es7
Remove experimental ES7 features, use only standard ES6
2016-01-20 00:14:17 +01:00
deathcap
76fca99ac4 Disable ES7 experimental stage 0 features in favor of ES6 standard 2016-01-18 18:17:53 -08:00
deathcap
91a404333e Remove non-ES6 class field declarations (ES7 stage 1 proposal)
ES6 does not have support for class field declarations, although it is
an experimental ES7 proposal:
https://github.com/jeffmo/es-class-fields-and-static-properties
For ES6, move the field/property declarations to the constructors.
2016-01-18 18:17:12 -08:00
deathcap
dd1d647d0e Remove stream option, since callers can simply use client.setSocket() 2016-01-18 13:39:22 -08:00
deathcap
9a781ca662 Refactor createClient to use createClientStream 2016-01-18 13:13:20 -08:00
deathcap
b33dd88ac2 Make stream option optional, caller can setSocket() later 2016-01-18 13:02:39 -08:00
deathcap
73d69e66d7 Add noPacketFramer option to createClientStream() 2016-01-18 01:42:35 -08:00
deathcap
6125fb7303 createClientStream() takes a stream 2016-01-18 01:42:29 -08:00
deathcap
2483e6fba0 Copy createClientStream.js from createClient.js 2016-01-18 00:29:24 -08:00
Romain Beaumont
3a246d1204 Merge pull request #318 from deathcap/patch-1
Remove unused chai dependency
2016-01-18 09:17:09 +01:00
deathcap
60c24a68b7 Remove unused chai dependency 2016-01-17 23:20:03 -08:00
Romain Beaumont
3ba152eba3 add snapshot version in readme 2016-01-13 22:56:13 +01:00
Romain Beaumont
48527cb6ee requires node >=4 2016-01-13 20:38:29 +01:00
Romain Beaumont
bd7b1a5c9b Merge pull request #315 from deathcap/circle-node
Test on newer version of Node
2016-01-13 20:36:47 +01:00
Romain Beaumont
81d85fe596 Merge pull request #314 from deathcap/update-browser
Update browser.js, sync with index.js excluding createClient/createServer
2016-01-13 20:17:28 +01:00
deathcap
f5e521e9cd Update browser.js, sync with index.js excluding createClient/createServer 2016-01-13 11:07:08 -08:00
deathcap
89a975e200 Test on node v4 2016-01-12 22:16:51 -08:00
Romain Beaumont
43d56de2f6 fix cli options doc proxy example, fix #313 2016-01-07 01:55:28 +01:00
Romain Beaumont
708fb963f6 update flying-squid and mineflayer urls (which both moved to PrismarineJS) 2016-01-06 15:26:47 +01:00
Romain Beaumont
153eb70ba3 dev iteration 2016-01-04 20:58:35 +01:00
Romain Beaumont
1499509ed6 Release 0.16.6 2016-01-04 20:57:16 +01:00
Romain Beaumont
dd06a7075e fix small bug that made the latency be NaN sometimes 2016-01-04 20:44:28 +01:00
Romain Beaumont
78c3820de0 prepare for next dev iteration 2015-12-22 00:17:13 +01:00
Romain Beaumont
10e6fff0c6 Release 0.16.5 2015-12-22 00:16:21 +01:00
Romain Beaumont
48565248a1 initialize latency to 0 2015-12-22 00:15:26 +01:00
Romain Beaumont
07711f4c4a prepare for next dev iteration 2015-12-22 00:08:14 +01:00
Romain Beaumont
86b70f2544 Release 0.16.4 2015-12-22 00:07:27 +01:00
Romain Beaumont
3b4cd6ef6a Merge pull request #311 from netraameht/master
Added client.latency
2015-12-22 00:04:39 +01:00
Maarten
1ffdd8bd4f Added client.latency 2015-12-21 23:53:09 +01:00
Romain Beaumont
3cc3fd7a7e prepare for next dev iteration 2015-12-11 15:01:34 +01:00
Romain Beaumont
642aa2217a Release 0.16.3 2015-12-11 15:00:43 +01:00
Romain Beaumont
b30522188e don't write after end and unpipe everything when ending. fix #110 2015-12-11 14:55:52 +01:00
Romain Beaumont
4fc80bd1c6 update protodef again which fix bug in switch 2015-12-01 14:40:14 +01:00
Romain Beaumont
6ee61fbb4c update protodef 2015-12-01 14:14:26 +01:00
Romain Beaumont
b2b53c9343 a few small changes to make the code better 2015-11-30 22:19:56 +01:00
Robin Lambertz
f3a653ef1c Merge pull request #308 from rom1504/use_require_self
use require-self to be able to use require('minecraft-protocol') in examples
2015-11-30 14:58:46 +01:00
Romain Beaumont
57d9c05941 use require-self to be able to use require('minecraft-protocol') in examples 2015-11-30 13:23:38 +01:00
Romain Beaumont
fabff6d8ab remove useless variables in readEntityMetadata 2015-11-20 00:59:05 +01:00
Romain Beaumont
dfc594daea Prepare for next development iteration 2015-11-19 23:38:47 +01:00
Romain Beaumont
eb7c570532 Release 0.16.2 2015-11-19 23:38:06 +01:00
Romain Beaumont
40ab529e6d Prepare for next development iteration 2015-11-19 21:05:09 +01:00
Romain Beaumont
d73ea182d6 Release 0.16.1 2015-11-19 21:02:31 +01:00
Romain Beaumont
cbd3168791 Merge pull request #307 from roblabla/master
Add checkTimeoutInterval
2015-11-19 20:54:45 +01:00
roblabla
df8cfa5c4c Add checkTimeoutInterval 2015-11-19 20:53:18 +01:00
Romain Beaumont
0569f51d61 Merge pull request #304 from rom1504/redefine_slot
add optionalNbt, use it directly in protocol.json in packets and for defining slot
2015-11-19 15:11:09 +01:00
Romain Beaumont
581de8234b update to protodef 0.2.1 2015-11-19 15:03:38 +01:00
Romain Beaumont
d25c4a2017 add optionalNbt, use it directly in protocol.json in packets and for defining slot 2015-11-15 17:48:25 +01:00
Romain Beaumont
c9290e664b properly use protodef nbt inside prismarine-nbt 2015-11-15 03:25:14 +01:00