liquidity-invoice-generation
Advanced tools
Comparing version 1.2.0 to 1.2.1
{ | ||
"name": "liquidity-invoice-generation", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "Invoice generation system compatible with Liquidity Network", | ||
@@ -8,11 +8,17 @@ "main": "index.js", | ||
"bignumber.js": "^7.2.1", | ||
"typescript": "^3.3.3333", | ||
"uuid": "^3.3.2", | ||
"web3-utils": "^1.0.0-beta.34" | ||
"web3-utils": "^1.0.0-beta.48" | ||
}, | ||
"devDependencies": { | ||
"@typescript-eslint/eslint-plugin": "^1.4.2", | ||
"@typescript-eslint/parser": "^1.4.2", | ||
"coveralls": "^3.0.1", | ||
"eslint": "^4.19.1", | ||
"eslint": "^5.15.2", | ||
"eslint-config-prettier": "^4.1.0", | ||
"eslint-config-standard": "^12.0.0", | ||
"eslint-plugin-import": "^2.11.0", | ||
"eslint-plugin-mocha": "^0.4.0", | ||
"eslint-plugin-node": "^6.0.1", | ||
"eslint-plugin-prettier": "^3.0.1", | ||
"eslint-plugin-promise": "^3.7.0", | ||
@@ -22,7 +28,12 @@ "eslint-plugin-standard": "^3.0.1", | ||
"mocha": "^5.2.0", | ||
"mocha-lcov-reporter": "^1.3.0" | ||
"mocha-lcov-reporter": "^1.3.0", | ||
"prettier": "^1.16.4", | ||
"typedoc": "^0.14.2" | ||
}, | ||
"scripts": { | ||
"build": "tsc", | ||
"coverage": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly", | ||
"test": "mocha" | ||
"documentation": "typedoc --out docs index.ts", | ||
"lint": "eslint '*.{ts,js}' --fix", | ||
"test": "npm run build && mocha" | ||
}, | ||
@@ -29,0 +40,0 @@ "repository": { |
const assert = require('assert') | ||
const web3Utils = require('web3-utils') | ||
const BigNumber = require('bignumber.js') | ||
const generation = require('../index') | ||
const generation = require('../dist/index') | ||
@@ -24,3 +25,3 @@ describe('Invoice generation unit test', function () { | ||
assert(web3Utils.isBigNumber(result.amount)) | ||
assert(BigNumber.isBigNumber(result.amount)) | ||
assert(result.amount.isEqualTo(1)) | ||
@@ -27,0 +28,0 @@ assert(web3Utils.isHex(result.details)) |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
5
238
13265
4
17
1
+ Addedtypescript@^3.3.3333
+ Addedtypescript@3.9.10(transitive)
Updatedweb3-utils@^1.0.0-beta.48