@mojaloop/sdk-scheme-adapter 24.5.0 → 24.6.1
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/.yarn/cache/{@grpc-grpc-js-npm-1.13.0-8a179eeb73-5153924bd9.zip → @grpc-grpc-js-npm-1.13.1-f86f03d07c-ee6d61bd14.zip} +0 -0
- package/.yarn/cache/{@mojaloop-event-sdk-npm-14.3.2-ff892a5f55-372ff7a256.zip → @mojaloop-event-sdk-npm-14.4.0-b9c6d842fb-0bcd36c533.zip} +0 -0
- package/.yarn/cache/@mojaloop-ml-schema-transformer-lib-npm-2.6.0-6b700210d0-93fb6590d3.zip +0 -0
- package/.yarn/cache/@rollup-rollup-linux-x64-musl-npm-4.37.0-51462d4265-8.zip +0 -0
- package/.yarn/cache/{@types-node-npm-22.13.11-07edd664a8-82d8e0ff38.zip → @types-node-npm-22.13.12-2627e8ff6d-712dded901.zip} +0 -0
- package/.yarn/cache/ajv-formats-npm-3.0.1-2662cf5b12-f4e1fe232d.zip +0 -0
- package/.yarn/cache/ts-jest-npm-29.3.0-8cb17d4807-791f39ba74.zip +0 -0
- package/.yarn/cache/type-fest-npm-4.37.0-91bfb2c937-303f34778e.zip +0 -0
- package/.yarn/install-state.gz +0 -0
- package/CHANGELOG.md +14 -0
- package/modules/api-svc/package.json +2 -2
- package/modules/api-svc/test/unit/inboundApi/data/isoBodies.json +1 -1
- package/modules/outbound-command-event-handler/package.json +3 -2
- package/modules/outbound-command-event-handler/src/api-server/app.ts +2 -1
- package/modules/outbound-domain-event-handler/package.json +3 -2
- package/modules/outbound-domain-event-handler/src/api-server/app.ts +2 -0
- package/modules/private-shared-lib/package.json +2 -2
- package/package.json +3 -3
- package/.yarn/cache/ts-jest-npm-29.2.6-81e5c09384-ff71b27e99.zip +0 -0
|
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,18 @@
|
|
|
1
1
|
# Changelog: [mojaloop/sdk-scheme-adapter](https://github.com/mojaloop/sdk-scheme-adapter)
|
|
2
|
+
### [24.6.1](https://github.com/mojaloop/sdk-scheme-adapter/compare/v24.6.0...v24.6.1) (2025-03-24)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* datetime property ([#566](https://github.com/mojaloop/sdk-scheme-adapter/issues/566)) ([6c400df](https://github.com/mojaloop/sdk-scheme-adapter/commit/6c400dfd593cf14642d7931f856d4a8b75a53617))
|
|
8
|
+
|
|
9
|
+
## [24.6.0](https://github.com/mojaloop/sdk-scheme-adapter/compare/v24.5.0...v24.6.0) (2025-03-24)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
* add ajv-formats package and integrate with OpenAPI backend validation ([#565](https://github.com/mojaloop/sdk-scheme-adapter/issues/565)) ([2de111c](https://github.com/mojaloop/sdk-scheme-adapter/commit/2de111c18cce717e8cb55fd50594d4a8b31b5ad3))
|
|
15
|
+
|
|
2
16
|
## [24.5.0](https://github.com/mojaloop/sdk-scheme-adapter/compare/v24.4.1...v24.5.0) (2025-03-23)
|
|
3
17
|
|
|
4
18
|
|
|
@@ -69,9 +69,9 @@
|
|
|
69
69
|
"@mojaloop/central-services-logger": "11.7.0",
|
|
70
70
|
"@mojaloop/central-services-metrics": "12.5.0",
|
|
71
71
|
"@mojaloop/central-services-shared": "18.23.0",
|
|
72
|
-
"@mojaloop/event-sdk": "14.
|
|
72
|
+
"@mojaloop/event-sdk": "14.4.0",
|
|
73
73
|
"@mojaloop/logging-bc-client-lib": "0.5.8",
|
|
74
|
-
"@mojaloop/ml-schema-transformer-lib": "2.
|
|
74
|
+
"@mojaloop/ml-schema-transformer-lib": "2.6.0",
|
|
75
75
|
"@mojaloop/sdk-scheme-adapter-private-shared-lib": "workspace:^",
|
|
76
76
|
"@mojaloop/sdk-standard-components": "19.11.0",
|
|
77
77
|
"ajv": "8.17.1",
|
|
@@ -47,6 +47,7 @@
|
|
|
47
47
|
"@mojaloop/logging-bc-public-types-lib": "0.5.5",
|
|
48
48
|
"@mojaloop/sdk-scheme-adapter-private-shared-lib": "workspace:^",
|
|
49
49
|
"ajv": "8.17.1",
|
|
50
|
+
"ajv-formats": "3.0.1",
|
|
50
51
|
"convict": "6.2.4",
|
|
51
52
|
"express": "4.21.2",
|
|
52
53
|
"openapi-backend": "5.11.1",
|
|
@@ -59,7 +60,7 @@
|
|
|
59
60
|
"@types/convict": "6.1.6",
|
|
60
61
|
"@types/express": "5.0.1",
|
|
61
62
|
"@types/jest": "29.5.14",
|
|
62
|
-
"@types/node": "22.13.
|
|
63
|
+
"@types/node": "22.13.12",
|
|
63
64
|
"@types/node-cache": "4.2.5",
|
|
64
65
|
"@types/supertest": "6.0.2",
|
|
65
66
|
"@types/swagger-ui-express": "4.1.8",
|
|
@@ -73,7 +74,7 @@
|
|
|
73
74
|
"npm-check-updates": "16.7.10",
|
|
74
75
|
"replace": "1.2.2",
|
|
75
76
|
"standard-version": "9.5.0",
|
|
76
|
-
"ts-jest": "29.
|
|
77
|
+
"ts-jest": "29.3.0",
|
|
77
78
|
"ts-node": "10.9.2",
|
|
78
79
|
"typescript": "5.8.2"
|
|
79
80
|
},
|
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
--------------
|
|
27
27
|
******/
|
|
28
28
|
|
|
29
|
-
|
|
30
29
|
import { ILogger } from '@mojaloop/logging-bc-public-types-lib';
|
|
31
30
|
import Express, { Application } from 'express';
|
|
31
|
+
import addFormats from 'ajv-formats';
|
|
32
32
|
import OpenAPIBackend from 'openapi-backend';
|
|
33
33
|
import type { Request } from 'openapi-backend';
|
|
34
34
|
import swaggerUi from 'swagger-ui-express';
|
|
@@ -75,6 +75,7 @@ export const CreateExpressServer =
|
|
|
75
75
|
// API routes based on the swagger file
|
|
76
76
|
const api = new OpenAPIBackend({
|
|
77
77
|
definition: openApiSpecFilePath,
|
|
78
|
+
customizeAjv: ajv => addFormats(ajv),
|
|
78
79
|
handlers: {
|
|
79
80
|
...Handlers,
|
|
80
81
|
validationFail: async (c, _req: Express.Request, res: Express.Response) =>
|
|
@@ -45,6 +45,7 @@
|
|
|
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:^",
|
|
48
|
+
"ajv-formats": "3.0.1",
|
|
48
49
|
"convict": "6.2.4",
|
|
49
50
|
"express": "4.21.2",
|
|
50
51
|
"openapi-backend": "5.11.1",
|
|
@@ -56,7 +57,7 @@
|
|
|
56
57
|
"@types/convict": "6.1.6",
|
|
57
58
|
"@types/express": "5.0.1",
|
|
58
59
|
"@types/jest": "29.5.14",
|
|
59
|
-
"@types/node": "22.13.
|
|
60
|
+
"@types/node": "22.13.12",
|
|
60
61
|
"@types/node-cache": "4.2.5",
|
|
61
62
|
"@types/supertest": "6.0.2",
|
|
62
63
|
"@types/swagger-ui-express": "4.1.8",
|
|
@@ -70,7 +71,7 @@
|
|
|
70
71
|
"npm-check-updates": "16.7.10",
|
|
71
72
|
"replace": "1.2.2",
|
|
72
73
|
"standard-version": "9.5.0",
|
|
73
|
-
"ts-jest": "29.
|
|
74
|
+
"ts-jest": "29.3.0",
|
|
74
75
|
"ts-node": "10.9.2",
|
|
75
76
|
"typescript": "5.8.2"
|
|
76
77
|
},
|
|
@@ -28,6 +28,7 @@
|
|
|
28
28
|
******/
|
|
29
29
|
import { ILogger } from '@mojaloop/logging-bc-public-types-lib';
|
|
30
30
|
import Express, { Application } from 'express';
|
|
31
|
+
import addFormats from 'ajv-formats';
|
|
31
32
|
import OpenAPIBackend from 'openapi-backend';
|
|
32
33
|
import type { Request } from 'openapi-backend';
|
|
33
34
|
import swaggerUi from 'swagger-ui-express';
|
|
@@ -74,6 +75,7 @@ export const CreateExpressServer =
|
|
|
74
75
|
// API routes based on the swagger file
|
|
75
76
|
const api = new OpenAPIBackend({
|
|
76
77
|
definition: openApiSpecFilePath,
|
|
78
|
+
customizeAjv: ajv => addFormats(ajv),
|
|
77
79
|
handlers: {
|
|
78
80
|
...Handlers,
|
|
79
81
|
validationFail: async (c, _req: Express.Request, res: Express.Response) =>
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@eslint/compat": "1.2.7",
|
|
43
|
-
"@types/node": "22.13.
|
|
43
|
+
"@types/node": "22.13.12",
|
|
44
44
|
"@types/uuid": "10.0.0",
|
|
45
45
|
"@typescript-eslint/eslint-plugin": "8.27.0",
|
|
46
46
|
"@typescript-eslint/parser": "8.27.0",
|
|
@@ -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.
|
|
52
|
+
"ts-jest": "29.3.0",
|
|
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.6.1",
|
|
4
4
|
"description": "mojaloop sdk-scheme-adapter",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://github.com/mojaloop/sdk-scheme-adapter",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
},
|
|
83
83
|
"devDependencies": {
|
|
84
84
|
"@types/jest": "29.5.14",
|
|
85
|
-
"@types/node": "22.13.
|
|
85
|
+
"@types/node": "22.13.12",
|
|
86
86
|
"@types/node-cache": "4.2.5",
|
|
87
87
|
"@typescript-eslint/eslint-plugin": "8.27.0",
|
|
88
88
|
"@typescript-eslint/parser": "8.27.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.
|
|
99
|
+
"ts-jest": "29.3.0",
|
|
100
100
|
"ts-node": "10.9.2",
|
|
101
101
|
"typescript": "5.8.2",
|
|
102
102
|
"yarn-audit-fix": "10.1.1"
|
|
Binary file
|