mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-06 05:45:48 +00:00
Compare commits
7 Commits
ripple-add
...
ripple-add
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a163aba7c7 | ||
|
|
c657e22304 | ||
|
|
689768bbf1 | ||
|
|
34ed8afae0 | ||
|
|
3124a281b5 | ||
|
|
fe75f127f6 | ||
|
|
ce229b9977 |
212
package-lock.json
generated
212
package-lock.json
generated
@@ -33,10 +33,10 @@
|
||||
"ejs": "^3.0.1",
|
||||
"eslint": "^7.5.0",
|
||||
"eslint-plugin-array-func": "^3.1.7",
|
||||
"eslint-plugin-consistent-default-export-name": "^0.0.14",
|
||||
"eslint-plugin-consistent-default-export-name": "^0.0.13",
|
||||
"eslint-plugin-eslint-comments": "^3.2.0",
|
||||
"eslint-plugin-import": "^2.24.1",
|
||||
"eslint-plugin-jsdoc": "^37.1.0",
|
||||
"eslint-plugin-jsdoc": "^36.0.0",
|
||||
"eslint-plugin-mocha": "^9.0.0",
|
||||
"eslint-plugin-node": "^11.1.0",
|
||||
"eslint-plugin-prettier": "^4.0.0",
|
||||
@@ -718,26 +718,24 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@es-joy/jsdoccomment": {
|
||||
"version": "0.12.0",
|
||||
"resolved": "https://registry.npmjs.org/@es-joy/jsdoccomment/-/jsdoccomment-0.12.0.tgz",
|
||||
"integrity": "sha512-Gw4/j9v36IKY8ET+W0GoOzrRw17xjf21EIFFRL3zx21fF5MnqmeNpNi+PU/LKjqLpPb2Pw2XdlJbYM31VVo/PQ==",
|
||||
"version": "0.10.8",
|
||||
"integrity": "sha512-3P1JiGL4xaR9PoTKUHa2N/LKwa2/eUdRqGwijMWWgBqbFEqJUVpmaOi2TcjcemrsRMgFLBzQCK4ToPhrSVDiFQ==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"comment-parser": "1.2.4",
|
||||
"esquery": "^1.4.0",
|
||||
"jsdoc-type-pratt-parser": "2.0.0"
|
||||
"jsdoc-type-pratt-parser": "1.1.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^12 || ^14 || ^16 || ^17"
|
||||
"node": "^12 || ^14 || ^16"
|
||||
}
|
||||
},
|
||||
"node_modules/@es-joy/jsdoccomment/node_modules/comment-parser": {
|
||||
"version": "1.2.4",
|
||||
"resolved": "https://registry.npmjs.org/comment-parser/-/comment-parser-1.2.4.tgz",
|
||||
"integrity": "sha512-pm0b+qv+CkWNriSTMsfnjChF9kH0kxz55y44Wo5le9qLxMj5xDQAaEd9ZN1ovSuk9CsrncWaFwgpOMg7ClJwkw==",
|
||||
"node_modules/@es-joy/jsdoccomment/node_modules/jsdoc-type-pratt-parser": {
|
||||
"version": "1.1.1",
|
||||
"integrity": "sha512-uelRmpghNwPBuZScwgBG/OzodaFk5RbO5xaivBdsAY70icWfShwZ7PCMO0x1zSkOa8T1FzHThmrdoyg/0AwV5g==",
|
||||
"dev": true,
|
||||
"engines": {
|
||||
"node": ">= 12.0.0"
|
||||
"node": ">=12.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@eslint/eslintrc": {
|
||||
@@ -2893,9 +2891,8 @@
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/@types/node": {
|
||||
"version": "16.11.11",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.11.tgz",
|
||||
"integrity": "sha512-KB0sixD67CeecHC33MYn+eYARkqTheIRNuu97y2XMjR7Wu3XibO1vaY6VBV6O/a89SPI81cEUIYT87UqUWlZNw==",
|
||||
"version": "16.11.6",
|
||||
"integrity": "sha512-ua7PgUoeQFjmWPcoo9khiPum3Pd60k4/2ZGXt18sm2Slk0W0xZTqt5Y0Ny1NyBiN1EVQ/+FaF9NcY4Qe6rwk5w==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/@types/normalize-package-data": {
|
||||
@@ -4884,9 +4881,8 @@
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/comment-parser": {
|
||||
"version": "1.3.0",
|
||||
"resolved": "https://registry.npmjs.org/comment-parser/-/comment-parser-1.3.0.tgz",
|
||||
"integrity": "sha512-hRpmWIKgzd81vn0ydoWoyPoALEOnF4wt8yKD35Ib1D6XC2siLiYaiqfGkYrunuKdsXGwpBpHU3+9r+RVw2NZfA==",
|
||||
"version": "1.2.4",
|
||||
"integrity": "sha512-pm0b+qv+CkWNriSTMsfnjChF9kH0kxz55y44Wo5le9qLxMj5xDQAaEd9ZN1ovSuk9CsrncWaFwgpOMg7ClJwkw==",
|
||||
"dev": true,
|
||||
"engines": {
|
||||
"node": ">= 12.0.0"
|
||||
@@ -6049,9 +6045,8 @@
|
||||
}
|
||||
},
|
||||
"node_modules/eslint-plugin-consistent-default-export-name": {
|
||||
"version": "0.0.14",
|
||||
"resolved": "https://registry.npmjs.org/eslint-plugin-consistent-default-export-name/-/eslint-plugin-consistent-default-export-name-0.0.14.tgz",
|
||||
"integrity": "sha512-9+YfYLQchFArcFvg7vHPjJZi3sUUIA5D2DWLmZzFbnmRf+wdX/9lgbKEaiJKfr+3/sYIvP71EdFlpjzOlSbm2Q==",
|
||||
"version": "0.0.13",
|
||||
"integrity": "sha512-vrCH7XnvJZTTVlw8zH+4X84bK7MbI9/h4m0r7wxvYcbW4XViSDb99SBE6Wz1HmWzz3sUHID6nFeVjek5qdObRA==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"lodash.camelcase": "^4.3.0",
|
||||
@@ -6140,43 +6135,25 @@
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/eslint-plugin-jsdoc": {
|
||||
"version": "37.1.0",
|
||||
"resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-37.1.0.tgz",
|
||||
"integrity": "sha512-DpkFzX5Sqkqzy4MCgowhDXmusWcF1Gn7wYnphdGfWmIkoQr6SwL0jEtltGAVyF5Rj6ACi6ydw0oCCI5hF3yz6w==",
|
||||
"version": "36.1.1",
|
||||
"integrity": "sha512-nuLDvH1EJaKx0PCa9oeQIxH6pACIhZd1gkalTUxZbaxxwokjs7TplqY0Q8Ew3CoZaf5aowm0g/Z3JGHCatt+gQ==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"@es-joy/jsdoccomment": "0.12.0",
|
||||
"comment-parser": "1.3.0",
|
||||
"debug": "^4.3.3",
|
||||
"escape-string-regexp": "^4.0.0",
|
||||
"@es-joy/jsdoccomment": "0.10.8",
|
||||
"comment-parser": "1.2.4",
|
||||
"debug": "^4.3.2",
|
||||
"esquery": "^1.4.0",
|
||||
"jsdoc-type-pratt-parser": "^2.0.0",
|
||||
"jsdoc-type-pratt-parser": "^1.1.1",
|
||||
"lodash": "^4.17.21",
|
||||
"regextras": "^0.8.0",
|
||||
"semver": "^7.3.5",
|
||||
"spdx-expression-parse": "^3.0.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^12 || ^14 || ^16 || ^17"
|
||||
"node": "^12 || ^14 || ^16"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"eslint": "^7.0.0 || ^8.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/eslint-plugin-jsdoc/node_modules/debug": {
|
||||
"version": "4.3.3",
|
||||
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz",
|
||||
"integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"ms": "2.1.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=6.0"
|
||||
},
|
||||
"peerDependenciesMeta": {
|
||||
"supports-color": {
|
||||
"optional": true
|
||||
}
|
||||
"eslint": "^6.0.0 || ^7.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/eslint-plugin-jsx-a11y": {
|
||||
@@ -9819,9 +9796,8 @@
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/jsdoc-type-pratt-parser": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/jsdoc-type-pratt-parser/-/jsdoc-type-pratt-parser-2.0.0.tgz",
|
||||
"integrity": "sha512-sUuj2j48wxrEpbFjDp1sAesAxPiLT+z0SWVmMafyIINs6Lj5gIPKh3VrkBZu4E/Dv+wHpOot0m6H8zlHQjwqeQ==",
|
||||
"version": "1.2.0",
|
||||
"integrity": "sha512-4STjeF14jp4bqha44nKMY1OUI6d2/g6uclHWUCZ7B4DoLzaB5bmpTkQrpqU+vSVzMD0LsKAOskcnI3I3VfIpmg==",
|
||||
"dev": true,
|
||||
"engines": {
|
||||
"node": ">=12.0.0"
|
||||
@@ -12765,9 +12741,8 @@
|
||||
}
|
||||
},
|
||||
"node_modules/prettier": {
|
||||
"version": "2.5.0",
|
||||
"resolved": "https://registry.npmjs.org/prettier/-/prettier-2.5.0.tgz",
|
||||
"integrity": "sha512-FM/zAKgWTxj40rH03VxzIPdXmj39SwSjwG0heUcNFwI+EMZJnY93yAiKXM3dObIKAM5TA88werc8T/EwhB45eg==",
|
||||
"version": "2.4.1",
|
||||
"integrity": "sha512-9fbDAXSBcc6Bs1mZrDYb3XKzDLm4EXXL9sC1LqKP5rZkT6KRr/rf9amVUcODVXgguK/isJz0d0hP72WeaKWsvA==",
|
||||
"dev": true,
|
||||
"bin": {
|
||||
"prettier": "bin-prettier.js"
|
||||
@@ -15575,9 +15550,8 @@
|
||||
}
|
||||
},
|
||||
"node_modules/typedoc": {
|
||||
"version": "0.22.10",
|
||||
"resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.22.10.tgz",
|
||||
"integrity": "sha512-hQYZ4WtoMZ61wDC6w10kxA42+jclWngdmztNZsDvIz7BMJg7F2xnT+uYsUa7OluyKossdFj9E9Ye4QOZKTy8SA==",
|
||||
"version": "0.22.8",
|
||||
"integrity": "sha512-92S+YzyhospdXN5rnkYUTgirdTYqNWY7NP9vco+IqQQoiSXzVSUsawVro+tMyEEsWUS7EMaJ2YOjB9uE0CBi6A==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"glob": "^7.2.0",
|
||||
@@ -15593,7 +15567,7 @@
|
||||
"node": ">= 12.10.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"typescript": "4.0.x || 4.1.x || 4.2.x || 4.3.x || 4.4.x || 4.5.x"
|
||||
"typescript": "4.0.x || 4.1.x || 4.2.x || 4.3.x || 4.4.x"
|
||||
}
|
||||
},
|
||||
"node_modules/typedoc/node_modules/glob": {
|
||||
@@ -15620,9 +15594,8 @@
|
||||
"integrity": "sha512-7uc1O8h1M1g0rArakJdf0uLRSSgFcYexrVoKo+bzJd32gd4gDy2L/Z+8/FjPnU9ydY3pEnVPtr9FyscYY60K1g=="
|
||||
},
|
||||
"node_modules/typescript": {
|
||||
"version": "4.5.2",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.5.2.tgz",
|
||||
"integrity": "sha512-5BlMof9H1yGt0P8/WF+wPNw6GfctgGjXp5hkblpyT+8rkASSmkUKMXrxR0Xg8ThVCi/JnHQiKXeBaEwCeQwMFw==",
|
||||
"version": "4.4.4",
|
||||
"integrity": "sha512-DqGhF5IKoBl8WNf8C1gu8q0xZSInh9j1kJJMqT3a94w1JzVaBU4EXOSMrz9yDqMT0xt3selp83fuFMQ0uzv6qA==",
|
||||
"dev": true,
|
||||
"bin": {
|
||||
"tsc": "bin/tsc",
|
||||
@@ -16608,7 +16581,7 @@
|
||||
}
|
||||
},
|
||||
"packages/ripple-address-codec": {
|
||||
"version": "4.2.2",
|
||||
"version": "4.2.0",
|
||||
"integrity": "sha512-9QhBNDiWjwj7l+WQ7H7klXF/VwxVj2Q0HRhd4vLCueTPoxUtaNQyfvUZFiXJrqxg0heM3/iWxupkq4TwrXgSuQ==",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
@@ -16616,11 +16589,12 @@
|
||||
"create-hash": "^1.1.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 10"
|
||||
"node": ">= 10",
|
||||
"npm": ">=7.0.0"
|
||||
}
|
||||
},
|
||||
"packages/ripple-binary-codec": {
|
||||
"version": "1.2.2",
|
||||
"version": "1.2.0",
|
||||
"integrity": "sha512-XMRCbFXyG+dGp3x7tMs9IwA+FVWPPaGjdHYW2+g4Q/WQJqFp5MRED+jjOBOUafmrW4TUsOn1PEEdbB4ozWbDBw==",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
@@ -16629,10 +16603,11 @@
|
||||
"buffer": "5.6.0",
|
||||
"create-hash": "^1.2.0",
|
||||
"decimal.js": "^10.2.0",
|
||||
"ripple-address-codec": "^4.2.2"
|
||||
"ripple-address-codec": "^4.2.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=10.22.0"
|
||||
"node": ">=10.22.0",
|
||||
"npm": ">=7.0.0"
|
||||
}
|
||||
},
|
||||
"packages/ripple-binary-codec/node_modules/buffer": {
|
||||
@@ -16644,7 +16619,7 @@
|
||||
}
|
||||
},
|
||||
"packages/ripple-keypairs": {
|
||||
"version": "1.1.2",
|
||||
"version": "1.1.0",
|
||||
"integrity": "sha512-Zlmbtn2YUpW4uKlLm2/tpkY5RC/EXQlkJwIIKp0AoF9D23pJ43/EuipNW2F6qURdbkUezDwB0bMV7uRXip3x2w==",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
@@ -16652,14 +16627,15 @@
|
||||
"brorand": "^1.0.5",
|
||||
"elliptic": "^6.5.4",
|
||||
"hash.js": "^1.0.3",
|
||||
"ripple-address-codec": "^4.2.2"
|
||||
"ripple-address-codec": "^4.2.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 10"
|
||||
"node": ">= 10",
|
||||
"npm": ">=7.0.0"
|
||||
}
|
||||
},
|
||||
"packages/xrpl": {
|
||||
"version": "2.0.4",
|
||||
"version": "2.0.2",
|
||||
"integrity": "sha512-NmrSYpXym7NzGABeXU1H8g4ZtCxRhr/3wu0lguxzcIYpcKPgWLYimg+s9NLLNbPWTZdxXu9SeSWu5zh4gyqAeA==",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
@@ -16668,16 +16644,17 @@
|
||||
"bip39": "^3.0.4",
|
||||
"https-proxy-agent": "^5.0.0",
|
||||
"lodash": "^4.17.4",
|
||||
"ripple-address-codec": "^4.2.2",
|
||||
"ripple-binary-codec": "^1.2.2",
|
||||
"ripple-keypairs": "^1.1.2",
|
||||
"ripple-address-codec": "^4.2.0",
|
||||
"ripple-binary-codec": "^1.2.0",
|
||||
"ripple-keypairs": "^1.1.0",
|
||||
"ws": "^8.2.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"xrpl-local": "file:./src"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=10.13.0"
|
||||
"node": ">=10.13.0",
|
||||
"npm": ">=7.14.0 <8.0.0"
|
||||
}
|
||||
},
|
||||
"packages/xrpl/node_modules/ws": {
|
||||
@@ -16700,8 +16677,6 @@
|
||||
}
|
||||
},
|
||||
"packages/xrpl/src": {
|
||||
"name": "xrpl-local",
|
||||
"version": "0.0.1",
|
||||
"dev": true
|
||||
}
|
||||
},
|
||||
@@ -17187,20 +17162,18 @@
|
||||
"dev": true
|
||||
},
|
||||
"@es-joy/jsdoccomment": {
|
||||
"version": "0.12.0",
|
||||
"resolved": "https://registry.npmjs.org/@es-joy/jsdoccomment/-/jsdoccomment-0.12.0.tgz",
|
||||
"integrity": "sha512-Gw4/j9v36IKY8ET+W0GoOzrRw17xjf21EIFFRL3zx21fF5MnqmeNpNi+PU/LKjqLpPb2Pw2XdlJbYM31VVo/PQ==",
|
||||
"version": "0.10.8",
|
||||
"integrity": "sha512-3P1JiGL4xaR9PoTKUHa2N/LKwa2/eUdRqGwijMWWgBqbFEqJUVpmaOi2TcjcemrsRMgFLBzQCK4ToPhrSVDiFQ==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"comment-parser": "1.2.4",
|
||||
"esquery": "^1.4.0",
|
||||
"jsdoc-type-pratt-parser": "2.0.0"
|
||||
"jsdoc-type-pratt-parser": "1.1.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"comment-parser": {
|
||||
"version": "1.2.4",
|
||||
"resolved": "https://registry.npmjs.org/comment-parser/-/comment-parser-1.2.4.tgz",
|
||||
"integrity": "sha512-pm0b+qv+CkWNriSTMsfnjChF9kH0kxz55y44Wo5le9qLxMj5xDQAaEd9ZN1ovSuk9CsrncWaFwgpOMg7ClJwkw==",
|
||||
"jsdoc-type-pratt-parser": {
|
||||
"version": "1.1.1",
|
||||
"integrity": "sha512-uelRmpghNwPBuZScwgBG/OzodaFk5RbO5xaivBdsAY70icWfShwZ7PCMO0x1zSkOa8T1FzHThmrdoyg/0AwV5g==",
|
||||
"dev": true
|
||||
}
|
||||
}
|
||||
@@ -18950,9 +18923,8 @@
|
||||
"dev": true
|
||||
},
|
||||
"@types/node": {
|
||||
"version": "16.11.11",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.11.tgz",
|
||||
"integrity": "sha512-KB0sixD67CeecHC33MYn+eYARkqTheIRNuu97y2XMjR7Wu3XibO1vaY6VBV6O/a89SPI81cEUIYT87UqUWlZNw==",
|
||||
"version": "16.11.6",
|
||||
"integrity": "sha512-ua7PgUoeQFjmWPcoo9khiPum3Pd60k4/2ZGXt18sm2Slk0W0xZTqt5Y0Ny1NyBiN1EVQ/+FaF9NcY4Qe6rwk5w==",
|
||||
"dev": true
|
||||
},
|
||||
"@types/normalize-package-data": {
|
||||
@@ -20475,9 +20447,8 @@
|
||||
"dev": true
|
||||
},
|
||||
"comment-parser": {
|
||||
"version": "1.3.0",
|
||||
"resolved": "https://registry.npmjs.org/comment-parser/-/comment-parser-1.3.0.tgz",
|
||||
"integrity": "sha512-hRpmWIKgzd81vn0ydoWoyPoALEOnF4wt8yKD35Ib1D6XC2siLiYaiqfGkYrunuKdsXGwpBpHU3+9r+RVw2NZfA==",
|
||||
"version": "1.2.4",
|
||||
"integrity": "sha512-pm0b+qv+CkWNriSTMsfnjChF9kH0kxz55y44Wo5le9qLxMj5xDQAaEd9ZN1ovSuk9CsrncWaFwgpOMg7ClJwkw==",
|
||||
"dev": true
|
||||
},
|
||||
"commondir": {
|
||||
@@ -21411,9 +21382,8 @@
|
||||
"requires": {}
|
||||
},
|
||||
"eslint-plugin-consistent-default-export-name": {
|
||||
"version": "0.0.14",
|
||||
"resolved": "https://registry.npmjs.org/eslint-plugin-consistent-default-export-name/-/eslint-plugin-consistent-default-export-name-0.0.14.tgz",
|
||||
"integrity": "sha512-9+YfYLQchFArcFvg7vHPjJZi3sUUIA5D2DWLmZzFbnmRf+wdX/9lgbKEaiJKfr+3/sYIvP71EdFlpjzOlSbm2Q==",
|
||||
"version": "0.0.13",
|
||||
"integrity": "sha512-vrCH7XnvJZTTVlw8zH+4X84bK7MbI9/h4m0r7wxvYcbW4XViSDb99SBE6Wz1HmWzz3sUHID6nFeVjek5qdObRA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"lodash.camelcase": "^4.3.0",
|
||||
@@ -21482,31 +21452,19 @@
|
||||
}
|
||||
},
|
||||
"eslint-plugin-jsdoc": {
|
||||
"version": "37.1.0",
|
||||
"resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-37.1.0.tgz",
|
||||
"integrity": "sha512-DpkFzX5Sqkqzy4MCgowhDXmusWcF1Gn7wYnphdGfWmIkoQr6SwL0jEtltGAVyF5Rj6ACi6ydw0oCCI5hF3yz6w==",
|
||||
"version": "36.1.1",
|
||||
"integrity": "sha512-nuLDvH1EJaKx0PCa9oeQIxH6pACIhZd1gkalTUxZbaxxwokjs7TplqY0Q8Ew3CoZaf5aowm0g/Z3JGHCatt+gQ==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@es-joy/jsdoccomment": "0.12.0",
|
||||
"comment-parser": "1.3.0",
|
||||
"debug": "^4.3.3",
|
||||
"escape-string-regexp": "^4.0.0",
|
||||
"@es-joy/jsdoccomment": "0.10.8",
|
||||
"comment-parser": "1.2.4",
|
||||
"debug": "^4.3.2",
|
||||
"esquery": "^1.4.0",
|
||||
"jsdoc-type-pratt-parser": "^2.0.0",
|
||||
"jsdoc-type-pratt-parser": "^1.1.1",
|
||||
"lodash": "^4.17.21",
|
||||
"regextras": "^0.8.0",
|
||||
"semver": "^7.3.5",
|
||||
"spdx-expression-parse": "^3.0.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"debug": {
|
||||
"version": "4.3.3",
|
||||
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz",
|
||||
"integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"ms": "2.1.2"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"eslint-plugin-jsx-a11y": {
|
||||
@@ -24195,9 +24153,8 @@
|
||||
"dev": true
|
||||
},
|
||||
"jsdoc-type-pratt-parser": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/jsdoc-type-pratt-parser/-/jsdoc-type-pratt-parser-2.0.0.tgz",
|
||||
"integrity": "sha512-sUuj2j48wxrEpbFjDp1sAesAxPiLT+z0SWVmMafyIINs6Lj5gIPKh3VrkBZu4E/Dv+wHpOot0m6H8zlHQjwqeQ==",
|
||||
"version": "1.2.0",
|
||||
"integrity": "sha512-4STjeF14jp4bqha44nKMY1OUI6d2/g6uclHWUCZ7B4DoLzaB5bmpTkQrpqU+vSVzMD0LsKAOskcnI3I3VfIpmg==",
|
||||
"dev": true
|
||||
},
|
||||
"jsdom": {
|
||||
@@ -26442,9 +26399,8 @@
|
||||
"dev": true
|
||||
},
|
||||
"prettier": {
|
||||
"version": "2.5.0",
|
||||
"resolved": "https://registry.npmjs.org/prettier/-/prettier-2.5.0.tgz",
|
||||
"integrity": "sha512-FM/zAKgWTxj40rH03VxzIPdXmj39SwSjwG0heUcNFwI+EMZJnY93yAiKXM3dObIKAM5TA88werc8T/EwhB45eg==",
|
||||
"version": "2.4.1",
|
||||
"integrity": "sha512-9fbDAXSBcc6Bs1mZrDYb3XKzDLm4EXXL9sC1LqKP5rZkT6KRr/rf9amVUcODVXgguK/isJz0d0hP72WeaKWsvA==",
|
||||
"dev": true
|
||||
},
|
||||
"prettier-linter-helpers": {
|
||||
@@ -27096,7 +27052,7 @@
|
||||
"buffer": "5.6.0",
|
||||
"create-hash": "^1.2.0",
|
||||
"decimal.js": "^10.2.0",
|
||||
"ripple-address-codec": "^4.2.2"
|
||||
"ripple-address-codec": "^4.2.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"buffer": {
|
||||
@@ -27116,7 +27072,7 @@
|
||||
"brorand": "^1.0.5",
|
||||
"elliptic": "^6.5.4",
|
||||
"hash.js": "^1.0.3",
|
||||
"ripple-address-codec": "^4.2.2"
|
||||
"ripple-address-codec": "^4.2.0"
|
||||
}
|
||||
},
|
||||
"rsvp": {
|
||||
@@ -28570,9 +28526,8 @@
|
||||
}
|
||||
},
|
||||
"typedoc": {
|
||||
"version": "0.22.10",
|
||||
"resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.22.10.tgz",
|
||||
"integrity": "sha512-hQYZ4WtoMZ61wDC6w10kxA42+jclWngdmztNZsDvIz7BMJg7F2xnT+uYsUa7OluyKossdFj9E9Ye4QOZKTy8SA==",
|
||||
"version": "0.22.8",
|
||||
"integrity": "sha512-92S+YzyhospdXN5rnkYUTgirdTYqNWY7NP9vco+IqQQoiSXzVSUsawVro+tMyEEsWUS7EMaJ2YOjB9uE0CBi6A==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"glob": "^7.2.0",
|
||||
@@ -28602,9 +28557,8 @@
|
||||
"integrity": "sha512-7uc1O8h1M1g0rArakJdf0uLRSSgFcYexrVoKo+bzJd32gd4gDy2L/Z+8/FjPnU9ydY3pEnVPtr9FyscYY60K1g=="
|
||||
},
|
||||
"typescript": {
|
||||
"version": "4.5.2",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.5.2.tgz",
|
||||
"integrity": "sha512-5BlMof9H1yGt0P8/WF+wPNw6GfctgGjXp5hkblpyT+8rkASSmkUKMXrxR0Xg8ThVCi/JnHQiKXeBaEwCeQwMFw==",
|
||||
"version": "4.4.4",
|
||||
"integrity": "sha512-DqGhF5IKoBl8WNf8C1gu8q0xZSInh9j1kJJMqT3a94w1JzVaBU4EXOSMrz9yDqMT0xt3selp83fuFMQ0uzv6qA==",
|
||||
"dev": true
|
||||
},
|
||||
"uglify-js": {
|
||||
@@ -29254,9 +29208,9 @@
|
||||
"bip39": "^3.0.4",
|
||||
"https-proxy-agent": "^5.0.0",
|
||||
"lodash": "^4.17.4",
|
||||
"ripple-address-codec": "^4.2.2",
|
||||
"ripple-binary-codec": "^1.2.2",
|
||||
"ripple-keypairs": "^1.1.2",
|
||||
"ripple-address-codec": "^4.2.0",
|
||||
"ripple-binary-codec": "^1.2.0",
|
||||
"ripple-keypairs": "^1.1.0",
|
||||
"ws": "^8.2.2",
|
||||
"xrpl-local": "file:src"
|
||||
},
|
||||
|
||||
@@ -35,10 +35,10 @@
|
||||
"ejs": "^3.0.1",
|
||||
"eslint": "^7.5.0",
|
||||
"eslint-plugin-array-func": "^3.1.7",
|
||||
"eslint-plugin-consistent-default-export-name": "^0.0.14",
|
||||
"eslint-plugin-consistent-default-export-name": "^0.0.13",
|
||||
"eslint-plugin-eslint-comments": "^3.2.0",
|
||||
"eslint-plugin-import": "^2.24.1",
|
||||
"eslint-plugin-jsdoc": "^37.1.0",
|
||||
"eslint-plugin-jsdoc": "^36.0.0",
|
||||
"eslint-plugin-mocha": "^9.0.0",
|
||||
"eslint-plugin-node": "^11.1.0",
|
||||
"eslint-plugin-prettier": "^4.0.0",
|
||||
|
||||
@@ -1,9 +1,5 @@
|
||||
# ripple-address-codec
|
||||
|
||||
## 4.2.1 (2021-12-1)
|
||||
- Fix issue where npm < 7 could not install the library
|
||||
- Initial pass at linting this codebase with new rules
|
||||
|
||||
## 4.2.0 (2021-11-15)
|
||||
- Converts ripple-address-codec into a monorepo with ripple-binary-codec,
|
||||
ripple-keypairs, and xrpl. Changes to build tooling but no new features or
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ripple-address-codec",
|
||||
"version": "4.2.2",
|
||||
"version": "4.2.1-beta.0",
|
||||
"description": "encodes/decodes base58 encoded XRP Ledger identifiers",
|
||||
"files": [
|
||||
"dist/*",
|
||||
@@ -27,6 +27,7 @@
|
||||
},
|
||||
"prettier": "@xrplf/prettier-config",
|
||||
"engines": {
|
||||
"node": ">= 10"
|
||||
"node": ">= 10",
|
||||
"npm": ">=7.0.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,11 +1,5 @@
|
||||
# ripple-binary-codec Release History
|
||||
|
||||
## 1.2.2 (2021-12-2)
|
||||
- Fix issue where unsupported currency codes weren't being correctly processed
|
||||
|
||||
## 1.2.1 (2021-12-1)
|
||||
- Fix issue where npm < 7 could not install the library
|
||||
|
||||
## 1.2.0 (2021-11-15)
|
||||
- Converts ripple-binary-codec into a monorepo with ripple-address-codec,
|
||||
ripple-keypairs, and xrpl
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ripple-binary-codec",
|
||||
"version": "1.2.2",
|
||||
"version": "1.2.1-beta.0",
|
||||
"description": "XRP Ledger binary codec",
|
||||
"files": [
|
||||
"dist/*",
|
||||
@@ -17,7 +17,7 @@
|
||||
"buffer": "5.6.0",
|
||||
"create-hash": "^1.2.0",
|
||||
"decimal.js": "^10.2.0",
|
||||
"ripple-address-codec": "^4.2.2"
|
||||
"ripple-address-codec": "^4.2.1-beta.0"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "run-script-os",
|
||||
@@ -40,6 +40,7 @@
|
||||
"readmeFilename": "README.md",
|
||||
"prettier": "@xrplf/prettier-config",
|
||||
"engines": {
|
||||
"node": ">=10.22.0"
|
||||
"node": ">=10.22.0",
|
||||
"npm": ">=7.0.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -154,10 +154,7 @@ class BinarySerializer {
|
||||
isUnlModifyWorkaround = false,
|
||||
): void {
|
||||
const bytes = new BytesList()
|
||||
if (!isUnlModifyWorkaround) {
|
||||
// this part doesn't happen for the Account field in a UNLModify transaction
|
||||
value.toBytesSink(bytes)
|
||||
}
|
||||
if (!isUnlModifyWorkaround) value.toBytesSink(bytes)
|
||||
this.put(this.encodeVariableLength(bytes.getLength()))
|
||||
this.writeBytesList(bytes)
|
||||
}
|
||||
|
||||
@@ -89,7 +89,7 @@ class Currency extends Hash160 {
|
||||
|
||||
if (this.bytes[0] !== 0) {
|
||||
this._iso = null
|
||||
} else if (/^0*$/.test(this.bytes.toString('hex'))) {
|
||||
} else if (code.toString('hex') === '000000') {
|
||||
this._iso = 'XRP'
|
||||
} else {
|
||||
this._iso = isoCodeFromHex(code)
|
||||
|
||||
@@ -128,12 +128,8 @@ class STObject extends SerializedType {
|
||||
xAddressDecoded[field.name],
|
||||
)
|
||||
if ((associatedValue as unknown as Bytes).name === 'UNLModify') {
|
||||
// triggered when the TransactionType field has a value of 'UNLModify'
|
||||
isUnlModify = true
|
||||
}
|
||||
// true when in the UNLModify pseudotransaction (after the transaction type has been processed) and working with the
|
||||
// Account field
|
||||
// The Account field must not be a part of the UNLModify pseudotransaction encoding, due to a bug in rippled
|
||||
const isUnlModifyWorkaround = field.name == 'Account' && isUnlModify
|
||||
bytes.writeFieldAndValue(field, associatedValue, isUnlModifyWorkaround)
|
||||
if (field.type.name === ST_OBJECT) {
|
||||
|
||||
@@ -69,7 +69,6 @@ describe('Currency', function () {
|
||||
expect(Currency.from('X8P').toJSON()).toBe('X8P')
|
||||
expect(Currency.from('USD').toJSON()).toBe('USD')
|
||||
})
|
||||
|
||||
test('can be constructed from a Buffer', function () {
|
||||
const xrp = new Currency(Buffer.alloc(20))
|
||||
expect(xrp.iso()).toBe('XRP')
|
||||
@@ -78,12 +77,6 @@ describe('Currency', function () {
|
||||
const currency = '015841551A748AD2C1F76FF6ECB0CCCD00000000'
|
||||
expect(Currency.from(currency).toJSON()).toBe(currency)
|
||||
})
|
||||
|
||||
test('Can handle other non-standard currency codes', () => {
|
||||
const currency = '0000000000414C6F676F30330000000000000000'
|
||||
expect(Currency.from(currency).toJSON()).toBe(currency)
|
||||
})
|
||||
|
||||
test('throws on invalid reprs', function () {
|
||||
expect(() => Currency.from(Buffer.alloc(19))).toThrow()
|
||||
expect(() => Currency.from(1)).toThrow()
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
# ripple-keypairs Release History
|
||||
|
||||
## 1.1.1 (2021-12-1)
|
||||
- Fix issue where npm < 7 was not allowed to install the library
|
||||
|
||||
## 1.1.0 (2021-11-15)
|
||||
- Converts ripple-keypairs into a monorepo with ripple-binary-codec,
|
||||
ripple-address-codec, and xrpl. Changes to build tooling but no new features or
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ripple-keypairs",
|
||||
"version": "1.1.2",
|
||||
"version": "1.1.1-beta.0",
|
||||
"description": "Cryptographic key pairs for the XRP Ledger",
|
||||
"scripts": {
|
||||
"build": "tsc -b",
|
||||
@@ -21,7 +21,7 @@
|
||||
"brorand": "^1.0.5",
|
||||
"elliptic": "^6.5.4",
|
||||
"hash.js": "^1.0.3",
|
||||
"ripple-address-codec": "^4.2.2"
|
||||
"ripple-address-codec": "^4.2.1-beta.0"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@@ -30,6 +30,7 @@
|
||||
"license": "ISC",
|
||||
"prettier": "@xrplf/prettier-config",
|
||||
"engines": {
|
||||
"node": ">= 10"
|
||||
"node": ">= 10",
|
||||
"npm": ">=7.0.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,13 +2,6 @@
|
||||
|
||||
Subscribe to [the **xrpl-announce** mailing list](https://groups.google.com/g/xrpl-announce) for release announcements. We recommend that xrpl.js (ripple-lib) users stay up-to-date with the latest stable release.
|
||||
|
||||
## 2.0.3 (2021-12-1)
|
||||
* Removes requirement for npm version > 7 for non-contributors
|
||||
* Added a workaround for rippled UNLModify encoding bug (#1830)
|
||||
* For contributors -
|
||||
* Renamed the master branch to main, and now just have one main branch
|
||||
* Fixed issues which made Windows contributors unable to build the library
|
||||
|
||||
## 2.0.2 (2021-11-15)
|
||||
* Imports ripple-address-codec, ripple-binary-codec, and ripple-keypairs into
|
||||
this repo. No new features or bug fixes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "xrpl",
|
||||
"version": "2.0.4",
|
||||
"version": "2.0.3-beta.0",
|
||||
"license": "ISC",
|
||||
"description": "A TypeScript/JavaScript API for interacting with the XRP Ledger in Node.js and the browser",
|
||||
"files": [
|
||||
@@ -24,9 +24,9 @@
|
||||
"bip39": "^3.0.4",
|
||||
"https-proxy-agent": "^5.0.0",
|
||||
"lodash": "^4.17.4",
|
||||
"ripple-address-codec": "^4.2.2",
|
||||
"ripple-binary-codec": "^1.2.2",
|
||||
"ripple-keypairs": "^1.1.2",
|
||||
"ripple-address-codec": "^4.2.1-beta.0",
|
||||
"ripple-binary-codec": "^1.2.1-beta.0",
|
||||
"ripple-keypairs": "^1.1.1-beta.0",
|
||||
"ws": "^8.2.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
@@ -64,6 +64,7 @@
|
||||
},
|
||||
"readmeFilename": "README.md",
|
||||
"engines": {
|
||||
"node": ">=10.13.0"
|
||||
"node": ">=10.13.0",
|
||||
"npm": ">=7.14.0 <8.0.0"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user