Bugfix: resolve undeclared var for status/notify

Rebasing introduced regression due to refactoring of how native modules are
called. Call implementation when available, noop when stubbing status-go.
This commit is contained in:
Oskar Thorén 2017-09-18 16:21:11 +02:00 committed by Roman Volosovskyi
parent b5c0b24f30
commit d30a14a774
4 changed files with 9 additions and 2 deletions

View File

@ -91,3 +91,6 @@
(defn should-move-to-internal-storage? [callback]
(module-interface/-should-move-to-internal-storage? rns-module callback))
(defn notify [token callback]
(module-interface/-notify rns-module token callback))

View File

@ -216,6 +216,8 @@
(call-function! params))
(-call-web3 [this host payload callback]
(call-web3 host payload callback))
(-notify [this token callback]
(notify token callback))
;; other calls
(-move-to-internal-storage [this callback]

View File

@ -59,4 +59,5 @@
(-module-initialized! [this]
(impl/module-initialized!))
(-should-move-to-internal-storage? [this callback]
(impl/should-move-to-internal-storage? callback)))
(impl/should-move-to-internal-storage? callback))
(-notify [this token callback]))

View File

@ -19,5 +19,6 @@
(-clear-web-data [this])
(-call-web3 [this host payload callback])
(-module-initialized! [this])
(-should-move-to-internal-storage? [this callback]))
(-should-move-to-internal-storage? [this callback])
(-notify [this token callback]))