From 9a25c491766ce9d6dd50c8e142f6bbb230f4c296 Mon Sep 17 00:00:00 2001 From: bigbear <155267841+aso20455@users.noreply.github.com> Date: Wed, 5 Feb 2025 20:54:16 +0100 Subject: [PATCH] update docs (#1867) * Update track-erc-721-and-erc-1155-token-transfers.md * Update transaction-insights.md * Update transaction-insights.md * Update styles.module.css * Update connect.md * Update src/components/ParserOpenRPC/CollapseBox/styles.module.css --------- Co-authored-by: Alexandra Carrillo <12214231+alexandratran@users.noreply.github.com> --- .../ethereum/track-erc-721-and-erc-1155-token-transfers.md | 2 +- snaps/features/transaction-insights.md | 2 +- snaps/learn/tutorials/transaction-insights.md | 2 +- wallet/how-to/connect.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/services/tutorials/ethereum/track-erc-721-and-erc-1155-token-transfers.md b/services/tutorials/ethereum/track-erc-721-and-erc-1155-token-transfers.md index 555b5dfa331..a9ac8d5fea3 100644 --- a/services/tutorials/ethereum/track-erc-721-and-erc-1155-token-transfers.md +++ b/services/tutorials/ethereum/track-erc-721-and-erc-1155-token-transfers.md @@ -159,7 +159,7 @@ In order to directly call `from`, `to`, and `tokenId` on `transaction`, add the ```javascript console.log( `\n` + - `New ERC-712 transaction found in block ${event.blockNumber} with hash ${event.transactionHash}\n` + + `New ERC-721 transaction found in block ${event.blockNumber} with hash ${event.transactionHash}\n` + `From: ${ transaction.from === "0x0000000000000000000000000000000000000000" ? "New mint!" diff --git a/snaps/features/transaction-insights.md b/snaps/features/transaction-insights.md index 99f8ffd28bb..7c747986983 100644 --- a/snaps/features/transaction-insights.md +++ b/snaps/features/transaction-insights.md @@ -31,7 +31,7 @@ permission object, and set it to `true`: ```json title="snap.manifest.json" "initialPermissions": { - "endowment:signature-insight": { + "endowment:transaction-insight": { "allowTransactionOrigin": true } } diff --git a/snaps/learn/tutorials/transaction-insights.md b/snaps/learn/tutorials/transaction-insights.md index 48cb360ca86..23888361d6b 100644 --- a/snaps/learn/tutorials/transaction-insights.md +++ b/snaps/learn/tutorials/transaction-insights.md @@ -83,7 +83,7 @@ mkdir packages/snap/images Download [this `gas.svg` icon file](https://raw.githubusercontent.com/Montoya/gas-fee-snap/main/packages/snap/images/gas.svg) -into that `ìmages` folder. +into that `images` folder.
Icon attribution diff --git a/wallet/how-to/connect.md b/wallet/how-to/connect.md index d1449ed1ad9..ec03989e4ca 100644 --- a/wallet/how-to/connect.md +++ b/wallet/how-to/connect.md @@ -391,7 +391,7 @@ export const store = { // Dispatch the event, which triggers the event listener in the MetaMask wallet. window.dispatchEvent(new Event("eip6963:requestProvider")) - // Return a function that removes the event listern. + // Return a function that removes the event listener. return () => window.removeEventListener("eip6963:announceProvider", onAnnouncement) },