Skip to content

Commit 4b2515b

Browse files
committed
set option arg for contract method interface to MethodOptions
1 parent d869f24 commit 4b2515b

File tree

4 files changed

+40
-33
lines changed

4 files changed

+40
-33
lines changed

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

Lines changed: 1 addition & 2 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/src/index.ts

Lines changed: 38 additions & 29 deletions
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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ pub fn entry_to_method_type(entry: &Entry) -> String {
222222
format!(
223223
r"
224224
{doc}
225-
{name}: ({input}options?: AssembledTransactionOptions<{return_type}>) => Promise<AssembledTransaction<{return_type}>>
225+
{name}: ({input}options?: MethodOptions) => Promise<AssembledTransaction<{return_type}>>
226226
"
227227
)
228228
}

cmd/crates/soroban-spec-typescript/src/project_template/src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ import type {
1717
i128,
1818
u256,
1919
i256,
20-
AssembledTransactionOptions,
2120
Option,
2221
Typepoint,
2322
Duration,

0 commit comments

Comments
 (0)