diff --git a/lib/tbtc-helpers/index.js b/lib/tbtc-helpers/index.js new file mode 100644 index 00000000..3d2c9c0c --- /dev/null +++ b/lib/tbtc-helpers/index.js @@ -0,0 +1,8 @@ +const BitcoinSPV = require('./src/BitcoinSPV') +const BitcoinTxParser = require('./src/BitcoinTxParser') +const ElectrumClient = require('./src/ElectrumClient') +const Address = require('./src/Address') + +module.exports = { + BitcoinSPV, BitcoinTxParser, ElectrumClient, Address, +} diff --git a/lib/tbtc-helpers/package.json b/lib/tbtc-helpers/package.json index 4e3f82f6..12c62912 100644 --- a/lib/tbtc-helpers/package.json +++ b/lib/tbtc-helpers/package.json @@ -2,7 +2,7 @@ "name": "tbtc-helpers", "version": "0.0.1", "description": "", - "main": "src/index.js", + "main": "index.js", "scripts": { "test": "mocha --timeout 5000", "js:lint": "eslint .", diff --git a/lib/tbtc-helpers/src/index.js b/lib/tbtc-helpers/src/index.js deleted file mode 100644 index 317e9cb6..00000000 --- a/lib/tbtc-helpers/src/index.js +++ /dev/null @@ -1,8 +0,0 @@ -const BitcoinSPV = require('./BitcoinSPV') -const BitcoinTxParser = require('./BitcoinTxParser') -const ElectrumClient = require('./ElectrumClient') -const Address = require('./Address') - -module.exports = { - BitcoinSPV, BitcoinTxParser, ElectrumClient, Address, -}