fix(core): update

This commit is contained in:
Philipp Kunz 2024-02-29 22:47:53 +01:00
parent 90311ad65e
commit 23aab2adf8
5 changed files with 378 additions and 777 deletions

View File

@ -27,7 +27,7 @@
"@api.global/typedrequest-interfaces": "^3.0.18",
"@push.rocks/isounique": "^1.0.5",
"@push.rocks/lik": "^6.0.14",
"@push.rocks/smartbuffer": "^1.0.6",
"@push.rocks/smartbuffer": "^1.0.7",
"@push.rocks/smartdelay": "^3.0.5",
"@push.rocks/smartpromise": "^4.0.3",
"@push.rocks/webrequest": "^3.0.34",

File diff suppressed because it is too large Load Diff

View File

@ -31,9 +31,15 @@ tap.test('should define a testHandler', async () => {
tap.test('should fire a request', async () => {
const typedRequest = new typedrequest.TypedRequest<ITestReqRes>(
'http://localhost:3000/testroute',
'http://localhost:3000/typedrequest',
'hi'
);
const result = await typedRequest.fire({
name: 'yes',
}).catch(err => {
console.log(err);
});
console.log(result);
});
tap.start();

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@api.global/typedrequest',
version: '3.0.9',
version: '3.0.10',
description: 'make typed requests towards apis'
}