Skip to content

update stellar-sdk version in binding generation#2640

Open
Ryang-21 wants to merge 3 commits into
mainfrom
issue-2639
Open

update stellar-sdk version in binding generation#2640
Ryang-21 wants to merge 3 commits into
mainfrom
issue-2639

Conversation

@Ryang-21

@Ryang-21 Ryang-21 commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

What

Updated the stellar-sdk version to v16.0.1 in binding generator

Why

So that users generating contract bindings do not have to manually alter the package.json

Closes #2639

Copilot AI review requested due to automatic review settings July 9, 2026 19:55
@github-project-automation github-project-automation Bot moved this to Backlog (Not Ready) in DevX Jul 9, 2026
@Ryang-21 Ryang-21 requested a review from a team July 9, 2026 19:55
@socket-security

socket-security Bot commented Jul 9, 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/​stellar-sdk@​14.6.1 ⏵ 16.0.199100100 +199 +2100

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

This PR updates the TypeScript bindings template used by soroban-spec-typescript so that newly generated TS contract binding projects depend on @stellar/stellar-sdk v16.0.1 (Protocol 27 line), aligning generated bindings with the CLI’s Protocol 27 support and avoiding manual package.json edits by users.

Changes:

  • Bump @stellar/stellar-sdk dependency from ^14.5.0 to ^16.0.1 in the TypeScript bindings project template.
  • Update the same SDK version pin in TypeScript fixture projects used for validation/golden outputs.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
cmd/crates/soroban-spec-typescript/src/project_template/package.json Updates the default SDK dependency for newly generated TypeScript bindings projects.
cmd/crates/soroban-spec-typescript/fixtures/test_custom_types/package.json Keeps fixture project dependency pin aligned with the template’s SDK version.
cmd/crates/soroban-spec-typescript/fixtures/test_constructor/package.json Keeps fixture project dependency pin aligned with the template’s SDK version.

},
"dependencies": {
"@stellar/stellar-sdk": "^14.5.0",
"@stellar/stellar-sdk": "^16.0.1",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog (Not Ready)

Development

Successfully merging this pull request may close these issues.

TS bindings template pins stellar-sdk ^14.5.0 in the Protocol 27 CLI

2 participants