@mojaloop/central-services-shared 18.7.6 → 18.8.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/CHANGELOG.md +7 -0
- package/package.json +4 -4
- 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.8.0](https://github.com/mojaloop/central-services-shared/compare/v18.7.6...v18.8.0) (2024-09-17)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* **csi/643:** add fx-notify event for patch fxTransfer updates ([#400](https://github.com/mojaloop/central-services-shared/issues/400)) ([8be247a](https://github.com/mojaloop/central-services-shared/commit/8be247a8b3258838fae590ea4572ef5f5237e5bb))
|
|
11
|
+
|
|
5
12
|
### [18.7.6](https://github.com/mojaloop/central-services-shared/compare/v18.7.5...v18.7.6) (2024-09-12)
|
|
6
13
|
|
|
7
14
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mojaloop/central-services-shared",
|
|
3
|
-
"version": "18.
|
|
3
|
+
"version": "18.8.0",
|
|
4
4
|
"description": "Shared code for mojaloop central services",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "ModusBox",
|
|
@@ -86,12 +86,12 @@
|
|
|
86
86
|
"proxyquire": "2.1.3",
|
|
87
87
|
"replace": "^1.2.2",
|
|
88
88
|
"rewire": "7.0.0",
|
|
89
|
-
"sinon": "
|
|
90
|
-
"standard": "17.1.
|
|
89
|
+
"sinon": "19.0.2",
|
|
90
|
+
"standard": "17.1.2",
|
|
91
91
|
"standard-version": "9.5.0",
|
|
92
92
|
"tap-spec": "^5.0.0",
|
|
93
93
|
"tap-xunit": "2.4.1",
|
|
94
|
-
"tape": "5.
|
|
94
|
+
"tape": "5.9.0",
|
|
95
95
|
"tapes": "4.1.0"
|
|
96
96
|
},
|
|
97
97
|
"overrides": {
|
package/src/enums/events.js
CHANGED
package/src/enums/kafka.js
CHANGED
|
@@ -130,6 +130,10 @@ const TopicMap = {
|
|
|
130
130
|
functionality: transferEventType.NOTIFICATION,
|
|
131
131
|
action: transferEventAction.EVENT
|
|
132
132
|
},
|
|
133
|
+
'fx-notify': {
|
|
134
|
+
functionality: transferEventType.NOTIFICATION,
|
|
135
|
+
action: transferEventAction.EVENT
|
|
136
|
+
},
|
|
133
137
|
'bulk-get': {
|
|
134
138
|
functionality: transferEventType.NOTIFICATION,
|
|
135
139
|
action: transferEventAction.EVENT
|
package/src/index.d.ts
CHANGED
|
@@ -310,6 +310,7 @@ declare namespace CentralServicesShared {
|
|
|
310
310
|
FX_TIMEOUT_RECEIVED = 'fx-timeout-received',
|
|
311
311
|
FX_TIMEOUT_RESERVED = 'fx-timeout-reserved',
|
|
312
312
|
FX_GET = 'fx-get',
|
|
313
|
+
FX_NOTIFY = 'fx-notify',
|
|
313
314
|
GET = 'get',
|
|
314
315
|
INITIATE = 'initiate',
|
|
315
316
|
LIMIT_ADJUSTMENT = 'limit-adjustment',
|
|
@@ -465,6 +466,7 @@ declare namespace CentralServicesShared {
|
|
|
465
466
|
FX_TIMEOUT_RECEIVED: EventActionEnum.FX_TIMEOUT_RECEIVED,
|
|
466
467
|
FX_TIMEOUT_RESERVED: EventActionEnum.FX_TIMEOUT_RESERVED,
|
|
467
468
|
FX_GET: EventActionEnum.FX_GET,
|
|
469
|
+
FX_NOTIFY: EventActionEnum.FX_NOTIFY,
|
|
468
470
|
GET: EventActionEnum.GET;
|
|
469
471
|
INITIATE: EventActionEnum.INITIATE;
|
|
470
472
|
LIMIT_ADJUSTMENT: EventActionEnum.LIMIT_ADJUSTMENT;
|