account-lookup-service 17.7.0-snapshot.1 → 17.7.0-snapshot.2
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/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.7.0-snapshot.
|
4
|
+
"version": "17.7.0-snapshot.2",
|
5
5
|
"license": "Apache-2.0",
|
6
6
|
"author": "ModusBox",
|
7
7
|
"contributors": [
|
@@ -94,13 +94,13 @@
|
|
94
94
|
"@mojaloop/central-services-health": "15.0.4",
|
95
95
|
"@mojaloop/central-services-logger": "11.7.0",
|
96
96
|
"@mojaloop/central-services-metrics": "12.5.0",
|
97
|
-
"@mojaloop/central-services-shared": "18.23.1
|
97
|
+
"@mojaloop/central-services-shared": "18.23.1",
|
98
98
|
"@mojaloop/central-services-stream": "11.5.2",
|
99
99
|
"@mojaloop/database-lib": "11.1.4",
|
100
100
|
"@mojaloop/event-sdk": "14.4.0",
|
101
|
-
"@mojaloop/inter-scheme-proxy-cache-lib": "2.4.0
|
101
|
+
"@mojaloop/inter-scheme-proxy-cache-lib": "2.4.0",
|
102
102
|
"@mojaloop/ml-schema-transformer-lib": "2.6.0",
|
103
|
-
"@mojaloop/sdk-standard-components": "19.11.
|
103
|
+
"@mojaloop/sdk-standard-components": "19.11.1",
|
104
104
|
"@now-ims/hapi-now-auth": "2.1.0",
|
105
105
|
"ajv": "8.17.1",
|
106
106
|
"ajv-keywords": "5.1.0",
|
@@ -1369,7 +1369,7 @@ describe('participant Tests', () => {
|
|
1369
1369
|
|
1370
1370
|
// Assert
|
1371
1371
|
expect(logStub.getCall(0).firstArg).toBe(ERROR_MESSAGES.sourceFspNotFound)
|
1372
|
-
expect(logStub.getCall(
|
1372
|
+
expect(logStub.getCall(3).lastArg).toEqual(cbError)
|
1373
1373
|
})
|
1374
1374
|
|
1375
1375
|
it('handles error when `oracleBatchRequest` returns no result', async () => {
|
@@ -248,7 +248,7 @@ describe('Parties Tests', () => {
|
|
248
248
|
await partiesDomain.getPartiesByTypeAndID(Helper.getByTypeIdRequest.headers, Helper.getByTypeIdRequest.params, Helper.getByTypeIdRequest.method, Helper.getByTypeIdRequest.query)
|
249
249
|
|
250
250
|
// Assert
|
251
|
-
expect(loggerStub.callCount).toBe(
|
251
|
+
expect(loggerStub.callCount).toBe(2)
|
252
252
|
expect(participant.sendErrorToParticipant.callCount).toBe(1)
|
253
253
|
|
254
254
|
const { errorInformation } = participant.sendErrorToParticipant.getCall(0).args[2]
|
@@ -901,7 +901,7 @@ describe('Parties Tests', () => {
|
|
901
901
|
|
902
902
|
// Assert
|
903
903
|
expect(participant.sendErrorToParticipant.callCount).toBe(1)
|
904
|
-
expect(loggerStub.callCount).toBe(
|
904
|
+
expect(loggerStub.callCount).toBe(2)
|
905
905
|
const sendErrorCallArgs = participant.sendErrorToParticipant.getCall(0).args
|
906
906
|
expect(sendErrorCallArgs[1]).toBe(expectedCallbackEnpointType)
|
907
907
|
})
|
@@ -922,7 +922,7 @@ describe('Parties Tests', () => {
|
|
922
922
|
|
923
923
|
// Assert
|
924
924
|
expect(participant.sendErrorToParticipant.callCount).toBe(1)
|
925
|
-
expect(loggerStub.callCount).toBe(
|
925
|
+
expect(loggerStub.callCount).toBe(2)
|
926
926
|
const sendErrorCallArgs = participant.sendErrorToParticipant.getCall(0).args
|
927
927
|
expect(sendErrorCallArgs[1]).toBe(expectedCallbackEnpointType)
|
928
928
|
})
|