Updated dart SDK
This commit is contained in:
parent
cb7c05063e
commit
96ab1e0430
3 changed files with 4 additions and 4 deletions
|
@ -20,7 +20,7 @@ Add this to your package's `pubspec.yaml` file:
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
dependencies:
|
dependencies:
|
||||||
appwrite: ^0.0.9
|
appwrite: ^0.0.10
|
||||||
```
|
```
|
||||||
|
|
||||||
You can install packages from the command line:
|
You can install packages from the command line:
|
||||||
|
|
|
@ -16,7 +16,7 @@ class Client {
|
||||||
Client({this.endPoint = 'https://appwrite.io/v1', this.selfSigned = false, Dio http}) : this.http = http ?? Dio() {
|
Client({this.endPoint = 'https://appwrite.io/v1', this.selfSigned = false, Dio http}) : this.http = http ?? Dio() {
|
||||||
this.headers = {
|
this.headers = {
|
||||||
'content-type': 'application/json',
|
'content-type': 'application/json',
|
||||||
'x-sdk-version': 'appwrite:dart:0.0.9',
|
'x-sdk-version': 'appwrite:dart:0.0.10',
|
||||||
};
|
};
|
||||||
|
|
||||||
assert(endPoint.startsWith(RegExp("http://|https://")), "endPoint $endPoint must start with 'http'");
|
assert(endPoint.startsWith(RegExp("http://|https://")), "endPoint $endPoint must start with 'http'");
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
name: appwrite
|
name: appwrite
|
||||||
version: 0.0.9
|
version: 0.0.10
|
||||||
description: Appwrite is an open-source backend as a service server that allows you to accelerate your app development by leveraging Appwrite ready to use API and tools
|
description: Appwrite is an open-source backend as a service server that abstract and simplify complex and repetitive development tasks behind a very simple to use REST API
|
||||||
homepage: https://appwrite.io
|
homepage: https://appwrite.io
|
||||||
repository: https://github.com/appwrite/sdk-for-dart
|
repository: https://github.com/appwrite/sdk-for-dart
|
||||||
issue_tracker: https://github.com/appwrite/sdk-generator/issues
|
issue_tracker: https://github.com/appwrite/sdk-generator/issues
|
||||||
|
|
Loading…
Reference in a new issue