Socket
Socket
Sign inDemoInstall

@bitski/provider-engine

Package Overview
Dependencies
173
Maintainers
5
Versions
29
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.7.0-beta.5 to 0.8.0

3

dist/commonjs/subproviders/fetch.js

@@ -9,3 +9,2 @@ "use strict";

const waterfall_1 = __importDefault(require("async/waterfall"));
const cross_fetch_1 = __importDefault(require("cross-fetch"));
const json_rpc_error_1 = __importDefault(require("json-rpc-error"));

@@ -69,3 +68,3 @@ const promise_to_callback_1 = __importDefault(require("promise-to-callback"));

const targetUrl = this.rpcUrl;
promise_to_callback_1.default(cross_fetch_1.default(targetUrl, reqParams))((err, res) => {
promise_to_callback_1.default(fetch(targetUrl, reqParams))((err, res) => {
if (err) {

@@ -72,0 +71,0 @@ return done(err);

import asyncify from 'async/asyncify';
import retry from 'async/retry';
import waterfall from 'async/waterfall';
import fetch from 'cross-fetch';
import JsonRpcError from 'json-rpc-error';

@@ -6,0 +5,0 @@ import promiseToCallback from 'promise-to-callback';

{
"name": "@bitski/provider-engine",
"version": "0.7.0-beta.5",
"version": "0.8.0",
"description": "",

@@ -21,3 +21,2 @@ "repository": "https://github.com/BitskiCo/provider-engine",

"clone": "^2.0.0",
"cross-fetch": "^3.0.6",
"eth-block-tracker": "^4.4.2",

@@ -24,0 +23,0 @@ "eth-json-rpc-filters": "^4.2.1",

import asyncify from 'async/asyncify';
import retry from 'async/retry';
import waterfall from 'async/waterfall';
import fetch from 'cross-fetch';
import JsonRpcError from 'json-rpc-error';

@@ -6,0 +5,0 @@ import promiseToCallback from 'promise-to-callback';

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc