Skip to content

Commit 41fe5d2

Browse files
fix(oauth): completing too early
1 parent 2e25140 commit 41fe5d2

File tree

5 files changed

+8
-5
lines changed

5 files changed

+8
-5
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 0.7.1
2+
- Fix - createOAuth2Session completing too early
3+
14
## 0.7.0
25
- Support for Appwrite 0.9
36
- Breaking - removed order type enum, now you should pass string 'ASC' or 'DESC'

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Add this to your package's `pubspec.yaml` file:
2121

2222
```yml
2323
dependencies:
24-
appwrite: ^0.7.0
24+
appwrite: ^0.7.1
2525
```
2626
2727
You can install packages from the command line:
@@ -161,7 +161,7 @@ try {
161161
```
162162

163163
### Learn more
164-
You can use following resources to learn more and get help
164+
You can use the following resources to learn more and get help
165165
- 🚀 [Getting Started Tutorial](https://appwrite.io/docs/getting-started-for-flutter)
166166
- 📜 [Appwrite Docs](https://appwrite.io/docs)
167167
- 💬 [Discord Community](https://appwrite.io/discord)

lib/client.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class Client {
2626

2727
this.headers = {
2828
'content-type': 'application/json',
29-
'x-sdk-version': 'appwrite:flutter:0.7.0',
29+
'x-sdk-version': 'appwrite:flutter:0.7.1',
3030
'X-Appwrite-Response-Format' : '0.9.0',
3131
};
3232

lib/services/account.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ class Account extends Service {
392392
cookie.path = '/';
393393
List<Cookie> cookies = [cookie];
394394
await client.init();
395-
client.cookieJar.saveFromResponse(Uri.parse(client.endPoint), cookies);
395+
await client.cookieJar.saveFromResponse(Uri.parse(client.endPoint), cookies);
396396
});
397397
}
398398

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: appwrite
2-
version: 0.7.0
2+
version: 0.7.1
33
description: Appwrite is an open-source self-hosted backend server that abstract and simplify complex and repetitive development tasks behind a very simple REST API
44
homepage: https://appwrite.io
55
repository: https://github.com/appwrite/sdk-for-flutter

0 commit comments

Comments
 (0)