Skip to content

Commit

Permalink
update http & eventsource
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-rogobete committed Aug 22, 2021
1 parent 9008a1d commit 103b818
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [1.2.0] - 22.Aug.2021.
- update http package version
- update eventsource package version

## [1.1.9] - 27.July.2021.
- extend sep-0010 support: add client attribution support
- extend sep-0010 support: accept multiple signers
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.1.9
stellar_flutter_sdk: ^1.2.0
```
2. Install it (command line or IDE):
```
Expand Down
Binary file modified documentation/sdk_api_doc.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion lib/src/responses/response.dart
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ class Page<T> extends Response implements TypedResponse<Page<T>> {
String url = this.links.next.href;

return await httpClient
.get(url, headers: RequestBuilder.headers)
.get(Uri.parse(url), headers: RequestBuilder.headers)
.then((response) {
return responseHandler.handleResponse(response);
});
Expand Down
2 changes: 1 addition & 1 deletion lib/src/util.dart
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class FriendBot {

/// Ask the friendly bot to fund your testnet account given by [accountId].
static Future<bool> fundTestAccount(String accountId) async {
var url = "https://friendbot.stellar.org/?addr=$accountId";
var url = Uri.parse("https://friendbot.stellar.org/?addr=$accountId");
return await http
.get(url, headers: RequestBuilder.headers)
.then((response) {
Expand Down
6 changes: 3 additions & 3 deletions 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.1.9
version: 1.2.0
homepage: https://github.com/Soneso/stellar_flutter_sdk

environment:
Expand All @@ -12,9 +12,9 @@ dependencies:

convert: ^2.1.1
crypto: ^2.1.3
eventsource: ^0.2.2
eventsource: ^0.3.0
fixnum: ^0.10.11
http: ^0.12.0+3
http: ^0.13.0
tweetnacl: ^0.3.2
collection: ^1.14.0
toml: ^0.6.0
Expand Down

0 comments on commit 103b818

Please sign in to comment.