mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-12-06 17:27:59 +00:00
Compare commits
2 Commits
expanded-s
...
client-hea
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f696b1f2bf | ||
|
|
aff6988f09 |
8
package-lock.json
generated
8
package-lock.json
generated
@@ -16704,7 +16704,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"packages/ripple-binary-codec": {
|
"packages/ripple-binary-codec": {
|
||||||
"version": "1.4.1",
|
"version": "1.4.2",
|
||||||
"integrity": "sha512-XMRCbFXyG+dGp3x7tMs9IwA+FVWPPaGjdHYW2+g4Q/WQJqFp5MRED+jjOBOUafmrW4TUsOn1PEEdbB4ozWbDBw==",
|
"integrity": "sha512-XMRCbFXyG+dGp3x7tMs9IwA+FVWPPaGjdHYW2+g4Q/WQJqFp5MRED+jjOBOUafmrW4TUsOn1PEEdbB4ozWbDBw==",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
@@ -16743,7 +16743,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"packages/xrpl": {
|
"packages/xrpl": {
|
||||||
"version": "2.3.0",
|
"version": "2.3.1",
|
||||||
"integrity": "sha512-NmrSYpXym7NzGABeXU1H8g4ZtCxRhr/3wu0lguxzcIYpcKPgWLYimg+s9NLLNbPWTZdxXu9SeSWu5zh4gyqAeA==",
|
"integrity": "sha512-NmrSYpXym7NzGABeXU1H8g4ZtCxRhr/3wu0lguxzcIYpcKPgWLYimg+s9NLLNbPWTZdxXu9SeSWu5zh4gyqAeA==",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
@@ -16753,7 +16753,7 @@
|
|||||||
"https-proxy-agent": "^5.0.0",
|
"https-proxy-agent": "^5.0.0",
|
||||||
"lodash": "^4.17.4",
|
"lodash": "^4.17.4",
|
||||||
"ripple-address-codec": "^4.2.4",
|
"ripple-address-codec": "^4.2.4",
|
||||||
"ripple-binary-codec": "^1.4.1",
|
"ripple-binary-codec": "^1.4.2",
|
||||||
"ripple-keypairs": "^1.1.4",
|
"ripple-keypairs": "^1.1.4",
|
||||||
"ws": "^8.2.2"
|
"ws": "^8.2.2"
|
||||||
},
|
},
|
||||||
@@ -29425,7 +29425,7 @@
|
|||||||
"https-proxy-agent": "^5.0.0",
|
"https-proxy-agent": "^5.0.0",
|
||||||
"lodash": "^4.17.4",
|
"lodash": "^4.17.4",
|
||||||
"ripple-address-codec": "^4.2.4",
|
"ripple-address-codec": "^4.2.4",
|
||||||
"ripple-binary-codec": "^1.4.1",
|
"ripple-binary-codec": "^1.4.2",
|
||||||
"ripple-keypairs": "^1.1.4",
|
"ripple-keypairs": "^1.1.4",
|
||||||
"ws": "^8.2.2",
|
"ws": "^8.2.2",
|
||||||
"xrpl-local": "file:src"
|
"xrpl-local": "file:src"
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
# ripple-binary-codec Release History
|
# ripple-binary-codec Release History
|
||||||
|
|
||||||
## Unreleased
|
## Unreleased
|
||||||
|
|
||||||
|
## 1.4.2 (2022-06-27)
|
||||||
- Fixed standard currency codes with lowercase and allowed symbols not decoding into standard codes.
|
- Fixed standard currency codes with lowercase and allowed symbols not decoding into standard codes.
|
||||||
|
|
||||||
## 1.4.1 (2022-06-02)
|
## 1.4.1 (2022-06-02)
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "ripple-binary-codec",
|
"name": "ripple-binary-codec",
|
||||||
"version": "1.4.1",
|
"version": "1.4.2",
|
||||||
"description": "XRP Ledger binary codec",
|
"description": "XRP Ledger binary codec",
|
||||||
"files": [
|
"files": [
|
||||||
"dist/*",
|
"dist/*",
|
||||||
|
|||||||
@@ -3,6 +3,8 @@
|
|||||||
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.
|
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.
|
||||||
|
|
||||||
## Unreleased
|
## Unreleased
|
||||||
|
|
||||||
|
## 2.3.1 (2022-06-27)
|
||||||
### Fixed
|
### Fixed
|
||||||
* Signing tx with standard currency codes with lowercase and allowed symbols causing an error on decode.
|
* Signing tx with standard currency codes with lowercase and allowed symbols causing an error on decode.
|
||||||
|
|
||||||
|
|||||||
2
packages/xrpl/package-lock.json
generated
2
packages/xrpl/package-lock.json
generated
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "xrpl",
|
"name": "xrpl",
|
||||||
"version": "2.3.0",
|
"version": "2.3.1",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "xrpl",
|
"name": "xrpl",
|
||||||
"version": "2.3.0",
|
"version": "2.3.1",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"description": "A TypeScript/JavaScript API for interacting with the XRP Ledger in Node.js and the browser",
|
"description": "A TypeScript/JavaScript API for interacting with the XRP Ledger in Node.js and the browser",
|
||||||
"files": [
|
"files": [
|
||||||
@@ -27,7 +27,7 @@
|
|||||||
"https-proxy-agent": "^5.0.0",
|
"https-proxy-agent": "^5.0.0",
|
||||||
"lodash": "^4.17.4",
|
"lodash": "^4.17.4",
|
||||||
"ripple-address-codec": "^4.2.4",
|
"ripple-address-codec": "^4.2.4",
|
||||||
"ripple-binary-codec": "^1.4.1",
|
"ripple-binary-codec": "^1.4.2",
|
||||||
"ripple-keypairs": "^1.1.4",
|
"ripple-keypairs": "^1.1.4",
|
||||||
"ws": "^8.2.2"
|
"ws": "^8.2.2"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -36,6 +36,7 @@ interface ConnectionOptions {
|
|||||||
// request timeout
|
// request timeout
|
||||||
timeout: number
|
timeout: number
|
||||||
connectionTimeout: number
|
connectionTimeout: number
|
||||||
|
headers?: { [key: string]: string }
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -114,9 +115,15 @@ function createWebSocket(
|
|||||||
): WebSocket | null {
|
): WebSocket | null {
|
||||||
const options: WebSocket.ClientOptions = {}
|
const options: WebSocket.ClientOptions = {}
|
||||||
options.agent = getAgent(url, config)
|
options.agent = getAgent(url, config)
|
||||||
|
if (config.headers) {
|
||||||
|
options.headers = config.headers
|
||||||
|
}
|
||||||
if (config.authorization != null) {
|
if (config.authorization != null) {
|
||||||
const base64 = Buffer.from(config.authorization).toString('base64')
|
const base64 = Buffer.from(config.authorization).toString('base64')
|
||||||
options.headers = { Authorization: `Basic ${base64}` }
|
options.headers = {
|
||||||
|
...options.headers,
|
||||||
|
Authorization: `Basic ${base64}`,
|
||||||
|
}
|
||||||
}
|
}
|
||||||
const optionsOverrides = _.omitBy(
|
const optionsOverrides = _.omitBy(
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user