@mojaloop/central-ledger 20.1.0 → 20.2.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.
@@ -0,0 +1,14 @@
1
+ #Mojaloop's security address
2
+ Contact: mailto:security@mojaloop.io
3
+
4
+ #Mojaloop's CVD Policy
5
+ Policy: https://docs.mojaloop.io/community/contributing/cvd.html
6
+
7
+ #This file must be treated as stale/invalid after this date (RFC 9116 mandatory field)
8
+ Expires: 2027-09-18T00:00:00.000Z
9
+
10
+ #Canonical location of this file, so a copy hosted elsewhere is not trusted
11
+ Canonical: https://raw.githubusercontent.com/mojaloop/central-ledger/main/.well-known/security.txt
12
+
13
+ #Language(s) the security team can be contacted in
14
+ Preferred-Languages: en
package/CHANGELOG.md CHANGED
@@ -2,6 +2,30 @@
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
+ ## [20.2.0](https://github.com/mojaloop/central-ledger/compare/v20.1.1...v20.2.0) (2026-09-17)
6
+
7
+
8
+ ### Features
9
+
10
+ * adding security.txt file, accompanying changes to address pre-commit hook failures ([#1304](https://github.com/mojaloop/central-ledger/issues/1304)) ([2f2831c](https://github.com/mojaloop/central-ledger/commit/2f2831c8c6912b3fa2003de745b5062bc6ee881b))
11
+
12
+
13
+ ### Chore
14
+
15
+ * **sbom:** update sbom [skip ci] ([1625f4a](https://github.com/mojaloop/central-ledger/commit/1625f4a2d4ef8fb96a09c2f6ed77657e3230814b))
16
+
17
+ ### [20.1.1](https://github.com/mojaloop/central-ledger/compare/v20.1.0...v20.1.1) (2026-09-17)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * knexfile hardcoded mysql driver breaks migrations on MySQL 9 ([#1302](https://github.com/mojaloop/central-ledger/issues/1302)) ([9b41289](https://github.com/mojaloop/central-ledger/commit/9b41289ba609ae1b7368ef27ffc862f63e72efc5))
23
+
24
+
25
+ ### Chore
26
+
27
+ * **sbom:** update sbom [skip ci] ([71dd934](https://github.com/mojaloop/central-ledger/commit/71dd934322b5c18c89eea3a3669b731886abc8c0))
28
+
5
29
  ## [20.1.0](https://github.com/mojaloop/central-ledger/compare/v20.0.0...v20.1.0) (2026-09-16)
6
30
 
7
31
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mojaloop/central-ledger",
3
- "version": "20.1.0",
3
+ "version": "20.2.0",
4
4
  "description": "Central ledger hosted by a scheme to record and settle transfers",
5
5
  "license": "Apache-2.0",
6
6
  "author": "ModusBox",
@@ -36,6 +36,7 @@
36
36
  ],
37
37
  "scripts": {
38
38
  "build": "tsc",
39
+ "postbuild": "mkdir -p dist/migrations && cp src/migrations/migration.template dist/migrations/migration.template",
39
40
  "start": "npm run start:api",
40
41
  "start:api": "node dist/api/index.js",
41
42
  "start:handlers": "node dist/handlers/index.js",
@@ -129,7 +130,8 @@
129
130
  },
130
131
  "optionalDependencies": {
131
132
  "ed25519": "^0.0.5",
132
- "mysql": "2.18.1"
133
+ "mysql": "2.18.1",
134
+ "mysql2": "3.24.4"
133
135
  },
134
136
  "devDependencies": {
135
137
  "@hapi/joi": "17.1.1",
@@ -137,7 +139,7 @@
137
139
  "@opentelemetry/api": "1.9.1",
138
140
  "@opentelemetry/auto-instrumentations-node": "0.80.0",
139
141
  "@types/mock-knex": "0.4.8",
140
- "@types/node": "26.6.0",
142
+ "@types/node": "26.6.1",
141
143
  "@types/rc": "1.2.4",
142
144
  "@typescript-eslint/eslint-plugin": "^8.70.0",
143
145
  "@typescript-eslint/parser": "^8.70.0",
@@ -180,10 +182,24 @@
180
182
  "handlebars": "4.7.9",
181
183
  "ajv": "8.20.0",
182
184
  "eslint": {
183
- "ajv": "6.14.0"
185
+ "ajv": "6.14.0",
186
+ "@eslint/eslintrc": {
187
+ "ajv": "6.14.0"
188
+ }
184
189
  },
185
190
  "eslint@9.39.2": {
186
- "ajv": "6.14.0"
191
+ "ajv": "6.14.0",
192
+ "@eslint/eslintrc": {
193
+ "ajv": "6.14.0"
194
+ }
195
+ },
196
+ "rewire": {
197
+ "eslint": {
198
+ "ajv": "6.14.0",
199
+ "@eslint/eslintrc": {
200
+ "ajv": "6.14.0"
201
+ }
202
+ }
187
203
  },
188
204
  "axios": "1.18.1",
189
205
  "brace-expansion": "2.1.7",