Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: version packages v0.2.0 🌊 #39

Merged
merged 2 commits into from
Jan 30, 2024
Merged

Conversation

github-actions[bot]
Copy link
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@coinbase/[email protected]

Minor Changes

  • 218b65e: - docs: Polished README for getFrameMessage(). By @Zizzamia docs: polish README for getFrameMessage() #38

    BREAKING CHANGES

    We made the getFrameValidatedMessage method more type-safe and renamed it to getFrameMessage.

    Before

    import { getFrameValidatedMessage } from '@coinbase/onchainkit';
    
    ...
    
    const validatedMessage = await getFrameValidatedMessage(body);

    @returns

    type Promise<Message | undefined>

    After

    import { getFrameMessage } from '@coinbase/onchainkit';
    
    ...
    
    const { isValid, message } = await getFrameMessage(body);

    @returns

    type Promise<FrameValidationResponse>;
    
    type FrameValidationResponse =
      | { isValid: true; message: FrameData }
      | { isValid: false; message: undefined };
    
    interface FrameData {
      fid: number;
      url: string;
      messageHash: string;
      timestamp: number;
      network: number;
      buttonIndex: number;
      castId: {
        fid: number;
        hash: string;
      };
    }

@Zizzamia Zizzamia changed the title chore: version packages 🔖 chore: version packages v0.2.0 🌊 Jan 30, 2024
@Zizzamia Zizzamia merged commit a7e4122 into main Jan 30, 2024
5 checks passed
@Zizzamia Zizzamia deleted the changeset-release/main branch January 30, 2024 02:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant