Skip to content

Commit acf7ee5

Browse files
committed
fix: travis valid version
1 parent bc587d7 commit acf7ee5

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
language: node_js
22
node_js:
3-
- "16"
3+
- "14.16"
44

55
jobs:
66
include:
77
- stage: NPM RC Release
88
if: tag =~ /-(rc|RC)/
9-
node_js: "16"
9+
node_js: "14.16"
1010
script:
1111
- npm install
1212
- npm run build
@@ -18,7 +18,7 @@ jobs:
1818
tag: next
1919
- stage: NPM Release
2020
if: not tag =~ /-(rc|RC)/
21-
node_js: "16"
21+
node_js: "14.16"
2222
script:
2323
- npm install
2424
- npm run build
@@ -29,4 +29,4 @@ jobs:
2929
api_key: $NPM_API_KEY
3030
skip_cleanup: true
3131
on:
32-
tags: true
32+
tags: true

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 abstract and simplify complex and repetitive development tasks behind a very simple REST API",
5-
"version": "12.1.0-RC2",
5+
"version": "12.1.0-rc.3",
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
@@ -33,7 +33,7 @@ class AppwriteException extends Error {
3333
}
3434

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

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

0 commit comments

Comments
 (0)