web3-providers-http
Advanced tools
Comparing version 4.2.1-dev.70352cd.0 to 4.2.1-dev.7109fb2.0
@@ -55,4 +55,4 @@ "use strict"; | ||
request(payload, requestOptions) { | ||
var _a; | ||
return __awaiter(this, void 0, void 0, function* () { | ||
var _a; | ||
const providerOptionsCombined = Object.assign(Object.assign({}, (_a = this.httpProviderOptions) === null || _a === void 0 ? void 0 : _a.providerOptions), requestOptions); | ||
@@ -59,0 +59,0 @@ const response = yield (0, cross_fetch_1.default)(this.clientUrl, Object.assign(Object.assign({}, providerOptionsCombined), { method: 'POST', headers: Object.assign(Object.assign({}, providerOptionsCombined.headers), { 'Content-Type': 'application/json' }), body: JSON.stringify(payload) })); |
@@ -49,4 +49,4 @@ /* | ||
request(payload, requestOptions) { | ||
var _a; | ||
return __awaiter(this, void 0, void 0, function* () { | ||
var _a; | ||
const providerOptionsCombined = Object.assign(Object.assign({}, (_a = this.httpProviderOptions) === null || _a === void 0 ? void 0 : _a.providerOptions), requestOptions); | ||
@@ -53,0 +53,0 @@ const response = yield fetch(this.clientUrl, Object.assign(Object.assign({}, providerOptionsCombined), { method: 'POST', headers: Object.assign(Object.assign({}, providerOptionsCombined.headers), { 'Content-Type': 'application/json' }), body: JSON.stringify(payload) })); |
{ | ||
"name": "web3-providers-http", | ||
"version": "4.2.1-dev.70352cd.0+70352cd", | ||
"version": "4.2.1-dev.7109fb2.0+7109fb2", | ||
"description": "HTTP provider for Web3 4.x.x", | ||
@@ -60,11 +60,11 @@ "main": "./lib/commonjs/index.js", | ||
"ts-jest": "^29.1.1", | ||
"typescript": "^4.7.4" | ||
"typescript": "^5.5.4" | ||
}, | ||
"dependencies": { | ||
"cross-fetch": "^4.0.0", | ||
"web3-errors": "1.3.1-dev.70352cd.0+70352cd", | ||
"web3-types": "1.8.2-dev.70352cd.0+70352cd", | ||
"web3-utils": "4.3.3-dev.70352cd.0+70352cd" | ||
"web3-errors": "1.3.1-dev.7109fb2.0+7109fb2", | ||
"web3-types": "1.9.1-dev.7109fb2.0+7109fb2", | ||
"web3-utils": "4.3.3-dev.7109fb2.0+7109fb2" | ||
}, | ||
"gitHead": "70352cdf6fd6eff92b352ca5d6b3a07507fe5472" | ||
"gitHead": "7109fb281dfe7a170ae0b5f8aace54a63776bcac" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
27765
23
6