@mojaloop/central-ledger 19.8.5 → 19.8.7
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/CHANGELOG.md +20 -0
- package/docker-compose.yml +4 -4
- package/migrations/310405_participantPositionChange-positionChange.js +56 -0
- package/package.json +2 -2
- package/{sbom-v19.8.4.csv → sbom-v19.8.6.csv} +62 -70
- package/src/domain/fx/cyril.js +2 -2
- package/src/domain/position/abort.js +2 -2
- package/src/domain/position/fulfil.js +2 -2
- package/src/domain/position/fx-prepare.js +1 -1
- package/src/domain/position/fx-timeout-reserved.js +2 -2
- package/src/domain/position/prepare.js +1 -1
- package/src/domain/position/timeout-reserved.js +1 -1
- package/src/models/position/facade.js +3 -2
- package/src/models/transfer/facade.js +2 -2
package/.ncurc.yaml
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,26 @@
|
|
|
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
|
+
### [19.8.7](https://github.com/mojaloop/central-ledger/compare/v19.8.6...v19.8.7) (2025-09-03)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* rename column 'change' and fix datatype on participantPositionChange table ([#1203](https://github.com/mojaloop/central-ledger/issues/1203)) ([fd898b0](https://github.com/mojaloop/central-ledger/commit/fd898b08d1d291b0c203f7cb95972b127fd50a24))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Chore
|
|
14
|
+
|
|
15
|
+
* **sbom:** update sbom [skip ci] ([fb35f03](https://github.com/mojaloop/central-ledger/commit/fb35f0374264c8d23673e04db86ca72130271652))
|
|
16
|
+
|
|
17
|
+
### [19.8.6](https://github.com/mojaloop/central-ledger/compare/v19.8.5...v19.8.6) (2025-09-03)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Chore
|
|
21
|
+
|
|
22
|
+
* add lock test and bump deps ([#1201](https://github.com/mojaloop/central-ledger/issues/1201)) ([a2ab936](https://github.com/mojaloop/central-ledger/commit/a2ab936c630e974948737f7db43d33670f4f7754))
|
|
23
|
+
* **sbom:** update sbom [skip ci] ([2b9e290](https://github.com/mojaloop/central-ledger/commit/2b9e290c70270a8ebcbb13cc07b77a36f5eb2737))
|
|
24
|
+
|
|
5
25
|
### [19.8.5](https://github.com/mojaloop/central-ledger/compare/v19.8.4...v19.8.5) (2025-09-02)
|
|
6
26
|
|
|
7
27
|
|
package/docker-compose.yml
CHANGED
|
@@ -84,7 +84,7 @@ services:
|
|
|
84
84
|
interval: 30s
|
|
85
85
|
|
|
86
86
|
mysql:
|
|
87
|
-
image: mysql/mysql-server
|
|
87
|
+
image: mysql/mysql-server:8.0
|
|
88
88
|
container_name: cl_mysql
|
|
89
89
|
deploy:
|
|
90
90
|
replicas: 1
|
|
@@ -109,7 +109,7 @@ services:
|
|
|
109
109
|
retries: 10
|
|
110
110
|
start_period: 40s
|
|
111
111
|
interval: 30s
|
|
112
|
-
|
|
112
|
+
|
|
113
113
|
# To use with proxyCache.type === 'redis-cluster'
|
|
114
114
|
redis-node-0:
|
|
115
115
|
container_name: redis-node-0
|
|
@@ -205,7 +205,7 @@ services:
|
|
|
205
205
|
- mockserver
|
|
206
206
|
|
|
207
207
|
kafka:
|
|
208
|
-
image: docker.io/
|
|
208
|
+
image: docker.io/bitnamilegacy/kafka:3.5
|
|
209
209
|
container_name: cl_kafka
|
|
210
210
|
networks:
|
|
211
211
|
- cl-mojaloop-net
|
|
@@ -238,7 +238,7 @@ services:
|
|
|
238
238
|
container_name: cl_init_kafka
|
|
239
239
|
networks:
|
|
240
240
|
- cl-mojaloop-net
|
|
241
|
-
image: docker.io/
|
|
241
|
+
image: docker.io/bitnamilegacy/kafka:3.5
|
|
242
242
|
depends_on:
|
|
243
243
|
- kafka
|
|
244
244
|
volumes:
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/*****
|
|
2
|
+
License
|
|
3
|
+
--------------
|
|
4
|
+
Copyright © 2020-2025 Mojaloop Foundation
|
|
5
|
+
The Mojaloop files are made available by the Mojaloop Foundation under the Apache License, Version 2.0 (the "License") and you may not use these files except in compliance with the License. You may obtain a copy of the License at
|
|
6
|
+
|
|
7
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
|
|
9
|
+
Unless required by applicable law or agreed to in writing, the Mojaloop files are distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
|
|
10
|
+
|
|
11
|
+
Contributors
|
|
12
|
+
--------------
|
|
13
|
+
This is the official list of the Mojaloop project contributors for this file.
|
|
14
|
+
Names of the original copyright holders (individuals or organizations)
|
|
15
|
+
should be listed with a '*' in the first column. People who have
|
|
16
|
+
contributed from an organization can be listed under the organization
|
|
17
|
+
that actually holds the copyright for their contributions (see the
|
|
18
|
+
Mojaloop Foundation for an example). Those individuals should have
|
|
19
|
+
their names indented and be marked with a '-'. Email address can be added
|
|
20
|
+
optionally within square brackets <email>.
|
|
21
|
+
|
|
22
|
+
* Mojaloop Foundation
|
|
23
|
+
- Name Surname <name.surname@mojaloop.io>
|
|
24
|
+
|
|
25
|
+
* ModusBox
|
|
26
|
+
- Shashikant Hirugade <shashi.mojaloop@gmail.com>
|
|
27
|
+
--------------
|
|
28
|
+
******/
|
|
29
|
+
|
|
30
|
+
'use strict'
|
|
31
|
+
|
|
32
|
+
exports.up = async (knex) => {
|
|
33
|
+
return knex.schema.hasTable('participantPositionChange').then(async (exists) => {
|
|
34
|
+
if (exists) {
|
|
35
|
+
await knex.schema.alterTable('participantPositionChange', (t) => {
|
|
36
|
+
t.renameColumn('change', 'positionChange')
|
|
37
|
+
})
|
|
38
|
+
await knex.schema.alterTable('participantPositionChange', (t) => {
|
|
39
|
+
t.decimal('positionChange', 18, 4).notNullable().alter()
|
|
40
|
+
})
|
|
41
|
+
}
|
|
42
|
+
})
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
exports.down = async (knex) => {
|
|
46
|
+
return knex.schema.hasTable('participantPositionChange').then(async (exists) => {
|
|
47
|
+
if (exists) {
|
|
48
|
+
await knex.schema.alterTable('participantPositionChange', (t) => {
|
|
49
|
+
t.renameColumn('positionChange', 'change')
|
|
50
|
+
})
|
|
51
|
+
await knex.schema.alterTable('participantPositionChange', (t) => {
|
|
52
|
+
t.decimal('change', 18, 2).notNullable().alter()
|
|
53
|
+
})
|
|
54
|
+
}
|
|
55
|
+
})
|
|
56
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mojaloop/central-ledger",
|
|
3
|
-
"version": "19.8.
|
|
3
|
+
"version": "19.8.7",
|
|
4
4
|
"description": "Central ledger hosted by a scheme to record and settle transfers",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "ModusBox",
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
"@mojaloop/central-services-logger": "11.9.1",
|
|
94
94
|
"@mojaloop/central-services-metrics": "12.6.0",
|
|
95
95
|
"@mojaloop/central-services-shared": "18.30.8",
|
|
96
|
-
"@mojaloop/central-services-stream": "11.8.
|
|
96
|
+
"@mojaloop/central-services-stream": "11.8.4",
|
|
97
97
|
"@mojaloop/database-lib": "11.3.2",
|
|
98
98
|
"@mojaloop/event-sdk": "14.6.1",
|
|
99
99
|
"@mojaloop/inter-scheme-proxy-cache-lib": "2.6.0",
|