Skip to content

Commit

Permalink
chore: bump version number
Browse files Browse the repository at this point in the history
  • Loading branch information
TorstenDittmann committed Dec 10, 2023
1 parent af0a715 commit e979501
Show file tree
Hide file tree
Showing 33 changed files with 1,590 additions and 1,527 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Appwrite Console SDK

![License](https://img.shields.io/github/license/appwrite/sdk-for-console.svg?style=flat-square)
![Version](https://img.shields.io/badge/api%20version-1.3.8-blue.svg?style=flat-square)
![Version](https://img.shields.io/badge/api%20version-1.4.13-blue.svg?style=flat-square)
[![Build Status](https://img.shields.io/travis/com/appwrite/sdk-generator?style=flat-square)](https://travis-ci.com/appwrite/sdk-generator)
[![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.3.x. For older versions, please check [previous releases](https://github.com/appwrite/sdk-for-console/releases).**
**This SDK is compatible with Appwrite server version latest. For older versions, please check [previous releases](https://github.com/appwrite/sdk-for-console/releases).**

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 Console 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)

Expand All @@ -33,7 +33,7 @@ import { Client, Account } from "@appwrite.io/console";
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:

```html
<script src="https://cdn.jsdelivr.net/npm/@appwrite.io/console@0.2.0"></script>
<script src="https://cdn.jsdelivr.net/npm/@appwrite.io/console@0.4.0"></script>
```


Expand Down
2 changes: 1 addition & 1 deletion docs/examples/functions/create.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ client
.setProject('5df5acd0d48c2') // Your project ID
;

const promise = functions.create('[FUNCTION_ID]', '[NAME]', 'node-14.5');
const promise = functions.create('[FUNCTION_ID]', '[NAME]', 'node-18.0');

promise.then(function (response) {
console.log(response); // Success
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/functions/update.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ client
.setProject('5df5acd0d48c2') // Your project ID
;

const promise = functions.update('[FUNCTION_ID]', '[NAME]', 'node-14.5');
const promise = functions.update('[FUNCTION_ID]', '[NAME]');

promise.then(function (response) {
console.log(response); // Success
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import { Client, Projects } from "@appwrite.io/console";
import { Client, Health } from "@appwrite.io/console";

const client = new Client();

const projects = new Projects(client);
const health = new Health(client);

client
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
.setProject('5df5acd0d48c2') // Your project ID
;

const promise = projects.getUsage('[PROJECT_ID]');
const promise = health.getQueueBuilds();

promise.then(function (response) {
console.log(response); // Success
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import { Client, Account } from "@appwrite.io/console";
import { Client, Health } from "@appwrite.io/console";

const client = new Client();

const account = new Account(client);
const health = new Health(client);

client
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
.setProject('5df5acd0d48c2') // Your project ID
;

const promise = account.createWithInviteCode('[USER_ID]', '[email protected]', 'password');
const promise = health.getQueueDatabases();

promise.then(function (response) {
console.log(response); // Success
Expand Down
18 changes: 18 additions & 0 deletions docs/examples/health/get-queue-deletes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import { Client, Health } from "@appwrite.io/console";

const client = new Client();

const health = new Health(client);

client
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
.setProject('5df5acd0d48c2') // Your project ID
;

const promise = health.getQueueDeletes();

promise.then(function (response) {
console.log(response); // Success
}, function (error) {
console.log(error); // Failure
});
18 changes: 18 additions & 0 deletions docs/examples/health/get-queue-mails.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import { Client, Health } from "@appwrite.io/console";

const client = new Client();

const health = new Health(client);

client
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
.setProject('5df5acd0d48c2') // Your project ID
;

const promise = health.getQueueMails();

promise.then(function (response) {
console.log(response); // Success
}, function (error) {
console.log(error); // Failure
});
18 changes: 18 additions & 0 deletions docs/examples/health/get-queue-messaging.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import { Client, Health } from "@appwrite.io/console";

const client = new Client();

const health = new Health(client);

client
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
.setProject('5df5acd0d48c2') // Your project ID
;

const promise = health.getQueueMessaging();

promise.then(function (response) {
console.log(response); // Success
}, function (error) {
console.log(error); // Failure
});
18 changes: 18 additions & 0 deletions docs/examples/health/get-queue-migrations.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import { Client, Health } from "@appwrite.io/console";

const client = new Client();

const health = new Health(client);

client
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
.setProject('5df5acd0d48c2') // Your project ID
;

const promise = health.getQueueMigrations();

promise.then(function (response) {
console.log(response); // Success
}, function (error) {
console.log(error); // Failure
});
2 changes: 1 addition & 1 deletion docs/examples/project/get-usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ client
.setProject('5df5acd0d48c2') // Your project ID
;

const promise = project.getUsage();
const promise = project.getUsage('', '');

promise.then(function (response) {
console.log(response); // Success
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/teams/create-membership.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ client
.setProject('5df5acd0d48c2') // Your project ID
;

const promise = teams.createMembership('[TEAM_ID]', [], 'https://example.com');
const promise = teams.createMembership('[TEAM_ID]', []);

promise.then(function (response) {
console.log(response); // Success
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@
"name": "@appwrite.io/console",
"homepage": "https://appwrite.io/support",
"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",
"version": "0.3.0",
"version": "0.4.0",
"license": "BSD-3-Clause",
"main": "dist/cjs/sdk.js",
"exports": {
".": {
"import": "./dist/esm/sdk.js",
"require": "./dist/cjs/sdk.js"
"require": "./dist/cjs/sdk.js",
"types": "./types/index.d.ts"
},
"./package.json": "./package.json"
},
Expand Down
2 changes: 1 addition & 1 deletion src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ class Client {
'x-sdk-name': 'Console',
'x-sdk-platform': 'console',
'x-sdk-language': 'web',
'x-sdk-version': '0.1.0',
'x-sdk-version': '0.4.0',
'X-Appwrite-Response-Format': '1.4.0',
};

Expand Down
Loading

0 comments on commit e979501

Please sign in to comment.