Skip to content

Commit

Permalink
prepare for release 1.8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-rogobete committed Jul 25, 2024
1 parent e65bb7a commit ace0480
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 6 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## [1.8.4] - 25.Jul.2024.
- add: submit async transactions (Horizon v2.31.0)
- soroban: add getTransactions, getFeeStats, getVersionInfo (RPC v21.4.0)
- sep12: add transaction_id to get and put customer
- sep: allow custom request headers
- improve submit tx timeout response handling

## [1.8.3] - 16.Jul.2024.
- improve request headers handling
- change sequence number from int to BigInt (web issue)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ The Soneso open source Stellar SDK for Flutter is build with Dart and provides A
1. Add the dependency to your pubspec.yaml file:
```
dependencies:
stellar_flutter_sdk: ^1.8.3
stellar_flutter_sdk: ^1.8.4
```
2. Install it (command line or IDE):
```
Expand Down
2 changes: 1 addition & 1 deletion lib/src/stellar_sdk.dart
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import 'requests/liquidity_pools_request_builder.dart';

/// Main class of the flutter stellar sdk.
class StellarSDK {
static const versionNumber = "1.8.3";
static const versionNumber = "1.8.4";

static final StellarSDK PUBLIC = StellarSDK("https://horizon.stellar.org");
static final StellarSDK TESTNET =
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: stellar_flutter_sdk
description: A stellar blockchain sdk that query's horizon, build, signs and submits transactions to the stellar network.
version: 1.8.3
version: 1.8.4
homepage: https://github.com/Soneso/stellar_flutter_sdk

environment:
Expand Down
10 changes: 7 additions & 3 deletions test/soroban_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,11 @@ void main() {
assert(latestLedgerResponse.sequence != null);

var startLedger = latestLedgerResponse.sequence! - 20;
var request = GetTransactionsRequest(startLedger: startLedger);
var paginationOptions = PaginationOptions(limit: 2);
var request = GetTransactionsRequest(
startLedger: startLedger,
paginationOptions: paginationOptions,
);
var response = await sorobanServer.getTransactions(request);
assert(!response.isErrorResponse);
assert(response.transactions != null);
Expand All @@ -309,11 +313,11 @@ void main() {
var transactions = response.transactions!;
assert(transactions.isNotEmpty);

var paginationOptions =
PaginationOptions(cursor: response.cursor!, limit: 2);
paginationOptions = PaginationOptions(cursor: response.cursor!, limit: 2);
request = GetTransactionsRequest(paginationOptions: paginationOptions);
response = await sorobanServer.getTransactions(request);
assert(!response.isErrorResponse);
assert(response.transactions != null);
transactions = response.transactions!;
assert(transactions.length == 2);
});
Expand Down

0 comments on commit ace0480

Please sign in to comment.