Skip to content

Commit 25dccf9

Browse files
committed
latest updates as per server specs.
1 parent 0c80658 commit 25dccf9

3 files changed

Lines changed: 7 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Change Log
22

3+
## 21.1.1
4+
5+
* Update SDK as per latest server specs
6+
37
## 20.3.0
48

59
* Add `total` parameter to list queries allowing skipping counting rows in a table for improved performance

package.json

Lines changed: 1 addition & 1 deletion
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 abstracts and simplifies complex and repetitive development tasks behind a very simple REST API",
5-
"version": "26.0.0",
5+
"version": "21.1.1",
66
"license": "BSD-3-Clause",
77
"main": "dist/index.js",
88
"type": "commonjs",

src/client.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class AppwriteException extends Error {
3535
}
3636

3737
function getUserAgent() {
38-
let ua = 'AppwriteNodeJSSDK/26.0.0';
38+
let ua = 'AppwriteNodeJSSDK/21.1.1';
3939

4040
// `process` is a global in Node.js, but not fully available in all runtimes.
4141
const platform: string[] = [];
@@ -84,7 +84,7 @@ class Client {
8484
'x-sdk-name': 'Node.js',
8585
'x-sdk-platform': 'server',
8686
'x-sdk-language': 'nodejs',
87-
'x-sdk-version': '26.0.0',
87+
'x-sdk-version': '21.1.1',
8888
'user-agent' : getUserAgent(),
8989
'X-Appwrite-Response-Format': '1.8.0',
9090
};

0 commit comments

Comments
 (0)