Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: yjs/y-websocket
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.0.1
Choose a base ref
...
head repository: yjs/y-websocket
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.0.2
Choose a head ref
  • 2 commits
  • 3 files changed
  • 1 contributor

Commits on Mar 26, 2024

  1. fix #178

    dmonad committed Mar 26, 2024

    Unverified

    This user has not yet uploaded their public signing key.
    Copy the full SHA
    75ffc7f View commit details
  2. 2.0.2

    dmonad committed Mar 26, 2024
    Copy the full SHA
    7edbd8c View commit details
Showing with 5 additions and 5 deletions.
  1. +2 −2 bin/utils.cjs
  2. +2 −2 package-lock.json
  3. +1 −1 package.json
4 changes: 2 additions & 2 deletions bin/utils.cjs
Original file line number Diff line number Diff line change
@@ -96,11 +96,11 @@ let contentInitializor = _ydoc => Promise.resolve()
*
* @param {(ydoc: Y.Doc) => Promise<void>} f
*/
export const setContentInitializor = (f) => {
exports.setContentInitializor = (f) => {
contentInitializor = f
}

export class WSSharedDoc extends Y.Doc {
class WSSharedDoc extends Y.Doc {
/**
* @param {string} name
*/
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "y-websocket",
"version": "2.0.1",
"version": "2.0.2",
"description": "Websockets provider for Yjs",
"main": "./dist/y-websocket.cjs",
"module": "./src/y-websocket.js",