Merge pull request #3049 from XRPLF/realm_update

Update dependencies & fix some bugs in JS code
This commit is contained in:
Rome Reginelli
2025-04-17 13:53:22 -07:00
committed by GitHub
5 changed files with 561 additions and 459 deletions

View File

@@ -1,9 +1,6 @@
---
html: issue-a-fungible-token.html
parent: use-tokens.html
seo:
description: Create your own token and issue it on the XRP Ledger Testnet.
embed_xrpl_js: true
filters:
- interactive_steps
labels:

1001
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -16,7 +16,7 @@
"@codemirror/view": "^6.22.2",
"@docsearch/react": "^3.8.0",
"@lezer/highlight": "^1.2.0",
"@redocly/realm": "0.115.0",
"@redocly/realm": "0.120.2",
"@uiw/codemirror-themes": "4.21.21",
"@uiw/react-codemirror": "^4.21.21",
"@xrplf/isomorphic": "^1.0.0-beta.1",
@@ -29,7 +29,7 @@
"react18-json-view": "^0.2.6",
"smol-toml": "^1.3.1",
"use-query-params": "^2.2.1",
"xrpl": "^4.0.0"
"xrpl": "^4.2.0"
},
"overrides": {
"react": "^18.2.0",

View File

@@ -77,7 +77,7 @@ async function onClickCreateEscrow(
}
setEscrowWidthPercent(0)
if(escrowCreateResponse.result.Sequence === undefined) {
if(escrowCreateResponse.result.tx_json.Sequence === undefined) {
errorNotif(submitConstData.alert,
"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,
TransactionType: "EscrowFinish",
Owner: sendingWallet.address,
OfferSequence: escrowCreateResponse.result.Sequence
OfferSequence: escrowCreateResponse.result.tx_json.Sequence
})
}
}

View File

@@ -24,17 +24,13 @@ function setup_2x_generate_step() {
<div><strong>${tl("Cold Address:")}</strong>
<span id="cold-use-address">${data.account.address}</span></div>
<div><strong>${tl("Cold Secret:")}</strong>
<span id="cold-use-secret">${data.account.secret}</span></div>
<strong>${tl("XRP Balance:")}</strong>
${data.balance} XRP
<span id="cold-use-secret">${data.seed}</span></div>
</div>
<div class="col-xl-6 p-3">
<div><strong>${tl("Hot Address:")}</strong>
<span id="hot-use-address">${data2.account.address}</span></div>
<div><strong>${tl("Hot Secret:")}</strong>
<span id="hot-use-secret">${data2.account.secret}</span></div>
<strong>${tl("XRP Balance:")}</strong>
${data2.balance} XRP
<span id="hot-use-secret">${data2.seed}</span></div>
</div>
</div>`)