Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@rarible/estimate-middleware

Package Overview
Dependencies
Maintainers
1
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rarible/estimate-middleware - npm Package Compare versions

Comparing version 0.7.0 to 0.7.1

12

build/middleware.js

@@ -14,3 +14,3 @@ "use strict";

if (force === void 0) { force = false; }
return (0, json_rpc_engine_1.createAsyncMiddleware)(function (req, _, next) { return (0, tslib_1.__awaiter)(_this, void 0, void 0, function () {
return (0, json_rpc_engine_1.createAsyncMiddleware)(function (req, resp, next) { return (0, tslib_1.__awaiter)(_this, void 0, void 0, function () {
var params, response, error_1;

@@ -20,2 +20,7 @@ return (0, tslib_1.__generator)(this, function (_a) {

case 0:
if (req.method === "eth_subscribe") {
resp.id = req.id;
resp.error = { "code": -32000, "message": "notifications not supported" };
return [2 /*return*/];
}
if (!(req.method === "eth_sendTransaction")) return [3 /*break*/, 5];

@@ -36,4 +41,5 @@ _a.label = 1;

return [3 /*break*/, 5];
case 5:
next();
case 5: return [4 /*yield*/, next()];
case 6:
_a.sent();
return [2 /*return*/];

@@ -40,0 +46,0 @@ }

{
"name": "@rarible/estimate-middleware",
"version": "0.7.0",
"version": "0.7.1",
"keywords": [

@@ -38,3 +38,3 @@ "rarible",

},
"gitHead": "f348ad7153d2adc4ce9d573aa1f381e164685dfa"
"gitHead": "1ac74e0b72b52381f8da1d4c90095243babeae61"
}

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