@waves/data-entities
Advanced tools
Comparing version 1.6.3 to 1.6.4
@@ -36,3 +36,3 @@ import { Asset } from './Asset'; | ||
toString(): string; | ||
private _matchAssets(money); | ||
private _matchAssets; | ||
static max(...moneyList: Array<Money>): Money; | ||
@@ -44,4 +44,4 @@ static min(...moneyList: Array<Money>): Money; | ||
static fromCoins(count: TMoneyInput, asset: Asset): Money; | ||
private static _tokensToCoins(tokens, precision); | ||
private static _getDivider(precision); | ||
private static _tokensToCoins; | ||
private static _getDivider; | ||
} |
@@ -23,5 +23,5 @@ import { BigNumber } from '../libs/bignumber'; | ||
static fromTokens(tokens: string | number | BigNumber, pair: AssetPair): OrderPrice; | ||
private static _getMatcherDivider(precision); | ||
private static _getMatcherDivider; | ||
static isOrderPrice(object: object): object is OrderPrice; | ||
private static _checkAmount(amount); | ||
private static _checkAmount; | ||
} |
{ | ||
"name": "@waves/data-entities", | ||
"description": "Waves data types", | ||
"version": "1.6.3", | ||
"version": "1.6.4", | ||
"license": "Apache-2.0", | ||
@@ -17,5 +17,5 @@ "private": false, | ||
"scripts": { | ||
"prepare": "tsc --declaration && npm run browserify && npm run build", | ||
"browserify": "browserify ./dist/index.js -s data-entities -o ./dist/umd.js -u bignumber.js", | ||
"build": "browserify ./dist/index.js -s data-entities -o ./dist/data-entities.js", | ||
"prepare": "tsc --declaration && npm run build && npm run uglify", | ||
"uglify": "node_modules/.bin/uglifyjs ./dist/data-entities.js -o ./dist/data-entities.min.js", | ||
"build": "./node_modules/.bin/browserify ./dist/index.js --node -s data-entities -o ./dist/data-entities.js", | ||
"patch": "npm version patch && npm publish && git push", | ||
@@ -30,9 +30,10 @@ "minor": "npm version minor && npm publish && git push", | ||
"devDependencies": { | ||
"@types/chai": "^4.0.4", | ||
"@types/mocha": "^2.2.43", | ||
"browserify": "^16.2.0", | ||
"@types/chai": "^4.1.5", | ||
"@types/mocha": "^5.2.5", | ||
"browserify": "^16.2.3", | ||
"chai": "^4.1.2", | ||
"mocha": "^4.0.1", | ||
"typescript": "^2.8.1" | ||
"mocha": "^5.2.0", | ||
"typescript": "^3.0.3", | ||
"uglify-js": "^3.4.9" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
165809
7
3071
2