- add estimation limit calculation methods
- add wrapped Big.js
- update deps
- BREAKING maybe breaking if used cjs version with node version not supported es modules
- add new variables
- BREAKING change
FeePrice#getFeeValue
to throw by default on invalid coinSymbol length for coin creation tx - add
options.fallbackOnInvalidInput
field toFeePrice#getFeeValue
to fallback if invalid coinSymbol or deltaItemCount
- add
lock
andlock_stake
tx types - add
isDisabled
property totxTypeList
- BREAKING change
isMinterPrefixed
to accept prefix without value - BREAKING change `coinToBuffer' to accept undefined and treat it as empty string
- add
add_limit_order
,remove_limit_order
tx types
- add v2.0 tx types
- add
payloadLength
param togetFeeValue
- BREAKING fee module now designed as constructor, which accepts current network fee values and returns instance with method
getFeeValue
- BREAKING TX_TYPE.EDIT_COIN_OWNER renamed to TX_TYPE.EDIT_TICKER_OWNER
- BREAKING remove deprecated
numToBig
and default export from converter module, usenumberToBig
and named exports instead - BREAKING converter and coin-math now rounds to half even to align with blockchain rounding
- BREAKING change fee calculation for Create Coin tx (now it depends on unit value)
- add
coinSymbolLength
param togetFeeValue
- BREAKING change unit value, which is used in fee calculation, from 0.001 to 0.1
- deprecate
numToBig
, usenumberToBig
instead
- add chilinet tx types and fees
- update deps
- export variables
- move here tx-types and coin helpers from minterjs-tx
- export
numToBig
function
- fix naming typo
- add
addressToString
method - add
checkToString
method - allow
publicToString
to accept0x
prefixed strings
- update
toBuffer
error message on invalid string
- BREAKING toBuffer accepts only Minter prefixed and
0x
prefixed string params now, you have to useBuffer.from(str, 'utf-8')
if you want pass arbitrary string - drop safe-buffer dependency
- lighten converter.js by using part of previous deps
- BREAKING throws on invalid
multisendCount
param - fix multisend fee calculation
- BREAKING coin math functions now return string instead of number
- BREAKING update
getFeeValue
,payloadLength
param changed topayload
string and moved to options object,coinSymbolLength
param changed tocoinSymbol
string - BREAKING update
getCoinSymbolFee
,coinSymbolLength
param changed tocoinSymbol
string
- fix browser usage of UMD module
- tweak bundle tests
- add coin math functions
- update deps
- Added:
isValidTransaction
methods
- update deps
- BREAKING Removed: moved
defineProperties
to minterjs-tx package
- Fixed: update CreateCoin fee to return minimal fee when
coinSymbolLength
is not specified
- Fixed: update CreateCoin tx commission according to minter-node v0.19.0
- Changed:
getFeeValue
returnsfalse
instead of throwing
- Added:
getFeeValue
method
- fix package.json "browser" field
- add UMD and commonjs builds
- BREAKING converting to hex now pad to even (
11
will become0b
instead ofb
)
- BREAKING converting from pip to bip in hex format will throw an error
- BREAKING converting invalid number will throw instead of returning
NaN
- replace
bignumber.js
dependency withbig.js
to reduce size
- update deps
- fix ethereumjs-util
- broken version
- add
nonBinaryArrayTransform
option todefineProperties()
- add
defineProperties()
method - update deps
- add
privateToAddressString()
methods
- fix converter to not produce exponential values
- add option to convert to hex value
- BREAKING update converter to return
string
instead ofBigNumber
- add pip converter utils:
convert
,convertToPip
,convertFromPip
. (Moved fromminterjs-tx
package)