This commit is contained in:
Jordi Baylina 2017-08-26 12:31:26 -07:00
parent 0aa9153b74
commit ce70cefad4
No known key found for this signature in database
GPG Key ID: 7480C80C1BE43112
3 changed files with 7 additions and 3 deletions

3
index.js Normal file
View File

@ -0,0 +1,3 @@
exports.LiquidPledging = require('./js/liquidPledging.js');
exports.Vault = require('./js/vault.js');

View File

@ -1,6 +1,6 @@
{ {
"name": "liquidpledging", "name": "liquidpledging",
"version": "0.0.1", "version": "0.0.2",
"description": "Liquid Pledging Smart Contract", "description": "Liquid Pledging Smart Contract",
"main": "index.js", "main": "index.js",
"directories": { "directories": {

View File

@ -3,10 +3,11 @@
const ethConnector = require('ethconnector'); const ethConnector = require('ethconnector');
const chai = require('chai'); const chai = require('chai');
const getBalance = require('runethtx').getBalance; const getBalance = require('runethtx').getBalance;
const LiquidPledging = require('../js/liquidPledging.js')(true); const liquidpledging = require('../index.js');
const Vault = require('../js/vault.js');
const assertFail = require('./helpers/assertFail'); const assertFail = require('./helpers/assertFail');
const LiquidPledging = liquidpledging.LiquidPledging(true);
const Vault = liquidpledging.Vault;
const assert = chai.assert; const assert = chai.assert;