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

soleasy

Package Overview
Dependencies
Maintainers
0
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

soleasy - npm Package Compare versions

Comparing version 0.0.30 to 0.0.31

13

build/index.js

@@ -107,6 +107,10 @@ #! /usr/bin/env node

let stateMutability = "";
if (contractABI[i]?.stateMutability != "nonpayable") {
stateMutability = contractABI[i].stateMutability;
if (contractABI[i]?.stateMutability != null
&& contractABI[i]?.stateMutability != "nonpayable") {
stateMutability = " " + contractABI[i].stateMutability;
}
fnInterfaces += `) external ${stateMutability}`;
fnInterfaces += `)`;
if (contractABI[i].type == "function") {
fnInterfaces += ` external${stateMutability}`;
}
const outputs = contractABI[i].outputs;

@@ -127,4 +131,5 @@ if (outputs?.length > 0) {

}
fnInterfaces += `);`;
fnInterfaces += `)`;
}
fnInterfaces += `;`;
if (i < contractABI.length - 1) {

@@ -131,0 +136,0 @@ fnInterfaces += `\n`;

@@ -104,6 +104,10 @@ #! /usr/bin/env node

let stateMutability = ""
if(contractABI[i]?.stateMutability != "nonpayable"){
stateMutability = contractABI[i].stateMutability
if(contractABI[i]?.stateMutability != null
&& contractABI[i]?.stateMutability != "nonpayable"){
stateMutability = " "+contractABI[i].stateMutability
}
fnInterfaces += `) external ${stateMutability}`
fnInterfaces += `)`
if(contractABI[i].type == "function"){
fnInterfaces += ` external${stateMutability}`
}
const outputs = contractABI[i].outputs

@@ -124,5 +128,6 @@ if(outputs?.length > 0){

}
fnInterfaces += `);`
fnInterfaces += `)`
}
fnInterfaces += `;`
if(i < contractABI.length-1){

@@ -129,0 +134,0 @@ fnInterfaces += `\n`

{
"name": "soleasy",
"version": "0.0.30",
"version": "0.0.31",
"description": "Make solidity so easy",

@@ -5,0 +5,0 @@ "main": "index.js",

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