Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion packages/examples/packages/notifications/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ import { Box, Row, Address } from '@metamask/snaps-sdk/jsx';

/**
* Handle incoming JSON-RPC requests from the dapp, sent through the
* `wallet_invokeSnap` method. This handler handles two methods:
* `wallet_invokeSnap` method. This handler handles three methods:
*
* - `inApp`: Show an in-app notification to the user.
* - `native`: Show a desktop notification to the user.
* - `inApp-expanded`: Show an expanded view in-app notification to the user.
*
* @param params - The request parameters.
* @param params.request - The JSON-RPC request object.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const Notifications: FunctionComponent = () => {
<Button
id="sendExpandedViewNotification"
disabled={isLoading}
onClick={handleClick('inApp-extended')}
onClick={handleClick('inApp-expanded')}
>
Send In-App Notification With Expanded View
</Button>
Expand Down
Loading