From fa17ac022722cb48da894f9379559a64b30a14b2 Mon Sep 17 00:00:00 2001 From: ieow Date: Tue, 9 Jan 2024 14:23:53 +0800 Subject: [PATCH] feat: update http helper --- package-lock.json | 31 +++++++++++++++++++++++++++---- package.json | 2 +- 2 files changed, 28 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index b4a8069..c079453 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,7 @@ "dependencies": { "@toruslabs/constants": "^13.1.0", "@toruslabs/eccrypto": "^4.0.0", - "@toruslabs/http-helpers": "^5.0.0", + "@toruslabs/http-helpers": "^6.0.0", "bn.js": "^5.2.1", "elliptic": "^6.5.4", "ethereum-cryptography": "^2.1.2", @@ -2997,6 +2997,29 @@ "@babel/runtime": "7.x" } }, + "node_modules/@toruslabs/fetch-node-details/node_modules/@toruslabs/http-helpers": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/@toruslabs/http-helpers/-/http-helpers-5.0.0.tgz", + "integrity": "sha512-GmezWz9JeF6YyhjLSm+9XDF4YaeICEckY0Jbo43i86SjhfJYgRWqEi63VSiNsaqc/z810Q0FQvEk1TnBRX2tgA==", + "dev": true, + "dependencies": { + "lodash.merge": "^4.6.2", + "loglevel": "^1.8.1" + }, + "engines": { + "node": ">=18.x", + "npm": ">=9.x" + }, + "peerDependencies": { + "@babel/runtime": "^7.x", + "@sentry/types": "^7.x" + }, + "peerDependenciesMeta": { + "@sentry/types": { + "optional": true + } + } + }, "node_modules/@toruslabs/fnd-base": { "version": "13.1.1", "resolved": "https://registry.npmjs.org/@toruslabs/fnd-base/-/fnd-base-13.1.1.tgz", @@ -3014,9 +3037,9 @@ } }, "node_modules/@toruslabs/http-helpers": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/@toruslabs/http-helpers/-/http-helpers-5.0.0.tgz", - "integrity": "sha512-GmezWz9JeF6YyhjLSm+9XDF4YaeICEckY0Jbo43i86SjhfJYgRWqEi63VSiNsaqc/z810Q0FQvEk1TnBRX2tgA==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/@toruslabs/http-helpers/-/http-helpers-6.0.0.tgz", + "integrity": "sha512-/KrISB9fGV2TM+5Z+0CGj24d/G08kqbB+kodO3nbwNcS0a55dpy+RiB0naF3H1gbEt4Ah5YH8qCDyAZ+zcR2FQ==", "dependencies": { "lodash.merge": "^4.6.2", "loglevel": "^1.8.1" diff --git a/package.json b/package.json index 6c18834..d5b748f 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "dependencies": { "@toruslabs/constants": "^13.1.0", "@toruslabs/eccrypto": "^4.0.0", - "@toruslabs/http-helpers": "^5.0.0", + "@toruslabs/http-helpers": "^6.0.0", "bn.js": "^5.2.1", "elliptic": "^6.5.4", "ethereum-cryptography": "^2.1.2",