@mojaloop/central-services-shared 18.11.0 → 18.11.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/CHANGELOG.md CHANGED
@@ -2,6 +2,20 @@
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
+ ### [18.11.2](https://github.com/mojaloop/central-services-shared/compare/v18.11.1...v18.11.2) (2024-11-21)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * **csi-933:** added http error response.data to logs ([#410](https://github.com/mojaloop/central-services-shared/issues/410)) ([809a633](https://github.com/mojaloop/central-services-shared/commit/809a633f2105d461704899c1c684b11fc72d91d0))
11
+
12
+ ### [18.11.1](https://github.com/mojaloop/central-services-shared/compare/v18.11.0...v18.11.1) (2024-11-13)
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * **csi-421:** misleading error in fetchParticipant ([#409](https://github.com/mojaloop/central-services-shared/issues/409)) ([62fdfce](https://github.com/mojaloop/central-services-shared/commit/62fdfceef9be2df5e3cc3f2d799a3f493acf4485))
18
+
5
19
  ## [18.11.0](https://github.com/mojaloop/central-services-shared/compare/v18.10.0...v18.11.0) (2024-10-24)
6
20
 
7
21
 
package/audit-ci.jsonc CHANGED
@@ -23,6 +23,7 @@
23
23
  "GHSA-m6fv-jmcg-4jfg",
24
24
  "GHSA-m6fv-jmcg-4jfg",
25
25
  "GHSA-qw6h-vgh9-j6wx",
26
- "GHSA-qwcr-r2fm-qrc7"
26
+ "GHSA-qwcr-r2fm-qrc7",
27
+ "GHSA-3xgq-45jj-v275" // https://github.com/advisories/GHSA-3xgq-45jj-v275
27
28
  ]
28
29
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mojaloop/central-services-shared",
3
- "version": "18.11.0",
3
+ "version": "18.11.2",
4
4
  "description": "Shared code for mojaloop central services",
5
5
  "license": "Apache-2.0",
6
6
  "author": "ModusBox",
@@ -67,26 +67,26 @@
67
67
  "env-var": "7.5.0",
68
68
  "event-stream": "4.0.1",
69
69
  "fast-safe-stringify": "^2.1.1",
70
- "immutable": "4.3.7",
70
+ "immutable": "5.0.3",
71
71
  "ioredis": "^5.4.1",
72
72
  "lodash": "4.17.21",
73
73
  "mustache": "4.2.0",
74
- "openapi-backend": "5.11.0",
74
+ "openapi-backend": "5.11.1",
75
75
  "raw-body": "3.0.0",
76
76
  "rc": "1.2.8",
77
77
  "shins": "2.6.0",
78
78
  "ulidx": "2.4.1",
79
79
  "uuid4": "2.0.3",
80
80
  "widdershins": "^4.0.1",
81
- "yaml": "2.6.0"
81
+ "yaml": "2.6.1"
82
82
  },
83
83
  "devDependencies": {
84
- "@hapi/hapi": "21.3.11",
84
+ "@hapi/hapi": "21.3.12",
85
85
  "@hapi/joi": "17.1.1",
86
86
  "audit-ci": "^7.1.0",
87
87
  "base64url": "3.0.1",
88
88
  "chance": "1.1.12",
89
- "npm-check-updates": "17.1.4",
89
+ "npm-check-updates": "17.1.11",
90
90
  "nyc": "17.1.0",
91
91
  "pre-commit": "1.2.2",
92
92
  "proxyquire": "2.1.3",
@@ -80,7 +80,8 @@ const fetchParticipant = async (fsp) => {
80
80
  return participant
81
81
  } catch (e) {
82
82
  histTimer({ success: false })
83
- Logger.isErrorEnabled && Logger.error(`participantCache::fetchParticipants:: ERROR:'${e}'`)
83
+ // We're logging this as a "warning" rather than "error" because the participant might be a proxied participant
84
+ Logger.isWarnEnabled && Logger.warn(`participantCache::fetchParticipants:: WARNING:'${e}'`)
84
85
  }
85
86
  }
86
87
 
@@ -150,6 +150,7 @@ const sendRequest = async ({
150
150
  ]
151
151
  const extensions = []
152
152
  if (error.response) {
153
+ logger.verbose('error.response.data:', error.response.data)
153
154
  extensionArray.push({ key: 'status', value: error.response?.status })
154
155
  extensionArray.push({ key: 'response', value: error.response?.data })
155
156
  extensions.push({ key: 'status', value: error.response?.status })