@mojaloop/sdk-scheme-adapter 24.12.0-snapshot.0 → 24.12.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.
Binary file
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mojaloop/sdk-scheme-adapter-api-svc",
3
- "version": "21.0.0-snapshot.64",
3
+ "version": "21.0.0-snapshot.66",
4
4
  "description": "An adapter for connecting to Mojaloop API enabled switches.",
5
5
  "main": "src/index.js",
6
6
  "types": "src/index.d.ts",
@@ -26,7 +26,6 @@
26
26
  ******/
27
27
  'use strict';
28
28
 
29
- const http = require('node:http');
30
29
  const { createHttpRequester } = require('@mojaloop/sdk-standard-components').httpRequester;
31
30
  const { buildUrl, HTTPResponseError } = require('./common');
32
31
 
@@ -43,11 +42,6 @@ class BackendRequests {
43
42
  // FSPID of THIS DFSP
44
43
  this.dfspId = config.dfspId;
45
44
 
46
- // make sure we keep alive connections to the backend
47
- this.agent = new http.Agent({
48
- keepAlive: true
49
- });
50
-
51
45
  this.transportScheme = 'http';
52
46
 
53
47
  // Switch or peer DFSP endpoint
@@ -269,7 +263,7 @@ class BackendRequests {
269
263
  async sendRequest(reqOptions) {
270
264
  try {
271
265
  this.logger.isVerboseEnabled && this.logger.push({ reqOptions }).verbose(`Executing HTTP ${reqOptions?.method}...`);
272
- const res = await this.requester.sendRequest({ ...reqOptions, agent: this.agent });
266
+ const res = await this.requester.sendRequest({ ...reqOptions });
273
267
 
274
268
  const data = (res.headers['content-length'] === '0' || res.statusCode === 204)
275
269
  ? null
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mojaloop/sdk-scheme-adapter-outbound-command-event-handler",
3
- "version": "0.3.0-snapshot.59",
3
+ "version": "0.3.0-snapshot.61",
4
4
  "description": "Mojaloop sdk scheme adapter command event handler",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://github.com/mojaloop/sdk-scheme-adapter/",
@@ -74,7 +74,7 @@
74
74
  "npm-check-updates": "16.7.10",
75
75
  "replace": "1.2.2",
76
76
  "standard-version": "9.5.0",
77
- "ts-jest": "29.4.3",
77
+ "ts-jest": "29.4.4",
78
78
  "ts-node": "10.9.2",
79
79
  "typescript": "5.9.2"
80
80
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mojaloop/sdk-scheme-adapter-outbound-domain-event-handler",
3
- "version": "0.3.0-snapshot.59",
3
+ "version": "0.3.0-snapshot.61",
4
4
  "description": "mojaloop sdk scheme adapter outbound domain event handler",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://github.com/mojaloop/sdk-scheme-adapter/",
@@ -71,7 +71,7 @@
71
71
  "npm-check-updates": "16.7.10",
72
72
  "replace": "1.2.2",
73
73
  "standard-version": "9.5.0",
74
- "ts-jest": "29.4.3",
74
+ "ts-jest": "29.4.4",
75
75
  "ts-node": "10.9.2",
76
76
  "typescript": "5.9.2"
77
77
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mojaloop/sdk-scheme-adapter-private-shared-lib",
3
- "version": "0.4.0-snapshot.59",
3
+ "version": "0.4.0-snapshot.61",
4
4
  "description": "SDK Scheme Adapter private shared library.",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://github.com/mojaloop/accounts-and-balances-bc/tree/main/modules/private-types",
@@ -49,7 +49,7 @@
49
49
  "npm-check-updates": "16.7.10",
50
50
  "replace": "1.2.2",
51
51
  "standard-version": "9.5.0",
52
- "ts-jest": "29.4.3",
52
+ "ts-jest": "29.4.4",
53
53
  "tslib": "2.8.1",
54
54
  "typescript": "5.9.2"
55
55
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mojaloop/sdk-scheme-adapter",
3
- "version": "24.12.0-snapshot.0",
3
+ "version": "24.12.0-snapshot.2",
4
4
  "description": "mojaloop sdk-scheme-adapter",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://github.com/mojaloop/sdk-scheme-adapter",
@@ -97,7 +97,7 @@
97
97
  "npm-check-updates": "16.7.10",
98
98
  "replace": "1.2.2",
99
99
  "standard-version": "9.5.0",
100
- "ts-jest": "29.4.3",
100
+ "ts-jest": "29.4.4",
101
101
  "ts-node": "10.9.2",
102
102
  "typescript": "5.9.2",
103
103
  "yarn-audit-fix": "10.1.1"