IDB search data will only search in a lowerBound keyRange (thus reduces searching)
new IDB search option : can send only the last data matching the pattern
added type to be searched in request (optional)
made receiverID as optional in request data filtering
SuperNode-Client will automatically try to reconnect to SuperNodeWSS when disconnected
Blockchain data will be automatically refreshed at interval (set time = 1hr)
Replaced floBlockchainAPI's readSentData, readDataPattern, readSentDataPattern, readDataContains, readSentDataContains with a improved version 'readData'
readData is Promisfied function that reads and resolves floData from blockchain using API
Arguments :
addr - address from which the floData should be read
options - (optional object, default = {})
Options :
limit - maximum number of filtered data (default = 1000, negative = no limit)
ignoreOld - ignore old txs (default = 0)
sentOnly - filters only sent data
pattern - filters data that starts with a pattern
contains - filters data that contains a string
filter - custom filter funtion for floData (eg . filter: d => {return d[0] == '$'})