js-driver updated to latest version

This commit is contained in:
manolodewiner 2018-04-09 14:42:18 +02:00
parent d26f66e7c1
commit 29689cf880
3 changed files with 3 additions and 3 deletions

View File

@ -116,7 +116,7 @@ window.addEventListener('DOMContentLoaded', function domload(event) {
const messageFail = document.getElementsByClassName('message--fail')[0]
const transactionLink = document.getElementsByClassName('transaction-link')[0]
conn.postTransaction(txSigned).then((response) => {
conn.postTransactionSync(txSigned).then((response) => {
waiting.classList.add('hide')
messageInitial.classList.add('hide')
responseArea.classList.remove('hide')

View File

@ -121,7 +121,7 @@ const tx = driver.Transaction.makeCreateTransaction(
driver.Transaction.makeEd25519Condition(alice.publicKey))],
alice.publicKey)
const txSigned = driver.Transaction.signTransaction(tx, alice.privateKey)
conn.postTransaction(txSigned)
conn.postTransactionSync(txSigned)
```
{% endcapture %}{{ nodejs | markdownify }}
</div>

View File

@ -25,7 +25,7 @@
"ie >= 10"
],
"dependencies": {
"bigchaindb-driver": "3.2.0",
"bigchaindb-driver": "^4.0.0",
"clipboard": "^2.0.0",
"gumshoe": "github:cferdinandi/gumshoe",
"is-in-viewport": "^3.0.0",