account-lookup-service 17.0.0 → 17.0.3

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.
@@ -6,19 +6,43 @@
6
6
  "license": "Apache-2.0",
7
7
  "main": "src/server.ts",
8
8
  "scripts": {
9
- "start": "ts-node src/server.ts"
9
+ "start": "ts-node src/server.ts",
10
+ "audit:fix": "npm audit fix",
11
+ "audit:check": "npx audit-ci --config ./audit-ci.jsonc",
12
+ "dep:check": "npx ncu -e 2",
13
+ "dep:update": "npx ncu -u"
10
14
  },
11
15
  "dependencies": {
12
- "@mojaloop/central-services-shared": "^18.6.0-snapshot.4",
13
- "@types/node": "^20.14.2",
14
- "axios": "^1.7.2",
15
- "body-parser": "^1.20.2",
16
- "express": "^4.19.2",
16
+ "@mojaloop/central-services-shared": "^18.16.2",
17
+ "@types/node": "^22.12.0",
18
+ "axios": "^1.7.9",
19
+ "body-parser": "^1.20.3",
20
+ "express": "^4.21.2",
17
21
  "ts-node": "^10.9.2",
18
- "typescript": "^5.4.5"
22
+ "typescript": "^5.7.3"
19
23
  },
20
24
  "devDependencies": {
21
25
  "@types/body-parser": "^1.19.5",
22
- "@types/express": "^4.17.21"
26
+ "@types/express": "^5.0.0"
27
+ },
28
+ "overrides": {
29
+ "shins": {
30
+ "ajv": "6.12.3",
31
+ "ejs": "3.1.10",
32
+ "sanitize-html": "2.12.1",
33
+ "yargs-parser": "21.1.1",
34
+ "markdown-it": "12.3.2"
35
+ },
36
+ "widdershins": {
37
+ "swagger2openapi": "7.0.8",
38
+ "yargs-parser": "21.1.1",
39
+ "markdown-it": "12.3.2"
40
+ },
41
+ "swagger2openapi": {
42
+ "yaml": "2.7.0"
43
+ },
44
+ "cross-spawn": "7.0.6",
45
+ "jsonwebtoken": "9.0.0",
46
+ "jsonpointer": "5.0.0"
23
47
  }
24
48
  }
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.0.0",
4
+ "version": "17.0.3",
5
5
  "license": "Apache-2.0",
6
6
  "author": "ModusBox",
7
7
  "contributors": [
@@ -90,22 +90,22 @@
90
90
  "@hapi/hapi": "21.3.12",
91
91
  "@hapi/inert": "7.1.0",
92
92
  "@hapi/vision": "7.0.3",
93
- "@mojaloop/central-services-error-handling": "13.0.3",
94
- "@mojaloop/central-services-health": "15.0.0",
95
- "@mojaloop/central-services-logger": "11.5.2",
96
- "@mojaloop/central-services-metrics": "12.4.3",
97
- "@mojaloop/central-services-shared": "18.15.1",
98
- "@mojaloop/central-services-stream": "11.4.2",
99
- "@mojaloop/database-lib": "11.1.1",
100
- "@mojaloop/event-sdk": "14.1.2",
93
+ "@mojaloop/central-services-error-handling": "13.0.4",
94
+ "@mojaloop/central-services-health": "15.0.2",
95
+ "@mojaloop/central-services-logger": "11.5.4",
96
+ "@mojaloop/central-services-metrics": "12.4.4",
97
+ "@mojaloop/central-services-shared": "18.16.2",
98
+ "@mojaloop/central-services-stream": "11.4.3",
99
+ "@mojaloop/database-lib": "11.1.2",
100
+ "@mojaloop/event-sdk": "14.1.3",
101
101
  "@mojaloop/inter-scheme-proxy-cache-lib": "2.3.1",
102
- "@mojaloop/ml-schema-transformer-lib": "2.5.1",
103
- "@mojaloop/sdk-standard-components": "19.6.3",
102
+ "@mojaloop/ml-schema-transformer-lib": "2.5.2",
103
+ "@mojaloop/sdk-standard-components": "19.6.4",
104
104
  "@now-ims/hapi-now-auth": "2.1.0",
105
105
  "ajv": "8.17.1",
106
106
  "ajv-keywords": "5.1.0",
107
107
  "blipp": "4.0.2",
108
- "commander": "13.0.0",
108
+ "commander": "13.1.0",
109
109
  "cron": "3.5.0",
110
110
  "fast-safe-stringify": "^2.1.1",
111
111
  "hapi-auth-bearer-token": "8.0.0",
@@ -134,12 +134,12 @@
134
134
  "ajv": "6.12.3",
135
135
  "ejs": "3.1.10",
136
136
  "sanitize-html": "2.12.1",
137
- "yargs-parser": "18.1.1",
137
+ "yargs-parser": "21.1.1",
138
138
  "markdown-it": "12.3.2"
139
139
  },
140
140
  "widdershins": {
141
141
  "swagger2openapi": "7.0.8",
142
- "yargs-parser": "13.1.2",
142
+ "yargs-parser": "21.1.1",
143
143
  "markdown-it": "12.3.2"
144
144
  },
145
145
  "swagger2openapi": {
@@ -153,7 +153,7 @@
153
153
  },
154
154
  "cross-spawn": "7.0.6",
