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

@uniswap/conedison

Package Overview
Dependencies
Maintainers
18
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uniswap/conedison - npm Package Compare versions

Comparing version 1.5.1 to 1.5.2

7

dist/provider/index.js

@@ -68,3 +68,3 @@ var __assign = (this && this.__assign) || function () {

return __awaiter(this, void 0, void 0, function () {
var gasLimit, hash, error_1;
var signer, gasLimit, hash, error_1;
var _this = this;

@@ -74,4 +74,5 @@ return __generator(this, function (_a) {

case 0:
signer = provider.getSigner();
if (!!skipGasLimit) return [3 /*break*/, 2];
return [4 /*yield*/, provider.estimateGas(transaction)];
return [4 /*yield*/, signer.estimateGas(transaction)];
case 1:

@@ -83,3 +84,3 @@ gasLimit = _a.sent();

_a.label = 2;
case 2: return [4 /*yield*/, provider.getSigner().sendUncheckedTransaction(__assign(__assign({}, transaction), { gasLimit: gasLimit }))];
case 2: return [4 /*yield*/, signer.sendUncheckedTransaction(__assign(__assign({}, transaction), { gasLimit: gasLimit }))];
case 3:

@@ -86,0 +87,0 @@ hash = _a.sent();

@@ -57,6 +57,8 @@ var __assign = (this && this.__assign) || function () {

var response = {};
var signer = { sendUncheckedTransaction: sendUncheckedTransaction };
var signer = {
estimateGas: jest.fn().mockResolvedValue(BigNumber.from(10)),
sendUncheckedTransaction: sendUncheckedTransaction,
};
var provider = {
once: jest.fn(),
estimateGas: jest.fn().mockResolvedValue(BigNumber.from(10)),
getSigner: jest.fn().mockReturnValue(signer),

@@ -63,0 +65,0 @@ getTransaction: getTransaction,

{
"name": "@uniswap/conedison",
"version": "1.5.1",
"version": "1.5.2",
"description": "Utilities for Uniswap front-end development",

@@ -5,0 +5,0 @@ "repository": "https://github.com/Uniswap/conedison",

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