From 7292a8279732398d47c1231d6ae171f2b19a6284 Mon Sep 17 00:00:00 2001 From: Juliusz Skowron Date: Tue, 21 Oct 2025 10:52:18 +0200 Subject: [PATCH 1/3] Remove test credentials --- test/compare-api.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/compare-api.js b/test/compare-api.js index 9a161a0..7f17ddc 100644 --- a/test/compare-api.js +++ b/test/compare-api.js @@ -18,8 +18,8 @@ describe('Compare Api Node Client live tests', function () { this.timeout(10000); before(function () { - // These credentials are for the Draftable Comparison API Test Account and can be public. - this.client = require('..').client('GOiDaN-test', 'fe055b5a54c4d58264f70050a469536e'); + // From https://api.draftable.com/account/credentials under "Account ID" + this.client = require('..').client('', ''); this.comparisons = this.client.comparisons; this.identifiers = Array.from({ length: 3 }, () => this.comparisons.generateIdentifier()); }); From 07136c7e53a3ebfd1c0e0076586487ba5e9e24cc Mon Sep 17 00:00:00 2001 From: Juliusz Skowron Date: Tue, 21 Oct 2025 12:01:15 +0200 Subject: [PATCH 2/3] load credentials from env --- test/compare-api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/compare-api.js b/test/compare-api.js index 7f17ddc..6459ee0 100644 --- a/test/compare-api.js +++ b/test/compare-api.js @@ -19,7 +19,7 @@ describe('Compare Api Node Client live tests', function () { before(function () { // From https://api.draftable.com/account/credentials under "Account ID" - this.client = require('..').client('', ''); + this.client = require('..').client(process.env.DRAFTABLE_ACCOUNT_ID, process.env.DRAFTABLE_AUTH_TOKEN); this.comparisons = this.client.comparisons; this.identifiers = Array.from({ length: 3 }, () => this.comparisons.generateIdentifier()); }); From a072c92bd480a4e96771f0ed2417e2994f8764cf Mon Sep 17 00:00:00 2001 From: JSZ Date: Wed, 22 Oct 2025 09:54:22 +0200 Subject: [PATCH 3/3] Update Node.js versions in Travis CI configuration --- .travis.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index a6c93a1..42e1137 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,9 +10,11 @@ arch: amd64 cache: npm node_js: - - 12 - - 14 - 16 + - 18 + - 20 + - 22 + - 24 notifications: email: false