Conversation
Replace the GitHub-specific payload with a discriminated union on sourceKind (gitHub, orcid, orcidSandbox). Add ORCID profile pre-validation, retry logic with timeout, and rate limiting. Update the project claim flow to use the new payload format.
When PUBLIC_USE_LIT_OWNER_UPDATE is enabled, the ORCID claim flow now: - Shows the Lit-compatible DRIPS_OWNERSHIP_CLAIM URL format - Calls the generalized Lit endpoint with orcid/orcidSandbox sourceKind - Builds updateOwnerByLit and setSplits transactions using the correct Lit account ID (sourceId=4 for sandbox, plain ORCID name) The legacy Gelato-based flow remains unchanged when the flag is off.
Point docker-compose at updated dripfeed, graphql-api and contracts images that support Lit-claimed ORCID accounts. Update test ORCID ID to 0009-0003-3033-0123 and test comments to reflect the new DRIPS_OWNERSHIP_CLAIM URL format.
|
🚅 Deployed to the app-pr-1856 environment in Drips App
|
Use Vite's ?raw import to inline the Lit action code at build time instead of readFileSync at runtime. SvelteKit doesn't copy .txt files to the build output directory.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Get ready for the new version of the Drips protocol based on Lit MCP proofs of GitHub Repo + ORCID ownership replacing the current Gelato Web3Functions-based approach.