mirror of
https://github.com/bigchaindb/site.git
synced 2025-02-14 21:10:28 +01:00
js-driver updated to latest version
This commit is contained in:
parent
d26f66e7c1
commit
29689cf880
@ -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')
|
||||
|
@ -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>
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user