@waves/data-entities
Advanced tools
Comparing version 1.3.1 to 1.3.2
@@ -113,3 +113,3 @@ "use strict"; | ||
var tokens = Money._toBigNumber(count); | ||
return new Money(tokens.div(new bignumber_1.BigNumber(10).pow(asset.precision)), asset); | ||
return new Money(tokens.times(new bignumber_1.BigNumber(10).pow(asset.precision)), asset); | ||
}; | ||
@@ -116,0 +116,0 @@ Money.fromCoins = function (count, asset) { |
@@ -210,3 +210,3 @@ (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.dataEntities = f()}})(function(){var define,module,exports;return (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){ | ||
var tokens = Money._toBigNumber(count); | ||
return new Money(tokens.div(new bignumber_1.BigNumber(10).pow(asset.precision)), asset); | ||
return new Money(tokens.times(new bignumber_1.BigNumber(10).pow(asset.precision)), asset); | ||
}; | ||
@@ -213,0 +213,0 @@ Money.fromCoins = function (count, asset) { |
{ | ||
"name": "@waves/data-entities", | ||
"description": "Waves data types", | ||
"version": "1.3.1", | ||
"version": "1.3.2", | ||
"license": "Apache-2.0", | ||
@@ -18,3 +18,6 @@ "private": false, | ||
"prepare": "tsc --declaration && npm run browserify", | ||
"browserify": "browserify ./dist/index.js -s data-entities -o ./dist/umd.js -u bignumber.js" | ||
"browserify": "browserify ./dist/index.js -s data-entities -o ./dist/umd.js -u bignumber.js", | ||
"patch": "npm version patch && npm publish && git push", | ||
"minor": "npm version minor && npm publish && git push", | ||
"major": "npm version major && npm publish && git push" | ||
}, | ||
@@ -21,0 +24,0 @@ "dependencies": { |
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
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
37967