Skip to content

Commit

Permalink
Merge branch 'master' of github.com:yjs/y-websocket
Browse files Browse the repository at this point in the history
  • Loading branch information
dmonad committed Feb 3, 2021
2 parents 356370d + e160a17 commit 406ec6d
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 26 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ HOST=localhost PORT=1234 YPERSISTENCE=./dbDir node ./node_modules/y-websocket/bi

### Websocket Server with HTTP callback

Send a debounced callback to an HTTP server (`POST`) on document update.
Send a debounced callback to an HTTP server (`POST`) on document update. Note that this implementation doesn't implement a retry logic in case the `CALLBACK_URL` does not work.

Can take the following ENV variables:

Expand Down
76 changes: 53 additions & 23 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
},
"dependencies": {
"lib0": "^0.2.31",
"y-leveldb": "^0.1.0",
"lodash.debounce": "^4.0.8",
"y-protocols": "^1.0.1"
},
Expand All @@ -61,6 +60,7 @@
"yjs": "^13.0.0"
},
"optionalDependencies": {
"ws": "^6.2.1"
"ws": "^6.2.1",
"y-leveldb": "^0.1.0"
}
}

0 comments on commit 406ec6d

Please sign in to comment.