@mojaloop/sdk-scheme-adapter 24.12.0-snapshot.5 → 24.12.0-snapshot.6

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mojaloop/sdk-scheme-adapter-api-svc",
3
- "version": "21.0.0-snapshot.69",
3
+ "version": "21.0.0-snapshot.70",
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",
@@ -130,7 +130,7 @@ const createOutboundTransfersModel = (ctx) => new OutboundTransfersModel({
130
130
  logger: ctx.state.logger,
131
131
  wso2: ctx.state.wso2,
132
132
  metricsClient: ctx.state.metricsClient,
133
- sharedAgents: ctx.state.sharedAgents,
133
+ mojaloopSharedAgents: ctx.state.sharedAgents,
134
134
  });
135
135
 
136
136
  const createOutboundBulkTransfersModel = (ctx) => new OutboundBulkTransfersModel({
@@ -467,7 +467,7 @@ const postAccounts = async (ctx) => {
467
467
  cache: ctx.state.cache,
468
468
  logger: ctx.state.logger,
469
469
  wso2: ctx.state.wso2,
470
- sharedAgents: ctx.state.sharedAgents,
470
+ mojaloopSharedAgents: ctx.state.sharedAgents,
471
471
  });
472
472
 
473
473
  const state = {
@@ -498,7 +498,7 @@ const deleteAccountByTypeAndId = async (ctx) => {
498
498
  cache: ctx.state.cache,
499
499
  logger: ctx.state.logger,
500
500
  wso2: ctx.state.wso2,
501
- sharedAgents: ctx.state.sharedAgents,
501
+ mojaloopSharedAgents: ctx.state.sharedAgents,
502
502
  });
503
503
 
504
504
  const args = {
@@ -48,7 +48,7 @@ class AccountsModel {
48
48
  this._logger = config.logger;
49
49
  this._requestProcessingTimeoutSeconds = config.requestProcessingTimeoutSeconds;
50
50
  this._dfspId = config.dfspId;
51
- this._sharedAgents = config.sharedAgents;
51
+ this._mojaloopSharedAgents = config.mojaloopSharedAgents;
52
52
 
53
53
  const mojaloopRequestsConfig = {
54
54
  logger: this._logger,
@@ -66,9 +66,9 @@ class AccountsModel {
66
66
  };
67
67
 
68
68
  // Add shared agents to prevent HTTPS agent recreation per request
69
- if (this._sharedAgents) {
70
- mojaloopRequestsConfig.httpAgent = this._sharedAgents.httpAgent;
71
- mojaloopRequestsConfig.httpsAgent = this._sharedAgents.httpsAgent;
69
+ if (this._mojaloopSharedAgents) {
70
+ mojaloopRequestsConfig.httpAgent = this._mojaloopSharedAgents.httpAgent;
71
+ mojaloopRequestsConfig.httpsAgent = this._mojaloopSharedAgents.httpsAgent;
72
72
  this._logger.isDebugEnabled && this._logger.debug('Using shared HTTP/HTTPS agents for AccountsModel MojaloopRequests');
73
73
  }
74
74
 
@@ -71,7 +71,7 @@ class OutboundTransfersModel {
71
71
  this._useQuoteSourceFSPAsTransferPayeeFSP = config.useQuoteSourceFSPAsTransferPayeeFSP;
72
72
  this._checkIlp = config.checkIlp;
73
73
  this._multiplePartiesResponse = config.multiplePartiesResponse;
74
- this._sharedAgents = config.sharedAgents;
74
+ this._mojaloopSharedAgents = config.mojaloopSharedAgents;
75
75
  this._multiplePartiesResponseSeconds = config.multiplePartiesResponseSeconds;
76
76
  this._sendFinalNotificationIfRequested = config.sendFinalNotificationIfRequested;
77
77
  this._apiType = config.apiType;
@@ -106,10 +106,10 @@ class OutboundTransfersModel {
106
106
  };
107
107
 
108
108
  // Add shared agents to prevent HTTPS agent recreation per request
109
- if (this._sharedAgents) {
110
- mojaloopRequestsConfig.httpAgent = this._sharedAgents.httpAgent;
111
- mojaloopRequestsConfig.httpsAgent = this._sharedAgents.httpsAgent;
112
- this._logger.isDebugEnabled && this._logger.debug('Using shared HTTP/HTTPS agents for MojaloopRequests');
109
+ if (this._mojaloopSharedAgents) {
110
+ mojaloopRequestsConfig.httpAgent = this._mojaloopSharedAgents.httpAgent;
111
+ mojaloopRequestsConfig.httpsAgent = this._mojaloopSharedAgents.httpsAgent;
112
+ this._logger.isDebugEnabled && this._logger.debug('Using shared HTTP/HTTPS agents for OutboundTransfersModel MojaloopRequests');
113
113
  }
114
114
 
115
115
  this._requests = new MojaloopRequests(mojaloopRequestsConfig);
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mojaloop/sdk-scheme-adapter-outbound-command-event-handler",
3
- "version": "0.3.0-snapshot.64",
3
+ "version": "0.3.0-snapshot.65",
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/",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mojaloop/sdk-scheme-adapter-outbound-domain-event-handler",
3
- "version": "0.3.0-snapshot.64",
3
+ "version": "0.3.0-snapshot.65",
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/",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mojaloop/sdk-scheme-adapter-private-shared-lib",
3
- "version": "0.4.0-snapshot.64",
3
+ "version": "0.4.0-snapshot.65",
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",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mojaloop/sdk-scheme-adapter",
3
- "version": "24.12.0-snapshot.5",
3
+ "version": "24.12.0-snapshot.6",
4
4
  "description": "mojaloop sdk-scheme-adapter",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://github.com/mojaloop/sdk-scheme-adapter",