Skip to content

Commit 78b1f9d

Browse files
regen
1 parent f41ae31 commit 78b1f9d

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

CHANGELOG.md

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

3+
## 22.2.0
4+
5+
* Added ttl option to listDocuments for cached responses
6+
* Added getConsolePausing health status endpoint in Health service
7+
* Added Health.getConsolePausing overloads (object and positional)
8+
* Added updateRelationshipAttribute for Databases to manage relationship attributes
9+
* Added console pausing example to health docs
10+
* Made activate optional in createDeployment object parameter
11+
312
## 22.1.2
413

514
* Fix very large double values (for example 1.7976931348623157e+308) from being expanded into giant integer literals

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": "22.2.0",
5+
"version": "22.1.2",
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
@@ -73,7 +73,7 @@ class AppwriteException extends Error {
7373
}
7474

7575
function getUserAgent() {
76-
let ua = 'AppwriteNodeJSSDK/22.2.0';
76+
let ua = 'AppwriteNodeJSSDK/22.1.2';
7777

7878
// `process` is a global in Node.js, but not fully available in all runtimes.
7979
const platform: string[] = [];
@@ -122,7 +122,7 @@ class Client {
122122
'x-sdk-name': 'Node.js',
123123
'x-sdk-platform': 'server',
124124
'x-sdk-language': 'nodejs',
125-
'x-sdk-version': '22.2.0',
125+
'x-sdk-version': '22.1.2',
126126
'user-agent' : getUserAgent(),
127127
'X-Appwrite-Response-Format': '1.8.0',
128128
};

0 commit comments

Comments
 (0)