@mojaloop/sdk-scheme-adapter 24.6.3 → 24.7.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/.ncurc.yaml +3 -1
- package/.yarn/cache/{@eslint-compat-npm-1.2.7-b26d41d869-bdb5102a1e.zip → @eslint-compat-npm-1.2.8-924778e318-521c9c401a.zip} +0 -0
- package/.yarn/cache/@mojaloop-api-snippets-npm-17.10.2-c5062d8334-f0f31ce621.zip +0 -0
- package/.yarn/cache/@mojaloop-central-services-logger-npm-11.7.0-bd1e0d14fc-386d668607.zip +0 -0
- package/.yarn/cache/@mojaloop-central-services-logger-npm-11.8.1-b87fd96eee-32d5d8371e.zip +0 -0
- package/.yarn/cache/@mojaloop-central-services-shared-npm-18.23.2-5627dda2e3-5fb84a745d.zip +0 -0
- package/.yarn/cache/@mojaloop-inter-scheme-proxy-cache-lib-npm-2.4.0-cc60317958-8e539f65c3.zip +0 -0
- package/.yarn/cache/@mojaloop-ml-schema-transformer-lib-npm-2.7.1-ae0bf1bc84-22d432a97e.zip +0 -0
- package/.yarn/cache/@mojaloop-platform-shared-lib-messaging-types-lib-npm-0.7.2-78aca92dea-243dc1cf20.zip +0 -0
- package/.yarn/cache/@rollup-rollup-linux-x64-musl-npm-4.38.0-b90e9e8cf8-8.zip +0 -0
- package/.yarn/cache/{@types-node-npm-22.13.14-2796c41449-8c5a3c1ec0.zip → @types-node-npm-22.14.0-a09e354ed5-8bfae1d3c4.zip} +0 -0
- package/.yarn/cache/{@typescript-eslint-eslint-plugin-npm-8.28.0-16bd93a9cb-97e2e05864.zip → @typescript-eslint-eslint-plugin-npm-8.29.0-9227710d0b-83475d3a47.zip} +0 -0
- package/.yarn/cache/{@typescript-eslint-parser-npm-8.28.0-3e5cf59c3a-c7a90e4933.zip → @typescript-eslint-parser-npm-8.29.0-510bf7f523-96a1a8cc8a.zip} +0 -0
- package/.yarn/cache/{@typescript-eslint-scope-manager-npm-8.28.0-64219db177-27a7b60c55.zip → @typescript-eslint-scope-manager-npm-8.29.0-6046e43075-89a5999ba8.zip} +0 -0
- package/.yarn/cache/{@typescript-eslint-type-utils-npm-8.28.0-880209d847-2f231cebcc.zip → @typescript-eslint-type-utils-npm-8.29.0-1674862818-553fde7826.zip} +0 -0
- package/.yarn/cache/{@typescript-eslint-types-npm-8.28.0-648d0ea17f-555f1e7a74.zip → @typescript-eslint-types-npm-8.29.0-be9f1bbfb7-30bf710e21.zip} +0 -0
- package/.yarn/cache/{@typescript-eslint-typescript-estree-npm-8.28.0-d19a78207c-7e4e3b1580.zip → @typescript-eslint-typescript-estree-npm-8.29.0-92fb2cc910-7275c61dc5.zip} +0 -0
- package/.yarn/cache/{@typescript-eslint-utils-npm-8.28.0-d61217bfde-56e3cb6e6e.zip → @typescript-eslint-utils-npm-8.29.0-ebf0886c15-81d1afc5de.zip} +0 -0
- package/.yarn/cache/{@typescript-eslint-visitor-keys-npm-8.28.0-54d3bc097e-e95b207508.zip → @typescript-eslint-visitor-keys-npm-8.29.0-e8a9b1561e-d306a7d96b.zip} +0 -0
- package/.yarn/cache/immutable-npm-5.1.1-ede841e886-02f8c8a106.zip +0 -0
- package/.yarn/cache/{ts-jest-npm-29.3.0-8cb17d4807-791f39ba74.zip → ts-jest-npm-29.3.1-c9a9791a5c-7320bbfab2.zip} +0 -0
- package/.yarn/cache/{type-fest-npm-4.37.0-91bfb2c937-303f34778e.zip → type-fest-npm-4.39.1-227092867f-71ce0e2582.zip} +0 -0
- package/.yarn/cache/undici-types-npm-6.21.0-eb2b0ed56a-46331c7d60.zip +0 -0
- package/.yarn/install-state.gz +0 -0
- package/CHANGELOG.md +7 -0
- package/modules/api-svc/package.json +5 -5
- package/modules/api-svc/src/index.js +12 -8
- package/modules/outbound-command-event-handler/package.json +8 -8
- package/modules/outbound-domain-event-handler/package.json +6 -6
- package/modules/private-shared-lib/package.json +9 -9
- package/package.json +5 -5
- package/.yarn/cache/@mojaloop-platform-shared-lib-messaging-types-lib-npm-0.7.1-d963408f5b-e019b81177.zip +0 -0
package/.ncurc.yaml
CHANGED
|
@@ -10,5 +10,7 @@ reject: [
|
|
|
10
10
|
## TODO: The new version of nx causes submodules to be broken.
|
|
11
11
|
"nx",
|
|
12
12
|
## esLint 9.15.0 caused the error: TypeError: Error while loading rule '@typescript-eslint/no-unused-expressions': Cannot read properties of undefined (reading 'allowShortCircuit')
|
|
13
|
-
"eslint"
|
|
13
|
+
"eslint",
|
|
14
|
+
## express >5 introduces breaking changes that are not compatible with the current codebase.
|
|
15
|
+
"express"
|
|
14
16
|
]
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/.yarn/cache/@mojaloop-inter-scheme-proxy-cache-lib-npm-2.4.0-cc60317958-8e539f65c3.zip
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/.yarn/install-state.gz
CHANGED
|
Binary file
|
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
# Changelog: [mojaloop/sdk-scheme-adapter](https://github.com/mojaloop/sdk-scheme-adapter)
|
|
2
|
+
## [24.7.0](https://github.com/mojaloop/sdk-scheme-adapter/compare/v24.6.3...v24.7.0) (2025-04-05)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* move heartbeat before client attempts connection ([#570](https://github.com/mojaloop/sdk-scheme-adapter/issues/570)) ([5a7c36a](https://github.com/mojaloop/sdk-scheme-adapter/commit/5a7c36a0a16fc9dfb63b6bb827ed8b10aca1c619))
|
|
8
|
+
|
|
2
9
|
### [24.6.3](https://github.com/mojaloop/sdk-scheme-adapter/compare/v24.6.2...v24.6.3) (2025-03-27)
|
|
3
10
|
|
|
4
11
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mojaloop/sdk-scheme-adapter-api-svc",
|
|
3
|
-
"version": "21.0.0-snapshot.
|
|
3
|
+
"version": "21.0.0-snapshot.32",
|
|
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",
|
|
@@ -64,14 +64,14 @@
|
|
|
64
64
|
},
|
|
65
65
|
"dependencies": {
|
|
66
66
|
"@koa/cors": "5.0.0",
|
|
67
|
-
"@mojaloop/api-snippets": "17.10.
|
|
67
|
+
"@mojaloop/api-snippets": "17.10.2",
|
|
68
68
|
"@mojaloop/central-services-error-handling": "13.0.7",
|
|
69
|
-
"@mojaloop/central-services-logger": "11.8.
|
|
69
|
+
"@mojaloop/central-services-logger": "11.8.1",
|
|
70
70
|
"@mojaloop/central-services-metrics": "12.5.0",
|
|
71
|
-
"@mojaloop/central-services-shared": "18.23.
|
|
71
|
+
"@mojaloop/central-services-shared": "18.23.2",
|
|
72
72
|
"@mojaloop/event-sdk": "14.4.0",
|
|
73
73
|
"@mojaloop/logging-bc-client-lib": "0.5.8",
|
|
74
|
-
"@mojaloop/ml-schema-transformer-lib": "2.7.
|
|
74
|
+
"@mojaloop/ml-schema-transformer-lib": "2.7.1",
|
|
75
75
|
"@mojaloop/sdk-scheme-adapter-private-shared-lib": "workspace:^",
|
|
76
76
|
"@mojaloop/sdk-standard-components": "19.11.2",
|
|
77
77
|
"ajv": "8.17.1",
|
|
@@ -282,13 +282,6 @@ class Server extends EventEmitter {
|
|
|
282
282
|
await this.controlClient?.stop();
|
|
283
283
|
if (this.conf.pm4mlEnabled) {
|
|
284
284
|
const RESTART_INTERVAL_MS = 10000;
|
|
285
|
-
this.controlClient = await ControlAgent.Client.Create({
|
|
286
|
-
address: newConf.control.mgmtAPIWsUrl,
|
|
287
|
-
port: newConf.control.mgmtAPIWsPort,
|
|
288
|
-
logger: this.logger,
|
|
289
|
-
appConfig: newConf,
|
|
290
|
-
});
|
|
291
|
-
this.controlClient.on(ControlAgent.EVENT.RECONFIGURE, this.restart.bind(this));
|
|
292
285
|
|
|
293
286
|
const schedulePing = () => {
|
|
294
287
|
clearTimeout(this.pingTimeout);
|
|
@@ -300,6 +293,18 @@ class Server extends EventEmitter {
|
|
|
300
293
|
}, PING_INTERVAL_MS + this.conf.control.mgmtAPILatencyAssumption);
|
|
301
294
|
};
|
|
302
295
|
|
|
296
|
+
schedulePing();
|
|
297
|
+
|
|
298
|
+
this.controlClient = await ControlAgent.Client.Create({
|
|
299
|
+
address: newConf.control.mgmtAPIWsUrl,
|
|
300
|
+
port: newConf.control.mgmtAPIWsPort,
|
|
301
|
+
logger: this.logger,
|
|
302
|
+
appConfig: newConf,
|
|
303
|
+
});
|
|
304
|
+
this.controlClient.on(ControlAgent.EVENT.RECONFIGURE, this.restart.bind(this));
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
|
|
303
308
|
this.controlClient.on('ping', () => {
|
|
304
309
|
this.logger.debug('Received ping from control server');
|
|
305
310
|
schedulePing();
|
|
@@ -315,7 +320,6 @@ class Server extends EventEmitter {
|
|
|
315
320
|
}, RESTART_INTERVAL_MS);
|
|
316
321
|
});
|
|
317
322
|
|
|
318
|
-
schedulePing();
|
|
319
323
|
restartActionsTaken.updateControlClient = true;
|
|
320
324
|
}
|
|
321
325
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mojaloop/sdk-scheme-adapter-outbound-command-event-handler",
|
|
3
|
-
"version": "0.3.0-snapshot.
|
|
3
|
+
"version": "0.3.0-snapshot.30",
|
|
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/",
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
"snapshot": "standard-version --no-verify --skip.changelog --prerelease snapshot --releaseCommitMessageFormat 'chore(snapshot): {{currentTag}}'"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@mojaloop/api-snippets": "17.10.
|
|
45
|
-
"@mojaloop/central-services-shared": "18.23.
|
|
44
|
+
"@mojaloop/api-snippets": "17.10.2",
|
|
45
|
+
"@mojaloop/central-services-shared": "18.23.2",
|
|
46
46
|
"@mojaloop/logging-bc-client-lib": "0.5.8",
|
|
47
47
|
"@mojaloop/logging-bc-public-types-lib": "0.5.5",
|
|
48
48
|
"@mojaloop/sdk-scheme-adapter-private-shared-lib": "workspace:^",
|
|
@@ -56,17 +56,17 @@
|
|
|
56
56
|
"yamljs": "0.3.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@eslint/compat": "1.2.
|
|
59
|
+
"@eslint/compat": "1.2.8",
|
|
60
60
|
"@types/convict": "6.1.6",
|
|
61
61
|
"@types/express": "5.0.1",
|
|
62
62
|
"@types/jest": "29.5.14",
|
|
63
|
-
"@types/node": "22.
|
|
63
|
+
"@types/node": "22.14.0",
|
|
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.29.0",
|
|
69
|
+
"@typescript-eslint/parser": "8.29.0",
|
|
70
70
|
"copyfiles": "2.4.1",
|
|
71
71
|
"eslint": "9.15.0",
|
|
72
72
|
"jest": "29.7.0",
|
|
@@ -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.3.
|
|
77
|
+
"ts-jest": "29.3.1",
|
|
78
78
|
"ts-node": "10.9.2",
|
|
79
79
|
"typescript": "5.8.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.
|
|
3
|
+
"version": "0.3.0-snapshot.30",
|
|
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/",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"snapshot": "standard-version --no-verify --skip.changelog --prerelease snapshot --releaseCommitMessageFormat 'chore(snapshot): {{currentTag}}'"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@mojaloop/api-snippets": "17.10.
|
|
44
|
+
"@mojaloop/api-snippets": "17.10.2",
|
|
45
45
|
"@mojaloop/logging-bc-client-lib": "0.5.8",
|
|
46
46
|
"@mojaloop/logging-bc-public-types-lib": "0.5.5",
|
|
47
47
|
"@mojaloop/sdk-scheme-adapter-private-shared-lib": "workspace:^",
|
|
@@ -57,13 +57,13 @@
|
|
|
57
57
|
"@types/convict": "6.1.6",
|
|
58
58
|
"@types/express": "5.0.1",
|
|
59
59
|
"@types/jest": "29.5.14",
|
|
60
|
-
"@types/node": "22.
|
|
60
|
+
"@types/node": "22.14.0",
|
|
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.29.0",
|
|
66
|
+
"@typescript-eslint/parser": "8.29.0",
|
|
67
67
|
"copyfiles": "2.4.1",
|
|
68
68
|
"eslint": "9.15.0",
|
|
69
69
|
"jest": "29.7.0",
|
|
@@ -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.3.
|
|
74
|
+
"ts-jest": "29.3.1",
|
|
75
75
|
"ts-node": "10.9.2",
|
|
76
76
|
"typescript": "5.8.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.
|
|
3
|
+
"version": "0.4.0-snapshot.30",
|
|
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",
|
|
@@ -29,27 +29,27 @@
|
|
|
29
29
|
"snapshot": "standard-version --no-verify --skip.changelog --prerelease snapshot --releaseCommitMessageFormat 'chore(snapshot): {{currentTag}}'"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@mojaloop/api-snippets": "17.10.
|
|
33
|
-
"@mojaloop/central-services-shared": "18.23.
|
|
32
|
+
"@mojaloop/api-snippets": "17.10.2",
|
|
33
|
+
"@mojaloop/central-services-shared": "18.23.2",
|
|
34
34
|
"@mojaloop/logging-bc-public-types-lib": "0.5.5",
|
|
35
|
-
"@mojaloop/platform-shared-lib-messaging-types-lib": "0.7.
|
|
35
|
+
"@mojaloop/platform-shared-lib-messaging-types-lib": "0.7.2",
|
|
36
36
|
"@mojaloop/platform-shared-lib-nodejs-kafka-client-lib": "0.5.18",
|
|
37
37
|
"ajv": "8.17.1",
|
|
38
38
|
"redis": "4.7.0",
|
|
39
39
|
"uuid": "11.1.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@eslint/compat": "1.2.
|
|
43
|
-
"@types/node": "22.
|
|
42
|
+
"@eslint/compat": "1.2.8",
|
|
43
|
+
"@types/node": "22.14.0",
|
|
44
44
|
"@types/uuid": "10.0.0",
|
|
45
|
-
"@typescript-eslint/eslint-plugin": "8.
|
|
46
|
-
"@typescript-eslint/parser": "8.
|
|
45
|
+
"@typescript-eslint/eslint-plugin": "8.29.0",
|
|
46
|
+
"@typescript-eslint/parser": "8.29.0",
|
|
47
47
|
"eslint": "9.15.0",
|
|
48
48
|
"jest": "29.7.0",
|
|
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.3.
|
|
52
|
+
"ts-jest": "29.3.1",
|
|
53
53
|
"tslib": "2.8.1",
|
|
54
54
|
"typescript": "5.8.2"
|
|
55
55
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mojaloop/sdk-scheme-adapter",
|
|
3
|
-
"version": "24.
|
|
3
|
+
"version": "24.7.0",
|
|
4
4
|
"description": "mojaloop sdk-scheme-adapter",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://github.com/mojaloop/sdk-scheme-adapter",
|
|
@@ -82,10 +82,10 @@
|
|
|
82
82
|
},
|
|
83
83
|
"devDependencies": {
|
|
84
84
|
"@types/jest": "29.5.14",
|
|
85
|
-
"@types/node": "22.
|
|
85
|
+
"@types/node": "22.14.0",
|
|
86
86
|
"@types/node-cache": "4.2.5",
|
|
87
|
-
"@typescript-eslint/eslint-plugin": "8.
|
|
88
|
-
"@typescript-eslint/parser": "8.
|
|
87
|
+
"@typescript-eslint/eslint-plugin": "8.29.0",
|
|
88
|
+
"@typescript-eslint/parser": "8.29.0",
|
|
89
89
|
"audit-ci": "7.1.0",
|
|
90
90
|
"eslint": "9.15.0",
|
|
91
91
|
"eslint-config-airbnb-typescript": "18.0.0",
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
"npm-check-updates": "16.7.10",
|
|
97
97
|
"replace": "1.2.2",
|
|
98
98
|
"standard-version": "9.5.0",
|
|
99
|
-
"ts-jest": "29.3.
|
|
99
|
+
"ts-jest": "29.3.1",
|
|
100
100
|
"ts-node": "10.9.2",
|
|
101
101
|
"typescript": "5.8.2",
|
|
102
102
|
"yarn-audit-fix": "10.1.1"
|