@bitski/provider-engine
Advanced tools
Comparing version 0.7.0-beta.5 to 0.8.0
@@ -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
12
281990
7404
2
- Removedcross-fetch@^3.0.6
- Removedcross-fetch@3.1.8(transitive)