diff --git a/index.js b/index.js index 8b516b3bb4..6589bfd43f 100644 --- a/index.js +++ b/index.js @@ -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", []) } \ No newline at end of file diff --git a/package.json b/package.json index 5fa306cb52..ddfad50340 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "solc", - "version": "0.1.3-1", + "version": "0.1.3-2", "description": "Solidity compiler", "main": "index.js", "scripts": {