y-websocket icon indicating copy to clipboard operation
y-websocket copied to clipboard

Websocket Connector for Yjs

Results 55 y-websocket issues
Sort by recently updated
recently updated
newest added

When constructing messages to seend to a peer using y-websocket, the constants used to identify the type of message must be re-defined when the message is constructed because they're not...

Added a comment to clarify why reply messages are not sent when their length is 1. Alternatively we could also create a function with a descriptive name of the check...

**Context** In Safari the Websocket does not call onclose when the socket is closed manually. **The problem** This means that if a connection is closed in the interval in Safari...

Hello there! When attempting to get a Hello World of `y-websocket` working as a client running node `v17.8.0`, I encountered a few errors regarding missing imports for `ws` in `src/y-websocket.js`....

**Is your feature request related to a problem? Please describe.** Our ES server backend (EcmaScript, i.e. preferring "import" over "require") directly imports `utils.js`: ``` import * as yws from "y-websocket/bin/utils";...

enhancement

Note to myself: Make this a proper ESM module by setting `type: "module"` in package.json. Currently, the `bin` folder contains commonjs modules (with file ending of `.js`) and the `src`...

bug

This PR rebases v2 off master to resolve conflicts on in package.json. Huly®: YJS-725

I also plan to remove some of the existing code. For example, there have been too many misunderstandings about the callback functionality. Huly®: YJS-726

> Please save me some time and use the following template. In 90% of all issues I can't reproduce the problem because I don't know what exactly you are doing,...

bug