252 Commits

Author SHA1 Message Date
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
Mansehej Singh
968e71e038 Update ReadMe for HTTP Callbacks 2020-07-12 21:11:42 +05:30
Mansehej Singh
adfb8724be Implement http based callback 2020-07-12 20:53:52 +05:30
Kevin Jahns
849aaefe4d 1.3.1 2020-07-10 03:20:48 +02:00
Kevin Jahns
ce66920e31 implement resyncInterval - #19 2020-07-10 03:19:08 +02:00
Kevin Jahns
dedc7f56a6 implemented WebSocket polyfill - implements #17 2020-07-10 02:48:25 +02:00
Kevin Jahns
f6943f33af Fix YPERSISTENCE -- allowing y-leveldb persistence 2020-07-10 02:40:03 +02:00
Kevin Jahns
5b758e2691 bump deps 2020-07-10 02:10:32 +02:00
Kevin Jahns
f1d18d700c 1.3.0 2020-06-05 04:11:47 +02:00
Kevin Jahns
01d8c2a3f5 bump y-protocols for better event handling 2020-06-05 04:11:14 +02:00
Kevin Jahns
0b897cdbfe bump deps & add package.json funding 2020-06-05 03:51:41 +02:00
Kevin Jahns
09cd65cd83 1.2.5 2020-04-02 12:22:20 +02:00
Kevin Jahns
f2ea4c540c bump yjs dependency 2020-04-02 12:21:48 +02:00
Kevin Jahns
1ba2b7a0e7 lint 2020-04-02 12:18:26 +02:00
Kevin Jahns
15a9c99833 Use url without query params for broadcastchannel. fixes #12 2020-04-02 11:55:45 +02:00
Kevin Jahns
2e3a1c736d Merge branch 'canadaduane-fix-cpu-load' 2020-04-02 11:50:54 +02:00
Kevin Jahns
0e4413f06d increase disconnected-check interval timeout 2020-04-02 11:50:46 +02:00
Duane Johnson
612bf04423 Add a 500ms delay to setInterval to reduce CPU load 2020-03-30 21:14:58 -06:00
Kevin Jahns
22e5a49dbd
Merge pull request #10 from yjs/dependabot/npm_and_yarn/acorn-6.4.1
Bump acorn from 6.1.1 to 6.4.1
2020-03-15 20:32:48 +01:00
dependabot[bot]
9df4239dde
Bump acorn from 6.1.1 to 6.4.1
Bumps [acorn](https://github.com/acornjs/acorn) from 6.1.1 to 6.4.1.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/6.1.1...6.4.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-03-14 08:22:28 +00:00
Kevin Jahns
bf8e54640d 1.2.4 2020-02-18 16:56:17 -06:00
Kevin Jahns
1c8c3cc7ba correct query param 2020-02-18 16:53:50 -06:00
Kevin Jahns
2c980516c3 1.2.3 2020-02-18 15:31:57 -06:00
Kevin Jahns
9720cdc5d5 bump yjs dep 2020-02-18 15:31:02 -06:00
Kevin Jahns
3180e3a8e4 1.2.2 2020-02-18 15:18:06 -06:00
Kevin Jahns
68d00c0a92 support query parameters 2020-02-18 15:17:27 -06:00
Kevin Jahns
0dd875885a 1.2.1 2020-02-03 11:39:16 +01:00
Kevin Jahns
23fc2c5d77
Merge pull request #9 from fubhy/type-defs
Emit typescript definitions.
2020-02-03 11:38:24 +01:00
Sebastian Siemssen
f48fb4794e Emit typescript definitions. 2020-02-03 11:01:54 +01:00