Skip to content

feat(sdk): add experimental builder helpers#59

Merged
sumfxn merged 1 commit into
mainfrom
feat/sdk-builder-helpers
May 14, 2026
Merged

feat(sdk): add experimental builder helpers#59
sumfxn merged 1 commit into
mainfrom
feat/sdk-builder-helpers

Conversation

@sumfxn
Copy link
Copy Markdown
Owner

@sumfxn sumfxn commented May 14, 2026

What

Adds experimental headless builder helpers for USDH/HIP-4 UI data contracts: quote readiness, quote summary, outcome event data, market rows, side selection, order book summaries, position rows, and spot order drafts.

Why

Lets app builders compose real product UI from SDK reads without copying local parsing, side-coin encoding, decimal math, or draft validation logic into each app.

Tests

  • npx pnpm@10.33.2 verify
  • git diff --check
  • Changeset added (or N/A): N/A, no release

Notes

  • Helpers are public but explicitly experimental before 1.0.0.
  • Helpers are headless only. No React UI package is introduced.
  • createSpotOrderDraft() validates draft handoff data but does not sign or submit.

@sumfxn sumfxn force-pushed the chore/package-consumer-smoke branch from 7353db5 to 8314288 Compare May 14, 2026 17:04
@sumfxn sumfxn force-pushed the feat/sdk-builder-helpers branch from fa5a2bc to 12c4036 Compare May 14, 2026 17:05
@sumfxn sumfxn force-pushed the chore/package-consumer-smoke branch 2 times, most recently from 143b351 to 3300af8 Compare May 14, 2026 17:15
@sumfxn sumfxn force-pushed the feat/sdk-builder-helpers branch 2 times, most recently from 19543f7 to dc342d6 Compare May 14, 2026 17:31
@sumfxn sumfxn force-pushed the chore/package-consumer-smoke branch from 3300af8 to 0354687 Compare May 14, 2026 17:31
@sumfxn sumfxn force-pushed the feat/sdk-builder-helpers branch from dc342d6 to a060460 Compare May 14, 2026 17:48
@sumfxn sumfxn changed the base branch from chore/package-consumer-smoke to main May 14, 2026 17:48
@sumfxn sumfxn marked this pull request as ready for review May 14, 2026 17:48
@sumfxn sumfxn force-pushed the feat/sdk-builder-helpers branch from a060460 to 518b2fa Compare May 14, 2026 17:50
@sumfxn sumfxn merged commit 2be1b1b into main May 14, 2026
4 checks passed
@sumfxn sumfxn deleted the feat/sdk-builder-helpers branch May 14, 2026 19:06
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