mirror of
https://github.com/logseq/logseq.git
synced 2026-04-24 22:25:01 +00:00
Merge branch 'master' into refactor/plugin-api-properties
This commit is contained in:
2
deps.edn
2
deps.edn
@@ -42,7 +42,7 @@
|
||||
logseq/shui {:local/root "deps/shui"}
|
||||
metosin/malli {:mvn/version "0.16.1"}
|
||||
com.cognitect/transit-cljs {:mvn/version "0.8.280"}
|
||||
missionary/missionary {:mvn/version "b.44"}
|
||||
missionary/missionary {:mvn/version "b.46"}
|
||||
meander/epsilon {:mvn/version "0.0.650"}
|
||||
|
||||
io.github.open-spaced-repetition/cljc-fsrs {:git/sha "eeef3520df664e51c3d0ba2031ec2ba071635442"
|
||||
|
||||
@@ -202,3 +202,10 @@
|
||||
(let [req-id (str (random-uuid))
|
||||
message (assoc message :req-id req-id)]
|
||||
(m/? (send&recv* mws message :timeout-ms timeout-ms)))))
|
||||
|
||||
(comment
|
||||
(defn- inject-fake-message-to-recv
|
||||
"Debug fn.
|
||||
use `queryObjects(WebSocket)` to fetch all websocket objs under db-worker.js context"
|
||||
[ws fake-message-to-recv]
|
||||
(.dispatchEvent ws (js/MessageEvent. "message" #js {:data fake-message-to-recv}))))
|
||||
|
||||
Reference in New Issue
Block a user