From e901f22a5277a801ba15e7d12af0e4deb402d6ce Mon Sep 17 00:00:00 2001 From: Kael Shipman Date: Sun, 21 Jan 2024 23:10:02 -0700 Subject: [PATCH] Minor types fix in fetch package --- libs/ts-simple-db-mysql/package.json | 2 +- libs/ts-simple-http-client-axios/package.json | 2 +- libs/ts-simple-http-client-fetch/package.json | 2 +- libs/ts-simple-http-client-fetch/src/index.ts | 4 ++-- libs/ts-simple-http-client-rpn/package.json | 2 +- libs/ts-simple-http-server-express/package.json | 2 +- libs/ts-simple-interfaces-testing/package.json | 2 +- libs/ts-simple-interfaces/package.json | 2 +- libs/ts-simple-logger-console/package.json | 2 +- libs/ts-simple-logger-winston/package.json | 2 +- libs/ts-simple-pubsub-amqp/package.json | 2 +- package.json | 2 +- 12 files changed, 13 insertions(+), 13 deletions(-) diff --git a/libs/ts-simple-db-mysql/package.json b/libs/ts-simple-db-mysql/package.json index bca5ed6..3d65559 100644 --- a/libs/ts-simple-db-mysql/package.json +++ b/libs/ts-simple-db-mysql/package.json @@ -38,5 +38,5 @@ "test": "../../scripts/test.sh", "typecheck": "../../scripts/typecheck.sh" }, - "version": "0.8.0" + "version": "0.8.1" } diff --git a/libs/ts-simple-http-client-axios/package.json b/libs/ts-simple-http-client-axios/package.json index dd483f3..656155c 100644 --- a/libs/ts-simple-http-client-axios/package.json +++ b/libs/ts-simple-http-client-axios/package.json @@ -38,5 +38,5 @@ "test": "../../scripts/test.sh", "typecheck": "../../scripts/typecheck.sh" }, - "version": "0.8.0" + "version": "0.8.1" } diff --git a/libs/ts-simple-http-client-fetch/package.json b/libs/ts-simple-http-client-fetch/package.json index 45763ce..c137c66 100644 --- a/libs/ts-simple-http-client-fetch/package.json +++ b/libs/ts-simple-http-client-fetch/package.json @@ -38,5 +38,5 @@ "test": "../../scripts/test.sh", "typecheck": "../../scripts/typecheck.sh" }, - "version": "0.8.0" + "version": "0.8.1" } diff --git a/libs/ts-simple-http-client-fetch/src/index.ts b/libs/ts-simple-http-client-fetch/src/index.ts index 2081019..3d98efe 100644 --- a/libs/ts-simple-http-client-fetch/src/index.ts +++ b/libs/ts-simple-http-client-fetch/src/index.ts @@ -24,11 +24,11 @@ export interface SimpleFetchRequestConfig extends SimpleHttpClientRequestConfig * Policy specifying whether to include credentials. See * https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#credentials */ - credentials?: RequestCredentials; + credentials?: "include" | "omit" | "same-origin"; /** * See https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#mode */ - mode?: RequestMode; + mode?: "cors" | "navigate" | "no-cors" | "same-origin"; } /** diff --git a/libs/ts-simple-http-client-rpn/package.json b/libs/ts-simple-http-client-rpn/package.json index 88c595a..4846894 100644 --- a/libs/ts-simple-http-client-rpn/package.json +++ b/libs/ts-simple-http-client-rpn/package.json @@ -42,5 +42,5 @@ "test": "../../scripts/test.sh", "typecheck": "../../scripts/typecheck.sh" }, - "version": "0.8.0" + "version": "0.8.1" } diff --git a/libs/ts-simple-http-server-express/package.json b/libs/ts-simple-http-server-express/package.json index 039f56c..337c7a3 100644 --- a/libs/ts-simple-http-server-express/package.json +++ b/libs/ts-simple-http-server-express/package.json @@ -43,5 +43,5 @@ "test": "../../scripts/test.sh", "typecheck": "../../scripts/typecheck.sh" }, - "version": "0.8.0" + "version": "0.8.1" } diff --git a/libs/ts-simple-interfaces-testing/package.json b/libs/ts-simple-interfaces-testing/package.json index 0e21acc..afb1fe4 100644 --- a/libs/ts-simple-interfaces-testing/package.json +++ b/libs/ts-simple-interfaces-testing/package.json @@ -39,5 +39,5 @@ "prettier:fix": "../../scripts/prettier-fix.sh", "typecheck": "../../scripts/typecheck.sh" }, - "version": "0.8.0" + "version": "0.8.1" } diff --git a/libs/ts-simple-interfaces/package.json b/libs/ts-simple-interfaces/package.json index aeedc1e..07c7726 100644 --- a/libs/ts-simple-interfaces/package.json +++ b/libs/ts-simple-interfaces/package.json @@ -39,5 +39,5 @@ "prettier:fix": "../../scripts/prettier-fix.sh", "typecheck": "../../scripts/typecheck.sh" }, - "version": "0.8.0" + "version": "0.8.1" } diff --git a/libs/ts-simple-logger-console/package.json b/libs/ts-simple-logger-console/package.json index c6cb5d3..8478f46 100644 --- a/libs/ts-simple-logger-console/package.json +++ b/libs/ts-simple-logger-console/package.json @@ -36,5 +36,5 @@ "test": "../../scripts/test.sh", "typecheck": "../../scripts/typecheck.sh" }, - "version": "0.8.0" + "version": "0.8.1" } diff --git a/libs/ts-simple-logger-winston/package.json b/libs/ts-simple-logger-winston/package.json index debbe79..db04737 100644 --- a/libs/ts-simple-logger-winston/package.json +++ b/libs/ts-simple-logger-winston/package.json @@ -37,5 +37,5 @@ "test": "../../scripts/test.sh", "typecheck": "../../scripts/typecheck.sh" }, - "version": "0.8.0" + "version": "0.8.1" } diff --git a/libs/ts-simple-pubsub-amqp/package.json b/libs/ts-simple-pubsub-amqp/package.json index e6e8f15..afa33d8 100644 --- a/libs/ts-simple-pubsub-amqp/package.json +++ b/libs/ts-simple-pubsub-amqp/package.json @@ -42,5 +42,5 @@ "test": "../../scripts/test.sh", "typecheck": "../../scripts/typecheck.sh" }, - "version": "0.8.0" + "version": "0.8.1" } diff --git a/package.json b/package.json index 0351c46..25154a0 100644 --- a/package.json +++ b/package.json @@ -42,5 +42,5 @@ "@types/node": "$@types/node" } }, - "version": "0.8.0" + "version": "0.8.1" }