From 7591c944fc0c0ece137b301c9d1ff2d5182bedea Mon Sep 17 00:00:00 2001 From: IlchenkoSergey Date: Thu, 21 Mar 2024 11:14:53 +0300 Subject: [PATCH 1/2] SP-14309 - fix match-api match method xRequestID type - fix eslintrc - update package-lock (follow-redirects) --- .eslintrc.js => .eslintrc.cjs | 0 package-lock.json | 12 ++++++------ src/ext/matching-api.ts | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) rename .eslintrc.js => .eslintrc.cjs (100%) diff --git a/.eslintrc.js b/.eslintrc.cjs similarity index 100% rename from .eslintrc.js rename to .eslintrc.cjs diff --git a/package-lock.json b/package-lock.json index bd594ca..0ab7e7e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3836,9 +3836,9 @@ "dev": true }, "node_modules/follow-redirects": { - "version": "1.15.5", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.5.tgz", - "integrity": "sha512-vSFWUON1B+yAw1VN4xMfxgn5fTUiaOzAJCKBwIIgT/+7CuGy9+r+5gITvP62j3RmaD5Ph65UaERdOSRGUzZtgw==", + "version": "1.15.6", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.6.tgz", + "integrity": "sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==", "funding": [ { "type": "individual", @@ -8577,9 +8577,9 @@ "dev": true }, "follow-redirects": { - "version": "1.15.5", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.5.tgz", - "integrity": "sha512-vSFWUON1B+yAw1VN4xMfxgn5fTUiaOzAJCKBwIIgT/+7CuGy9+r+5gITvP62j3RmaD5Ph65UaERdOSRGUzZtgw==" + "version": "1.15.6", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.6.tgz", + "integrity": "sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==" }, "form-data": { "version": "4.0.0", diff --git a/src/ext/matching-api.ts b/src/ext/matching-api.ts index d5877ce..a8bce0f 100755 --- a/src/ext/matching-api.ts +++ b/src/ext/matching-api.ts @@ -13,7 +13,7 @@ export class MatchingApi { async match( compareRequest: MatchRequest, - xRequestID: string, + xRequestID?: string, options?: AxiosRequestConfig, ): Promise { for (const image of compareRequest.images) { From 550ed2ad1418ea95a436c9f920d39d16ddff87bc Mon Sep 17 00:00:00 2001 From: IlchenkoSergey Date: Thu, 21 Mar 2024 11:24:36 +0300 Subject: [PATCH 2/2] SP-14309 - update package-lock (follow-redirects) for examples (auth/client, auth/server) --- examples/auth/client/package-lock.json | 14 +++++++------- examples/auth/server/package-lock.json | 6 +++--- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/examples/auth/client/package-lock.json b/examples/auth/client/package-lock.json index 469944a..dce165c 100644 --- a/examples/auth/client/package-lock.json +++ b/examples/auth/client/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "@regulaforensics/facesdk-webclient-example", "dependencies": { - "@regulaforensics/facesdk-webclient": "file:../../../", + "@regulaforensics/facesdk-webclient": "file:../../..", "axios": "^1.6.7", "qs": "^6.11.2" } @@ -127,9 +127,9 @@ } }, "node_modules/follow-redirects": { - "version": "1.15.5", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.5.tgz", - "integrity": "sha512-vSFWUON1B+yAw1VN4xMfxgn5fTUiaOzAJCKBwIIgT/+7CuGy9+r+5gITvP62j3RmaD5Ph65UaERdOSRGUzZtgw==", + "version": "1.15.6", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.6.tgz", + "integrity": "sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==", "funding": [ { "type": "individual", @@ -381,9 +381,9 @@ "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==" }, "follow-redirects": { - "version": "1.15.5", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.5.tgz", - "integrity": "sha512-vSFWUON1B+yAw1VN4xMfxgn5fTUiaOzAJCKBwIIgT/+7CuGy9+r+5gITvP62j3RmaD5Ph65UaERdOSRGUzZtgw==" + "version": "1.15.6", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.6.tgz", + "integrity": "sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==" }, "form-data": { "version": "4.0.0", diff --git a/examples/auth/server/package-lock.json b/examples/auth/server/package-lock.json index 9d48194..1361008 100644 --- a/examples/auth/server/package-lock.json +++ b/examples/auth/server/package-lock.json @@ -383,9 +383,9 @@ } }, "node_modules/follow-redirects": { - "version": "1.15.4", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.4.tgz", - "integrity": "sha512-Cr4D/5wlrb0z9dgERpUL3LrmPKVDsETIJhaCMeDfuFYcqa5bldGV6wBsAN6X/vxlXQtFBMrXdXxdL8CbDTGniw==", + "version": "1.15.6", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.6.tgz", + "integrity": "sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==", "funding": [ { "type": "individual",