New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

minecraft-protocol

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

minecraft-protocol - npm Package Compare versions

Comparing version

to
0.6.4

@@ -118,5 +118,5 @@ var EventEmitter = require('events').EventEmitter

assert.ok(options.username, "username is required");
var haveCredentials = options.email && options.password;
var haveCredentials = typeof options.password !== "undefined";
var keepAlive = options.keepAlive == null ? true : options.keepAlive;
var email = options.email;
var email = options.email || options.username;
var password = options.password;

@@ -123,0 +123,0 @@

{
"name": "minecraft-protocol",
"version": "0.6.3",
"version": "0.6.4",
"description": "Parse and serialize minecraft packets, plus authentication and encryption.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -7,3 +7,3 @@ # minecraft protocol

* Supports Minecraft version 1.4.7pre
* Supports Minecraft version 1.4.7
* Parses all packets and emits events with packet fields as JavaScript

@@ -232,1 +232,19 @@ objects.

```
## History
### 0.6.4
* Allow minecraft username instead of mojang email. (thanks roblabla)
### 0.6.3
* y values when only 1 byte are always unsigned
### 0.6.2
* 0x0e: change face to unsigned byte
### 0.6.1
* 0x0d: fix incorrectly swapped stance and y