liquidity-invoice-generation
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -62,3 +62,3 @@ const BigNumber = require('bignumber.js') | ||
networkId: receiver.networkId, | ||
contractAddress: receiver.hubAddress, | ||
contractAddress: web3Utils.toChecksumAddress(receiver.hubAddress), | ||
walletAddresses: [web3Utils.toChecksumAddress(receiver.publicKey)] | ||
@@ -108,4 +108,4 @@ } | ||
networkId: destData[0], | ||
contractAddress: destData[1], | ||
walletAddresses: destData[2].split('#'), | ||
contractAddress: web3Utils.toChecksumAddress(destData[1]), | ||
walletAddresses: destData[2].split('#').map(web3Utils.toChecksumAddress), | ||
} | ||
@@ -112,0 +112,0 @@ }), |
{ | ||
"name": "liquidity-invoice-generation", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "Invoice generation system compatible with Liquidity Network", | ||
@@ -11,2 +11,18 @@ "main": "index.js", | ||
}, | ||
"devDependencies": { | ||
"coveralls": "^3.0.1", | ||
"eslint": "^4.19.1", | ||
"eslint-plugin-import": "^2.11.0", | ||
"eslint-plugin-mocha": "^0.4.0", | ||
"eslint-plugin-node": "^6.0.1", | ||
"eslint-plugin-promise": "^3.7.0", | ||
"eslint-plugin-standard": "^3.0.1", | ||
"istanbul": "1.1.0-alpha.1", | ||
"mocha": "^5.2.0", | ||
"mocha-lcov-reporter": "^1.3.0" | ||
}, | ||
"scripts": { | ||
"coverage": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --timeout 60000", | ||
"test": "mocha --timeout 60000" | ||
}, | ||
"repository": { | ||
@@ -13,0 +29,0 @@ "type": "git", |
17887
5
131
10