Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: websocket doest not support ArrayBuffer and Array of numbers #326

Merged
merged 1 commit into from
Feb 28, 2024

Conversation

leanmendoza
Copy link
Collaborator

@leanmendoza leanmendoza commented Feb 27, 2024

Add ArrayBuffer and Array support to WebSocket::send method.

Fix entering the world: https://worlds.dcl-iwb.co/world/BuilderWorld.dcl.eth/

@@ -147,6 +154,7 @@ class WebSocket {
}
return true
}
await new Promise((resolve) => setImmediate(resolve))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The promise was not being resolved? What is the purpose of this 🤔 ?

@kuruk-mm kuruk-mm merged commit 0fee545 into main Feb 28, 2024
3 checks passed
@kuruk-mm kuruk-mm deleted the fix/websocket-send branch February 28, 2024 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants