mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-11 07:15:49 +00:00
Merge pull request #3049 from XRPLF/realm_update
Update dependencies & fix some bugs in JS code
This commit is contained in:
@@ -1,9 +1,6 @@
|
|||||||
---
|
---
|
||||||
html: issue-a-fungible-token.html
|
|
||||||
parent: use-tokens.html
|
|
||||||
seo:
|
seo:
|
||||||
description: Create your own token and issue it on the XRP Ledger Testnet.
|
description: Create your own token and issue it on the XRP Ledger Testnet.
|
||||||
embed_xrpl_js: true
|
|
||||||
filters:
|
filters:
|
||||||
- interactive_steps
|
- interactive_steps
|
||||||
labels:
|
labels:
|
||||||
|
|||||||
1001
package-lock.json
generated
1001
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -16,7 +16,7 @@
|
|||||||
"@codemirror/view": "^6.22.2",
|
"@codemirror/view": "^6.22.2",
|
||||||
"@docsearch/react": "^3.8.0",
|
"@docsearch/react": "^3.8.0",
|
||||||
"@lezer/highlight": "^1.2.0",
|
"@lezer/highlight": "^1.2.0",
|
||||||
"@redocly/realm": "0.115.0",
|
"@redocly/realm": "0.120.2",
|
||||||
"@uiw/codemirror-themes": "4.21.21",
|
"@uiw/codemirror-themes": "4.21.21",
|
||||||
"@uiw/react-codemirror": "^4.21.21",
|
"@uiw/react-codemirror": "^4.21.21",
|
||||||
"@xrplf/isomorphic": "^1.0.0-beta.1",
|
"@xrplf/isomorphic": "^1.0.0-beta.1",
|
||||||
@@ -29,7 +29,7 @@
|
|||||||
"react18-json-view": "^0.2.6",
|
"react18-json-view": "^0.2.6",
|
||||||
"smol-toml": "^1.3.1",
|
"smol-toml": "^1.3.1",
|
||||||
"use-query-params": "^2.2.1",
|
"use-query-params": "^2.2.1",
|
||||||
"xrpl": "^4.0.0"
|
"xrpl": "^4.2.0"
|
||||||
},
|
},
|
||||||
"overrides": {
|
"overrides": {
|
||||||
"react": "^18.2.0",
|
"react": "^18.2.0",
|
||||||
|
|||||||
@@ -77,7 +77,7 @@ async function onClickCreateEscrow(
|
|||||||
}
|
}
|
||||||
setEscrowWidthPercent(0)
|
setEscrowWidthPercent(0)
|
||||||
|
|
||||||
if(escrowCreateResponse.result.Sequence === undefined) {
|
if(escrowCreateResponse.result.tx_json.Sequence === undefined) {
|
||||||
|
|
||||||
errorNotif(submitConstData.alert,
|
errorNotif(submitConstData.alert,
|
||||||
"Error: Unable to get the sequence number from EscrowCreate, so cannot submit an EscrowFinish transaction.")
|
"Error: Unable to get the sequence number from EscrowCreate, so cannot submit an EscrowFinish transaction.")
|
||||||
@@ -95,7 +95,7 @@ async function onClickCreateEscrow(
|
|||||||
Account: sendingWallet.address,
|
Account: sendingWallet.address,
|
||||||
TransactionType: "EscrowFinish",
|
TransactionType: "EscrowFinish",
|
||||||
Owner: sendingWallet.address,
|
Owner: sendingWallet.address,
|
||||||
OfferSequence: escrowCreateResponse.result.Sequence
|
OfferSequence: escrowCreateResponse.result.tx_json.Sequence
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -24,17 +24,13 @@ function setup_2x_generate_step() {
|
|||||||
<div><strong>${tl("Cold Address:")}</strong>
|
<div><strong>${tl("Cold Address:")}</strong>
|
||||||
<span id="cold-use-address">${data.account.address}</span></div>
|
<span id="cold-use-address">${data.account.address}</span></div>
|
||||||
<div><strong>${tl("Cold Secret:")}</strong>
|
<div><strong>${tl("Cold Secret:")}</strong>
|
||||||
<span id="cold-use-secret">${data.account.secret}</span></div>
|
<span id="cold-use-secret">${data.seed}</span></div>
|
||||||
<strong>${tl("XRP Balance:")}</strong>
|
|
||||||
${data.balance} XRP
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col-xl-6 p-3">
|
<div class="col-xl-6 p-3">
|
||||||
<div><strong>${tl("Hot Address:")}</strong>
|
<div><strong>${tl("Hot Address:")}</strong>
|
||||||
<span id="hot-use-address">${data2.account.address}</span></div>
|
<span id="hot-use-address">${data2.account.address}</span></div>
|
||||||
<div><strong>${tl("Hot Secret:")}</strong>
|
<div><strong>${tl("Hot Secret:")}</strong>
|
||||||
<span id="hot-use-secret">${data2.account.secret}</span></div>
|
<span id="hot-use-secret">${data2.seed}</span></div>
|
||||||
<strong>${tl("XRP Balance:")}</strong>
|
|
||||||
${data2.balance} XRP
|
|
||||||
</div>
|
</div>
|
||||||
</div>`)
|
</div>`)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user