Skip to content

Commit

Permalink
[mod] [#319] [BREAKING] Change default wrap-recv-evs? value
Browse files Browse the repository at this point in the history
  • Loading branch information
ptaoussanis committed Mar 7, 2023
1 parent d5b3dc5 commit 0b37e4c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/taoensso/sente.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -1696,6 +1696,7 @@
:packer ; :edn (default), or an IPacker implementation.
:ajax-opts ; Base opts map provided to `taoensso.encore/ajax-lite`.
:wrap-recv-evs? ; Should events from server be wrapped in [:chsk/recv _]?
; Default false for Sente >= v1.18, true otherwise.
:ws-kalive-ms ; Ping to keep a WebSocket conn alive if no activity
; w/in given msecs. Should be different to server's :ws-kalive-ms.
Expand All @@ -1714,7 +1715,7 @@
packer :edn
client-id (or (:client-uuid opts) ; Backwards compatibility
(enc/uuid-str))
wrap-recv-evs? true
wrap-recv-evs? false
backoff-ms-fn enc/exp-backoff

ws-kalive-ms 20000
Expand Down

0 comments on commit 0b37e4c

Please sign in to comment.