Merge pull request #118 from appwrite/dev

This commit is contained in:
Damodar Lohani
2023-01-31 13:28:26 +05:45
committed by GitHub
9 changed files with 14 additions and 6 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
Copyright (c) 2022 Appwrite (https://appwrite.io) and individual contributors.
Copyright (c) 2023 Appwrite (https://appwrite.io) and individual contributors.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
+1 -1
View File
@@ -21,7 +21,7 @@ Add this to your package's `pubspec.yaml` file:
```yml
dependencies:
appwrite: ^8.2.0
appwrite: ^8.2.1
```
You can install packages from the command line:
+2
View File
@@ -1,6 +1,8 @@
part of appwrite;
class ID {
ID._();
static String unique() {
return 'unique()';
}
+2
View File
@@ -1,6 +1,8 @@
part of appwrite;
class Permission {
Permission._();
static String read(String role) {
return 'read("$role")';
}
+2
View File
@@ -1,6 +1,8 @@
part of appwrite;
class Query {
Query._();
static equal(String attribute, dynamic value) =>
_addQuery(attribute, 'equal', value);
+2
View File
@@ -1,6 +1,8 @@
part of appwrite;
class Role {
Role._();
static String any() {
return 'any';
}
+2 -2
View File
@@ -43,7 +43,7 @@ class ClientBrowser extends ClientBase with ClientMixin {
'x-sdk-name': 'Flutter',
'x-sdk-platform': 'client',
'x-sdk-language': 'flutter',
'x-sdk-version': '8.2.0',
'x-sdk-version': '8.2.1',
'X-Appwrite-Response-Format' : '1.0.0',
};
@@ -221,7 +221,7 @@ class ClientBrowser extends ClientBase with ClientMixin {
Future webAuth(Uri url, {String? callbackUrlScheme}) {
return FlutterWebAuth2.authenticate(
url: url.toString(),
callbackUrlScheme: callbackUrlScheme ?? "appwrite-callback-" + config['project']!,
callbackUrlScheme: "appwrite-callback-" + config['project']!,
);
}
}
+1 -1
View File
@@ -64,7 +64,7 @@ class ClientIO extends ClientBase with ClientMixin {
'x-sdk-name': 'Flutter',
'x-sdk-platform': 'client',
'x-sdk-language': 'flutter',
'x-sdk-version': '8.2.0',
'x-sdk-version': '8.2.1',
'X-Appwrite-Response-Format' : '1.0.0',
};
+1 -1
View File
@@ -1,5 +1,5 @@
name: appwrite
version: 8.2.0
version: 8.2.1
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
homepage: https://appwrite.io
repository: https://github.com/appwrite/sdk-for-flutter