Release 3.15.0 (#236)

* Update options.js

* Update package.json

* Update README.md

* Update index.d.ts

* Update HISTORY.md
This commit is contained in:
extremeheat 2022-07-18 22:03:01 -04:00 committed by GitHub
commit 1542ab63d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 9 additions and 4 deletions

View file

@ -1,3 +1,8 @@
## 3.15.0
* 1.19.10 support
* Remove Realm fetch when joining via invite (#228) @LucienHH
* Add Realm support to Relay (#226) @ATXLtheAxolotl
## 3.14.0
* 1.19 support
* Better handle ping timeout, update documentation (#218) @stevarino

View file

@ -11,7 +11,7 @@ Minecraft Bedrock Edition (aka MCPE) protocol library, supporting authentication
## Features
- Supports Minecraft Bedrock version 1.16.201, 1.16.210, 1.16.220, 1.17.0, 1.17.10, 1.17.30, 1.17.40, 1.18.0, 1.18.11, 1.18.30, 1.19.1
- Supports Minecraft Bedrock version 1.16.201, 1.16.210, 1.16.220, 1.17.0, 1.17.10, 1.17.30, 1.17.40, 1.18.0, 1.18.11, 1.18.30, 1.19.1, 1.19.10
- Parse and serialize packets as JavaScript objects
- Automatically respond to keep-alive packets
- [Proxy and mitm connections](docs/API.md#proxy-docs)

2
index.d.ts vendored
View file

@ -2,7 +2,7 @@ import EventEmitter from "events"
import { Realm } from "prismarine-realms"
declare module "bedrock-protocol" {
type Version = '1.19.2' | '1.19.1' | '1.18.31' | '1.18.30' | '1.18.12' | '1.18.11' | '1.18.10' | '1.18.2' | '1.18.1' | '1.18.0' | '1.17.41' | '1.17.40' | '1.17.34' | '1.17.30' | '1.17.11' | '1.17.10' | '1.17.0' | '1.16.220' | '1.16.210' | '1.16.201'
type Version = '1.19.10' | '1.19.2' | '1.19.1' | '1.18.31' | '1.18.30' | '1.18.12' | '1.18.11' | '1.18.10' | '1.18.2' | '1.18.1' | '1.18.0' | '1.17.41' | '1.17.40' | '1.17.34' | '1.17.30' | '1.17.11' | '1.17.10' | '1.17.0' | '1.16.220' | '1.16.210' | '1.16.201'
enum title { MinecraftNintendoSwitch, MinecraftJava }

View file

@ -1,6 +1,6 @@
{
"name": "bedrock-protocol",
"version": "3.14.0",
"version": "3.15.0",
"description": "Minecraft Bedrock Edition protocol library",
"main": "index.js",
"scripts": {

View file

@ -3,7 +3,7 @@ const mcData = require('minecraft-data')
// Minimum supported version (< will be kicked)
const MIN_VERSION = '1.16.201'
// Currently supported verson. Note, clients with newer versions can still connect as long as data is in minecraft-data
const CURRENT_VERSION = '1.19.1'
const CURRENT_VERSION = '1.19.10'
const Versions = Object.fromEntries(mcData.versions.bedrock.filter(e => e.releaseType === 'release').map(e => [e.minecraftVersion, e.version]))