Skip to content

Commit

Permalink
Fix/am snap diagram style and typo (#1132)
Browse files Browse the repository at this point in the history
* Force line break in sequence diagram to prevent bad text wrapping

* Typo: pendind -> pending
  • Loading branch information
ccharly authored Feb 13, 2024
1 parent 998cf17 commit 7705878
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions snaps/concepts/keyring-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ User ->>+ Site: Create new account
Site ->> Site: Custom logic to create account
Site ->>+ Snap: keyring_createAccount(options)
Snap ->> Snap: Custom logic to create account
Snap ->>+ MetaMask: snap_manageAccounts("notify:accountCreated", account)
Snap ->>+ MetaMask: snap_manageAccounts(<br/>"notify:accountCreated", account)
User ->> MetaMask: Approve account creation
MetaMask -->>- Snap: OK
Snap -->>- Site: OK
Expand Down Expand Up @@ -190,7 +190,7 @@ User ->> MetaMask: Approve request
MetaMask ->>+ Snap: keyring_submitRequest(request)
Snap ->> Snap: Custom logic to handle request
Snap -->>- MetaMask: { pendind: false, result }
Snap -->>- MetaMask: { pending: false, result }
MetaMask -->>- Dapp: result
Expand Down Expand Up @@ -250,7 +250,7 @@ Snap -->>- Site: request
Site ->> Site: Custom logic to handle request
Site ->>+ Snap: keyring_approveRequest(id, data?)
Snap ->> Snap: Custom logic to handle request
Snap ->>+ MetaMask: snap_manageAccounts("notify:requestApproved", { id, result })
Snap ->>+ MetaMask: snap_manageAccounts(<br/>"notify:requestApproved", { id, result })
MetaMask -->> Dapp: result
MetaMask -->>- Snap: OK
Expand Down

0 comments on commit 7705878

Please sign in to comment.