diff --git a/packages/site/src/components/Footer.tsx b/packages/site/src/components/Footer.tsx index 0c2e2dd..68c9098 100644 --- a/packages/site/src/components/Footer.tsx +++ b/packages/site/src/components/Footer.tsx @@ -1,7 +1,13 @@ export const Footer = () => { return ( ); }; diff --git a/packages/site/src/components/Header.tsx b/packages/site/src/components/Header.tsx index 373bb7b..4942e10 100644 --- a/packages/site/src/components/Header.tsx +++ b/packages/site/src/components/Header.tsx @@ -25,7 +25,7 @@ export const Header = () => {
RSS3 Activity Monitor Snap
+RSS3 Social Notifier Snap
- This Snap for MetaMask allows you to monitor the - activities of any address. + This Snap for MetaMask offers + a quick and easy way to stay on top of your frens' social activities.
1. Connect to the Snap and install.
-2. Start monitoring any address.
- 3. When there is a new activity produced by any of your monitored - addresses, you will be notified. + 2. Your Web3 social graphs on{' '} + + Crossbell + + ,{' '} + + Farcaster + + ,{' '} + + Lens Protocol + + , will be automatically imported. +
++ 3. When a new social activity initiated by any of your Web3 frens,{' '} + you will be notified.
{state.error && ( @@ -218,7 +245,7 @@ const Index = () => { {!isMetaMaskReady && (- Start monitoring a new address. Supported Web3 Name - Service: + Feeling stalk-y? Get notified for someone else's frens + publish something on Web3 social platforms.
+Supported Web3 Name Service:
.eth, .lens, .csb, .bnb, .bit, .crypto, .zil, .nft, .x, .wallet, .bitcoin, .dao, .888, .blockchain, .avax, .arb, @@ -153,7 +154,7 @@ const MonitorCreate = () => { render={({ field }) => (@@ -266,7 +271,7 @@ const MonitorCreate = () => {
Last Updated:{' '} diff --git a/packages/site/src/utils/snap.ts b/packages/site/src/utils/snap.ts index ec53722..2639460 100644 --- a/packages/site/src/utils/snap.ts +++ b/packages/site/src/utils/snap.ts @@ -197,13 +197,13 @@ export const showAllActivities = async () => { }); }; -export const showAllMonitoredAddresses = async () => { +export const showAllFollowedAddresses = async () => { await window.ethereum.request({ method: 'wallet_invokeSnap', params: { snapId: defaultSnapOrigin, request: { - method: 'showAllMonitoredAddresses', + method: 'showAllFollowedAddresses', }, }, }); diff --git a/packages/snap/package.json b/packages/snap/package.json index 2105961..ab0104a 100644 --- a/packages/snap/package.json +++ b/packages/snap/package.json @@ -1,7 +1,7 @@ { "name": "rss3-metamask-snap", "version": "0.1.0", - "description": "Get notifications when monitored addresses produce new activities.", + "description": "Get notifications when your Web3 frens produce new activities.", "repository": { "type": "git", "url": "https://github.com/NaturalSelectionLabs/RSS3-MetaMask-Snap.git" diff --git a/packages/snap/snap.config.ts b/packages/snap/snap.config.ts index f4bb3b4..e8eb800 100644 --- a/packages/snap/snap.config.ts +++ b/packages/snap/snap.config.ts @@ -11,6 +11,9 @@ const config: SnapConfig = { buffer: false, builtIns: false, }, + polyfills: { + buffer: true, + }, }; export default config; diff --git a/packages/snap/snap.manifest.json b/packages/snap/snap.manifest.json index 2c287b0..90c46e9 100644 --- a/packages/snap/snap.manifest.json +++ b/packages/snap/snap.manifest.json @@ -1,13 +1,13 @@ { "version": "0.1.0", - "description": "Get notifications when monitored addresses produce new activities.", - "proposedName": "Activity Monitor", + "description": "Get notifications when your Web3 frens produce new activities.", + "proposedName": "RSS3 Social Notifier", "repository": { "type": "git", "url": "https://github.com/NaturalSelectionLabs/RSS3-MetaMask-Snap.git" }, "source": { - "shasum": "1lmnkid0IQzmmw0ZJyWTODIJu+Vzqeo1KG5TL2xmFeY=", + "shasum": "otV0CuKpgG18gqS4SPVejZdu0OtF7aN9RmFrx13s674=", "location": { "npm": { "filePath": "dist/bundle.js", diff --git a/packages/snap/src/index.ts b/packages/snap/src/index.ts index d58c30b..a5e2559 100644 --- a/packages/snap/src/index.ts +++ b/packages/snap/src/index.ts @@ -175,10 +175,10 @@ export const onRpcRequest: OnRpcRequestHandler = async ({ request }) => { }); } - // show the all monitored addresses - case 'showAllMonitoredAddresses': { + // show the all Followed addresses + case 'showAllFollowedAddresses': { const state = await getState(); - const content: any = [heading('All Monitored Addresses')]; + const content: any = [heading('Your Web3 frens')]; state.socialActivities.forEach((activity) => { content.push(text(activity.address)); content.push(divider());