@mojaloop/central-services-shared 17.4.0 → 17.5.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/CHANGELOG.md CHANGED
@@ -2,6 +2,15 @@
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
+ ### [17.5.1](https://github.com/mojaloop/central-services-shared/compare/v17.5.0...v17.5.1) (2023-02-23)
6
+
7
+ ## [17.5.0](https://github.com/mojaloop/central-services-shared/compare/v17.4.0...v17.5.0) (2023-01-16)
8
+
9
+
10
+ ### Features
11
+
12
+ * added enum types of ledger account types ([#337](https://github.com/mojaloop/central-services-shared/issues/337)) ([bc3399a](https://github.com/mojaloop/central-services-shared/commit/bc3399a53ee0713cd81c06de8078a3100bee9e52))
13
+
5
14
  ## [17.4.0](https://github.com/mojaloop/central-services-shared/compare/v17.3.1...v17.4.0) (2023-01-13)
6
15
 
7
16
 
package/audit-ci.jsonc CHANGED
@@ -17,6 +17,9 @@
17
17
  "GHSA-rjqq-98f6-6j3r",
18
18
  "GHSA-w5p7-h5w8-2hfq",
19
19
  "GHSA-p9pc-299p-vxgp",
20
+ // TODO: There is a conflict with the sub-dependency jsonwebtoken. Not able to fix with 'npm audit fix'. Need too investigate the root cause.
21
+ "GHSA-hjrf-2m68-5959",
22
+ "GHSA-8cf7-32gw-wr33",
20
23
  "GHSA-qwph-4952-7xr6",
21
24
  "GHSA-27h2-hvpr-p74q"
22
25
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mojaloop/central-services-shared",
3
- "version": "17.4.0",
3
+ "version": "17.5.1",
4
4
  "description": "Shared code for mojaloop central services",
5
5
  "license": "Apache-2.0",
6
6
  "author": "ModusBox",
@@ -57,16 +57,16 @@
57
57
  "dependencies": {
58
58
  "@hapi/catbox": "12.0.0",
59
59
  "@hapi/catbox-memory": "5.0.1",
60
- "axios": "1.2.2",
60
+ "axios": "1.3.4",
61
61
  "clone": "2.1.2",
62
62
  "dotenv": "16.0.3",
63
63
  "env-var": "7.3.0",
64
64
  "event-stream": "4.0.1",
65
- "immutable": "4.2.2",
65
+ "immutable": "4.2.4",
66
66
  "lodash": "4.17.21",
67
67
  "mustache": "4.2.0",
68
- "openapi-backend": "5.6.0",
69
- "raw-body": "2.5.1",
68
+ "openapi-backend": "5.6.2",
69
+ "raw-body": "2.5.2",
70
70
  "rc": "1.2.8",
71
71
  "shins": "2.6.0",
72
72
  "uuid4": "2.0.3",
@@ -74,12 +74,12 @@
74
74
  "yaml": "2.2.1"
75
75
  },
76
76
  "devDependencies": {
77
- "@hapi/hapi": "21.1.0",
77
+ "@hapi/hapi": "21.3.0",
78
78
  "@hapi/joi": "17.1.1",
79
- "audit-ci": "^6.6.0",
79
+ "audit-ci": "^6.6.1",
80
80
  "base64url": "3.0.1",
81
- "chance": "1.1.9",
82
- "npm-check-updates": "16.6.2",
81
+ "chance": "1.1.10",
82
+ "npm-check-updates": "16.7.9",
83
83
  "nyc": "15.1.0",
84
84
  "pre-commit": "1.2.2",
85
85
  "proxyquire": "2.1.3",
@@ -90,7 +90,7 @@
90
90
  "standard-version": "9.5.0",
91
91
  "tap-spec": "^5.0.0",
92
92
  "tap-xunit": "2.4.1",
93
- "tape": "5.6.1",
93
+ "tape": "5.6.3",
94
94
  "tapes": "4.1.0"
95
95
  },
96
96
  "peerDependencies": {
@@ -29,7 +29,9 @@ const LedgerAccountType = {
29
29
  SETTLEMENT: 2,
30
30
  HUB_RECONCILIATION: 3,
31
31
  HUB_MULTILATERAL_SETTLEMENT: 4,
32
- HUB_FEE: 5
32
+ HUB_FEE: 5,
33
+ POSITION_REMITTANCE: 7,
34
+ SETTLEMENT_REMITTANCE: 8
33
35
  }
34
36
 
35
37
  const LedgerEntryType = {
package/src/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Util as HapiUtil } from '@hapi/hapi'
1
+ import { Utils as HapiUtil } from '@hapi/hapi'
2
2
  declare namespace CentralServicesShared {
3
3
  interface ReturnCode {
4
4
  CODE: number;