quoting-service 17.7.0 → 17.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/package.json +3 -3
- package/src/lib/http.js +1 -1
- package/src/lib/payloadCache/PayloadCache.js +2 -2
- package/src/model/quotes.js +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [17.7.1](https://github.com/mojaloop/quoting-service/compare/v17.7.0...v17.7.1) (2025-03-27)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Chore
|
|
9
|
+
|
|
10
|
+
* **csi-1321:** update deps ([#403](https://github.com/mojaloop/quoting-service/issues/403)) ([a81ef20](https://github.com/mojaloop/quoting-service/commit/a81ef20f776e45211f87d09ccddb000b1ee458b3))
|
|
11
|
+
|
|
5
12
|
## [17.7.0](https://github.com/mojaloop/quoting-service/compare/v17.6.0...v17.7.0) (2025-03-26)
|
|
6
13
|
|
|
7
14
|
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "quoting-service",
|
|
3
3
|
"description": "Quoting Service hosted by a scheme",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
|
-
"version": "17.7.
|
|
5
|
+
"version": "17.7.1",
|
|
6
6
|
"author": "ModusBox",
|
|
7
7
|
"contributors": [
|
|
8
8
|
"Georgi Georgiev <georgi.georgiev@modusbox.com>",
|
|
@@ -119,8 +119,8 @@
|
|
|
119
119
|
"@mojaloop/event-sdk": "14.4.0",
|
|
120
120
|
"@mojaloop/inter-scheme-proxy-cache-lib": "2.4.0",
|
|
121
121
|
"@mojaloop/ml-number": "11.2.7",
|
|
122
|
-
"@mojaloop/ml-schema-transformer-lib": "2.
|
|
123
|
-
"@mojaloop/sdk-standard-components": "19.11.
|
|
122
|
+
"@mojaloop/ml-schema-transformer-lib": "2.7.0",
|
|
123
|
+
"@mojaloop/sdk-standard-components": "19.11.2",
|
|
124
124
|
"ajv": "8.17.1",
|
|
125
125
|
"ajv-keywords": "5.1.0",
|
|
126
126
|
"axios": "1.8.4",
|
package/src/lib/http.js
CHANGED
|
@@ -67,7 +67,7 @@ async function httpRequest (opts, fspiopSource) {
|
|
|
67
67
|
body = await res.data
|
|
68
68
|
log.verbose('httpRequest is finished', { body, opts })
|
|
69
69
|
} catch (e) {
|
|
70
|
-
log.error('httpRequest
|
|
70
|
+
log.error('httpRequest failed due to an error:', e)
|
|
71
71
|
const [fspiopErrorType, fspiopErrorDescr] = e.response && e.response.status === 404
|
|
72
72
|
? [ErrorHandler.Enums.FSPIOPErrorCodes.CLIENT_ERROR, 'Not found']
|
|
73
73
|
: [ErrorHandler.Enums.FSPIOPErrorCodes.DESTINATION_COMMUNICATION_ERROR, 'Network error']
|
|
@@ -45,7 +45,7 @@ class PayloadCache extends RedisCache {
|
|
|
45
45
|
this.log.debug('getPayload is done:', { key, requestId, value })
|
|
46
46
|
return value
|
|
47
47
|
} catch (err) {
|
|
48
|
-
this.log.warn('getPayload
|
|
48
|
+
this.log.warn('getPayload failed with error', err)
|
|
49
49
|
return null
|
|
50
50
|
}
|
|
51
51
|
}
|
|
@@ -61,7 +61,7 @@ class PayloadCache extends RedisCache {
|
|
|
61
61
|
this.log.debug('setPayload is done:', { key, requestId, setResult })
|
|
62
62
|
return true
|
|
63
63
|
} catch (err) {
|
|
64
|
-
this.log.warn('setPayload
|
|
64
|
+
this.log.warn('setPayload failed with error:', err)
|
|
65
65
|
return false
|
|
66
66
|
}
|
|
67
67
|
}
|
package/src/model/quotes.js
CHANGED
|
@@ -173,7 +173,7 @@ class QuotesModel {
|
|
|
173
173
|
histTimer({ success: true, queryName: 'quote_validateQuoteRequest' })
|
|
174
174
|
log.verbose('validateQuoteRequest is done')
|
|
175
175
|
} catch (err) {
|
|
176
|
-
log.warn('validateQuoteRequest
|
|
176
|
+
log.warn('validateQuoteRequest failed with error', err)
|
|
177
177
|
histTimer({ success: false, queryName: 'quote_validateQuoteRequest' })
|
|
178
178
|
if (!this.envConfig.instrumentationMetricsDisabled) {
|
|
179
179
|
util.rethrowAndCountFspiopError(err, { operation: 'validateQuoteRequest', step })
|
|
@@ -508,7 +508,7 @@ class QuotesModel {
|
|
|
508
508
|
histTimer({ success: true, queryName: 'quote_forwardQuoteRequest' })
|
|
509
509
|
log.info('forwardQuoteRequest is done')
|
|
510
510
|
} catch (err) {
|
|
511
|
-
log.error('forwardQuoteRequest
|
|
511
|
+
log.error('forwardQuoteRequest failed with error:', err)
|
|
512
512
|
histTimer({ success: false, queryName: 'quote_forwardQuoteRequest' })
|
|
513
513
|
if (!this.envConfig.instrumentationMetricsDisabled) {
|
|
514
514
|
util.rethrowAndCountFspiopError(err, { operation: 'forwardQuoteRequest', step })
|