Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ts-bindings)!: now powered by ContractClient (#1258)
* feat(ts-bindings)!: now powered by ContractClient Most logic in the TS Bindings has now been implemented in stellar-sdk as a `ContractClient` that dynamically fetches the contract's XDR and generates JS for each contract method at runtime. This means logic like `AssembledTransaction` now lives entirely in stellar-sdk, and can be relied on by each library generated by TS Bindings, rather than duplicating this logic in each of these libraries. TS Bindings now has a much smaller focus—basically, only to generate the types. This shrinks the TS Bindings, importing and using this new ContractClient logic. * build: remove redundant TS tests All tests that are being removed are now duplicates of tests that are in stellar-sdk. So are the test-custom-types tests, but those ones actually caught some edge cases, so maybe they're worth keeping. * use result pattern in cmd/crates/soroban-spec-typescript/src/boilerplate.rs
- Loading branch information