- 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#getFeeValueto throw by default on invalid coinSymbol length for coin creation tx - add
options.fallbackOnInvalidInputfield toFeePrice#getFeeValueto fallback if invalid coinSymbol or deltaItemCount
- add
lockandlock_staketx types - add
isDisabledproperty totxTypeList - BREAKING change
isMinterPrefixedto accept prefix without value - BREAKING change `coinToBuffer' to accept undefined and treat it as empty string
- add
add_limit_order,remove_limit_ordertx types
- add v2.0 tx types
- add
payloadLengthparam 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
numToBigand default export from converter module, usenumberToBigand 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
coinSymbolLengthparam togetFeeValue
- BREAKING change unit value, which is used in fee calculation, from 0.001 to 0.1
- deprecate
numToBig, usenumberToBiginstead
- add chilinet tx types and fees
- update deps
- export variables
- move here tx-types and coin helpers from minterjs-tx
- export
numToBigfunction
- fix naming typo
- add
addressToStringmethod - add
checkToStringmethod - allow
publicToStringto accept0xprefixed strings
- update
toBuffererror message on invalid string
- BREAKING toBuffer accepts only Minter prefixed and
0xprefixed 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
multisendCountparam - fix multisend fee calculation
- BREAKING coin math functions now return string instead of number
- BREAKING update
getFeeValue,payloadLengthparam changed topayloadstring and moved to options object,coinSymbolLengthparam changed tocoinSymbolstring - BREAKING update
getCoinSymbolFee,coinSymbolLengthparam changed tocoinSymbolstring
- fix browser usage of UMD module
- tweak bundle tests
- add coin math functions
- update deps
- Added:
isValidTransactionmethods
- update deps
- BREAKING Removed: moved
definePropertiesto minterjs-tx package
- Fixed: update CreateCoin fee to return minimal fee when
coinSymbolLengthis not specified
- Fixed: update CreateCoin tx commission according to minter-node v0.19.0
- Changed:
getFeeValuereturnsfalseinstead of throwing
- Added:
getFeeValuemethod
- fix package.json "browser" field
- add UMD and commonjs builds
- BREAKING converting to hex now pad to even (
11will become0binstead 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.jsdependency withbig.jsto reduce size
- update deps
- fix ethereumjs-util
- broken version
- add
nonBinaryArrayTransformoption 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
stringinstead ofBigNumber
- add pip converter utils:
convert,convertToPip,convertFromPip. (Moved fromminterjs-txpackage)