minecraft-protocol
Advanced tools
Comparing version 1.28.0 to 1.28.1
# History | ||
## 1.28.1 | ||
* Fix microsoft auth error condition handling (@extremeheat) | ||
## 1.28.0 | ||
* Fixed TypeScript error TS2769 when authenticating with mojang (#922) (@liquiddevelopmentnet) | ||
@@ -5,0 +10,0 @@ * Update prismarine-auth usage (#923) (@extremeheat) |
@@ -59,2 +59,12 @@ # minecraft protocol | ||
## Installation | ||
`npm install minecraft-protocol` | ||
## Documentation | ||
* [API doc](API.md) | ||
* [faq](FAQ.md) | ||
* [protocol doc](https://minecraft-data.prismarine.js.org/?d=protocol) and [wiki.vg/Protocol](https://wiki.vg/Protocol) | ||
## Usage | ||
@@ -141,12 +151,2 @@ | ||
## Installation | ||
`npm install minecraft-protocol` | ||
## Documentation | ||
See [doc](API.md) | ||
See [faq](FAQ.md) | ||
## Testing | ||
@@ -153,0 +153,0 @@ |
@@ -11,5 +11,5 @@ { | ||
"dependencies": { | ||
"electron": "^9.1.2", | ||
"electron": "^11.5.0", | ||
"electron-reload": "^1.5.0" | ||
} | ||
} |
{ | ||
"name": "minecraft-protocol", | ||
"version": "1.28.0", | ||
"version": "1.28.1", | ||
"description": "Parse and serialize minecraft packets, plus authentication and encryption.", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -59,2 +59,12 @@ # minecraft protocol | ||
## Installation | ||
`npm install minecraft-protocol` | ||
## Documentation | ||
* [API doc](API.md) | ||
* [faq](FAQ.md) | ||
* [protocol doc](https://minecraft-data.prismarine.js.org/?d=protocol) and [wiki.vg/Protocol](https://wiki.vg/Protocol) | ||
## Usage | ||
@@ -141,12 +151,2 @@ | ||
## Installation | ||
`npm install minecraft-protocol` | ||
## Documentation | ||
See [doc](API.md) | ||
See [faq](FAQ.md) | ||
## Testing | ||
@@ -153,0 +153,0 @@ |
@@ -26,4 +26,4 @@ const path = require('path') | ||
if (!entitlements?.items) throw Error(`Signed in account ${options.username} doesn't appear to own Minecraft`) | ||
if (profile?.error) throw Error(`Failed to obtain profile data for ${options.username}, does the account own minecraft?`) | ||
if (!entitlements.items?.length) throw Error(`Signed in account ${options.username} doesn't appear to own Minecraft`) | ||
if (!profile || profile.error) throw Error(`Failed to obtain profile data for ${options.username}, does the account own minecraft?`) | ||
@@ -30,0 +30,0 @@ options.haveCredentials = token !== null |
197867
2