Fix outdated escrow code samples #2787
Labels
content updates
Updating, cleaning up, or rewriting existing content for better usability or new contexts
javascript
Pull requests that update Javascript code
The
_code_samples/escrow/js/
folder has several issues:package.json
requires both xrpl.js 3.0 and ripple-lib 0.17 (the latter is ancient and unused in the code). It's likely thatripple-lib
is the source of the security issue flagged in chore: upgrade realm version and migrate deprecated config #2783.if (typeof module !== "undefined")
hack, which is intended to make the same code run in both a browser via html file and in node.js, but they don't have a demo HTML fileThe text was updated successfully, but these errors were encountered: