docs: intentId on widget callbacks + callback reference revision - #116
Open
miguelmota wants to merge 1 commit into
Open
miguelmota wants to merge 1 commit into
miguelmota wants to merge 1 commit into
Conversation
…ference Document the new intentId field on every post-quote widget callback, add a Callback payloads section to the configuration reference, switch the success-handler examples to correlate on intentId, fix the pay use case that passed sessionId as an intent id, drop the nonexistent walletOptions prop, and add the 0xtrails@0.19.0 changelog entry. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
miguelmota
marked this pull request as ready for review
September 17, 2026 17:06
ScreamingHawk
approved these changes
Sep 17, 2026
ScreamingHawk
left a comment
Contributor
There was a problem hiding this comment.
LGTM! (Pending 0.19.0 release)
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.
Summary
Documents the
intentIdfield arriving on the widget lifecycle callback payloads in0xtrails@0.19.0. The changelog entry is marked Unreleased and needs a date once that version is published.intentId
sdk/configuration.mdx: the general-callbacks table gains a Payload column, plus a new Callback payloads section explainingsessionIdvsintentId, whenintentIdisnull(passthrough), and the exportedCheckoutEventBase/TransactionConfirmationEventtypes.pay,fund,swap,earn,withdraw): lifecycle tables showintentIdon success/error and note that*Startfires before quoting.sdk/,use-cases/,examples/now correlate onintentIdinstead ofsessionId.sdk/changelog/0xtrails-0.19.0.mdxand a card on the changelog index.Revision fixes found while auditing the callback docs against the SDK
use-cases/pay.mdxpassedsessionIdtogetIntentReceipt({ intentId }), which never matched anything. It now uses the realintentId.walletOptionsrow from the shared props table; no focused component orTrailsWidgetexposes that prop.examples/x402.mdxhandler type updated to the new payload shape.Checks
mintlify broken-linkspasses🤖 Generated with Claude Code using Claude Fable 5.1