Skip to content

chore(deps): upgrade typescript-wallet-sdk-km to 5.0.0 and stellar-sdk to 17.0.1 - #3006

Merged
CassioMG merged 2 commits into
masterfrom
chore/wallet-sdk-km-v5-sdk-17.0.1
Sep 10, 2026
Merged

chore(deps): upgrade typescript-wallet-sdk-km to 5.0.0 and stellar-sdk to 17.0.1#3006
CassioMG merged 2 commits into
masterfrom
chore/wallet-sdk-km-v5-sdk-17.0.1

Conversation

@CassioMG

@CassioMG CassioMG commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

What

  • @stellar/typescript-wallet-sdk-km 3.0.1 → 5.0.0
  • stellar-sdk / stellar-sdk-next 17.0.0 → 17.0.1 in extension, @shared/api, @shared/constants, @shared/helpers
  • one new test: a keystore blob written by km 3.0.1 still unlocks

No source changes.

Why

km 3.0.1 shipped a bundle with stellar-sdk 15.0.1 inlined, so the background service worker ran a v15 XDR layer beside our v17. 5.0.0 inlines 17.0.1, and the 15.0.1 tree drops out of the lockfile. Matching the alias patch puts mobile, the extension and the wallet SDK on the same versions.

Is 17.0.1 safe to take?

Yes. Diffing it against 17.0.0, the only behaviour change is BytesValue#toString() rendering an xdr byte wrapper's declared encoding instead of base64; everything else is additive. Nothing here stringifies one — checked statically, and by logging every call to it across the full jest run.

About the new test

It covers the km bump, not 17.0.1. km owns our encrypter and existing installs hold blobs it wrote, but neither suite covered the upgrade path — they only round-trip within one version. legacyKeystore.test.ts unlocks a real blob captured from 3.0.1.

Testing

yarn test:ci (221 suites / 1776 tests), yarn build:extension, yarn test:e2e (235 passed).

sendPayment.test.ts › Swap doesn't throw error when account is unfunded fails locally without a real INDEXER_URL — it uses unstubbed endpoints, and fails identically on master, so it is the environment rather than this change.

🤖 Generated with Claude Code

Key manager 3.0.1 shipped a bundle with stellar-sdk 15.0.1 inlined, so the
background service worker ran a v15 XDR layer beside the v17 the extension
itself uses. 5.0.0 inlines 17.0.1; bringing the workspace aliases to the
same patch leaves one stellar-sdk resolution in the lockfile as well.

Adds a regression test that unlocks a keystore blob written by 3.0.1, so an
encrypter change can't silently lock existing installs out of their accounts.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings September 10, 2026 02:04
@socket-security

socket-security Bot commented Sep 10, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatednpm/​@​stellar/​typescript-wallet-sdk-km@​3.0.1 ⏵ 5.0.082 +210093 +199 +3100

View full report

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Aligns Freighter’s key-management and Stellar SDK dependencies while preserving legacy keystore compatibility.

Changes:

  • Upgrades wallet SDK KM to 5.0.0.
  • Aligns Stellar SDK aliases on 17.0.1.
  • Adds legacy keystore unlock coverage.

Reviewed changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
yarn.lock Resolves upgraded dependency trees.
extension/src/background/messageListener/__tests__/legacyKeystore.test.ts Tests legacy keystore compatibility.
extension/package.json Upgrades extension dependencies.
@shared/helpers/package.json Aligns Stellar SDK versions.
@shared/constants/package.json Aligns Stellar SDK versions.
@shared/api/package.json Aligns Stellar SDK versions.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@github-actions

github-actions Bot commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

PR Preview build is ready: https://github.com/stellar/freighter/releases/tag/untagged-70263082b4ba8833d8b2
Backend: V1 prod + V2 beta (no sandbox configured for @CassioMG). SDF collaborators only — install instructions in the release description.

Copilot AI review requested due to automatic review settings September 10, 2026 13:53

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 5 out of 6 changed files in this pull request and generated no new comments.

@CassioMG CassioMG self-assigned this Sep 10, 2026
@CassioMG
CassioMG requested a review from a team September 10, 2026 15:21
@CassioMG CassioMG changed the title chore(deps): upgrade wallet-sdk-km to 5.0.0 and stellar-sdk to 17.0.1 chore(deps): upgrade typescript-wallet-sdk-km to 5.0.0 and stellar-sdk to 17.0.1 Sep 10, 2026
@CassioMG
CassioMG merged commit 19781cc into master Sep 10, 2026
12 checks passed
@CassioMG
CassioMG deleted the chore/wallet-sdk-km-v5-sdk-17.0.1 branch September 10, 2026 15:27
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.

3 participants