Skip to content

Commit 615e0c0

Browse files
committed
chore: bug fixes and improvements
1 parent a1e9e70 commit 615e0c0

File tree

115 files changed

+286
-1456
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

115 files changed

+286
-1456
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[![Twitter Account](https://img.shields.io/twitter/follow/appwrite?color=00acee&label=twitter&style=flat-square)](https://twitter.com/appwrite)
77
[![Discord](https://img.shields.io/discord/564160730845151244?label=discord&style=flat-square)](https://appwrite.io/discord)
88

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

1111
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. Appwrite aims to help you develop your apps faster and in a more secure way. Use the Web SDK to integrate your app with the Appwrite server to easily start interacting with all of Appwrite backend APIs and tools. For full API documentation and tutorials go to [https://appwrite.io/docs](https://appwrite.io/docs)
1212

@@ -33,7 +33,7 @@ import { Client, Account } from "appwrite";
3333
To install with a CDN (content delivery network) add the following scripts to the bottom of your <body> tag, but before you use any Appwrite services:
3434

3535
```html
36-
<script src="https://cdn.jsdelivr.net/npm/appwrite@14.0.0-rc.1"></script>
36+
<script src="https://cdn.jsdelivr.net/npm/appwrite@13.0.1"></script>
3737
```
3838

3939

docs/examples/account/add-authenticator.md

Lines changed: 0 additions & 18 deletions
This file was deleted.

docs/examples/account/create-anonymous-session.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Client, Account } from "appwrite";
1+
import { Client, Account } from "appwrite";
22

33
const client = new Client();
44

docs/examples/account/create-challenge.md

Lines changed: 0 additions & 18 deletions
This file was deleted.

docs/examples/account/create-email-password-session.md

Lines changed: 0 additions & 18 deletions
This file was deleted.

docs/examples/account/create-session.md renamed to docs/examples/account/create-email-session.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Client, Account } from "appwrite";
1+
import { Client, Account } from "appwrite";
22

33
const client = new Client();
44

@@ -9,7 +9,7 @@ client
99
.setProject('5df5acd0d48c2') // Your project ID
1010
;
1111

12-
const promise = account.createSession('[USER_ID]', '[SECRET]');
12+
const promise = account.createEmailSession('[email protected]', 'password');
1313

1414
promise.then(function (response) {
1515
console.log(response); // Success

docs/examples/account/create-email-token.md

Lines changed: 0 additions & 18 deletions
This file was deleted.

docs/examples/account/create-j-w-t.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Client, Account } from "appwrite";
1+
import { Client, Account } from "appwrite";
22

33
const client = new Client();
44

docs/examples/account/create-magic-u-r-l-token.md renamed to docs/examples/account/create-magic-u-r-l-session.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Client, Account } from "appwrite";
1+
import { Client, Account } from "appwrite";
22

33
const client = new Client();
44

@@ -9,7 +9,7 @@ client
99
.setProject('5df5acd0d48c2') // Your project ID
1010
;
1111

12-
const promise = account.createMagicURLToken('[USER_ID]', '[email protected]');
12+
const promise = account.createMagicURLSession('[USER_ID]', '[email protected]');
1313

1414
promise.then(function (response) {
1515
console.log(response); // Success

docs/examples/account/create-o-auth2session.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Client, OAuthProvider, Account } from "appwrite";
1+
import { Client, Account } from "appwrite";
22

33
const client = new Client();
44

@@ -10,5 +10,5 @@ client
1010
;
1111

1212
// Go to OAuth provider login page
13-
account.createOAuth2Session(OAuthProvider.Amazon);
13+
account.createOAuth2Session('amazon');
1414

0 commit comments

Comments
 (0)