update deps and fix vulns

This commit is contained in:
nitowa
2023-04-30 18:04:06 +02:00
parent e754a913d0
commit 60a866cf4f
3 changed files with 365 additions and 403 deletions
+360 -398
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -34,7 +34,7 @@
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"ripple-lib": "^1.10.0", "ripple-lib": "^1.10.0",
"xrpl": "^2.1.1" "xrpl": "^2.7.0"
}, },
"devDependencies": { "devDependencies": {
"@types/chai": "^4.2.21", "@types/chai": "^4.2.21",
+4 -4
View File
@@ -45,7 +45,7 @@ describe('XRPIO', () => {
let txHash let txHash
it('writeRaw', async function(){ it('writeRaw', async function(){
this.skip() // this.skip()
this.timeout(15000) this.timeout(15000)
txHash = await api.writeRaw({data: TEST_DATA}, receiveWallet.address, sendWallet.secret); txHash = await api.writeRaw({data: TEST_DATA}, receiveWallet.address, sendWallet.secret);
expect(txHash).to.exist expect(txHash).to.exist
@@ -53,7 +53,7 @@ describe('XRPIO', () => {
}) })
it('readRaw', async function () { it('readRaw', async function () {
this.skip() // this.skip()
this.timeout(15000) this.timeout(15000)
const memo = await api.readRaw(txHash) const memo = await api.readRaw(txHash)
expect(memo).to.exist expect(memo).to.exist
@@ -61,7 +61,7 @@ describe('XRPIO', () => {
}) })
it('treeWrite', async function(){ it('treeWrite', async function(){
this.skip() // this.skip()
this.timeout(45000) this.timeout(45000)
txHash = await api.treeWrite(longText, receiveWallet.address, sendWallet.secret) txHash = await api.treeWrite(longText, receiveWallet.address, sendWallet.secret)
expect(txHash).to.exist expect(txHash).to.exist
@@ -69,7 +69,7 @@ describe('XRPIO', () => {
}) })
it('treeRead', async function(){ it('treeRead', async function(){
this.skip() // this.skip()
this.timeout(45000) this.timeout(45000)
txHash = await api.treeRead([txHash]) txHash = await api.treeRead([txHash])
expect(txHash).to.exist expect(txHash).to.exist