130 Commits

Author SHA1 Message Date
Kevin Jahns
f786534794
Merge pull request #43 from openculinary/dependencies/npm-audit-fix
Update dependencies via 'npm audit fix'
2021-01-07 17:45:19 +01:00
Kevin Jahns
cf0e46789b
Merge pull request #44 from openculinary/dependencies/y-leveldb-optional
Move y-leveldb to optionalDependencies
2021-01-07 17:43:25 +01:00
James Addison
a4027714a2 Update dependencies via 'npm audit fix' 2021-01-07 11:07:29 +00:00
James Addison
cbe5a5bb68 Move y-leveldb to optionalDependencies 2021-01-07 11:03:35 +00:00
Kevin Jahns
9fd8f41fa8 1.3.9 2021-01-06 13:23:15 +01:00
Kevin Jahns
3c38a81327 lint 2021-01-06 13:22:50 +01:00
Kevin Jahns
3ab927f38a
Merge pull request #42 from openculinary/server/bind-host-variable
Add HOST environment variable to configure websocket-server bind address
2021-01-06 13:14:43 +01:00
James Addison
1c278ad268 Add HOST environment variable to configure websocket-server bind address 2021-01-04 17:43:39 +00:00
Kevin Jahns
2a3d623232 API Docs 2020-12-18 12:16:52 +01:00
Kevin Jahns
63af0c0fc0 1.3.8 2020-12-04 13:06:04 +01:00
Kevin Jahns
0fbd2cd0d0 Keep awareness state after disconnect - fixes yjs/y-protocols#7 2020-12-04 13:05:30 +01:00
Kevin Jahns
114284c349 1.3.7 2020-11-19 14:11:48 +01:00
Kevin Jahns
f254df3b00 lint 2020-11-19 14:11:24 +01:00
Kevin Jahns
55a4190bf3
Merge pull request #38 from tommoor/patch-4
fix: Move "connecting" event to be emitted after handlers are bound
2020-11-19 14:10:17 +01:00
Kevin Jahns
74f0c96c5a
Update docs 2020-11-07 22:15:45 +01:00
Tom Moor
e1071dab1e
fix: Move "connecting" event to be emitted after websocket event handlers are bound 2020-11-06 14:42:12 -08:00
Kevin Jahns
418ea5a0f8 1.3.6 2020-10-30 22:23:05 +01:00
Kevin Jahns
d3b9dd208d linting 2020-10-30 22:22:37 +01:00
Kevin Jahns
f32b88dfce bump dependencies 2020-10-30 22:21:51 +01:00
Kevin Jahns
d84b7f4ee0
Merge pull request #37 from yjs/canadaduane-provide-synced-ydoc-accessors
Add persistence-synced Y.Doc accessor functions - simplified #32
2020-10-30 22:18:43 +01:00
Kevin Jahns
dc4c714dd3
Merge pull request #29 from reciperadar/fixups/readme-client-example
README: Small fixup for the example client code snippet
2020-10-18 18:35:21 +02:00
Kevin Jahns
3dad772dfe simplify getYDoc approach 2020-10-18 18:34:49 +02:00
Kevin Jahns
9d298f3255 Merge branch 'provide-synced-ydoc-accessors' of git://github.com/canadaduane/y-websocket into canadaduane-provide-synced-ydoc-accessors 2020-10-18 18:00:50 +02:00
Kevin Jahns
82e0344476
Merge pull request #34 from tommoor/patch-1
feat: Add 'connecting' event
2020-10-18 17:57:02 +02:00
Kevin Jahns
8e73d39887
Merge pull request #36 from tommoor/patch-3
fix: Remove unused _localAwarenessState
2020-10-18 17:55:17 +02:00
Kevin Jahns
cc418fb3b4
Merge pull request #35 from tommoor/patch-2
fix: Message publishing happens down incorrect broadcast channel
2020-10-18 17:54:38 +02:00
Tom Moor
82435ef642
fix: Remove unused _localAwarenessState 2020-10-17 17:29:12 -07:00
Tom Moor
c0271b7cdc
fix: Message publishing happens down incorrect broadcast channel
Missed in #12 refactor
2020-10-17 16:53:24 -07:00
Tom Moor
72c9978ceb
feat: Add 'connecting' event
As described in the [comment here](https://github.com/yjs/y-websocket/issues/7#issuecomment-623114183), a "connecting" event is useful for monkey-patching the authentication process in lieu of a more official API.

Seems like this is a no-brainer addition.
2020-10-15 15:12:04 -07:00
Duane Johnson
be45d3429c Bump yjs dependency to 13.4.1 2020-10-10 13:46:35 -06:00
Duane Johnson
70905bc7a0 Keep persistence object signature
- consolidate getYDoc, findOrCreateDoc
- rename findOrCreateDoc to getOrInitDoc
- rename persistence.getYDoc to getOrCreateDoc
2020-10-10 12:55:41 -06:00
Kevin Jahns
5a36d77d48 1.3.5 2020-10-10 17:15:03 +02:00
Kevin Jahns
6e448bec59
Merge pull request #28 from Mansehej/docker
Add dockerfile for websocket
2020-10-10 17:06:10 +02:00
Kevin Jahns
2b31b72b02 remove alert message - fixes #31 2020-10-10 17:04:06 +02:00
Duane Johnson
576db4267e Add persistence-synced Y.Doc accessor functions 2020-10-08 15:00:26 -06:00
Kevin Jahns
1a1b833b01 1.3.4 2020-10-04 12:26:44 +02:00
Kevin Jahns
b6bb04a405 put encoder in block to scope it from ping interval handler #30 2020-10-04 12:25:12 +02:00
Kevin Jahns
db90e2a594
Merge pull request #30 from ellisonbg/clear-interval
Add clearInterval calls to clean up closure passed to setInterval
2020-10-04 12:18:43 +02:00
Brian E. Granger
7533057249 Add clearInterval calls to clean up closure. 2020-10-03 14:30:22 -07:00
James Addison
69016d809d README: Small fixup for the example client code snippet 2020-09-16 16:56:47 +01:00
Mansehej Singh
7c438ab0e5 Add dockerfile 2020-08-14 00:33:00 +05:30
Kevin Jahns
61512021a9 1.3.3 2020-08-11 21:54:20 +02:00
Kevin Jahns
7d5517b714 Export docs - fixes #27 2020-08-11 21:53:42 +02:00
Kevin Jahns
880ad59711 1.3.2 2020-08-08 18:49:30 +02:00
Kevin Jahns
fcb9b10d73 Merge branch 'Mansehej-master' 2020-08-08 18:45:32 +02:00
Kevin Jahns
f7e5d4cb76 personal style update 2020-08-08 18:45:16 +02:00
Mansehej Singh
f61b364248 Change run script in ReadMe callback example 2020-07-30 03:03:03 +05:30
Mansehej Singh
a7d805cf43 Fix callback request error logging 2020-07-30 02:44:33 +05:30
Mansehej Singh
7d8d9a4a45 Serialize Yjs type before callback 2020-07-30 02:43:36 +05:30
Mansehej Singh
fe0c51375a Change isCallbackSet from function call to Boolean constant 2020-07-30 02:30:44 +05:30