@mojaloop/sdk-scheme-adapter 24.15.3 → 24.17.0-traceid.0
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/.grype.yaml +2 -1
- package/.yarn/cache/@eslint-compat-npm-2.0.0-75620fa055-b1f63053ac.zip +0 -0
- package/.yarn/cache/@eslint-core-npm-1.0.0-2978d0dbb2-0e2fc001ec.zip +0 -0
- package/.yarn/cache/@hapi-hapi-npm-21.4.4-eec3850bb0-1173d7c4a8.zip +0 -0
- package/.yarn/cache/@hapi-statehood-npm-8.2.1-d8a714324b-58053334b1.zip +0 -0
- package/.yarn/cache/{@mojaloop-central-services-shared-npm-18.34.3-923ad0cfc3-980c7f869d.zip → @mojaloop-central-services-shared-npm-18.34.4-d26093c3d3-cf81014269.zip} +0 -0
- package/.yarn/cache/@mojaloop-logging-bc-public-types-lib-npm-0.5.7-3097ca5ddc-fb1c4687f7.zip +0 -0
- package/.yarn/cache/@mojaloop-platform-shared-lib-messaging-types-lib-npm-0.7.4-0e37630881-a372496a09.zip +0 -0
- package/.yarn/cache/{@redis-bloom-npm-5.9.0-cc4091258a-a97626f4e9.zip → @redis-bloom-npm-5.10.0-53ea64af9f-c9d3d3113a.zip} +0 -0
- package/.yarn/cache/{@redis-client-npm-5.9.0-1bff2f6c15-09c0d9cd7a.zip → @redis-client-npm-5.10.0-ef0f7a1b55-c60d7de94a.zip} +0 -0
- package/.yarn/cache/{@redis-json-npm-5.9.0-cfc3099015-60d820ee4d.zip → @redis-json-npm-5.10.0-c3d224094a-68ee37f6b1.zip} +0 -0
- package/.yarn/cache/{@redis-search-npm-5.9.0-bc105c5d83-ebf738be42.zip → @redis-search-npm-5.10.0-2b9245aed1-677980fd6a.zip} +0 -0
- package/.yarn/cache/{@redis-time-series-npm-5.9.0-dfbf77d4a9-683f5b28a8.zip → @redis-time-series-npm-5.10.0-2f21ddfb1d-17a3328b69.zip} +0 -0
- package/.yarn/cache/@types-express-npm-5.0.6-a43836c0f4-da2cc3de1b.zip +0 -0
- package/.yarn/cache/{@types-node-npm-24.10.0-293a9fc97d-bc3abd9adc.zip → @types-node-npm-24.10.1-d514f50dfd-ddac8c97be.zip} +0 -0
- package/.yarn/cache/@types-serve-static-npm-2.2.0-5b97070e23-f2bad1304c.zip +0 -0
- package/.yarn/cache/@typescript-eslint-eslint-plugin-npm-8.48.1-a09326c531-3ccf420805.zip +0 -0
- package/.yarn/cache/@typescript-eslint-parser-npm-8.48.1-cf0a8b9c11-d8409c9ede.zip +0 -0
- package/.yarn/cache/@typescript-eslint-project-service-npm-8.48.1-13c2e2d2dc-66ecc7ef95.zip +0 -0
- package/.yarn/cache/@typescript-eslint-scope-manager-npm-8.48.1-7d633ba796-5040246220.zip +0 -0
- package/.yarn/cache/@typescript-eslint-tsconfig-utils-npm-8.48.1-702d6abc7f-830bcd0e76.zip +0 -0
- package/.yarn/cache/@typescript-eslint-type-utils-npm-8.48.1-9718d9fe5e-6cf9370ac5.zip +0 -0
- package/.yarn/cache/@typescript-eslint-types-npm-8.48.1-5e1312d710-1aa1e3f25b.zip +0 -0
- package/.yarn/cache/@typescript-eslint-typescript-estree-npm-8.48.1-751b2295c1-485aa44d22.zip +0 -0
- package/.yarn/cache/@typescript-eslint-utils-npm-8.48.1-aec1d5feca-34afe5cf78.zip +0 -0
- package/.yarn/cache/@typescript-eslint-visitor-keys-npm-8.48.1-fb92338aa0-63aa165c57.zip +0 -0
- package/.yarn/cache/axios-npm-1.8.2-55671cda10-d432875812.zip +0 -0
- package/.yarn/cache/brace-expansion-npm-2.0.1-17aa2616f9-a61e7cd2e8.zip +0 -0
- package/.yarn/cache/{eslint-plugin-jest-npm-29.0.1-fe022b91da-d7b0a3fbdb.zip → eslint-plugin-jest-npm-29.2.1-ffd5e9b8a1-1ebb7b349c.zip} +0 -0
- package/.yarn/cache/joi-npm-18.0.2-79a3fbcace-0cf4980caf.zip +0 -0
- package/.yarn/cache/js-yaml-npm-4.1.1-86ec786790-a52d0519f0.zip +0 -0
- package/.yarn/cache/{nodemon-npm-3.1.10-a345fb1076-af5f63d0b4.zip → nodemon-npm-3.1.11-eb55b13338-0f43d2c70a.zip} +0 -0
- package/.yarn/cache/redis-npm-5.10.0-dec025e9a2-f88a7098e2.zip +0 -0
- package/.yarn/cache/{ts-jest-npm-29.4.5-5dad11fc5b-48d867e070.zip → ts-jest-npm-29.4.6-a9cc323ce9-e0ff9e13f6.zip} +0 -0
- package/.yarn/cache/{validator-npm-13.15.20-81be70a87b-498f9b201d.zip → validator-npm-13.15.23-617cdf95cc-03e4a37c04.zip} +0 -0
- package/.yarn/install-state.gz +0 -0
- package/.yarn/releases/{yarn-4.10.3.cjs → yarn-4.12.0.cjs} +300 -300
- package/.yarnrc.yml +1 -1
- package/CHANGELOG.md +12 -0
- package/modules/api-svc/package.json +5 -5
- package/modules/api-svc/src/OutboundServer/handlers.js +3 -3
- package/modules/api-svc/src/lib/model/OutboundTransfersModel.js +52 -6
- package/modules/api-svc/test/unit/lib/model/OutboundTransfersModel.test.js +1 -1
- package/modules/outbound-command-event-handler/package.json +10 -10
- package/modules/outbound-domain-event-handler/package.json +8 -8
- package/modules/private-shared-lib/package.json +9 -9
- package/package.json +9 -10
- package/{sbom-v24.15.2.csv → sbom-v24.16.0.csv} +214 -214
- package/.yarn/cache/@eslint-compat-npm-1.4.1-68e5276ed9-2345ba0991.zip +0 -0
- package/.yarn/cache/@eslint-core-npm-0.17.0-8579df04c4-f9a428cc65.zip +0 -0
- package/.yarn/cache/@types-express-npm-5.0.5-450717ee89-9e72410286.zip +0 -0
- package/.yarn/cache/@types-send-npm-0.17.6-fe650e1f5c-4948ab32ab.zip +0 -0
- package/.yarn/cache/@types-serve-static-npm-1.15.10-7bd7926ff3-d9be724875.zip +0 -0
- package/.yarn/cache/axios-npm-1.12.0-58e24ac59e-6c45e294b6.zip +0 -0
- package/.yarn/cache/brace-expansion-npm-2.0.2-bc7f134bbc-01dff195e3.zip +0 -0
- package/.yarn/cache/redis-npm-5.9.0-dc6753f6da-bf2f1ca0c2.zip +0 -0
package/.yarnrc.yml
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,16 @@
|
|
|
1
1
|
# Changelog: [mojaloop/sdk-scheme-adapter](https://github.com/mojaloop/sdk-scheme-adapter)
|
|
2
|
+
## [24.16.0](https://github.com/mojaloop/sdk-scheme-adapter/compare/v24.15.3...v24.16.0) (2025-12-02)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* add metrics for fx steps in model ([#635](https://github.com/mojaloop/sdk-scheme-adapter/issues/635)) ([f4e4082](https://github.com/mojaloop/sdk-scheme-adapter/commit/f4e40824f40b652ff16786c8c5c522d2107cdcb3))
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Chore
|
|
11
|
+
|
|
12
|
+
* **sbom:** update sbom [skip ci] ([426600b](https://github.com/mojaloop/sdk-scheme-adapter/commit/426600bdf4a557ca034ec2f3492a4e00704b5605))
|
|
13
|
+
|
|
2
14
|
### [24.15.3](https://github.com/mojaloop/sdk-scheme-adapter/compare/v24.15.2...v24.15.3) (2025-11-11)
|
|
3
15
|
|
|
4
16
|
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"@mojaloop/central-services-error-handling": "13.1.4",
|
|
71
71
|
"@mojaloop/central-services-logger": "11.10.1",
|
|
72
72
|
"@mojaloop/central-services-metrics": "12.8.1",
|
|
73
|
-
"@mojaloop/central-services-shared": "18.34.
|
|
73
|
+
"@mojaloop/central-services-shared": "18.34.4",
|
|
74
74
|
"@mojaloop/event-sdk": "14.8.1",
|
|
75
75
|
"@mojaloop/logging-bc-client-lib": "0.5.8",
|
|
76
76
|
"@mojaloop/ml-schema-transformer-lib": "2.7.8",
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"@mojaloop/sdk-standard-components": "19.18.0",
|
|
79
79
|
"ajv": "8.17.1",
|
|
80
80
|
"axios": "1.13.2",
|
|
81
|
-
"body-parser": "2.2.
|
|
81
|
+
"body-parser": "2.2.1",
|
|
82
82
|
"co-body": "6.2.0",
|
|
83
83
|
"dotenv": "17.2.3",
|
|
84
84
|
"env-var": "7.5.0",
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
"fast-json-patch": "3.1.1",
|
|
87
87
|
"fast-safe-stringify": "2.1.1",
|
|
88
88
|
"javascript-state-machine": "3.1.0",
|
|
89
|
-
"js-yaml": "4.1.
|
|
89
|
+
"js-yaml": "4.1.1",
|
|
90
90
|
"json-schema-ref-parser": "9.0.9",
|
|
91
91
|
"knex": "3.1.0",
|
|
92
92
|
"koa": "3.1.1",
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
"prom-client": "15.1.3",
|
|
99
99
|
"promise-timeout": "1.3.0",
|
|
100
100
|
"random-word-slugs": "0.1.7",
|
|
101
|
-
"redis": "5.
|
|
101
|
+
"redis": "5.10.0",
|
|
102
102
|
"retry": "^0.13.1",
|
|
103
103
|
"uuidv4": "6.2.13",
|
|
104
104
|
"ws": "8.18.3"
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
"eslint": "9.15.0",
|
|
115
115
|
"eslint-config-airbnb-base": "15.0.0",
|
|
116
116
|
"eslint-plugin-import": "2.32.0",
|
|
117
|
-
"eslint-plugin-jest": "29.
|
|
117
|
+
"eslint-plugin-jest": "29.2.1",
|
|
118
118
|
"jest": "29.7.0",
|
|
119
119
|
"jest-junit": "16.0.0",
|
|
120
120
|
"npm-check-updates": "16.7.10",
|
|
@@ -155,7 +155,7 @@ const postTransfers = async (ctx) => {
|
|
|
155
155
|
const model = createOutboundTransfersModel(ctx);
|
|
156
156
|
|
|
157
157
|
// initialize the transfer model and start it running
|
|
158
|
-
await model.initialize(transferRequest);
|
|
158
|
+
await model.initialize(transferRequest, ctx.request.headers);
|
|
159
159
|
const response = await model.run();
|
|
160
160
|
|
|
161
161
|
// return the result
|
|
@@ -182,7 +182,7 @@ const getTransfers = async (ctx) => {
|
|
|
182
182
|
const model = createOutboundTransfersModel(ctx);
|
|
183
183
|
|
|
184
184
|
// initialize the transfer model and start it running
|
|
185
|
-
await model.initialize(transferRequest);
|
|
185
|
+
await model.initialize(transferRequest, ctx.request.headers);
|
|
186
186
|
const response = await model.run();
|
|
187
187
|
|
|
188
188
|
// return the result
|
|
@@ -207,7 +207,7 @@ const putTransfers = async (ctx) => {
|
|
|
207
207
|
// TODO: check the incoming body to reject party or quote when requested to do so
|
|
208
208
|
|
|
209
209
|
// load the transfer model from cache and start it running again
|
|
210
|
-
await model.load(ctx.state.path.params.transferId);
|
|
210
|
+
await model.load(ctx.state.path.params.transferId, ctx.request.headers);
|
|
211
211
|
|
|
212
212
|
const response = await model.run(ctx.request.body);
|
|
213
213
|
|
|
@@ -135,12 +135,24 @@ class OutboundTransfersModel {
|
|
|
135
135
|
quoteResponses: config.metricsClient.getCounter(
|
|
136
136
|
'mojaloop_connector_outbound_quote_response_count',
|
|
137
137
|
'Count of responses received to outbound quote requests'),
|
|
138
|
+
fxQuoteRequests: config.metricsClient.getCounter(
|
|
139
|
+
'mojaloop_connector_outbound_fx_quote_request_count',
|
|
140
|
+
'Count of outbound FX quote requests sent'),
|
|
141
|
+
fxQuoteResponses: config.metricsClient.getCounter(
|
|
142
|
+
'mojaloop_connector_outbound_fx_quote_response_count',
|
|
143
|
+
'Count of responses received to outbound FX quote requests'),
|
|
138
144
|
transferPrepares: config.metricsClient.getCounter(
|
|
139
145
|
'mojaloop_connector_outbound_transfer_prepare_count',
|
|
140
146
|
'Count of outbound transfer prepare requests sent'),
|
|
141
147
|
transferFulfils: config.metricsClient.getCounter(
|
|
142
148
|
'mojaloop_connector_outbound_transfer_fulfil_response_count',
|
|
143
149
|
'Count of responses received to outbound transfer prepares'),
|
|
150
|
+
fxTransferPrepares: config.metricsClient.getCounter(
|
|
151
|
+
'mojaloop_connector_outbound_fx_transfer_prepare_count',
|
|
152
|
+
'Count of outbound FX transfer prepare requests sent'),
|
|
153
|
+
fxTransferFulfils: config.metricsClient.getCounter(
|
|
154
|
+
'mojaloop_connector_outbound_fx_transfer_fulfil_response_count',
|
|
155
|
+
'Count of responses received to outbound FX transfer prepares'),
|
|
144
156
|
partyLookupLatency: config.metricsClient.getHistogram(
|
|
145
157
|
'mojaloop_connector_outbound_party_lookup_latency',
|
|
146
158
|
'Time taken for a response to a party lookup request to be received'),
|
|
@@ -149,7 +161,13 @@ class OutboundTransfersModel {
|
|
|
149
161
|
'Time taken for a response to a quote request to be received'),
|
|
150
162
|
transferLatency: config.metricsClient.getHistogram(
|
|
151
163
|
'mojaloop_connector_outbound_transfer_latency',
|
|
152
|
-
'Time taken for a response to a transfer prepare to be received')
|
|
164
|
+
'Time taken for a response to a transfer prepare to be received'),
|
|
165
|
+
fxQuoteLatency: config.metricsClient.getHistogram(
|
|
166
|
+
'mojaloop_connector_outbound_fx_quote_latency',
|
|
167
|
+
'Time taken for a response to an FX quote request to be received'),
|
|
168
|
+
fxTransferLatency: config.metricsClient.getHistogram(
|
|
169
|
+
'mojaloop_connector_outbound_fx_transfer_latency',
|
|
170
|
+
'Time taken for a response to an FX transfer to be received')
|
|
153
171
|
};
|
|
154
172
|
|
|
155
173
|
this.getServicesFxpResponse = config.getServicesFxpResponse;
|
|
@@ -235,9 +253,16 @@ class OutboundTransfersModel {
|
|
|
235
253
|
*
|
|
236
254
|
* @param data {object} - The inbound API POST /transfers request body
|
|
237
255
|
*/
|
|
238
|
-
async initialize(data) {
|
|
256
|
+
async initialize(data, { traceparent, baggage} = {}) {
|
|
239
257
|
this.data = data;
|
|
240
258
|
|
|
259
|
+
if (traceparent) {
|
|
260
|
+
this._traceFlags = traceparent.split('-').pop();
|
|
261
|
+
this.data.traceId = traceparent.split('-')[1];
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
this._baggage = baggage;
|
|
265
|
+
|
|
241
266
|
// add a transferId if one is not present e.g. on first submission
|
|
242
267
|
if(!this.data.hasOwnProperty('transferId')) {
|
|
243
268
|
this.data.transferId = this._idGenerator();
|
|
@@ -570,11 +595,13 @@ class OutboundTransfersModel {
|
|
|
570
595
|
}
|
|
571
596
|
|
|
572
597
|
async _requestFxQuote() {
|
|
598
|
+
let latencyTimerDone;
|
|
573
599
|
try {
|
|
574
600
|
this.data.fxQuoteExpiration = this._getExpirationTimestamp();
|
|
575
601
|
const payload = dto.outboundPostFxQuotePayloadDto(this.data);
|
|
576
602
|
const channel = `${CacheKeyPrefixes.FX_QUOTE_CALLBACK_CHANNEL}_${payload.conversionRequestId}`;
|
|
577
603
|
|
|
604
|
+
latencyTimerDone = this.metrics.fxQuoteLatency.startTimer();
|
|
578
605
|
const subscribing = this._cache.subscribeToOneMessageWithTimer(channel);
|
|
579
606
|
|
|
580
607
|
const resp = await this._requests.postFxQuotes(
|
|
@@ -590,10 +617,16 @@ class OutboundTransfersModel {
|
|
|
590
617
|
body: payload,
|
|
591
618
|
headers: originalRequest.headers
|
|
592
619
|
};
|
|
620
|
+
this.metrics.fxQuoteRequests.inc();
|
|
593
621
|
this._logger.isVerboseEnabled && this._logger.push({ fxQuotePayload: payload }).verbose('fxQuote request is sent to hub');
|
|
594
622
|
|
|
595
623
|
const message = await subscribing;
|
|
596
624
|
|
|
625
|
+
if (latencyTimerDone) {
|
|
626
|
+
latencyTimerDone();
|
|
627
|
+
}
|
|
628
|
+
this.metrics.fxQuoteResponses.inc();
|
|
629
|
+
|
|
597
630
|
if (message instanceof Error) throw message;
|
|
598
631
|
const { body, headers } = message.data;
|
|
599
632
|
|
|
@@ -622,6 +655,9 @@ class OutboundTransfersModel {
|
|
|
622
655
|
|
|
623
656
|
return payload; // think, if we need to return something at this point
|
|
624
657
|
} catch (err) {
|
|
658
|
+
if (latencyTimerDone) {
|
|
659
|
+
latencyTimerDone();
|
|
660
|
+
}
|
|
625
661
|
this._logger.push({ err }).error(`error in _requestFxQuote: ${err.message}`);
|
|
626
662
|
throw err;
|
|
627
663
|
}
|
|
@@ -812,20 +848,26 @@ class OutboundTransfersModel {
|
|
|
812
848
|
|
|
813
849
|
|
|
814
850
|
async _executeFxTransfer() {
|
|
851
|
+
let latencyTimerDone;
|
|
815
852
|
try {
|
|
816
|
-
|
|
817
853
|
this.data.fxTransferExpiration = this._getExpirationTimestamp();
|
|
818
854
|
const payload = dto.outboundPostFxTransferPayloadDto(this.data);
|
|
819
855
|
const channel = `${CacheKeyPrefixes.FX_TRANSFER_CALLBACK_CHANNEL}_${payload.commitRequestId}`;
|
|
820
856
|
|
|
857
|
+
latencyTimerDone = this.metrics.fxTransferLatency.startTimer();
|
|
821
858
|
const subscribing = this._cache.subscribeToOneMessageWithTimer(channel);
|
|
822
859
|
|
|
823
860
|
const { originalRequest } = await this._requests.postFxTransfers(payload, payload.counterPartyFsp, this.#createOtelHeaders());
|
|
824
861
|
this.data.fxTransferRequest = { body: payload , headers: originalRequest.headers };
|
|
862
|
+
this.metrics.fxTransferPrepares.inc();
|
|
825
863
|
this._logger.push({ originalRequest }).verbose('fxTransfers request is sent to hub');
|
|
826
864
|
|
|
827
865
|
const message = await subscribing;
|
|
828
866
|
|
|
867
|
+
if (latencyTimerDone) {
|
|
868
|
+
latencyTimerDone();
|
|
869
|
+
}
|
|
870
|
+
this.metrics.fxTransferFulfils.inc();
|
|
829
871
|
if (message instanceof Error) throw message;
|
|
830
872
|
|
|
831
873
|
const { body, headers } = message.data;
|
|
@@ -856,6 +898,9 @@ class OutboundTransfersModel {
|
|
|
856
898
|
|
|
857
899
|
return payload; // think, if we need to return something at this point
|
|
858
900
|
} catch (err) {
|
|
901
|
+
if (latencyTimerDone) {
|
|
902
|
+
latencyTimerDone();
|
|
903
|
+
}
|
|
859
904
|
this._logger.push({ err }).error(`error in _executeFxTransfer: ${err.message}`);
|
|
860
905
|
throw err;
|
|
861
906
|
}
|
|
@@ -1277,14 +1322,14 @@ class OutboundTransfersModel {
|
|
|
1277
1322
|
*
|
|
1278
1323
|
* @param transferId {string} - UUID transferId of the model to load from cache
|
|
1279
1324
|
*/
|
|
1280
|
-
async load(transferId) {
|
|
1325
|
+
async load(transferId, headers) {
|
|
1281
1326
|
try {
|
|
1282
1327
|
const data = await this._cache.get(`transferModel_out_${transferId}`);
|
|
1283
1328
|
|
|
1284
1329
|
if(!data) {
|
|
1285
1330
|
throw new Error(`No cached data found for transferId: ${transferId}`);
|
|
1286
1331
|
}
|
|
1287
|
-
await this.initialize(data);
|
|
1332
|
+
await this.initialize(data, headers);
|
|
1288
1333
|
this._logger.isDebugEnabled && this._logger.push({ cache: this.data }).debug('Transfer model loaded from cached state');
|
|
1289
1334
|
}
|
|
1290
1335
|
catch (err) {
|
|
@@ -1505,7 +1550,7 @@ class OutboundTransfersModel {
|
|
|
1505
1550
|
|
|
1506
1551
|
#generateTraceId() {
|
|
1507
1552
|
// todo: add possibility to generate traceId based on transferId
|
|
1508
|
-
this.data.traceId
|
|
1553
|
+
this.data.traceId ||= randomBytes(16).toString('hex');
|
|
1509
1554
|
const { traceId, transferId } = this.data;
|
|
1510
1555
|
this._logger.isInfoEnabled && this._logger.push({ traceId, transferId }).info('traceId is generated');
|
|
1511
1556
|
return traceId;
|
|
@@ -1514,6 +1559,7 @@ class OutboundTransfersModel {
|
|
|
1514
1559
|
#createOtelHeaders() {
|
|
1515
1560
|
return Object.freeze({
|
|
1516
1561
|
traceparent: generateTraceparent(this.data.traceId, this._traceFlags),
|
|
1562
|
+
...this._baggage && { baggage: this._baggage },
|
|
1517
1563
|
});
|
|
1518
1564
|
}
|
|
1519
1565
|
}
|
|
@@ -160,7 +160,7 @@ describe('OutboundTransfersModel Tests', () => {
|
|
|
160
160
|
metricsClient,
|
|
161
161
|
});
|
|
162
162
|
|
|
163
|
-
await model.initialize(JSON.parse(JSON.stringify(transferRequest)));
|
|
163
|
+
await model.initialize(JSON.parse(JSON.stringify(transferRequest)), {traceparent: '00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01', baggage: 'key1=val1,key2=val2'});
|
|
164
164
|
|
|
165
165
|
let expectError;
|
|
166
166
|
if (rejects.quoteResponse && delays.requestQuotes && expirySeconds < delays.requestQuotes) {
|
|
@@ -42,39 +42,39 @@
|
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@mojaloop/api-snippets": "18.2.1",
|
|
45
|
-
"@mojaloop/central-services-shared": "18.34.
|
|
45
|
+
"@mojaloop/central-services-shared": "18.34.4",
|
|
46
46
|
"@mojaloop/logging-bc-client-lib": "0.5.8",
|
|
47
|
-
"@mojaloop/logging-bc-public-types-lib": "0.5.
|
|
47
|
+
"@mojaloop/logging-bc-public-types-lib": "0.5.7",
|
|
48
48
|
"@mojaloop/sdk-scheme-adapter-private-shared-lib": "workspace:^",
|
|
49
49
|
"ajv": "8.17.1",
|
|
50
50
|
"ajv-formats": "3.0.1",
|
|
51
51
|
"convict": "6.2.4",
|
|
52
52
|
"express": "4.21.2",
|
|
53
53
|
"openapi-backend": "5.15.0",
|
|
54
|
-
"redis": "5.
|
|
54
|
+
"redis": "5.10.0",
|
|
55
55
|
"swagger-ui-express": "5.0.1",
|
|
56
56
|
"yamljs": "0.3.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@eslint/compat": "
|
|
59
|
+
"@eslint/compat": "2.0.0",
|
|
60
60
|
"@types/convict": "6.1.6",
|
|
61
|
-
"@types/express": "5.0.
|
|
61
|
+
"@types/express": "5.0.6",
|
|
62
62
|
"@types/jest": "30.0.0",
|
|
63
|
-
"@types/node": "24.10.
|
|
63
|
+
"@types/node": "24.10.1",
|
|
64
64
|
"@types/node-cache": "4.2.5",
|
|
65
65
|
"@types/supertest": "6.0.3",
|
|
66
66
|
"@types/swagger-ui-express": "4.1.8",
|
|
67
67
|
"@types/yamljs": "0.2.34",
|
|
68
|
-
"@typescript-eslint/eslint-plugin": "8.
|
|
69
|
-
"@typescript-eslint/parser": "8.
|
|
68
|
+
"@typescript-eslint/eslint-plugin": "8.48.1",
|
|
69
|
+
"@typescript-eslint/parser": "8.48.1",
|
|
70
70
|
"copyfiles": "2.4.1",
|
|
71
71
|
"eslint": "9.15.0",
|
|
72
72
|
"jest": "29.7.0",
|
|
73
|
-
"nodemon": "3.1.
|
|
73
|
+
"nodemon": "3.1.11",
|
|
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.
|
|
77
|
+
"ts-jest": "29.4.6",
|
|
78
78
|
"ts-node": "10.9.2",
|
|
79
79
|
"typescript": "5.9.3"
|
|
80
80
|
},
|
|
@@ -43,35 +43,35 @@
|
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@mojaloop/api-snippets": "18.2.1",
|
|
45
45
|
"@mojaloop/logging-bc-client-lib": "0.5.8",
|
|
46
|
-
"@mojaloop/logging-bc-public-types-lib": "0.5.
|
|
46
|
+
"@mojaloop/logging-bc-public-types-lib": "0.5.7",
|
|
47
47
|
"@mojaloop/sdk-scheme-adapter-private-shared-lib": "workspace:^",
|
|
48
48
|
"ajv-formats": "3.0.1",
|
|
49
49
|
"convict": "6.2.4",
|
|
50
50
|
"express": "4.21.2",
|
|
51
51
|
"openapi-backend": "5.15.0",
|
|
52
|
-
"redis": "5.
|
|
52
|
+
"redis": "5.10.0",
|
|
53
53
|
"swagger-ui-express": "5.0.1",
|
|
54
54
|
"yamljs": "0.3.0"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@types/convict": "6.1.6",
|
|
58
|
-
"@types/express": "5.0.
|
|
58
|
+
"@types/express": "5.0.6",
|
|
59
59
|
"@types/jest": "30.0.0",
|
|
60
|
-
"@types/node": "24.10.
|
|
60
|
+
"@types/node": "24.10.1",
|
|
61
61
|
"@types/node-cache": "4.2.5",
|
|
62
62
|
"@types/supertest": "6.0.3",
|
|
63
63
|
"@types/swagger-ui-express": "4.1.8",
|
|
64
64
|
"@types/yamljs": "0.2.34",
|
|
65
|
-
"@typescript-eslint/eslint-plugin": "8.
|
|
66
|
-
"@typescript-eslint/parser": "8.
|
|
65
|
+
"@typescript-eslint/eslint-plugin": "8.48.1",
|
|
66
|
+
"@typescript-eslint/parser": "8.48.1",
|
|
67
67
|
"copyfiles": "2.4.1",
|
|
68
68
|
"eslint": "9.15.0",
|
|
69
69
|
"jest": "29.7.0",
|
|
70
|
-
"nodemon": "3.1.
|
|
70
|
+
"nodemon": "3.1.11",
|
|
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.
|
|
74
|
+
"ts-jest": "29.4.6",
|
|
75
75
|
"ts-node": "10.9.2",
|
|
76
76
|
"typescript": "5.9.3"
|
|
77
77
|
},
|
|
@@ -32,26 +32,26 @@
|
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@mojaloop/api-snippets": "18.2.1",
|
|
35
|
-
"@mojaloop/central-services-shared": "18.34.
|
|
36
|
-
"@mojaloop/logging-bc-public-types-lib": "0.5.
|
|
37
|
-
"@mojaloop/platform-shared-lib-messaging-types-lib": "0.7.
|
|
35
|
+
"@mojaloop/central-services-shared": "18.34.4",
|
|
36
|
+
"@mojaloop/logging-bc-public-types-lib": "0.5.7",
|
|
37
|
+
"@mojaloop/platform-shared-lib-messaging-types-lib": "0.7.4",
|
|
38
38
|
"@mojaloop/platform-shared-lib-nodejs-kafka-client-lib": "0.5.18",
|
|
39
39
|
"ajv": "8.17.1",
|
|
40
|
-
"redis": "5.
|
|
40
|
+
"redis": "5.10.0",
|
|
41
41
|
"uuid": "11.1.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@eslint/compat": "
|
|
45
|
-
"@types/node": "24.10.
|
|
44
|
+
"@eslint/compat": "2.0.0",
|
|
45
|
+
"@types/node": "24.10.1",
|
|
46
46
|
"@types/uuid": "10.0.0",
|
|
47
|
-
"@typescript-eslint/eslint-plugin": "8.
|
|
48
|
-
"@typescript-eslint/parser": "8.
|
|
47
|
+
"@typescript-eslint/eslint-plugin": "8.48.1",
|
|
48
|
+
"@typescript-eslint/parser": "8.48.1",
|
|
49
49
|
"eslint": "9.15.0",
|
|
50
50
|
"jest": "29.7.0",
|
|
51
51
|
"npm-check-updates": "16.7.10",
|
|
52
52
|
"replace": "1.2.2",
|
|
53
53
|
"standard-version": "9.5.0",
|
|
54
|
-
"ts-jest": "29.4.
|
|
54
|
+
"ts-jest": "29.4.6",
|
|
55
55
|
"tslib": "2.8.1",
|
|
56
56
|
"typescript": "5.9.3"
|
|
57
57
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mojaloop/sdk-scheme-adapter",
|
|
3
|
-
"version": "24.
|
|
3
|
+
"version": "24.17.0-traceid.0",
|
|
4
4
|
"description": "mojaloop sdk-scheme-adapter",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://github.com/mojaloop/sdk-scheme-adapter",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"Yevhen Kyriukha <yevhen.kyriukha@modusbox.com>",
|
|
19
19
|
"Vijay Kumar Guthi <vijaya.guthi@modusbox.com>"
|
|
20
20
|
],
|
|
21
|
-
"packageManager": "yarn@4.
|
|
21
|
+
"packageManager": "yarn@4.12.0",
|
|
22
22
|
"engines": {
|
|
23
23
|
"yarn": "3.2.0"
|
|
24
24
|
},
|
|
@@ -83,10 +83,10 @@
|
|
|
83
83
|
},
|
|
84
84
|
"devDependencies": {
|
|
85
85
|
"@types/jest": "30.0.0",
|
|
86
|
-
"@types/node": "24.10.
|
|
86
|
+
"@types/node": "24.10.1",
|
|
87
87
|
"@types/node-cache": "4.2.5",
|
|
88
|
-
"@typescript-eslint/eslint-plugin": "8.
|
|
89
|
-
"@typescript-eslint/parser": "8.
|
|
88
|
+
"@typescript-eslint/eslint-plugin": "8.48.1",
|
|
89
|
+
"@typescript-eslint/parser": "8.48.1",
|
|
90
90
|
"audit-ci": "7.1.0",
|
|
91
91
|
"eslint": "9.15.0",
|
|
92
92
|
"eslint-config-airbnb-typescript": "18.0.0",
|
|
@@ -94,11 +94,11 @@
|
|
|
94
94
|
"husky": "9.1.7",
|
|
95
95
|
"jest": "29.7.0",
|
|
96
96
|
"knex": "3.1.0",
|
|
97
|
-
"nodemon": "3.1.
|
|
97
|
+
"nodemon": "3.1.11",
|
|
98
98
|
"npm-check-updates": "16.7.10",
|
|
99
99
|
"replace": "1.2.2",
|
|
100
100
|
"standard-version": "9.5.0",
|
|
101
|
-
"ts-jest": "29.4.
|
|
101
|
+
"ts-jest": "29.4.6",
|
|
102
102
|
"ts-node": "10.9.2",
|
|
103
103
|
"typescript": "5.9.3",
|
|
104
104
|
"yarn-audit-fix": "10.1.1"
|
|
@@ -117,9 +117,9 @@
|
|
|
117
117
|
},
|
|
118
118
|
"resolutions": {
|
|
119
119
|
"@mojaloop/api-snippets": "17.10.3",
|
|
120
|
-
"axios": "1.
|
|
120
|
+
"axios": "1.8.2",
|
|
121
121
|
"body-parser": "1.20.3",
|
|
122
|
-
"brace-expansion": "2.0.
|
|
122
|
+
"brace-expansion": "2.0.1",
|
|
123
123
|
"cacache/tar": "6.2.1",
|
|
124
124
|
"cookie": "1.0.2",
|
|
125
125
|
"express": "4.21.2",
|
|
@@ -140,7 +140,6 @@
|
|
|
140
140
|
"shins/express": "4.19.2",
|
|
141
141
|
"serve-static/send": "0.19.0",
|
|
142
142
|
"tar": "7.5.2",
|
|
143
|
-
"validator": "13.15.20",
|
|
144
143
|
"widdershins/yargs-parser": "13.1.2",
|
|
145
144
|
"widdershins/markdown-it": "12.3.2",
|
|
146
145
|
"widdershins/swagger2openapi": "7.0.8",
|