@mojaloop/central-services-shared 18.3.4 → 18.3.5

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,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
+ ### [18.3.5](https://github.com/mojaloop/central-services-shared/compare/v18.3.4...v18.3.5) (2024-04-23)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * excessive logging of agent internals ([0073c37](https://github.com/mojaloop/central-services-shared/commit/0073c37724b96909cdabd43055ac8ce653f1516a))
11
+
5
12
  ### [18.3.4](https://github.com/mojaloop/central-services-shared/compare/v18.3.3...v18.3.4) (2024-04-09)
6
13
 
7
14
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mojaloop/central-services-shared",
3
- "version": "18.3.4",
3
+ "version": "18.3.5",
4
4
  "description": "Shared code for mojaloop central services",
5
5
  "license": "Apache-2.0",
6
6
  "author": "ModusBox",
@@ -71,7 +71,7 @@
71
71
  "yaml": "2.4.1"
72
72
  },
73
73
  "devDependencies": {
74
- "@hapi/hapi": "21.3.8",
74
+ "@hapi/hapi": "21.3.9",
75
75
  "@hapi/joi": "17.1.1",
76
76
  "audit-ci": "^6.6.1",
77
77
  "base64url": "3.0.1",
@@ -41,6 +41,7 @@ delete request.defaults.headers.common.Accept
41
41
 
42
42
  // Enable keepalive for http
43
43
  request.defaults.httpAgent = new http.Agent({ keepAlive: true })
44
+ request.defaults.httpAgent.toJSON = () => ({})
44
45
 
45
46
  /**
46
47
  * @function sendRequest
@@ -182,6 +182,7 @@ Test('ParticipantEndpoint Model Test', modelTest => {
182
182
  test.end()
183
183
  } catch (e) {
184
184
  test.ok(e instanceof Error)
185
+ test.ok(request.defaults.httpAgent.toJSON())
185
186
  test.end()
186
187
  }
187
188
  })