Aioha v1.6: Multi-User Authentication, Account Discovery and more!
aioha·@aioha·
0.000 HBDAioha v1.6: Multi-User Authentication, Account Discovery and more!
<center></center> <hr> Today we are announcing the release of Aioha [v1.6](https://github.com/aioha-hive/aioha/releases) for our core, React provider and UI libraries. This is a major non-breaking update from [v1.5](https://github.com/aioha-hive/aioha/releases/tag/v1.5.6). # What's new? #### New wallet request events Starting in v1.6, the following events will be emitted whenever a request has been sent to the wallet provider that may require user action: - `login_request` - `memo_request` - `sign_msg_request` - `sign_tx_request` - `hiveauth_challenge_request` - `hiveauth_sign_request` Apps may listen to these events by registering the event listener using `aioha.on(eventName, callback)`. Refer to the [docs](https://aioha.dev/docs/core/jsonrpc#events) for more info. #### Multi-user authentication Aioha now supports multiple concurrent wallet connections to different accounts which may be using a variety of providers and switch between them. Adding another user is as simple as calling `aioha.login()` again for the other user, as long as the same user is not already connected. Switching to an already connected user may be done using `aioha.switchUser('user2')`, and disconnecting a currently inactive account may be done using `aioha.removeOtherLogin('user2')`. These additional connections persists in the browser (when applicable) besides the active connected account. #### Account discovery This searches the selected wallet provider for available accounts. It may be used to save an extra step of typing in the username, and instead a list of discovered accounts will be listed for the user to select. Account discovery is currently available on Ledger provider only at this moment. More details on usage may be found [here](https://aioha.dev/docs/core/usage#discover-accounts). #### Other features * Updated VSC functions for mainnet with Keychain specific implementation ([Usage](https://aioha.dev/docs/core/usage#vsc-call)) * Method to sign and broadcast a [hive-uri](https://gitlab.syncad.com/hive/hive-uri) encoded transaction ([Usage](https://aioha.dev/docs/core/usage#sign-and-broadcast-hive-uri)) # React UI The ready-made [UI library](https://aioha.dev/docs/react/ui) has been updated to handle the necessary frontend logic to implement the new features. ||| |-|-| |<center>**Account Switcher**</center>|<center>**Discovered Accounts**</center>| Additionally, a new grid provider selection layout has been added as a built-in option that apps may choose to use. ||| |-|-| |<center>**List View**</center>|<center>**(New) Grid View**</center>| ## Links Landing page and docs: https://aioha.dev Github: https://github.com/aioha-hive NPM: https://www.npmjs.com/package/@aioha/aioha Sting: https://chat.peakd.com/t/hive-134220/1
👍 techcoderx, onelovedtube, hive-134220, bishoppeter1, darkfuseion, brettblue, qila, melor9, dlike, zeruxanime, actordontee, silasvogt, gaborockstar, happymichael, originalmrspice, mrchef111, gisi, illuminationst8, joeytechtalks, toddmck, icepee, cowboysblog, eternalsuccess, iamangierose, reyn-is-chillin, gabbyg86, borislavzlatanov, aioha, humanearl, bigbos99, iamleicester, neeqi, neopatriarch, sku77-poprocks, crowbarmama, brainpod, smacommunity, st3llar, adventuroussoul, jeronimorubio, raoufwilly, shermanedwards, gray00, amymya, camuel, openmind3000, tonysayers33, aperterikk, abbak7, steevc, marsupia, soundminds, vaultec, leighscotford, eddiespino, smartvote, menzo, theycallmedan, petrolinivideo, juliocesar7, jesusmedit, riyuuhi, curatorhulk, syberia, sparker005, tiyumtaba, jude9, elfino28, artefactoestudio, nhaji01, luchyl, auracraft, fw206, woelfchen, davidlionfish, lolz.byte, magic.byte,