Skip to content

Add forwardToArbiter docs and named address constants#24

Closed
mintlify[bot] wants to merge 1 commit into
mainfrom
mintlify/sdk-helpers-update-1774855977
Closed

Add forwardToArbiter docs and named address constants#24
mintlify[bot] wants to merge 1 commit into
mainfrom
mintlify/sdk-helpers-update-1774855977

Conversation

@mintlify

@mintlify mintlify Bot commented Mar 30, 2026

Copy link
Copy Markdown
Contributor

Summary

  • New page: sdk/helpers/forward-to-arbiter.mdx documenting the forwardToArbiter() hook — payload shape, error handling, skipped scenarios, and address re-exports
  • Updated: sdk/installation.mdx to show named address constant imports (authCaptureEscrow, factories, conditions, etc.) alongside getChainConfig()
  • Updated: sdk/overview.mdx helpers card description to mention forwardToArbiter() and address re-exports
  • Updated: sdk/helpers/refundable.mdx next steps to link to the new forwardToArbiter page
  • Updated: docs.json navigation to include the new page under Merchant group

Reflects changes from backtrackco/x402r-sdk@a252048 which forwarded paymentPayload in forwardToArbiter(), removed redundant scheme/network fields, and exported named address constants from @x402r/core.

…ants

- New page for forwardToArbiter() with payload shape, error handling, and address re-exports
- Updated installation page to show named constant imports alongside getChainConfig
- Updated helpers card description in SDK overview
- Added forwardToArbiter link to refundable() next steps
Generated-By: mintlify-agent
A1igator added a commit that referenced this pull request Jun 1, 2026
)

## Summary

Consolidates all 14 open Mintlify bot PRs into a single PR for review.
Merged oldest-first with `--no-ff -X theirs` so each PR's intent is
preserved as a discrete merge commit and later PRs supersede earlier
ones where they overlap.

## Consolidated PRs

| # | Title |
|---|---|
| #19 | Update SDK docs for @x402r/sdk API and new chain support |
| #20 | Sync SDK docs with contracts v3 API |
| #21 | Replace `refundable()` with `forwardToArbiter()` in SDK docs |
| #22 | Add delivery protection operator docs, fix marketplace operator
signature |
| #24 | Add `forwardToArbiter` docs and named address constants |
| #25 | Document `DeliveryProtectionOperator` preset exports |
| #26 | Update delivery protection SDK docs for v2 |
| #27 | Remove `ArbiterRegistry` references from SDK docs |
| #28 | Add ERC-8004 plugin docs to SDK reference |
| #29 | Update SDK docs to match `@x402r/sdk` 0.2.x API |
| #30 | Add ERC-8004 helpers and `identity.check()` SDK docs |
| #31 | Fix broken internal links in cursor AI tools guide |
| #32 | Add `@x402r/cli` documentation |
| #33 | Document commerce-payments v1 addresses, remove SKALE Base |

## Conflict resolutions

The V2 SDK Getting Started rewrite (#23) landed on `main` after most of
these PRs were opened, so several conflicts had to be resolved:

- **`sdk/installation.mdx`** — V2 rewrite intentionally deleted this
file. Kept the deletion; dropped PR #19, #20, and #24 modifications.
- **`sdk/helpers/refundable.mdx`** — PR #21 deletes this page (replaces
with `forward-to-arbiter.mdx`). Accepted the deletion; later PRs that
modified `refundable.mdx` (PR #24) had their refundable-touching parts
dropped.
- **`docs.json`** — V2 rewrite kept `sdk/helpers/refundable` in nav. PR
#21's `theirs`-strategy merge added `forward-to-arbiter` but the V2
entry for `refundable` was preserved as a dangling reference. Removed in
the final fix commit so the Mintlify build doesn't fail.
- **All other content conflicts** — resolved with `-X theirs` (incoming
Mintlify PR wins). Newer PRs in the chronological merge order override
older PRs where they touch the same lines.

## Verification

- `python3 -m json.tool docs.json` — valid JSON
- All deleted-file references checked: no remaining links to
`sdk/installation` or `sdk/helpers/refundable`
- Diff stat: 29 files changed, ~2,332 insertions, ~2,091 deletions

## Next steps (for reviewer)

1. Skim merge commits in order to see what each upstream PR contributed.
2. After merging, close PRs #19-#22 and #24-#33 with a comment pointing
here.
3. Run `npx mint dev` locally to verify rendering before merging.

---------

Co-authored-by: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@A1igator

A1igator commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

Consolidated into #35, which has been merged. Closing as superseded.

@A1igator A1igator closed this Jun 2, 2026
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.

1 participant