Skip to content

Commit

Permalink
Merge pull request #82 from appwrite/dev
Browse files Browse the repository at this point in the history
fix: travis valid version
  • Loading branch information
christyjacob4 authored Apr 17, 2024
2 parents bc587d7 + 4c56ea7 commit 8cbc520
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "node-appwrite",
"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": "12.1.0-RC2",
"version": "12.1.0-rc.3",
"license": "BSD-3-Clause",
"main": "dist/index.js",
"type": "commonjs",
Expand Down
4 changes: 2 additions & 2 deletions src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class AppwriteException extends Error {
}

function getUserAgent() {
let ua = 'AppwriteNodeJSSDK/12.1.0-RC2';
let ua = 'AppwriteNodeJSSDK/12.1.0-rc.3';

// `process` is a global in Node.js, but not fully available in all runtimes.
const platform: string[] = [];
Expand Down Expand Up @@ -82,7 +82,7 @@ class Client {
'x-sdk-name': 'Node.js',
'x-sdk-platform': 'server',
'x-sdk-language': 'nodejs',
'x-sdk-version': '12.1.0-RC2',
'x-sdk-version': '12.1.0-rc.3',
'user-agent' : getUserAgent(),
'X-Appwrite-Response-Format': '1.5.0',
};
Expand Down

0 comments on commit 8cbc520

Please sign in to comment.