Skip to content
This repository was archived by the owner on Dec 12, 2022. It is now read-only.

Commit b6716c2

Browse files
authored
Load web3-fx to for :web3/call and other fx-s (#15)
* Load web3-fx to for :web3/call and other fx-s If these effects are not loaded, re-frame doesn't know how to handle them. They could be added in the application that uses this library (district-ui-web3-tx), but this is more convenient. * Use updated version of district0x.re-frame/web3-fx The 1.0.7 version bump fixes compilation error with newer Clojure versions. From: district0x/re-frame-web3-fx#12
1 parent 492d253 commit b6716c2

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

project.clj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
(defproject district0x/district-ui-web3-tx "1.0.13-SNAPSHOT"
1+
(defproject district0x/district-ui-web3-tx "1.0.14-SNAPSHOT"
22
:description "district UI module for handling web3 transactions"
33
:url "https://github.com/district0x/district-ui-web3-tx"
44
:license {:name "Eclipse Public License"
@@ -10,7 +10,7 @@
1010
[cljs-web3 "0.19.0-0-11"]
1111
[day8.re-frame/forward-events-fx "0.0.6"]
1212
[day8.re-frame/http-fx "0.1.6"]
13-
[district0x.re-frame/web3-fx "1.0.5"]
13+
[district0x.re-frame/web3-fx "1.0.7"]
1414
[district0x/bignumber "1.0.3"]
1515
[district0x/district-cljs-utils "1.0.4"]
1616
[district0x/district-ui-web3 "1.3.2"]

src/district/ui/web3_tx/events.cljs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
[cljs.spec.alpha :as s]
88
[district.cljs-utils :as cljs-utils]
99
[district.ui.web3-tx.queries :as queries]
10+
[district0x.re-frame.web3-fx]
1011
[district.ui.web3.events :as web3-events]
1112
[district.ui.web3.queries :as web3-queries]
1213
[district0x.re-frame.spec-interceptors

0 commit comments

Comments
 (0)