- Bug fixed: initDB not upgrading correctly.
- Added message to remind the user to secure the private key with password.
- Darkened (color) the warning popup.
- Added secure privatekey feature.
Secure PrivateKey: replaces the stored privatekey with encrypted variant. (Requires PIN/Password).
- If user enables secure private key, user must enter the PIN/Password from next signIn.
- User can remove account of securely stored privatekey (incase the user forgets the PIN/Password). (Requires Private key to login next time).
- Added getPromptInput to UI script: Promisified custom prompt to get input from user.
floDapps.securePrivKey(pwd): replaces the stored private key with encrypted variant.
Changed made in startup function getCredentials to support securePrivateKey.
Improved and promisified clearCredentials.
Major Changes:
- Seperated User IDB (Made changes as required for the same)
- 'Sign Out' now only removes the credentials instead of all data
- Added 'Clear Data' in settings. (Clears all user data)
- User can view their private key in settings. (Click on it to copy key to clipboard).
- Messages and Mails are encrypted in IDB (Made changes as required for the same).
- Added Marked feature in messenger (can be used to mark mails and contacts, currently only unread mark used. More marks will be added in future).
- Unread mark UI available for Individual mail and Contact with new unread messages.
Fixed Bugs:
- Fixed: Messages and Mails not refreshed properly in a case.
- Fixed: Unread notification not working
- Fixed: Previous Mail not showing correctly
Minor Changes:
- Added Ranchimall logo
- Changes confirmation message during Signout
- Improved Confirmation Box message (now has a title and message, also have optional custom button text)
- Uses a randomly generated ref for mails
- Added minimize and maximize button for compose-mail box
sendTxMultiple:
There are 2 modes (given send amount, preserve ratio)
- Given Send Amount: Uses the given send amount from each sender IDs. Pass the senderPrivKeys as object with amount to invoke this mode
eg. { privateKey1: sendAmt1, privateKey2: sendAmt2...}
- preserveRatio: The ratio of the balance of the senders are maintained. Pass the senderPrivKeys as array of private keys.
eg. [privatekey1, privatekey2....]
*Note: receivers must always be object of floIDs with receive amount.
eg. {receiverID1: receiveAmt1, receiver2: receiveAmt2...}
writeDataMultiple:
There are 2 modes (preserveRatio, equalContribution)
- preserveRatio: preserves the ratio of the balance of senders
- equalContribution: all senders contribute equal amount to the transaction
Note:
*senderPrivKey and receivers are arrays
eq. [privateKey1, privateKey2, ..] and [receiverID1, receiverID2...]
*sends default amount (floGlobals.sendAmt) to each receiver)
*last (4th) parameter is optional:
(default) true: invokes preserveRatio mode
false: invokes equalContibution mode
mergeUTXOs: /merge all UTXOs of a given floID into a single UTXO
sendTxMulti: Send Tx from (and/or) to multiple floID
writeDataMulti: Write data into blockchain from (and/or) to multiple floID