Skip to content

Commit

Permalink
Release v11.0.1 hotfix: use correct type in getEvents request (#890)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaptic committed Dec 7, 2023
1 parent 69f7699 commit ff2e9f1
Show file tree
Hide file tree
Showing 5 changed files with 221 additions and 227 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Expand Up @@ -3,6 +3,12 @@
A breaking change will get clearly marked in this log.


## [v11.0.1](https://github.com/stellar/js-stellar-sdk/compare/v10.2.1...v11.0.0)

### Fixed
* `SorobanRpc.Server.getEvents` uses the correct type for the start ledger.


## [v11.0.0](https://github.com/stellar/js-stellar-sdk/compare/v10.2.1...v11.0.0)

### Breaking Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "@stellar/stellar-sdk",
"version": "11.0.0",
"version": "11.0.1",
"description": "A library for working with the Stellar network, including communication with the Horizon and Soroban RPC servers.",
"keywords": [
"stellar"
Expand Down
4 changes: 2 additions & 2 deletions src/soroban/server.ts
Expand Up @@ -365,7 +365,7 @@ export class Server {
* @see https://soroban.stellar.org/api/methods/getEvents
* @example
* server.getEvents({
* startLedger: "1000",
* startLedger: 1000,
* filters: [
* {
* type: "contract",
Expand Down Expand Up @@ -402,7 +402,7 @@ export class Server {
...(request.limit && { limit: request.limit })
},
...(request.startLedger && {
startLedger: request.startLedger.toString()
startLedger: request.startLedger
})
});
}
Expand Down

0 comments on commit ff2e9f1

Please sign in to comment.