@mojaloop/central-services-shared 18.7.2 → 18.7.3
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/CHANGELOG.md +7 -0
- package/package.json +3 -3
- package/src/enums/events.js +1 -0
- package/src/enums/kafka.js +4 -0
- package/src/index.d.ts +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [18.7.3](https://github.com/mojaloop/central-services-shared/compare/v18.7.2...v18.7.3) (2024-08-27)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Chore
|
|
9
|
+
|
|
10
|
+
* **csi/551:** add enums for fx-forwarded event ([#396](https://github.com/mojaloop/central-services-shared/issues/396)) ([fe87436](https://github.com/mojaloop/central-services-shared/commit/fe874360da7b7af2251abb2bdd1846dd08217546))
|
|
11
|
+
|
|
5
12
|
### [18.7.2](https://github.com/mojaloop/central-services-shared/compare/v18.7.1...v18.7.2) (2024-08-22)
|
|
6
13
|
|
|
7
14
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mojaloop/central-services-shared",
|
|
3
|
-
"version": "18.7.
|
|
3
|
+
"version": "18.7.3",
|
|
4
4
|
"description": "Shared code for mojaloop central services",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "ModusBox",
|
|
@@ -56,8 +56,8 @@
|
|
|
56
56
|
"dependencies": {
|
|
57
57
|
"@hapi/catbox": "12.1.1",
|
|
58
58
|
"@hapi/catbox-memory": "5.0.1",
|
|
59
|
-
"@mojaloop/inter-scheme-proxy-cache-lib": "2.
|
|
60
|
-
"axios": "1.7.
|
|
59
|
+
"@mojaloop/inter-scheme-proxy-cache-lib": "2.3.0",
|
|
60
|
+
"axios": "1.7.5",
|
|
61
61
|
"clone": "2.1.2",
|
|
62
62
|
"dotenv": "16.4.5",
|
|
63
63
|
"env-var": "7.5.0",
|
package/src/enums/events.js
CHANGED
|
@@ -88,6 +88,7 @@ const Event = {
|
|
|
88
88
|
FX_PREPARE_DUPLICATE: 'fx-prepare-duplicate',
|
|
89
89
|
FX_ABORT_VALIDATION: 'fx-abort-validation',
|
|
90
90
|
FX_RESERVED_ABORTED: 'fx-reserved-aborted',
|
|
91
|
+
FX_FORWARDED: 'fx-forwarded',
|
|
91
92
|
FX_FULFIL_DUPLICATE: 'fx-fulfil-duplicate',
|
|
92
93
|
FX_ABORT_DUPLICATE: 'fx-abort-duplicate',
|
|
93
94
|
FX_TIMEOUT_RECEIVED: 'fx-timeout-received',
|
package/src/enums/kafka.js
CHANGED
|
@@ -162,6 +162,10 @@ const TopicMap = {
|
|
|
162
162
|
functionality: transferEventType.NOTIFICATION,
|
|
163
163
|
action: transferEventAction.EVENT
|
|
164
164
|
},
|
|
165
|
+
'fx-forwarded': {
|
|
166
|
+
functionality: transferEventType.NOTIFICATION,
|
|
167
|
+
action: transferEventAction.EVENT
|
|
168
|
+
},
|
|
165
169
|
'fx-fulfil-duplicate': {
|
|
166
170
|
functionality: transferEventType.TRANSFER,
|
|
167
171
|
action: transferEventAction.POSITION
|
package/src/index.d.ts
CHANGED
|
@@ -304,6 +304,7 @@ declare namespace CentralServicesShared {
|
|
|
304
304
|
FX_PREPARE_DUPLICATE = 'fx-prepare-duplicate',
|
|
305
305
|
FX_ABORT_VALIDATION = 'fx-abort-validation',
|
|
306
306
|
FX_RESERVED_ABORTED = 'fx-reserved-aborted',
|
|
307
|
+
FX_FORWARDED = 'fx-forwarded',
|
|
307
308
|
FX_FULFIL_DUPLICATE = 'fx-fulfil-duplicate',
|
|
308
309
|
FX_ABORT_DUPLICATE = 'fx-abort-duplicate',
|
|
309
310
|
FX_TIMEOUT_RECEIVED = 'fx-timeout-received',
|
|
@@ -458,6 +459,7 @@ declare namespace CentralServicesShared {
|
|
|
458
459
|
FX_PREPARE_DUPLICATE: EventActionEnum.FX_PREPARE_DUPLICATE,
|
|
459
460
|
FX_ABORT_VALIDATION: EventActionEnum.FX_ABORT_VALIDATION,
|
|
460
461
|
FX_RESERVED_ABORTED: EventActionEnum.FX_RESERVED_ABORTED,
|
|
462
|
+
FX_FORWARDED: EventActionEnum.FX_FORWARDED,
|
|
461
463
|
FX_FULFIL_DUPLICATE: EventActionEnum.FX_FULFIL_DUPLICATE,
|
|
462
464
|
FX_ABORT_DUPLICATE: EventActionEnum.FX_ABORT_DUPLICATE,
|
|
463
465
|
FX_TIMEOUT_RECEIVED: EventActionEnum.FX_TIMEOUT_RECEIVED,
|