fix(core): update

This commit is contained in:
Philipp Kunz 2024-02-19 01:35:46 +01:00
parent fa3f4b4ccf
commit 696d56067c
3 changed files with 3 additions and 2 deletions

View File

@ -104,7 +104,7 @@ tap.test('should send an actual letter', async () => {
}); });
tap.test('should be able to delete the sending job', async (toolsArg) => { tap.test('should be able to delete the sending job', async (toolsArg) => {
await toolsArg.delayFor(30000); await toolsArg.delayFor(5000);
await testAccount.cancelLetter(testLetter); await testAccount.cancelLetter(testLetter);
}); });

View File

@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@apiclient.xyz/letterxpress', name: '@apiclient.xyz/letterxpress',
version: '1.0.17', version: '1.0.18',
description: 'an unofficial API package for the letterxpress API' description: 'an unofficial API package for the letterxpress API'
} }

View File

@ -97,6 +97,7 @@ export class LetterXpressAccount {
'Content-Type': 'application/json', 'Content-Type': 'application/json',
}, },
requestBody: JSON.stringify(requestData), requestBody: JSON.stringify(requestData),
keepAlive: false,
}); });
console.log(response.body); console.log(response.body);
return response; return response;