@bithomp/xrpl-api 3.8.0 → 3.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/client.js +3 -0
  2. package/package.json +6 -6
package/lib/client.js CHANGED
@@ -101,6 +101,9 @@ function findConnection(type, url, strongFilter, hash, networkID) {
101
101
  return false;
102
102
  }
103
103
  if (typeof type !== "string") {
104
+ if (con.types.includes("$requiredType")) {
105
+ return false;
106
+ }
104
107
  return true;
105
108
  }
106
109
  if (con.types.length === 0) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bithomp/xrpl-api",
3
- "version": "3.8.0",
3
+ "version": "3.8.1",
4
4
  "description": "A Bithomp JavaScript/TypeScript library for interacting with the XRP Ledger",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -54,7 +54,7 @@
54
54
  "@noble/ed25519": "^3.1.0",
55
55
  "@noble/hashes": "^2.2.0",
56
56
  "@noble/secp256k1": "^3.1.0",
57
- "axios": "^1.17.0",
57
+ "axios": "^1.18.0",
58
58
  "base-x": "^5.0.1",
59
59
  "bignumber.js": "^11.1.3",
60
60
  "lodash": "^4.18.1",
@@ -70,14 +70,14 @@
70
70
  "@types/lodash": "^4.17.24",
71
71
  "@types/mocha": "^10.0.10",
72
72
  "@types/nconf": "^0.10.7",
73
- "@types/node": "^25.9.2",
74
- "@typescript-eslint/eslint-plugin": "^8.60.1",
75
- "@typescript-eslint/parser": "^8.60.1",
73
+ "@types/node": "^25.9.3",
74
+ "@typescript-eslint/eslint-plugin": "^8.61.1",
75
+ "@typescript-eslint/parser": "^8.61.1",
76
76
  "chai": "^6.2.2",
77
77
  "chai-as-promised": "^8.0.2",
78
78
  "eslint": "^9.39.4",
79
79
  "eslint-config-prettier": "^10.1.8",
80
- "eslint-plugin-chai-friendly": "^1.2.0",
80
+ "eslint-plugin-chai-friendly": "^1.2.1",
81
81
  "eslint-plugin-import": "^2.32.0",
82
82
  "eslint-plugin-n": "^18.0.1",
83
83
  "eslint-plugin-promise": "^7.3.0",