Skip to content

Commit ecd10be

Browse files
authored
Update stellar-sdk for TS bindings (#2027)
1 parent 0931888 commit ecd10be

File tree

8 files changed

+340
-52
lines changed

8 files changed

+340
-52
lines changed

cmd/crates/soroban-spec-typescript/fixtures/test_constructor/package.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cmd/crates/soroban-spec-typescript/fixtures/test_constructor/src/index.ts

Lines changed: 1 addition & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cmd/crates/soroban-spec-typescript/fixtures/test_custom_types/package.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cmd/crates/soroban-spec-typescript/fixtures/test_custom_types/src/index.ts

Lines changed: 11 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cmd/crates/soroban-spec-typescript/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ fn generate_class(
9494
}}
9595
export class Client extends ContractClient {{
9696
static async deploy<T = Client>({constructor_args_in}
97-
/** Options for initalizing a Client as well as for calling a method, with extras specific to deploying. */
97+
/** Options for initializing a Client as well as for calling a method, with extras specific to deploying. */
9898
options: MethodOptions &
9999
Omit<ContractClientOptions, "contractId"> & {{
100100
/** The hash of the Wasm blob, which must already be installed on-chain. */
@@ -292,7 +292,7 @@ pub fn entry_to_method_type(entry: &Entry) -> String {
292292
};
293293
format!(
294294
r"{doc}export const {name} = {{
295-
{cases}
295+
{cases}
296296
}}
297297
",
298298
)

cmd/crates/soroban-spec-typescript/src/project_template/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"build": "tsc"
99
},
1010
"dependencies": {
11-
"@stellar/stellar-sdk": "13.0.0",
11+
"@stellar/stellar-sdk": "^13.x",
1212
"buffer": "6.0.3"
1313
},
1414
"devDependencies": {

0 commit comments

Comments
 (0)