From 696d56067c9c4011b273fb6e87553cdfada2a766 Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Mon, 19 Feb 2024 01:35:46 +0100 Subject: [PATCH] fix(core): update --- test/test.nonci.ts | 2 +- ts/00_commitinfo_data.ts | 2 +- ts/letterxpress.classes.account.ts | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/test/test.nonci.ts b/test/test.nonci.ts index 63a3de5..66cb92d 100644 --- a/test/test.nonci.ts +++ b/test/test.nonci.ts @@ -104,7 +104,7 @@ tap.test('should send an actual letter', async () => { }); tap.test('should be able to delete the sending job', async (toolsArg) => { - await toolsArg.delayFor(30000); + await toolsArg.delayFor(5000); await testAccount.cancelLetter(testLetter); }); diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 4b0a9d9..385f53f 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@apiclient.xyz/letterxpress', - version: '1.0.17', + version: '1.0.18', description: 'an unofficial API package for the letterxpress API' } diff --git a/ts/letterxpress.classes.account.ts b/ts/letterxpress.classes.account.ts index 5a459e0..53352ad 100644 --- a/ts/letterxpress.classes.account.ts +++ b/ts/letterxpress.classes.account.ts @@ -97,6 +97,7 @@ export class LetterXpressAccount { 'Content-Type': 'application/json', }, requestBody: JSON.stringify(requestData), + keepAlive: false, }); console.log(response.body); return response;