-
Notifications
You must be signed in to change notification settings - Fork 31
NCS: extract some API communication schemas #1233
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
base: main
Are you sure you want to change the base?
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Skipped Deployment
|
🦋 Changeset detectedLatest commit: b17194d The changes in this PR will be included in the next version bump. This PR includes changesets to release 11 packages
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 |
devlyn37
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We may actually want to go in the other direction. Open Signer is meant to be independent from Crossmint, and shouldn't depend on Crossmint specific packages. I'd propose we instead begin moving any Open Signer related pieces we need centralized (API & Iframe Event Schema, etc) to the Open Signer repository.
Details need refinement, but was thinking the end state should look something like:
- We publish an
open-signer/schemapackage from the Open Signer repository. - Crossmint's SDKs use this package to interface with the iframe.
- Crossmint's relay uses this package and implements the relay endpoints according to the minimal schema defined in the package.
Not sure we'll prioritize this right away, but if we're aligned we should avoid moving in the opposite direction!
Description
Extracting communications schemas to this common library so we can handled them in a centralized way
Test plan
It's just copied from the iframes repo, so nothing else. Will substitute this lib in both the iframe, the relayer and the tee and test e2e.
Package updates