re-add soljson.js and add version func

pull/1/head
d11e9 9 years ago
parent c28ac8b35c
commit 2b031ef2ec
  1. 3
      index.js
  2. 2
      package.json

@ -6,5 +6,6 @@ compileJSON = soljson.cwrap("compileJSON", "string", ["string", "number"]);
module.exports = {
compile: function(input, optimise){
return JSON.parse( compileJSON(input, optimise) );
}
},
version: soljson.cwrap("version", "string", [])
}

@ -1,6 +1,6 @@
{
"name": "solc",
"version": "0.1.3-1",
"version": "0.1.3-2",
"description": "Solidity compiler",
"main": "index.js",
"scripts": {

Loading…
Cancel
Save