From 8a11636f30e40c0b6fc879a943a571b5fbc9c626 Mon Sep 17 00:00:00 2001 From: Martin Litvaj Date: Mon, 2 Mar 2020 18:39:31 +0100 Subject: [PATCH 1/2] Move Request types to dependencies --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 79e79f0..b46bfb5 100644 --- a/package.json +++ b/package.json @@ -25,6 +25,7 @@ "index.d.ts" ], "dependencies": { + "@types/request": "^2.48.1", "debug": "3.1.0", "mustache": "^2.2.1", "request": "2.88.0", @@ -33,7 +34,6 @@ "snyk": "^1.189.0" }, "devDependencies": { - "@types/request": "^2.48.1", "chai": "3.5.0", "dirty-chai": "^1.2.2", "docco": "0.8.0", From a3b6205e8bb38fdf30109524eb7867efd32a446c Mon Sep 17 00:00:00 2001 From: Martin Litvaj Date: Mon, 2 Mar 2020 18:43:03 +0100 Subject: [PATCH 2/2] Add tokenSource to functionConf --- index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/index.d.ts b/index.d.ts index f78a85e..23a9114 100644 --- a/index.d.ts +++ b/index.d.ts @@ -19,6 +19,7 @@ declare namespace NodeVault { interface functionConf { method: string; path: string; + tokenSource?: boolean; schema?: { req?: Option; query?: Option;