Browse Source

update deps and fix vulns

master
nitowa 1 year ago
parent
commit
60a866cf4f
3 changed files with 365 additions and 403 deletions
  1. 360
    398
      package-lock.json
  2. 1
    1
      package.json
  3. 4
    4
      test/primitives.ts

+ 360
- 398
package-lock.json
File diff suppressed because it is too large
View File


+ 1
- 1
package.json View File

34
   "license": "MIT",
34
   "license": "MIT",
35
   "dependencies": {
35
   "dependencies": {
36
     "ripple-lib": "^1.10.0",
36
     "ripple-lib": "^1.10.0",
37
-    "xrpl": "^2.1.1"
37
+    "xrpl": "^2.7.0"
38
   },
38
   },
39
   "devDependencies": {
39
   "devDependencies": {
40
     "@types/chai": "^4.2.21",
40
     "@types/chai": "^4.2.21",

+ 4
- 4
test/primitives.ts View File

45
 
45
 
46
     let txHash
46
     let txHash
47
     it('writeRaw', async function(){
47
     it('writeRaw', async function(){
48
-        this.skip()
48
+//        this.skip()
49
         this.timeout(15000)
49
         this.timeout(15000)
50
         txHash = await api.writeRaw({data: TEST_DATA}, receiveWallet.address, sendWallet.secret);
50
         txHash = await api.writeRaw({data: TEST_DATA}, receiveWallet.address, sendWallet.secret);
51
         expect(txHash).to.exist
51
         expect(txHash).to.exist
53
     })
53
     })
54
 
54
 
55
     it('readRaw', async function () {
55
     it('readRaw', async function () {
56
-        this.skip()
56
+//        this.skip()
57
         this.timeout(15000)
57
         this.timeout(15000)
58
         const memo = await api.readRaw(txHash)
58
         const memo = await api.readRaw(txHash)
59
         expect(memo).to.exist
59
         expect(memo).to.exist
61
     })
61
     })
62
 
62
 
63
     it('treeWrite', async function(){
63
     it('treeWrite', async function(){
64
-        this.skip()
64
+//        this.skip()
65
         this.timeout(45000)
65
         this.timeout(45000)
66
         txHash = await api.treeWrite(longText, receiveWallet.address, sendWallet.secret)
66
         txHash = await api.treeWrite(longText, receiveWallet.address, sendWallet.secret)
67
         expect(txHash).to.exist
67
         expect(txHash).to.exist
69
     })
69
     })
70
 
70
 
71
     it('treeRead', async function(){
71
     it('treeRead', async function(){
72
-        this.skip()
72
+//        this.skip()
73
         this.timeout(45000)
73
         this.timeout(45000)
74
         txHash = await api.treeRead([txHash])
74
         txHash = await api.treeRead([txHash])
75
         expect(txHash).to.exist
75
         expect(txHash).to.exist

Loading…
Cancel
Save