New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

web3-providers-http

Package Overview
Dependencies
Maintainers
3
Versions
491
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

web3-providers-http - npm Package Compare versions

Comparing version 4.2.1-dev.bbde6ea.0 to 4.2.1-dev.bc4a34b.0

lib/commonjs/tsconfig.cjs.tsbuildinfo

2

lib/commonjs/index.js

@@ -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.bbde6ea.0+bbde6ea",
"version": "4.2.1-dev.bc4a34b.0+bc4a34b",
"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.bbde6ea.0+bbde6ea",
"web3-types": "1.8.1-dev.bbde6ea.0+bbde6ea",
"web3-utils": "4.3.2-dev.bbde6ea.0+bbde6ea"
"web3-errors": "1.3.2-dev.bc4a34b.0+bc4a34b",
"web3-types": "1.10.1-dev.bc4a34b.0+bc4a34b",
"web3-utils": "4.3.4-dev.bc4a34b.0+bc4a34b"
},
"gitHead": "bbde6ea45b3fdf4c6d790952844e1160d7c3e3b1"
"gitHead": "bc4a34beb6a1e4e77265daad326cb6093684303d"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc