   ;; Expects a JS array as input.
   (try
     (let [tx-data (js->tx-data tx-data)]
-      (println "Transacting:" (pr-str tx-data))
       (go-promise clj->js
-        (let [tx-result (<? (transact/<transact! conn tx-data))]
+        (let [tx-result (<? (d/<transact! conn tx-data))]
           (select-keys tx-result
                        [:tempids
                         :added-idents

     [cljs.reader]
     [cljs-promises.core :refer [promise]]
     [datomish.cljify :refer [cljify]]
     [datomish.db :as db]
     [datomish.db-factory :as db-factory]
     [datomish.pair-chan]

        ;; We pickle the connection as a thunk here so it roundtrips through JS
        ;; without incident.
        {:conn (fn [] c)
         :db (fn [] (d/db c))
         :path path

         ;; Primary API.
         :ensureSchema (fn [simple-schema] (ensure-schema c simple-schema))
         :transact (fn [tx-data] (transact c tx-data))
         :q (fn [find opts] (q (d/db c) find opts))
         :close (fn [] (db/close-db db))

         ;; Some helpers for testing the bridge.
