Skip to content

feat(services): wallets create/update/rpc auto-inject auth + idempotency headers#10

Merged
jagtejsodhi merged 1 commit into
nextfrom
llois-c/feat_services_wallets_create_update_rpc
May 9, 2026
Merged

feat(services): wallets create/update/rpc auto-inject auth + idempotency headers#10
jagtejsodhi merged 1 commit into
nextfrom
llois-c/feat_services_wallets_create_update_rpc

Conversation

@lucasloisp
Copy link
Copy Markdown
Collaborator

Override Privy::Services::Wallets#create/update/rpc to translate the public
idempotency_key: and authorization_context: kwargs into the generated
privy-* header params. Signing routes through Privy::Authorization.prepare
with the server-matching URL; idempotency-key header is included in the
signed payload when both are present. Unit tests cover header presence and
signature verification; migrate existing P-256 integration tests onto the
new API and add an end-to-end sign_fns test.

Copy link
Copy Markdown

jagtejsodhi commented May 9, 2026

Merge activity

  • May 9, 12:48 AM UTC: A user started a stack merge that includes this pull request via Graphite.
  • May 9, 1:03 AM UTC: Graphite rebased this pull request as part of a merge.
  • May 9, 1:04 AM UTC: @jagtejsodhi merged this pull request with Graphite.

@jagtejsodhi jagtejsodhi changed the base branch from llois-c/docs_add_claude.md_with_repo_conventions_and_pitfalls to graphite-base/10 May 9, 2026 01:01
@jagtejsodhi jagtejsodhi changed the base branch from graphite-base/10 to next May 9, 2026 01:02
…ncy headers

Override Privy::Services::Wallets#create/update/rpc to translate the public
idempotency_key: and authorization_context: kwargs into the generated
privy-* header params. Signing routes through Privy::Authorization.prepare
with the server-matching URL; idempotency-key header is included in the
signed payload when both are present. Unit tests cover header presence and
signature verification; migrate existing P-256 integration tests onto the
new API and add an end-to-end sign_fns test.
@jagtejsodhi jagtejsodhi force-pushed the llois-c/feat_services_wallets_create_update_rpc branch from b3d259e to ca6a6a2 Compare May 9, 2026 01:03
@jagtejsodhi jagtejsodhi merged commit d03a736 into next May 9, 2026
10 checks passed
@stainless-app stainless-app Bot mentioned this pull request May 9, 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.

2 participants