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

Create Relay Environment package #123

Merged
merged 3 commits into from
Feb 20, 2024
Merged

Create Relay Environment package #123

merged 3 commits into from
Feb 20, 2024

Conversation

psirenny
Copy link
Contributor

This copies over Forerunner's Relay Environment with a few minor tweaks. I added some type definitions so that the unknown options object is known 😆. Also moved apiUrl into an options object and threw cache size and cache TTL into the options object so that they're configurable.

If you want to try it out, you can run this draft PR in Forerunner: https://github.com/spear-ai/forerunner/pull/656 and modify the linked yarn package to point to your filesystem instead of mine (dtorres').

Resolves #34

Copy link

vercel bot commented Feb 17, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
spear-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 17, 2024 11:38am

Copy link
Contributor

@ThomasSeaver ThomasSeaver left a comment

Choose a reason for hiding this comment

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

Nice! Looks much cleaner. I should have done this the second time I had to write an environment.ts file. 🚀 🪨

@psirenny psirenny merged commit 18e1b90 into main Feb 20, 2024
5 checks passed
@psirenny psirenny deleted the create-relay-environment branch February 20, 2024 16:25
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.

Create a Relay Environment package
2 participants