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

Use new frames proxy #198

Merged
merged 6 commits into from
Feb 21, 2024
Merged

Use new frames proxy #198

merged 6 commits into from
Feb 21, 2024

Conversation

neekolas
Copy link
Contributor

Summary

We now have an Open Frames proxy client that duplicates some of the code in here, but with broader argument types. I am wrapping that proxy client but with narrower types specific to XMTP.

The new client also adds the frameInfo field which includes fully parsed Frame data, so we are adding that to the return types.

@neekolas neekolas requested a review from a team February 21, 2024 04:34
Copy link

changeset-bot bot commented Feb 21, 2024

🦋 Changeset detected

Latest commit: 90f22ef

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@xmtp/frames-client Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@@ -1,3 +1,3 @@
export const OPEN_FRAMES_PROXY_URL = "https://open-frames-proxy.fly.dev/";
export const OPEN_FRAMES_PROXY_URL = "https://frames.xmtp.chat/";
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm now hosting this on Cloudflare Workers, which should be faster since they are closer to the end user.

@neekolas neekolas merged commit 5977fd5 into main Feb 21, 2024
5 checks passed
@neekolas neekolas deleted the nm/use-new-frames-proxy branch February 21, 2024 15:36
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.

2 participants