From 7591c944fc0c0ece137b301c9d1ff2d5182bedea Mon Sep 17 00:00:00 2001 From: IlchenkoSergey Date: Thu, 21 Mar 2024 11:14:53 +0300 Subject: [PATCH] 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) {