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

feat: add getPoll snapshot endpoint #2839

Merged
merged 2 commits into from
May 9, 2023
Merged

feat: add getPoll snapshot endpoint #2839

merged 2 commits into from
May 9, 2023

Conversation

bigint
Copy link
Member

@bigint bigint commented May 9, 2023

What does this PR do?

πŸ€– Generated by Copilot at 63e5df2

The snapshot-relay package adds a new feature to fetch poll data by proposal id using the snapshot package. It also updates its configuration and dependencies to support TypeScript and Node.js compatibility for Cloudflare Workers.

Related issues

Fixes # (issue)

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Enhancement (non-breaking small changes to existing functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Explanation of the changes

πŸ€– Generated by Copilot at 63e5df2

  • Add snapshot dependency and node_compat option to snapshot-relay package (link, link, link)
  • Implement and expose getPoll function to query snapshot data by proposal id (link, link, link)

Emoji

βœ¨πŸ”§πŸ”—

@vercel
Copy link

vercel bot commented May 9, 2023

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Updated (UTC)
prerender βœ… Ready (Inspect) Visit Preview May 9, 2023 6:36pm
ui βœ… Ready (Inspect) Visit Preview May 9, 2023 6:36pm
1 Ignored Deployment
Name Status Preview Updated (UTC)
web ⬜️ Ignored (Inspect) Visit Preview May 9, 2023 6:36pm

@vercel vercel bot temporarily deployed to Preview – prerender May 9, 2023 18:35 Inactive
@vercel vercel bot temporarily deployed to Preview – ui May 9, 2023 18:36 Inactive
@bigint bigint merged commit 1941f29 into main May 9, 2023
4 checks passed
@bigint bigint deleted the getpoll-endpoint branch May 9, 2023 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant