account-lookup-service 17.13.0-snapshot.9 → 17.13.0
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
CHANGED
@@ -2,6 +2,18 @@
|
|
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.13.0](https://github.com/mojaloop/account-lookup-service/compare/v17.12.10...v17.13.0) (2025-09-16)
|
6
|
+
|
7
|
+
|
8
|
+
### Features
|
9
|
+
|
10
|
+
* **oss-4203:** added validation of local destination for external source ([#574](https://github.com/mojaloop/account-lookup-service/issues/574)) ([8ca46d6](https://github.com/mojaloop/account-lookup-service/commit/8ca46d6bbacbf30bb4b6dcc739df970e1b46d268))
|
11
|
+
|
12
|
+
|
13
|
+
### Chore
|
14
|
+
|
15
|
+
* **sbom:** update sbom [skip ci] ([f68b088](https://github.com/mojaloop/account-lookup-service/commit/f68b088b9fa01b96682761bfb946048ea24de54f))
|
16
|
+
|
5
17
|
### [17.12.10](https://github.com/mojaloop/account-lookup-service/compare/v17.12.9...v17.12.10) (2025-09-10)
|
6
18
|
|
7
19
|
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "account-lookup-service",
|
3
3
|
"description": "Account Lookup Service is used to validate Party and Participant lookups.",
|
4
|
-
"version": "17.13.0
|
4
|
+
"version": "17.13.0",
|
5
5
|
"license": "Apache-2.0",
|
6
6
|
"author": "ModusBox",
|
7
7
|
"contributors": [
|
@@ -91,7 +91,7 @@
|
|
91
91
|
"@hapi/hapi": "21.4.3",
|
92
92
|
"@hapi/inert": "7.1.0",
|
93
93
|
"@hapi/vision": "7.0.3",
|
94
|
-
"@mojaloop/central-services-error-handling": "13.1.2
|
94
|
+
"@mojaloop/central-services-error-handling": "13.1.2",
|
95
95
|
"@mojaloop/central-services-health": "15.1.0",
|
96
96
|
"@mojaloop/central-services-logger": "11.9.3",
|
97
97
|
"@mojaloop/central-services-metrics": "12.7.1",
|
@@ -101,7 +101,7 @@
|
|
101
101
|
"@mojaloop/event-sdk": "14.7.0",
|
102
102
|
"@mojaloop/inter-scheme-proxy-cache-lib": "2.6.0",
|
103
103
|
"@mojaloop/ml-schema-transformer-lib": "2.7.8",
|
104
|
-
"@mojaloop/sdk-standard-components": "19.
|
104
|
+
"@mojaloop/sdk-standard-components": "19.17.0",
|
105
105
|
"@now-ims/hapi-now-auth": "2.1.0",
|
106
106
|
"ajv": "8.17.1",
|
107
107
|
"ajv-keywords": "5.1.0",
|
@@ -124,7 +124,6 @@
|
|
124
124
|
"postcss": {
|
125
125
|
"nanoid": "^3.3.8"
|
126
126
|
},
|
127
|
-
"@mojaloop/central-services-error-handling": "13.1.2-snapshot.0",
|
128
127
|
"@mojaloop/central-services-health": {
|
129
128
|
"@mojaloop/central-services-logger": ">=11.4.0"
|
130
129
|
},
|
@@ -47,7 +47,7 @@ const services = require('./services')
|
|
47
47
|
* @param {IProxyCache} [proxyCache] - IProxyCache instance
|
48
48
|
*/
|
49
49
|
const putPartiesByTypeAndID = async (headers, params, method, payload, dataUri, cache, proxyCache = undefined) => {
|
50
|
-
//
|
50
|
+
// think, if we need to pass span here
|
51
51
|
const component = putPartiesByTypeAndID.name
|
52
52
|
const histTimerEnd = Metrics.getHistogram(
|
53
53
|
component,
|
@@ -172,7 +172,7 @@ class BasePartiesService {
|
|
172
172
|
* @returns {Promise<{ fspId: string, partySubIdOrType?: string }[]>} List of parties from oracle response
|
173
173
|
*/
|
174
174
|
async sendOracleDiscoveryRequest () {
|
175
|
-
this.stepInProgress('
|
175
|
+
this.stepInProgress('sendOracleDiscoveryRequest')
|
176
176
|
const { headers, params, query } = this.inputs
|
177
177
|
|
178
178
|
const response = await this.deps.oracle.oracleRequest(headers, RestMethods.GET, params, query, undefined, this.deps.cache)
|
@@ -30,8 +30,9 @@ const BasePartiesService = require('./BasePartiesService')
|
|
30
30
|
class PutPartiesErrorService extends BasePartiesService {
|
31
31
|
async handleRequest () {
|
32
32
|
if (this.state.proxyEnabled && this.state.proxy) {
|
33
|
-
const alsReq = this.deps.partiesUtils.alsRequestDto(this.state.destination, this.inputs.params)
|
33
|
+
const alsReq = this.deps.partiesUtils.alsRequestDto(this.state.destination, this.inputs.params)
|
34
34
|
const isInterSchemeDiscoveryCase = await this.deps.proxyCache.isPendingCallback(alsReq)
|
35
|
+
this.log.verbose(`isInterSchemeDiscoveryCase: ${isInterSchemeDiscoveryCase}`, this.state)
|
35
36
|
|
36
37
|
if (isInterSchemeDiscoveryCase) {
|
37
38
|
const isLast = await this.checkLastProxyCallback(alsReq)
|