Skip to content

Commit

Permalink
chore: bug fixes and improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
christyjacob4 committed Feb 14, 2024
1 parent 131d2e6 commit 8f12fc8
Show file tree
Hide file tree
Showing 333 changed files with 726 additions and 7,885 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
[![Twitter Account](https://img.shields.io/twitter/follow/appwrite?color=00acee&label=twitter&style=flat-square)](https://twitter.com/appwrite)
[![Discord](https://img.shields.io/discord/564160730845151244?label=discord&style=flat-square)](https://appwrite.io/discord)

**This SDK is compatible with Appwrite server version 1.5.x. For older versions, please check [previous releases](https://github.com/appwrite/sdk-for-dart/releases).**
**This SDK is compatible with Appwrite server version 1.4.x. For older versions, please check [previous releases](https://github.com/appwrite/sdk-for-dart/releases).**

> This is the Dart SDK for integrating with Appwrite from your Dart server-side code. If you're looking for the Flutter SDK you should check [appwrite/sdk-for-flutter](https://github.com/appwrite/sdk-for-flutter)
Expand All @@ -23,7 +23,7 @@ Add this to your package's `pubspec.yaml` file:

```yml
dependencies:
dart_appwrite: ^11.0.0-rc.1
dart_appwrite: ^10.1.1
```
You can install packages from the command line:
Expand Down
23 changes: 0 additions & 23 deletions docs/examples/account/add-authenticator.md

This file was deleted.

20 changes: 0 additions & 20 deletions docs/examples/account/create-anonymous-session.md

This file was deleted.

22 changes: 0 additions & 22 deletions docs/examples/account/create-challenge.md

This file was deleted.

23 changes: 0 additions & 23 deletions docs/examples/account/create-email-password-session.md

This file was deleted.

23 changes: 0 additions & 23 deletions docs/examples/account/create-email-token.md

This file was deleted.

20 changes: 0 additions & 20 deletions docs/examples/account/create-j-w-t.md

This file was deleted.

23 changes: 0 additions & 23 deletions docs/examples/account/create-magic-u-r-l-token.md

This file was deleted.

22 changes: 0 additions & 22 deletions docs/examples/account/create-o-auth2session.md

This file was deleted.

23 changes: 0 additions & 23 deletions docs/examples/account/create-phone-token.md

This file was deleted.

4 changes: 2 additions & 2 deletions docs/examples/account/create-phone-verification.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ void main() { // Init SDK
client
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
.setProject('5df5acd0d48c2') // Your project ID
.setSession('') // The user session to authenticate with
.setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token
;

Future result = account.createPhoneVerification();
Expand All @@ -18,4 +18,4 @@ void main() { // Init SDK
}).catchError((error) {
print(error.response);
});
}}
}
8 changes: 4 additions & 4 deletions docs/examples/account/create-recovery.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ void main() { // Init SDK
client
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
.setProject('5df5acd0d48c2') // Your project ID
.setSession('') // The user session to authenticate with
.setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token
;

Future result = account.createRecovery(
email:'[email protected]' ,
url:'https://example.com' ,
email: '[email protected]',
url: 'https://example.com',
);

result
Expand All @@ -21,4 +21,4 @@ void main() { // Init SDK
}).catchError((error) {
print(error.response);
});
}}
}
23 changes: 0 additions & 23 deletions docs/examples/account/create-session.md

This file was deleted.

6 changes: 3 additions & 3 deletions docs/examples/account/create-verification.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ void main() { // Init SDK
client
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
.setProject('5df5acd0d48c2') // Your project ID
.setSession('') // The user session to authenticate with
.setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token
;

Future result = account.createVerification(
url:'https://example.com' ,
url: 'https://example.com',
);

result
Expand All @@ -20,4 +20,4 @@ void main() { // Init SDK
}).catchError((error) {
print(error.response);
});
}}
}
24 changes: 0 additions & 24 deletions docs/examples/account/create.md

This file was deleted.

24 changes: 0 additions & 24 deletions docs/examples/account/delete-authenticator.md

This file was deleted.

6 changes: 3 additions & 3 deletions docs/examples/account/delete-identity.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ void main() { // Init SDK
client
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
.setProject('5df5acd0d48c2') // Your project ID
.setSession('') // The user session to authenticate with
.setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token
;

Future result = account.deleteIdentity(
identityId:'[IDENTITY_ID]' ,
identityId: '[IDENTITY_ID]',
);

result
Expand All @@ -20,4 +20,4 @@ void main() { // Init SDK
}).catchError((error) {
print(error.response);
});
}}
}
Loading

0 comments on commit 8f12fc8

Please sign in to comment.