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

pudding-loader

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pudding-loader - npm Package Compare versions

Comparing version 0.0.1 to 0.0.3

18

index.js

@@ -0,4 +1,5 @@

var Pudding = require('ether-pudding');
var PuddingGenerator = require('ether-pudding/generator');
module.exports = function(compiledSolObj) {
module.exports = function(compiledSolObj) {

@@ -8,16 +9,13 @@ this.cacheable();

var classContracts = "";
if(Pudding.version === undefined) { Pudding.version = '0.0.0'; }
for (var contractName in compiledSolObj.contracts){
var compiledSolObj = inputCompiled.contracts[contractName];
var contractInterface = compiledSolObj.interface;
var contractBytecode = compiledSolObj.bytecode;
var inputCompiled = compiledSolObj.contracts[contractName];
var whiskyInfo = Pudding.whisk(contractInterface, contractBytecode);
classContracts += PuddingGenerator.generate(contractName, whiskyInfo);
classContracts += PuddingGenerator.generate(contractName, inputCompiled, Pudding);
}
return classContracts;
return classContracts;
}
{
"name": "pudding-loader",
"version": "0.0.1",
"version": "0.0.3",
"description": "Pudding loader for Webpack to call solidity contracts",

@@ -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