155
155
  "yargs": {
156
- "yargs-parser": "^21.1.1"
156
+ "yargs-parser": "21.1.1"
157
157
  },
158
158
  "jsonwebtoken": "9.0.0",
159
159
  "jsonpointer": "5.0.0",
@@ -172,7 +172,7 @@
172
172
  "jest-junit": "16.0.0",
173
173
  "jsdoc": "4.0.4",
174
174
  "nodemon": "3.1.9",
175
- "npm-check-updates": "17.1.13",
175
+ "npm-check-updates": "17.1.14",
176
176
  "nyc": "17.1.0",
177
177
  "pre-commit": "1.2.2",
178
178
  "proxyquire": "2.1.3",
@@ -8,7 +8,7 @@ const headersDto = ({
8
8
  source = 'fromDfsp',
9
9
  destination = 'toDfsp',
10
10
  proxy = '',
11
- date = '2024-05-24 08:52:19',
11
+ date = new Date().toUTCString(),
12
12
  accept,
13
13
  contentType
14
14
  } = {}) => Object.freeze({
@@ -88,7 +88,7 @@ function defaultHeaders (destination, resource, source, version = '1.1', apiType
88
88
  accept: `application/vnd.interoperability${isoPart}.${resource}+json;version=${version}`,
89
89
  'fspiop-destination': destination || '',
90
90
  'content-type': `application/vnd.interoperability${isoPart}.${resource}+json;version=${version}`,
91
- date: '2019-05-24 08:52:19',
91
+ date: new Date().toUTCString(),
92
92
  'fspiop-source': source,
93
93
  'fspiop-signature': '{"signature":"iU4GBXSfY8twZMj1zXX1CTe3LDO8Zvgui53icrriBxCUF_wltQmnjgWLWI4ZUEueVeOeTbDPBZazpBWYvBYpl5WJSUoXi14nVlangcsmu2vYkQUPmHtjOW-yb2ng6_aPfwd7oHLWrWzcsjTF-S4dW7GZRPHEbY_qCOhEwmmMOnE1FWF1OLvP0dM0r4y7FlnrZNhmuVIFhk_pMbEC44rtQmMFv4pm4EVGqmIm3eyXz0GkX8q_O1kGBoyIeV_P6RRcZ0nL6YUVMhPFSLJo6CIhL2zPm54Qdl2nVzDFWn_shVyV0Cl5vpcMJxJ--O_Zcbmpv6lxqDdygTC782Ob3CNMvg\\",\\"protectedHeader\\":\\"eyJhbGciOiJSUzI1NiIsIkZTUElPUC1VUkkiOiIvdHJhbnNmZXJzIiwiRlNQSU9QLUhUVFAtTWV0aG9kIjoiUE9TVCIsIkZTUElPUC1Tb3VyY2UiOiJPTUwiLCJGU1BJT1AtRGVzdGluYXRpb24iOiJNVE5Nb2JpbGVNb25leSIsIkRhdGUiOiIifQ"}'
94
94
  }
@@ -113,7 +113,7 @@ const getByTypeIdRequest = {
113
113
  accept: 'application/vnd.interoperability.participants+json;version=1',
114
114
  'fspiop-destination': payeefsp,
115
115
  'content-type': 'application/vnd.interoperability.participants+json;version=1.1',
116
- date: '2019-05-24 08:52:19',
116
+ date: new Date().toUTCString(),
117
117
  'fspiop-source': payerfsp
118
118
  },
119
119
  method: 'get'
@@ -129,7 +129,7 @@ const getByTypeIdRequestError = {
129
129
  accept: 'application/vnd.interoperability.participants+json;version=1',
130
130
  'fspiop-destination': payeefsp,
131
131
  'content-type': 'application/vnd.interoperability.participants+json;version=1.1',
132
- date: '2019-05-24 08:52:19',
132
+ date: new Date().toUTCString(),
133
133
  'fspiop-source': payerfsp
134
134
  },
135
135
  method: 'get'
@@ -145,7 +145,7 @@ const putByTypeIdRequest = {
145
145
  accept: 'application/vnd.interoperability.participants+json;version=1',
146
146
  'fspiop-destination': payeefsp,
147
147
  'content-type': 'application/vnd.interoperability.participants+json;version=1.1',
148
- date: '2019-05-24 08:52:19',
148
+ date: new Date().toUTCString(),
149
149
  'fspiop-source': payerfsp
150
150
  },
151
151
  method: 'put'
@@ -163,7 +163,7 @@ const getByTypeIdCurrencyRequest = {
163
163
  accept: 'application/vnd.interoperability.participants+json;version=1',
164
164
  'fspiop-destination': payeefsp,
165
165
  'content-type': 'application/vnd.interoperability.participants+json;version=1.1',
166
- date: '2019-05-24 08:52:19',
166
+ date: new Date().toUTCString(),
167
167
  'fspiop-source': payerfsp
168
168
  },
169
169
  method: 'get'
@@ -181,7 +181,7 @@ const postByTypeIdCurrencyRequest = {
181
181
  accept: 'application/vnd.interoperability.participants+json;version=1',
182
182
  'fspiop-destination': payeefsp,
183
183
  'content-type': 'application/vnd.interoperability.participants+json;version=1.1',
184
- date: '2019-05-24 08:52:19',
184
+ date: new Date().toUTCString(),
185
185
  'fspiop-source': payerfsp
186
186
  },
187
187
  method: 'post'