Skip to content

Commit

Permalink
💀 Removed frame-related functionality and metadata (#rip-frames)
Browse files Browse the repository at this point in the history
Summary: Removed frame-related functionality and metadata.

Highlights:

• Deleted `signFrameAction.ts`, `getFrame.ts`, `getNft.ts`, and `post.ts` files, removing frame-related logic.
• Removed frame and NFT metadata handling from `getMetadata.ts` and `getCollectModuleMetadata.ts`.
• Updated `Oembed` component to exclude frame handling, simplifying its logic.

Read more: https://pierre.co/hey/hey/rip-frames
  • Loading branch information
Yoginth authored and Pierre committed Dec 13, 2024
1 parent fb4e9a8 commit 4ecefd3
Show file tree
Hide file tree
Showing 18 changed files with 10 additions and 4,954 deletions.
87 changes: 0 additions & 87 deletions apps/api/src/helpers/frames/signFrameAction.ts

This file was deleted.

4 changes: 0 additions & 4 deletions apps/api/src/helpers/oembed/getMetadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ import getProxyUrl from "./getProxyUrl";
import generateIframe from "./meta/generateIframe";
import getDescription from "./meta/getDescription";
import getEmbedUrl from "./meta/getEmbedUrl";
import getFrame from "./meta/getFrame";
import getImage from "./meta/getImage";
import getNft from "./meta/getNft";
import getSite from "./meta/getSite";
import getTitle from "./meta/getTitle";

Expand All @@ -25,11 +23,9 @@ const getMetadata = async (url: string): Promise<null | OG> => {
const metadata: OG = {
description: getDescription(document),
favicon: getFavicon(url),
frame: getFrame(document, url),
html: generateIframe(getEmbedUrl(document), url),
image: getProxyUrl(image),
lastIndexedAt: new Date().toISOString(),
nft: getNft(document, url),
site: getSite(document),
title: getTitle(document),
url
Expand Down
67 changes: 0 additions & 67 deletions apps/api/src/helpers/oembed/meta/getFrame.ts

This file was deleted.

69 changes: 0 additions & 69 deletions apps/api/src/helpers/oembed/meta/getNft.ts

This file was deleted.

Loading

0 comments on commit 4ecefd3

Please sign in to comment.