From 63c6dac8fafc601c18e166a3f5c297c548c21513 Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Sun, 29 May 2022 21:01:56 +0200 Subject: [PATCH] fix(core): update --- package-lock.json | 14 +++++++------- package.json | 2 +- ts/00_commitinfo_data.ts | 2 +- ts/typedrequest.classes.typedrequest.ts | 4 ++-- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/package-lock.json b/package-lock.json index 5dca817..c608b09 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,7 +14,7 @@ "@pushrocks/lik": "^6.0.0", "@pushrocks/smartdelay": "^2.0.13", "@pushrocks/smartpromise": "^3.1.7", - "@pushrocks/webrequest": "^3.0.5" + "@pushrocks/webrequest": "^3.0.6" }, "devDependencies": { "@gitzone/tsbuild": "^2.1.63", @@ -1020,9 +1020,9 @@ } }, "node_modules/@pushrocks/webrequest": { - "version": "3.0.5", - "resolved": "https://verdaccio.lossless.one/@pushrocks%2fwebrequest/-/webrequest-3.0.5.tgz", - "integrity": "sha512-5maE1sMpL9KKULf6+gozkbziyzrnyTROYbc78ly77N01Nsjd1lJcEu8ELkPjp0I6nsrDUoJYP5+FfmuvR4Y6Yw==", + "version": "3.0.6", + "resolved": "https://verdaccio.lossless.one/@pushrocks%2fwebrequest/-/webrequest-3.0.6.tgz", + "integrity": "sha512-32OopKZKqwIRYgQ1zi2TBsWRQgCDkWvpKJktlRgb95LO9HGKy+Li7DYcpqgDl7nWqKGvJ0ykZrEWAMwiXFvLfw==", "license": "MIT", "dependencies": { "@pushrocks/smartdelay": "^2.0.13", @@ -7159,9 +7159,9 @@ } }, "@pushrocks/webrequest": { - "version": "3.0.5", - "resolved": "https://verdaccio.lossless.one/@pushrocks%2fwebrequest/-/webrequest-3.0.5.tgz", - "integrity": "sha512-5maE1sMpL9KKULf6+gozkbziyzrnyTROYbc78ly77N01Nsjd1lJcEu8ELkPjp0I6nsrDUoJYP5+FfmuvR4Y6Yw==", + "version": "3.0.6", + "resolved": "https://verdaccio.lossless.one/@pushrocks%2fwebrequest/-/webrequest-3.0.6.tgz", + "integrity": "sha512-32OopKZKqwIRYgQ1zi2TBsWRQgCDkWvpKJktlRgb95LO9HGKy+Li7DYcpqgDl7nWqKGvJ0ykZrEWAMwiXFvLfw==", "requires": { "@pushrocks/smartdelay": "^2.0.13", "@pushrocks/smartenv": "^5.0.2", diff --git a/package.json b/package.json index 8e7fea2..ac3e379 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "@pushrocks/lik": "^6.0.0", "@pushrocks/smartdelay": "^2.0.13", "@pushrocks/smartpromise": "^3.1.7", - "@pushrocks/webrequest": "^3.0.5" + "@pushrocks/webrequest": "^3.0.6" }, "files": [ "ts/**/*", diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 9fc84cd..713dfa7 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@apiglobal/typedrequest', - version: '2.0.5', + version: '2.0.6', description: 'make typed requests towards apis' } diff --git a/ts/typedrequest.classes.typedrequest.ts b/ts/typedrequest.classes.typedrequest.ts index 7880502..0e46a06 100644 --- a/ts/typedrequest.classes.typedrequest.ts +++ b/ts/typedrequest.classes.typedrequest.ts @@ -37,7 +37,7 @@ export class TypedRequest { + public async fire(fireArg: T['request'], useCacheArg: boolean = false): Promise { const payload: plugins.typedRequestInterfaces.ITypedRequest = { method: this.method, request: fireArg, @@ -50,7 +50,7 @@ export class TypedRequest