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

minecraft-protocol

Package Overview
Dependencies
Maintainers
7
Versions
176
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

minecraft-protocol - npm Package Compare versions

Comparing version 1.28.0 to 1.28.1

5

docs/HISTORY.md
# 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)

20

docs/README.md

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc