Skip to content

Commit b3319f4

Browse files
Merge pull request #118 from appwrite/dev
2 parents e5236a1 + b398208 commit b3319f4

File tree

9 files changed

+14
-6
lines changed

9 files changed

+14
-6
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2022 Appwrite (https://appwrite.io) and individual contributors.
1+
Copyright (c) 2023 Appwrite (https://appwrite.io) and individual contributors.
22
All rights reserved.
33

44
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

README.md

Lines changed: 1 addition & 1 deletion
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: ^8.2.0
24+
appwrite: ^8.2.1
2525
```
2626
2727
You can install packages from the command line:

lib/id.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
part of appwrite;
22

33
class ID {
4+
ID._();
5+
46
static String unique() {
57
return 'unique()';
68
}

lib/permission.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
part of appwrite;
22

33
class Permission {
4+
Permission._();
5+
46
static String read(String role) {
57
return 'read("$role")';
68
}

lib/query.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
part of appwrite;
22

33
class Query {
4+
Query._();
5+
46
static equal(String attribute, dynamic value) =>
57
_addQuery(attribute, 'equal', value);
68

lib/role.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
part of appwrite;
22

33
class Role {
4+
Role._();
5+
46
static String any() {
57
return 'any';
68
}

lib/src/client_browser.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class ClientBrowser extends ClientBase with ClientMixin {
4343
'x-sdk-name': 'Flutter',
4444
'x-sdk-platform': 'client',
4545
'x-sdk-language': 'flutter',
46-
'x-sdk-version': '8.2.0',
46+
'x-sdk-version': '8.2.1',
4747
'X-Appwrite-Response-Format' : '1.0.0',
4848
};
4949

@@ -221,7 +221,7 @@ class ClientBrowser extends ClientBase with ClientMixin {
221221
Future webAuth(Uri url, {String? callbackUrlScheme}) {
222222
return FlutterWebAuth2.authenticate(
223223
url: url.toString(),
224-
callbackUrlScheme: callbackUrlScheme ?? "appwrite-callback-" + config['project']!,
224+
callbackUrlScheme: "appwrite-callback-" + config['project']!,
225225
);
226226
}
227227
}

lib/src/client_io.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ class ClientIO extends ClientBase with ClientMixin {
6464
'x-sdk-name': 'Flutter',
6565
'x-sdk-platform': 'client',
6666
'x-sdk-language': 'flutter',
67-
'x-sdk-version': '8.2.0',
67+
'x-sdk-version': '8.2.1',
6868
'X-Appwrite-Response-Format' : '1.0.0',
6969
};
7070

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: 8.2.0
2+
version: 8.2.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)