account-lookup-service 17.4.1 → 17.5.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 +7 -0
- package/package.json +4 -4
- package/src/lib/util.js +3 -1
- package/test/unit/domain/oracle/oracle.test.js +1 -1
- package/test/unit/domain/participants/participants.test.js +1 -1
- package/test/unit/domain/parties/parties.test.js +1 -1
- package/test/unit/domain/timeout/index.test.js +1 -1
- package/test/unit/models/participantEndpoint/facade.test.js +1 -0
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.5.0](https://github.com/mojaloop/account-lookup-service/compare/v17.4.1...v17.5.0) (2025-03-18)
|
6
|
+
|
7
|
+
|
8
|
+
### Features
|
9
|
+
|
10
|
+
* rethrow with context ([#540](https://github.com/mojaloop/account-lookup-service/issues/540)) ([c1037e9](https://github.com/mojaloop/account-lookup-service/commit/c1037e9ee3d78224074ca2c7ecc24c68a81c7e9e))
|
11
|
+
|
5
12
|
### [17.4.1](https://github.com/mojaloop/account-lookup-service/compare/v17.3.2...v17.4.1) (2025-03-14)
|
6
13
|
|
7
14
|
|
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.
|
4
|
+
"version": "17.5.0",
|
5
5
|
"license": "Apache-2.0",
|
6
6
|
"author": "ModusBox",
|
7
7
|
"contributors": [
|
@@ -93,9 +93,9 @@
|
|
93
93
|
"@hapi/vision": "7.0.3",
|
94
94
|
"@mojaloop/central-services-error-handling": "13.0.7",
|
95
95
|
"@mojaloop/central-services-health": "15.0.4",
|
96
|
-
"@mojaloop/central-services-logger": "11.
|
97
|
-
"@mojaloop/central-services-metrics": "12.
|
98
|
-
"@mojaloop/central-services-shared": "18.
|
96
|
+
"@mojaloop/central-services-logger": "11.7.0",
|
97
|
+
"@mojaloop/central-services-metrics": "12.5.0",
|
98
|
+
"@mojaloop/central-services-shared": "18.23.0",
|
99
99
|
"@mojaloop/central-services-stream": "11.5.1",
|
100
100
|
"@mojaloop/database-lib": "11.1.4",
|
101
101
|
"@mojaloop/event-sdk": "14.3.2",
|
package/src/lib/util.js
CHANGED
@@ -29,7 +29,9 @@ const util = require('node:util')
|
|
29
29
|
const Path = require('node:path')
|
30
30
|
const EventSdk = require('@mojaloop/event-sdk')
|
31
31
|
const Enum = require('@mojaloop/central-services-shared').Enum
|
32
|
-
const { HeaderValidation, Hapi
|
32
|
+
const { HeaderValidation, Hapi } = require('@mojaloop/central-services-shared').Util
|
33
|
+
const rethrow = require('@mojaloop/central-services-shared').Util.rethrow.with('ALS')
|
34
|
+
|
33
35
|
const Config = require('../lib/config')
|
34
36
|
const { logger } = require('./index')
|
35
37
|
|
@@ -51,6 +51,7 @@ jest.mock('@mojaloop/central-services-shared', () => ({
|
|
51
51
|
Request: { sendRequest: mockSendRequest },
|
52
52
|
Http: { SwitchDefaultHeaders: jest.fn() },
|
53
53
|
HeaderValidation: { getHubNameRegex: jest.fn().mockReturnValue(new RegExp(mockHubName)) },
|
54
|
+
rethrow: jest.requireActual('@mojaloop/central-services-shared').Util.rethrow,
|
54
55
|
Hapi: jest.requireActual('@mojaloop/central-services-shared').Util.Hapi
|
55
56
|
},
|
56
57
|
Enum: mockEnums
|