Skip to content

Commit a93117a

Browse files
fix: add query builder
1 parent 6277f6f commit a93117a

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

index.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
const Client = require('./lib/client.js');
2+
const Query = require('./lib/query.js');
23
const AppwriteException = require('./lib/exception.js');
34
const Account = require('./lib/services/account.js');
45
const Avatars = require('./lib/services/avatars.js');
@@ -12,6 +13,7 @@ const Users = require('./lib/services/users.js');
1213

1314
module.exports = {
1415
Client,
16+
Query,
1517
AppwriteException,
1618
Account,
1719
Avatars,
@@ -22,4 +24,4 @@ module.exports = {
2224
Storage,
2325
Teams,
2426
Users,
25-
};
27+
};

lib/client.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class Client {
99
this.endpoint = 'https://HOSTNAME/v1';
1010
this.headers = {
1111
'content-type': '',
12-
'x-sdk-version': 'appwrite:nodejs:4.0.0',
12+
'x-sdk-version': 'appwrite:nodejs:4.0.1',
1313
'X-Appwrite-Response-Format' : '0.12.0',
1414
};
1515
this.selfSigned = false;

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "node-appwrite",
33
"homepage": "https://appwrite.io/support",
44
"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",
5-
"version": "4.0.0",
5+
"version": "4.0.1",
66
"license": "BSD-3-Clause",
77
"main": "./index.js",
88
"types": "./index.d.ts",

0 commit comments

Comments
 (0)