Skip to content

Releases: plotdb/ews

0.0.19

20 Jun 06:32

Choose a tag to compare

  • support interval option in ping api, and pingInterval option in ews constructor.
  • change minimal ping interval from 60s to 20s.

0.0.18

07 Nov 18:18

Choose a tag to compare

  • watch for Connection errors so caller can handle those errors.

0.0.17

07 Nov 16:39

Choose a tag to compare

  • prevent calling close and send without _ws
  • make close-handler work only if event source = _ws
  • use on instead of addEventListener for offline event

0.0.16

07 Nov 14:20

Choose a tag to compare

  • due to untrustable close event, we move close event handler to a standalone function, and call it from both close and offline event.

0.0.15

03 Oct 04:59

Choose a tag to compare

  • fire offline event when offline event received from window.
  • upgrade dependencies

0.0.14

28 Dec 11:57

Choose a tag to compare

  • support ping function, which send ping message to server every 60s by default if page is visible
  • fix bug: status() should query status from _src if this is a scoped ws.

0.0.13

21 Nov 03:31

Choose a tag to compare

  • pass op parameter from middleware submit action to access function for fine-grained access control

0.0.12

20 Nov 09:47

Choose a tag to compare

  • fix bug: ws refresh causes ews losing event handlers.

0.0.11

20 Nov 08:14

Choose a tag to compare

  • fix bug: pipe create new ews which depends on source ws, however source ws may update, may not ready yet,
    lead to unusable piped ews. additional tracing from root ews is added to update the whole ews pipe tree.
  • upgrade dependencies

0.0.10

06 Jul 06:10

Choose a tag to compare

  • wrap lderror in sharedb error format so we can't decode it back to a lderror object in client side.