Skip to content

Chore/sync sdk types - #1101

Merged
pedromcunha merged 2 commits into
mainfrom
chore/sync-sdk-types
Aug 4, 2026
Merged

Chore/sync sdk types#1101
pedromcunha merged 2 commits into
mainfrom
chore/sync-sdk-types

Conversation

@pedromcunha

Copy link
Copy Markdown
Member

No description provided.

@pedromcunha
pedromcunha requested a review from ted-palmer August 4, 2026 18:00
@vercel

vercel Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
relay-sdk-demo Ready Ready Preview Aug 4, 2026 6:06pm

Request Review

@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Claude finished @pedromcunha's task in 1m 28s —— View job


📝 Docs Drift Check — No docs impact

This PR does not touch surfaces that require a relayprotocol/relay-docs update.

This is a generated SDK type sync (OpenAPI paths types + the internal routes list). The new API-level surface it reflects (a deposit-address lookup endpoint, an added rent sponsorship fee component, new optional quote request/response fields, and additional status/failReason values) is documented — if anywhere — on the auto-generated API reference pages, which derive from the OpenAPI spec rather than from hand-maintained content. The references/relay-kit/** pages I'm responsible for don't enumerate these fields: the SDK typings page only explains the generic paths typing pattern, and getQuote delegates its options to the API reference. Nothing there goes stale.

@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Claude finished @pedromcunha's task in 1m 5s —— View job


Code Review — No issues found

Reviewed 3 files, ~1016 lines changed. This is a generated OpenAPI type sync plus a matching changeset and route-list update. Checked for correctness, breaking changes to consumers, and repo-guideline compliance.

What changed

  • packages/sdk/src/types/api.ts — regenerated types: new /deposit-addresses/v1 and /metrics/usage endpoints; new rent fee bucket added to every sponsoredFeeComponents/components block; subsidizeRent marked @deprecated (now an alias for the rent component); new recoveryAddress/disableSwapProviderPreference/total slippage fields; extra failReasons (TRANSACTION_NOT_INCLUDED, TRANSACTION_SUBMISSION_FAILED); Hermod screening fields; includeTotal on requests.
  • packages/sdk/src/routes/index.ts — added /deposit-addresses/v1 and /metrics/usage.
  • .changeset/giant-papayas-rule.mdpatch bump, correct.

Verification notes

  • The three removals in the diff — the apeeth currency enum value, the x-dev-portal-key header, and the un-deprecated subsidizeRent — are all confined to api.ts. I grepped the whole repo and none of them are referenced anywhere else, so no consumer code breaks.
  • changeset bump level (patch) is appropriate — additive type changes plus deprecations, no runtime behavior change in the SDK.

Minor (non-blocking, not flagged as an issue): /metrics/usage is appended at the end of the routes array rather than following the loose grouping used elsewhere, and the file has no trailing newline — both match the pre-existing/generated style, so no change needed.

@pedromcunha
pedromcunha merged commit fb843c4 into main Aug 4, 2026
6 checks passed
@pedromcunha
pedromcunha deleted the chore/sync-sdk-types branch August 4, 2026 19:09
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.

2 participants