web3-provider-engine
Advanced tools
Comparing version 15.0.1 to 15.0.2
@@ -52,2 +52,9 @@ "use strict"; | ||
case 429: | ||
// Too many requests (rate limiting) | ||
return function () { | ||
var err = new Error("Too Many Requests"); | ||
return end(new JsonRpcError.InternalError(err)); | ||
}(); | ||
default: | ||
@@ -54,0 +61,0 @@ if (res.statusCode != 200) { |
{ | ||
"name": "web3-provider-engine", | ||
"version": "15.0.1", | ||
"version": "15.0.2", | ||
"description": "", | ||
@@ -27,3 +27,3 @@ "repository": "https://github.com/MetaMask/web3-provider-engine", | ||
"eth-json-rpc-infura": "^4.0.1", | ||
"eth-json-rpc-middleware": "^4.1.4", | ||
"eth-json-rpc-middleware": "^4.1.5", | ||
"eth-sig-util": "^1.4.2", | ||
@@ -30,0 +30,0 @@ "ethereumjs-block": "^1.2.2", |
# Web3 ProviderEngine | ||
[![Greenkeeper badge](https://badges.greenkeeper.io/MetaMask/provider-engine.svg)](https://greenkeeper.io/) | ||
Web3 ProviderEngine is a tool for composing your own [web3 providers](https://github.com/ethereum/wiki/wiki/JavaScript-API#web3). | ||
@@ -6,0 +4,0 @@ |
@@ -47,2 +47,7 @@ const xhr = process.browser ? require('xhr') : require('request') | ||
})() | ||
case 429: // Too many requests (rate limiting) | ||
return (function(){ | ||
const err = new Error(`Too Many Requests`) | ||
return end(new JsonRpcError.InternalError(err)) | ||
})() | ||
default: | ||
@@ -49,0 +54,0 @@ if (res.statusCode != 200) { |
Sorry, the diff of this file is too big to display
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
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
2163467
62890
136
+ Added@babel/helper-define-polyfill-provider@0.6.3(transitive)
+ Addedbabel-plugin-polyfill-corejs2@0.4.12(transitive)
+ Addedbabel-plugin-polyfill-regenerator@0.6.3(transitive)
+ Addedbn.js@4.12.1(transitive)
+ Addedcaniuse-lite@1.0.30001680(transitive)
+ Addedelectron-to-chromium@1.5.57(transitive)
+ Addedelliptic@6.6.1(transitive)
+ Addednode-gyp-build@4.8.3(transitive)
- Removed@babel/helper-define-polyfill-provider@0.6.2(transitive)
- Removedbabel-plugin-polyfill-corejs2@0.4.11(transitive)
- Removedbabel-plugin-polyfill-regenerator@0.6.2(transitive)
- Removedbn.js@4.12.0(transitive)
- Removedcaniuse-lite@1.0.30001679(transitive)
- Removedelectron-to-chromium@1.5.55(transitive)
- Removedelliptic@6.6.0(transitive)
- Removednode-gyp-build@4.8.2(transitive)