From f40e503e156eb443c7eccc836130c46d19bf3156 Mon Sep 17 00:00:00 2001 From: Nando Vieira Date: Tue, 15 Sep 2026 15:54:34 -0700 Subject: [PATCH] Show typescript bindings deprecation in help docs. --- FULL_HELP_DOCS.md | 4 ++-- cmd/soroban-cli/src/commands/contract/bindings.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/FULL_HELP_DOCS.md b/FULL_HELP_DOCS.md index 3690bec393..a5407572d3 100644 --- a/FULL_HELP_DOCS.md +++ b/FULL_HELP_DOCS.md @@ -272,7 +272,7 @@ Generate code client bindings for a contract ###### **Subcommands:** - `rust` — Generate Rust bindings -- `typescript` — Generate a TypeScript / JavaScript package +- `typescript` — ⚠️ Deprecated, use the JavaScript Stellar SDK instead (https://github.com/stellar/js-stellar-sdk#cli). Generate a TypeScript / JavaScript package - `python` — Generate Python bindings - `java` — Generate Java bindings - `flutter` — Generate Flutter bindings @@ -291,7 +291,7 @@ Generate Rust bindings ## `stellar contract bindings typescript` -Generate a TypeScript / JavaScript package +⚠️ Deprecated, use the JavaScript Stellar SDK instead (https://github.com/stellar/js-stellar-sdk#cli). Generate a TypeScript / JavaScript package **Usage:** `stellar contract bindings typescript [OPTIONS] --output-dir <--wasm |--wasm-hash |--contract-id >` diff --git a/cmd/soroban-cli/src/commands/contract/bindings.rs b/cmd/soroban-cli/src/commands/contract/bindings.rs index 15617fa3e0..c8b7445eb6 100644 --- a/cmd/soroban-cli/src/commands/contract/bindings.rs +++ b/cmd/soroban-cli/src/commands/contract/bindings.rs @@ -11,7 +11,7 @@ pub enum Cmd { /// Generate Rust bindings Rust(rust::Cmd), - /// Generate a TypeScript / JavaScript package + /// ⚠️ Deprecated, use the JavaScript Stellar SDK instead (https://github.com/stellar/js-stellar-sdk#cli). Generate a TypeScript / JavaScript package Typescript(Box), /// Generate Python bindings