New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

abi2oas

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

abi2oas - npm Package Compare versions

Comparing version 0.0.11 to 0.0.12

4

OpenAPIGenerator.js

@@ -32,4 +32,6 @@ let fs = require("fs");

let config_path = usingPathArg ? path.dirname(config) : __dirname;
let config_path = usingPathArg ? path.dirname(config) : process.cwd();
console.log('config_path in abi2oas: ',config_path);
let contract_path = path.resolve(config_path, this.config.contract);
console.log('resulting contract_path in abi2oas: ',contract_path);
this.contract = JSON.parse(fs.readFileSync(contract_path)); //cs = contract_schema

@@ -36,0 +38,0 @@ }

{
"name": "abi2oas",
"version": "0.0.11",
"version": "0.0.12",
"description": "Ingests a smart contract's ABI and autogenerates an OpenAPI JSON, ready for Swagger codegen.",

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

@@ -98,6 +98,6 @@ # abi2oas

### Short-Term
-[x] Fix autogen to use GET or POST based on whether the function is `constant`, not whether it has inputs or outputs.
-[x] User-friendly CLI interaction via commander
-[] Check that the static `convert` method is working when imported to another npm package.
-[x] Fix autogen to use GET or POST based on whether the function is `constant`, not whether it has inputs or outputs.
-[] Add default definitions for Ethereum primitive types other than address & receipt
-[] User-friendly CLI interaction via commander
-[] Write tests for a variety of contracts

@@ -104,0 +104,0 @@

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