Skip to content

Commit

Permalink
docs: mention new TransactionStillPending error behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
chadoh committed May 14, 2024
1 parent 1232419 commit 675f72a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ A breaking change will get clearly marked in this log.
+import { Spec } from '@stellar/stellar-sdk/ContractClient'
```

- Previously, `AssembledTransaction.signAndSend()` would return a `SentTransaction` even if the transaction never finalized. That is, if it successfully sent the transaction to the network, but the transaction was still `status: 'PENDING'`, then it would `console.error` an error message, but return the indeterminate transaction anyhow.

It now throws a `SentTransaction.Errors.TransactionStillPending` error with that error message instead.

### Added

- `SorobanRpc` module is now also exported as `Rpc`. You can import it with either name.
Expand Down

0 comments on commit 675f72a

Please sign in to comment.