Skip to content

Commit 84a3b90

Browse files
committed
SDK binary support for executions
1 parent d8d8e3c commit 84a3b90

File tree

115 files changed

+2542
-1892
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

+2542
-1892
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Appwrite Web SDK
22

33
![License](https://img.shields.io/github/license/appwrite/sdk-for-web.svg?style=flat-square)
4-
![Version](https://img.shields.io/badge/api%20version-1.5.7-blue.svg?style=flat-square)
4+
![Version](https://img.shields.io/badge/api%20version-1.6.0-blue.svg?style=flat-square)
55
[![Build Status](https://img.shields.io/travis/com/appwrite/sdk-generator?style=flat-square)](https://travis-ci.com/appwrite/sdk-generator)
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.6.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@15.0.0"></script>
36+
<script src="https://cdn.jsdelivr.net/npm/appwrite@17.0.0-rc1"></script>
3737
```
3838

3939

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

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

33
const client = new Client()
44
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
5-
.setProject('5df5acd0d48c2'); // Your project ID
5+
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
66

77
const account = new Account(client);
88

99
const result = await account.createAnonymousSession();
1010

11-
console.log(response);
11+
console.log(result);

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

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

33
const client = new Client()
44
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
5-
.setProject('5df5acd0d48c2'); // Your project ID
5+
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
66

77
const account = new Account(client);
88

@@ -11,4 +11,4 @@ const result = await account.createEmailPasswordSession(
1111
'password' // password
1212
);
1313

14-
console.log(response);
14+
console.log(result);

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

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

33
const client = new Client()
44
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
5-
.setProject('5df5acd0d48c2'); // Your project ID
5+
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
66

77
const account = new Account(client);
88

@@ -12,4 +12,4 @@ const result = await account.createEmailToken(
1212
false // phrase (optional)
1313
);
1414

15-
console.log(response);
15+
console.log(result);

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

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

33
const client = new Client()
44
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
5-
.setProject('5df5acd0d48c2'); // Your project ID
5+
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
66

77
const account = new Account(client);
88

99
const result = await account.createJWT();
1010

11-
console.log(response);
11+
console.log(result);

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

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

33
const client = new Client()
44
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
5-
.setProject('5df5acd0d48c2'); // Your project ID
5+
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
66

77
const account = new Account(client);
88

@@ -13,4 +13,4 @@ const result = await account.createMagicURLToken(
1313
false // phrase (optional)
1414
);
1515

16-
console.log(response);
16+
console.log(result);

docs/examples/account/create-mfa-authenticator.md

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

33
const client = new Client()
44
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
5-
.setProject('5df5acd0d48c2'); // Your project ID
5+
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
66

77
const account = new Account(client);
88

99
const result = await account.createMfaAuthenticator(
1010
AuthenticatorType.Totp // type
1111
);
1212

13-
console.log(response);
13+
console.log(result);

docs/examples/account/create-mfa-challenge.md

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

33
const client = new Client()
44
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
5-
.setProject('5df5acd0d48c2'); // Your project ID
5+
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
66

77
const account = new Account(client);
88

99
const result = await account.createMfaChallenge(
1010
AuthenticationFactor.Email // factor
1111
);
1212

13-
console.log(response);
13+
console.log(result);

docs/examples/account/create-mfa-recovery-codes.md

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

33
const client = new Client()
44
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
5-
.setProject('5df5acd0d48c2'); // Your project ID
5+
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
66

77
const account = new Account(client);
88

99
const result = await account.createMfaRecoveryCodes();
1010

11-
console.log(response);
11+
console.log(result);

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

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

33
const client = new Client()
44
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
5-
.setProject('5df5acd0d48c2'); // Your project ID
5+
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
66

77
const account = new Account(client);
88

0 commit comments

Comments
 (0)