Conversation
Changed module and moduleResolution to "NodeNext"
Moved the 2 devDependencies from dependencies to devDependencies (and updated to latest for node)
Just a regen after changing the package.json
Owner
Author
|
There are two new additions: The methods |
Owner
Author
|
Fixed case insensitivity problems discussed in the discord channels. |
Owner
Author
|
Add a way to generate a joinkey which can be used in combination with the server to establish a web socket connection with |
Owner
Author
import 'dotenv/config'
import Client, { MessageTypes } from '../pixelwalker/dist'
const client = await Client.new(process.env)
client.connection.on('*PlayerInit', (...data) => {
client.init()
})
client.connect(process.env)The following minimal reproducible example can now be used to keep an indefinite connection with the server. |
Closed
ScorpioneOrzion
approved these changes
Aug 16, 2024
Corrected type of the set, if it throws, type won't change really
Fixed ts error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This Pull Request will track and document the JavaScript SDK from scratch by tactically restructuring the API from ground, learning the lessons from the old API and keeping the code structured. Quick Access:
The documentation will be tracked in this Pull Request.