From 26f6fd5618eb8ee45a6f80f82fe88177d6d7637c Mon Sep 17 00:00:00 2001 From: Leonardo Zizzamia Date: Sun, 18 Feb 2024 14:31:42 -0800 Subject: [PATCH] chore: prep release (#140) --- .changeset/chatty-bananas-breathe.md | 5 ++ CHANGELOG.md | 26 +++---- README.md | 6 +- site/docs/pages/farcasterkit/introduction.mdx | 5 ++ site/docs/pages/farcasterkit/types.mdx | 5 ++ site/docs/pages/framekit/frame-metadata.mdx | 39 +--------- .../framekit/get-frame-html-response.mdx | 35 +-------- .../pages/framekit/get-frame-metadata.mdx | 39 +--------- site/docs/pages/framekit/introduction.mdx | 5 ++ site/docs/pages/framekit/types.mdx | 71 +++++++++++++++++++ site/docs/pages/getting-started.mdx | 20 +++++- site/docs/pages/identitykit/avatar.mdx | 24 +++++++ site/docs/pages/identitykit/introduction.mdx | 56 +++------------ site/docs/pages/identitykit/name.mdx | 27 +++++++ site/docs/pages/identitykit/types.mdx | 5 ++ site/docs/pages/index.mdx | 24 ++++++- site/sidebar.ts | 13 ++++ src/components/FrameMetadata.tsx | 8 +-- src/core/types.ts | 27 ++++--- src/index.ts | 1 + src/version.ts | 2 +- 21 files changed, 253 insertions(+), 190 deletions(-) create mode 100644 .changeset/chatty-bananas-breathe.md create mode 100644 site/docs/pages/identitykit/avatar.mdx create mode 100644 site/docs/pages/identitykit/name.mdx diff --git a/.changeset/chatty-bananas-breathe.md b/.changeset/chatty-bananas-breathe.md new file mode 100644 index 0000000000..2bb92faae9 --- /dev/null +++ b/.changeset/chatty-bananas-breathe.md @@ -0,0 +1,5 @@ +--- +'@coinbase/onchainkit': minor +--- + +- **feat**: Updated `FrameMetadataType` to support `target` for button `post` and `post_redirect` actions. By @HashWarlock @zizzamia #130 #136 diff --git a/CHANGELOG.md b/CHANGELOG.md index 12611e1c3e..f296d584da 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,46 +4,46 @@ ### Patch Changes -- 926bc30: - **docs**: Init https://onchainkit.xyz . By @zizzamia #131 - - **feat**: Added `getFarcasterUserAddress` utility to extract the user's custody and/or verified addresses. By @Sneh1999 #114 #121 - - **feat**: Updates the version of `@types/jest` package. By @Sneh1999 #114 +- **docs**: Init https://onchainkit.xyz . By @zizzamia #131 926bc30 +- **feat**: Added `getFarcasterUserAddress` utility to extract the user's custody and/or verified addresses. By @Sneh1999 #114 #121 +- **feat**: Updates the version of `@types/jest` package. By @Sneh1999 #114 ## 0.6.1 ### Patch Changes -- c5ee76d: - **feat**: automated the `og:image` and `og:title` properties for `getFrameHtmlResponse` and `FrameMetadata`. By @zizzamia #109 +- **feat**: automated the `og:image` and `og:title` properties for `getFrameHtmlResponse` and `FrameMetadata`. By @zizzamia #109 c5ee76d ## 0.6.0 ### Minor Changes -- fc74af1: - **feat**: better treeshaking support by using **packemon**. By @zizzamia & @wespickett #105 +- **feat**: better treeshaking support by using **packemon**. By @zizzamia & @wespickett #105 fc74af1 - BREAKING CHANGES +BREAKING CHANGES - For modern apps that utilize `ES2020` or the latest version, breaking changes are not anticipated. However, if you encounter any building issues when using OnchainKit with older apps that rely on `ES6`, please open an issue and provide details of the error you're experiencing. We will do our best to provide the necessary support. +For modern apps that utilize `ES2020` or the latest version, breaking changes are not anticipated. However, if you encounter any building issues when using OnchainKit with older apps that rely on `ES6`, please open an issue and provide details of the error you're experiencing. We will do our best to provide the necessary support. ## 0.5.4 ### Patch Changes -- bf014fd: - **feat**: exported `FrameButtonMetadata`, `FrameInputMetadata` and `FrameImageMetadata` types. By @zizzamia #111 - - **feat**: introduced support for image aspect ratio metadata, ensuring backward compatibility. Image metadata can now be defined either as a string (with a default aspect ratio of `1.91:1`) or as an object with a src URL string and an aspect ratio of either `1.91:1` or `1:1`. By @taycaldwell #110 +- **feat**: exported `FrameButtonMetadata`, `FrameInputMetadata` and `FrameImageMetadata` types. By @zizzamia #111 bf014fd +- **feat**: introduced support for image aspect ratio metadata, ensuring backward compatibility. Image metadata can now be defined either as a string (with a default aspect ratio of `1.91:1`) or as an object with a src URL string and an aspect ratio of either `1.91:1` or `1:1`. By @taycaldwell #110 ## 0.5.3 ### Patch Changes -- f2cf7b6: - **feat**: all `FrameMetadataType` parameters have been updated to use consistent lowerCamelCase. It's important to note that we are not deprecating the old method, at least for a few weeks, to allow time for migration to the new approach. By @zizzamia #106 - - **feat**: while there is no real issue in using either `property` or `name` as the standard for a metadata element, it is fair to respect the Open Graph specification, which originally uses `property`. By @zizzamia #106 +- **feat**: all `FrameMetadataType` parameters have been updated to use consistent lowerCamelCase. It's important to note that we are not deprecating the old method, at least for a few weeks, to allow time for migration to the new approach. By @zizzamia #106 f2cf7b6 +- **feat**: while there is no real issue in using either `property` or `name` as the standard for a metadata element, it is fair to respect the Open Graph specification, which originally uses `property`. By @zizzamia #106 ## 0.5.2 ### Patch Changes -- cefcfa8: - **fix**: `` component when used with Helmet. To ensure smooth functionality when used with Helmet as a wrapper component, it is crucial to flatten the Buttons loop. By @zizzamia #99 - - **feat**: added `Avatar` component, to our Identity Kit. The `Avatar` component primarily focuses on showcasing ENS avatar for given Ethereum addresses, and defaults to a default SVG avatar when an ENS avatar isn't available. By @alvaroraminelli #69 +- **fix**: `` component when used with Helmet. To ensure smooth functionality when used with Helmet as a wrapper component, it is crucial to flatten the Buttons loop. By @zizzamia #99 cefcfa8 +- **feat**: added `Avatar` component, to our Identity Kit. The `Avatar` component primarily focuses on showcasing ENS avatar for given Ethereum addresses, and defaults to a default SVG avatar when an ENS avatar isn't available. By @alvaroraminelli #69 ## 0.5.1 diff --git a/README.md b/README.md index d2b4688fab..2182948105 100644 --- a/README.md +++ b/README.md @@ -48,6 +48,8 @@ For documentation and guides, visit [onchainkit.xyz](https://onchainkit.xyz/). ## Features +OnchainKit offers three themes packed with React components and TypeScript utilities ready for action. + - [Farcaster Kit](https://onchainkit.xyz/farcasterkit/introduction) - Utilities: - [`getFarcasterUserAddress`](https://onchainkit.xyz/farcasterkit/get-farcaster-user-address) @@ -62,8 +64,8 @@ For documentation and guides, visit [onchainkit.xyz](https://onchainkit.xyz/). - [Identity Kit](https://onchainkit.xyz/identitykit/introduction) - Components: - - [``](https://onchainkit.xyz/identitykit/introduction#name) - - [``](https://onchainkit.xyz/identitykit/introduction#avatar) + - [``](https://onchainkit.xyz/identitykit/avatar) + - [``](https://onchainkit.xyz/identitykit/name) ## Overview diff --git a/site/docs/pages/farcasterkit/introduction.mdx b/site/docs/pages/farcasterkit/introduction.mdx index 2d2741d1bc..c79914ab47 100644 --- a/site/docs/pages/farcasterkit/introduction.mdx +++ b/site/docs/pages/farcasterkit/introduction.mdx @@ -1,3 +1,8 @@ +--- +title: Introduction to Farcaster Kit · OnchainKit +deescription: A brief introduction on essential Farcaster knowledge and OnchainKit utilities. +--- + # Introduction to Farcaster Kit [A brief introduction on essential Farcaster knowledge.] Farcaster is a decentralized social network on Ethereum. diff --git a/site/docs/pages/farcasterkit/types.mdx b/site/docs/pages/farcasterkit/types.mdx index 23d48b3fd7..0a6acc1bb6 100644 --- a/site/docs/pages/farcasterkit/types.mdx +++ b/site/docs/pages/farcasterkit/types.mdx @@ -1,3 +1,8 @@ +--- +title: FrameKit Types +deescription: Glossary of Types in Farcaster Kit. +--- + # Types [Glossary of Types in Farcaster Kit.] ## `GetFarcasterUserAddressResponse` diff --git a/site/docs/pages/framekit/frame-metadata.mdx b/site/docs/pages/framekit/frame-metadata.mdx index 7f8270451f..ce12d4c22b 100644 --- a/site/docs/pages/framekit/frame-metadata.mdx +++ b/site/docs/pages/framekit/frame-metadata.mdx @@ -57,41 +57,4 @@ export default function HomePage() { ## Props -```ts -type FrameButtonMetadata = - | { - action: 'link' | 'mint'; - label: string; - target: string; - } - | { - action?: 'post' | 'post_redirect'; - label: string; - }; - -type FrameImageMetadata = { - src: string; - aspectRatio?: '1.91:1' | '1:1'; -}; - -type FrameInputMetadata = { - text: string; -}; - -type FrameMetadataType = { - // A list of strings which are the label for the buttons in the frame (max 4 buttons). - buttons?: [FrameButtonMetadata, ...FrameButtonMetadata[]]; - // An image which must be smaller than 10MB and should have an aspect ratio of 1.91:1 or 1:1 - image: FrameImageMetadata; - // The text input to use for the Frame. - input?: FrameInputMetadata; - // A valid POST URL to send the Signature Packet to. - postUrl?: string; - // A period in seconds at which the app should expect the image to update. - refreshPeriod?: number; -}; - -type FrameMetadataReact = FrameMetadataType & { - wrapper?: React.ComponentType; -}; -``` +[`FrameMetadataReact`](/framekit/types#framemetadatareact) diff --git a/site/docs/pages/framekit/get-frame-html-response.mdx b/site/docs/pages/framekit/get-frame-html-response.mdx index f9215c95a2..12b1d94ec8 100644 --- a/site/docs/pages/framekit/get-frame-html-response.mdx +++ b/site/docs/pages/framekit/get-frame-html-response.mdx @@ -42,37 +42,4 @@ type FrameHTMLResponse = string; ## Parameters -```ts -type FrameButtonMetadata = - | { - action: 'link' | 'mint'; - label: string; - target: string; - } - | { - action?: 'post' | 'post_redirect'; - label: string; - }; - -type FrameImageMetadata = { - src: string; - aspectRatio?: '1.91:1' | '1:1'; -}; - -type FrameInputMetadata = { - text: string; -}; - -type FrameMetadataType = { - // A list of strings which are the label for the buttons in the frame (max 4 buttons). - buttons?: [FrameButtonMetadata, ...FrameButtonMetadata[]]; - // An image which must be smaller than 10MB and should have an aspect ratio of 1.91:1 or 1:1 - image: FrameImageMetadata; - // The text input to use for the Frame. - input?: FrameInputMetadata; - // A valid POST URL to send the Signature Packet to. - postUrl?: string; - // A period in seconds at which the app should expect the image to update. - refreshPeriod?: number; -}; -``` +[`FrameMetadataType`](/framekit/types#framemetadatatype) diff --git a/site/docs/pages/framekit/get-frame-metadata.mdx b/site/docs/pages/framekit/get-frame-metadata.mdx index 1cace996c4..9cd4824167 100644 --- a/site/docs/pages/framekit/get-frame-metadata.mdx +++ b/site/docs/pages/framekit/get-frame-metadata.mdx @@ -36,43 +36,8 @@ export default function Page() { ## Returns -```ts -type FrameMetadataResponse = Record; -``` +[`FrameMetadataResponse`](/framekit/types#framemetadataresponse) ## Parameters -```ts -type FrameButtonMetadata = - | { - action: 'link' | 'mint'; - label: string; - target: string; - } - | { - action?: 'post' | 'post_redirect'; - label: string; - }; - -type FrameImageMetadata = { - src: string; - aspectRatio?: '1.91:1' | '1:1'; -}; - -type FrameInputMetadata = { - text: string; -}; - -type FrameMetadataType = { - // A list of strings which are the label for the buttons in the frame (max 4 buttons). - buttons?: [FrameButtonMetadata, ...FrameButtonMetadata[]]; - // An image which must be smaller than 10MB and should have an aspect ratio of 1.91:1 - image: FrameImageMetadata; - // The text input to use for the Frame. - input?: FrameInputMetadata; - // A valid POST URL to send the Signature Packet to. - postUrl?: string; - // A period in seconds at which the app should expect the image to update. - refreshPeriod?: number; -}; -``` +[`FrameMetadataType`](/framekit/types#framemetadatatype) diff --git a/site/docs/pages/framekit/introduction.mdx b/site/docs/pages/framekit/introduction.mdx index 34c6bfea85..0bf7ca067c 100644 --- a/site/docs/pages/framekit/introduction.mdx +++ b/site/docs/pages/framekit/introduction.mdx @@ -1,3 +1,8 @@ +--- +title: Introduction to Frame Kit · OnchainKit +deescription: Introduction to Frame Kit +--- + # Introduction to Frame Kit A Frame transforms any cast into an interactive app. diff --git a/site/docs/pages/framekit/types.mdx b/site/docs/pages/framekit/types.mdx index 4de990f2b1..2a457eadb0 100644 --- a/site/docs/pages/framekit/types.mdx +++ b/site/docs/pages/framekit/types.mdx @@ -1 +1,72 @@ +--- +title: FrameKit Types +deescription: Glossary of Types in Frame Kit. +--- + # Types [Glossary of Types in Frame Kit.] + +## `FrameButtonMetadata` + +```ts +type FrameButtonMetadata = + | { + action: 'link' | 'mint'; + label: string; + target: string; + } + | { + action?: 'post' | 'post_redirect'; + label: string; + target?: string; + }; +``` + +## `FrameImageMetadata` + +```ts +type FrameImageMetadata = { + src: string; + aspectRatio?: '1.91:1' | '1:1'; +}; +``` + +## `FrameInputMetadata` + +```ts +type FrameInputMetadata = { + text: string; +}; +``` + +## `FrameMetadataResponse` + +```ts +type FrameMetadataResponse = Record; +``` + +## `FrameMetadataReact` + +```ts +type FrameMetadataReact = FrameMetadataType & { + ogDescription?: string; + ogTitle?: string; + wrapper?: React.ComponentType; +}; +``` + +## `FrameMetadataType` + +```ts +type FrameMetadataType = { + // A list of strings which are the label for the buttons in the frame (max 4 buttons). + buttons?: [FrameButtonMetadata, ...FrameButtonMetadata[]]; + // An image which must be smaller than 10MB and should have an aspect ratio of 1.91:1 + image: string | FrameImageMetadata; + // The text input to use for the Frame. + input?: FrameInputMetadata; + // A valid POST URL to send the Signature Packet to. + postUrl?: string; + // A period in seconds at which the app should expect the image to update. + refreshPeriod?: number; +}; +``` diff --git a/site/docs/pages/getting-started.mdx b/site/docs/pages/getting-started.mdx index 6c9ad94c17..ac25d1732f 100644 --- a/site/docs/pages/getting-started.mdx +++ b/site/docs/pages/getting-started.mdx @@ -17,5 +17,21 @@ pnpm add @coinbase/onchainkit OnchainKit is divided into various theme utilities and components that are available for your use: -- [Frame Kit](/framekit/introduction) 🖼️ -- [Identity Kit](/identitykit/introduction) 👨‍🚀 +- [Farcaster Kit](/farcasterkit/introduction) + + - Utilities: + - [`getFarcasterUserAddress`](/farcasterkit/get-farcaster-user-address) + +- [Frame Kit](/framekit/introduction) + + - Components: + - [``](/framekit/frame-metadata) + - Utilities: + - [`getFrameHtmlResponse`](/framekit/get-frame-html-response) + - [`getFrameMessage`](/framekit/get-frame-message) + - [`getFrameMetadata`](/framekit/get-frame-metadata) + +- [Identity Kit](/identitykit/introduction) + - Components: + - [``](/identitykit/avatar) + - [``](/identitykit/name) diff --git a/site/docs/pages/identitykit/avatar.mdx b/site/docs/pages/identitykit/avatar.mdx new file mode 100644 index 0000000000..a6f33f7f86 --- /dev/null +++ b/site/docs/pages/identitykit/avatar.mdx @@ -0,0 +1,24 @@ +# Avatar + +The `Avatar` component is used to display ENS avatar associated with Ethereum addresses. When an ENS avatar is not available, it defaults to blue color avatar. + +## Usage + +```tsx +import { Avatar } from '@coinbase/onchainkit'; + +; +``` + +## Props + +```ts +type UseAvatar = { + // Ethereum address to be resolved from ENS. + address: Address; + // Optional CSS class for custom styling. + className?: string; + // Additional HTML attributes for the span element. + props?: React.HTMLAttributes; +}; +``` diff --git a/site/docs/pages/identitykit/introduction.mdx b/site/docs/pages/identitykit/introduction.mdx index 1e2630a84d..6497e19584 100644 --- a/site/docs/pages/identitykit/introduction.mdx +++ b/site/docs/pages/identitykit/introduction.mdx @@ -1,49 +1,15 @@ -# Introduction to Identity Kit - -## Name - -The `Name` component is used to display ENS names associated with Ethereum addresses. When an ENS name is not available, it defaults to showing a truncated version of the address. - -```tsx -import { Name } from '@coinbase/onchainkit'; - -; -``` +--- +title: Introduction to Identity Kit · OnchainKit +deescription: Introduction to Identity Kit +--- -**@Props** - -```ts -type UseName = { - // Ethereum address to be resolved from ENS. - address: Address; - // Optional CSS class for custom styling. - className?: string; - // Determines if the address should be sliced when no ENS name is available. - sliced?: boolean; - // Additional HTML attributes for the span element. - props?: React.HTMLAttributes; -}; -``` - -## Avatar - -The `Avatar` component is used to display ENS avatar associated with Ethereum addresses. When an ENS avatar is not available, it defaults to blue color avatar. - -```tsx -import { Avatar } from '@coinbase/onchainkit'; +# Introduction to Identity Kit -; -``` +Identity Kit is a collection of components and hooks that help you build user interfaces for Ethereum applications. +It provides a set of tools to resolve Ethereum addresses to ENS names, and more. -**@Props** +To assist you in engaging with onchain Identity, here is the Identity Kit which includes: -```ts -type UseAvatar = { - // Ethereum address to be resolved from ENS. - address: Address; - // Optional CSS class for custom styling. - className?: string; - // Additional HTML attributes for the span element. - props?: React.HTMLAttributes; -}; -``` +- Components: + - [`
`](/identitykit/avatar): A component to display an Ethereum address. + - [``](/identitykit/name): A component to display an ENS name. diff --git a/site/docs/pages/identitykit/name.mdx b/site/docs/pages/identitykit/name.mdx new file mode 100644 index 0000000000..820945203c --- /dev/null +++ b/site/docs/pages/identitykit/name.mdx @@ -0,0 +1,27 @@ +# Name + +The `Name` component is used to display ENS names associated with Ethereum addresses. +When an ENS name is not available, it defaults to showing a truncated version of the address. + +## Usage + +```tsx +import { Name } from '@coinbase/onchainkit'; + +; +``` + +## Props + +```ts +type UseName = { + // Ethereum address to be resolved from ENS. + address: Address; + // Optional CSS class for custom styling. + className?: string; + // Determines if the address should be sliced when no ENS name is available. + sliced?: boolean; + // Additional HTML attributes for the span element. + props?: React.HTMLAttributes; +}; +``` diff --git a/site/docs/pages/identitykit/types.mdx b/site/docs/pages/identitykit/types.mdx index 2652ed5879..2127a4fe61 100644 --- a/site/docs/pages/identitykit/types.mdx +++ b/site/docs/pages/identitykit/types.mdx @@ -1 +1,6 @@ +--- +title: IdentityKit Types +deescription: Glossary of Types in Identity Kit. +--- + # Types [Glossary of Types in Identity Kit.] diff --git a/site/docs/pages/index.mdx b/site/docs/pages/index.mdx index bae03ff8f2..98f6cae682 100644 --- a/site/docs/pages/index.mdx +++ b/site/docs/pages/index.mdx @@ -1,5 +1,6 @@ --- -title: OnchainKit · A collection of tools to build world-class onchain apps with CSS, React, and typescript. +title: OnchainKit +description: React components and TypeScript utilities for top-tier onchain apps. content: width: 100% layout: landing @@ -57,6 +58,27 @@ pnpm add @coinbase/onchainkit
+# Features + +OnchainKit offers three themes packed with React components and TypeScript utilities ready for action. + +- [Farcaster Kit](/farcasterkit/introduction) + - Utilities: + - [`getFarcasterUserAddress`](/farcasterkit/get-farcaster-user-address) +- [Frame Kit](/framekit/introduction) + + - Components: + - [``](/framekit/frame-metadata) + - Utilities: + - [`getFrameHtmlResponse`](/framekit/get-frame-html-response) + - [`getFrameMessage`](/framekit/get-frame-message) + - [`getFrameMetadata`](/framekit/get-frame-metadata) + +- [Identity Kit](/identitykit/introduction) + - Components: + - [``](/identitykit/avatar) + - [``](/identitykit/name) + # Community Check out the following places for more OnchainKit-related content: diff --git a/site/sidebar.ts b/site/sidebar.ts index d61becdeb2..3f1b2f39b2 100644 --- a/site/sidebar.ts +++ b/site/sidebar.ts @@ -67,6 +67,19 @@ export const sidebar = [ text: 'Identity Kit', items: [ { text: 'Introduction', link: '/identitykit/introduction' }, + { + text: 'Components', + items: [ + { + text: 'Avatar', + link: '/identitykit/avatar', + }, + { + text: 'Name', + link: '/identitykit/name', + }, + ], + }, { text: 'Types', link: '/identitykit/types', diff --git a/src/components/FrameMetadata.tsx b/src/components/FrameMetadata.tsx index 0b412788e6..4c7229fd6a 100644 --- a/src/components/FrameMetadata.tsx +++ b/src/components/FrameMetadata.tsx @@ -1,11 +1,5 @@ import { Fragment } from 'react'; -import type { FrameMetadataType, FrameImageMetadata } from '../core/types'; - -type FrameMetadataReact = FrameMetadataType & { - ogDescription?: string; - ogTitle?: string; - wrapper?: React.ComponentType; -}; +import type { FrameMetadataReact } from '../core/types'; /** * FrameMetadata component diff --git a/src/core/types.ts b/src/core/types.ts index 42d469c86e..f87d1864a4 100644 --- a/src/core/types.ts +++ b/src/core/types.ts @@ -69,8 +69,6 @@ export function convertToFrame(json: any) { } /** - * Frame Request - * * Note: exported as public Type */ export type FrameButtonMetadata = @@ -86,8 +84,6 @@ export type FrameButtonMetadata = }; /** - * Frame Request - * * Note: exported as public Type */ export type FrameInputMetadata = { @@ -95,8 +91,6 @@ export type FrameInputMetadata = { }; /** - * Frame Request - * * Note: exported as public Type */ export type FrameImageMetadata = { @@ -105,25 +99,35 @@ export type FrameImageMetadata = { }; /** - * Frame Request - * + * Note: exported as public Type + */ +export type FrameMetadataReact = FrameMetadataType & { + ogDescription?: string; + ogTitle?: string; + wrapper?: React.ComponentType; +}; + +/** * Note: exported as public Type */ export type FrameMetadataType = { + // A list of strings which are the label for the buttons in the frame (max 4 buttons). buttons?: [FrameButtonMetadata, ...FrameButtonMetadata[]]; + // An image which must be smaller than 10MB and should have an aspect ratio of 1.91:1 image: string | FrameImageMetadata; + // The text input to use for the Frame. input?: FrameInputMetadata; /** @deprecated Prefer `postUrl` */ post_url?: string; + // A valid POST URL to send the Signature Packet to. postUrl?: string; /** @deprecated Prefer `refreshPeriod` */ refresh_period?: number; + // A period in seconds at which the app should expect the image to update. refreshPeriod?: number; }; /** - * Frame Metadata Response - * * Note: exported as public Type */ export type FrameMetadataResponse = Record; @@ -137,6 +141,7 @@ type EASAttesterAddress = Address; /** * Ethereum Attestation Service (EAS) Schema Uid * The schema identifier associated with the EAS attestation. + * * Note: exported as public Type */ export type EASSchemaUid = Address; @@ -144,6 +149,7 @@ export type EASSchemaUid = Address; /** * Ethereum Attestation Service (EAS) Attestation * GraphQL response for EAS Attestation + * * Note: exported as public Type */ export type EASAttestation = { @@ -161,6 +167,7 @@ export type EASAttestation = { /** * Ethereum Attestation Service (EAS) Chain Definition * The definition of a blockchain chain supported by EAS attestations. + * * Note: exported as public Type */ export type EASChainDefinition = { diff --git a/src/index.ts b/src/index.ts index 44186ab6a3..b4aaf07920 100644 --- a/src/index.ts +++ b/src/index.ts @@ -13,6 +13,7 @@ export type { FrameButtonMetadata, FrameImageMetadata, FrameInputMetadata, + FrameMetadataReact, FrameMetadataType, FrameRequest, FrameValidationData, diff --git a/src/version.ts b/src/version.ts index 935ba09f91..1929953dd0 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const version = '0.6.2'; +export const version = '0.6.3';