@mojaloop/central-services-shared 17.5.0 → 17.5.2-snapshot.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 CHANGED
@@ -2,6 +2,8 @@
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
+
5
7
  ## [17.5.0](https://github.com/mojaloop/central-services-shared/compare/v17.4.0...v17.5.0) (2023-01-16)
6
8
 
7
9
 
package/audit-ci.jsonc CHANGED
@@ -21,6 +21,10 @@
21
21
  "GHSA-hjrf-2m68-5959",
22
22
  "GHSA-8cf7-32gw-wr33",
23
23
  "GHSA-qwph-4952-7xr6",
24
- "GHSA-27h2-hvpr-p74q"
24
+ "GHSA-27h2-hvpr-p74q",
25
+ // @mojaloop/event-sdk>protobufjs
26
+ "GHSA-h755-8qp9-cq85",
27
+ // semver
28
+ "GHSA-c2qf-rxjj-qqgw"
25
29
  ]
26
30
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mojaloop/central-services-shared",
3
- "version": "17.5.0",
3
+ "version": "17.5.2-snapshot.0",
4
4
  "description": "Shared code for mojaloop central services",
5
5
  "license": "Apache-2.0",
6
6
  "author": "ModusBox",
@@ -57,40 +57,40 @@
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.4.0",
61
61
  "clone": "2.1.2",
62
- "dotenv": "16.0.3",
63
- "env-var": "7.3.0",
62
+ "dotenv": "16.3.1",
63
+ "env-var": "7.3.1",
64
64
  "event-stream": "4.0.1",
65
- "immutable": "4.2.2",
65
+ "immutable": "4.3.2",
66
66
  "lodash": "4.17.21",
67
67
  "mustache": "4.2.0",
68
- "openapi-backend": "5.6.2",
69
- "raw-body": "2.5.1",
68
+ "openapi-backend": "5.9.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",
73
73
  "widdershins": "^4.0.1",
74
- "yaml": "2.2.1"
74
+ "yaml": "2.3.1"
75
75
  },
76
76
  "devDependencies": {
77
- "@hapi/hapi": "21.2.0",
77
+ "@hapi/hapi": "21.3.2",
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.11",
82
+ "npm-check-updates": "16.10.18",
83
83
  "nyc": "15.1.0",
84
84
  "pre-commit": "1.2.2",
85
85
  "proxyquire": "2.1.3",
86
86
  "replace": "^1.2.2",
87
87
  "rewire": "6.0.0",
88
- "sinon": "15.0.1",
89
- "standard": "17.0.0",
88
+ "sinon": "15.2.0",
89
+ "standard": "17.1.0",
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.3",
93
+ "tape": "5.6.6",
94
94
  "tapes": "4.1.0"
95
95
  },
96
96
  "peerDependencies": {
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;
@@ -307,6 +307,7 @@ const proceed = async (defaultKafkaConfig, params, opts) => {
307
307
  }
308
308
  let key
309
309
  if (typeof toDestination === 'string') {
310
+ key = toDestination
310
311
  message.value.to = toDestination
311
312
  if (message.value.content.headers) message.value.content.headers[Enum.Http.Headers.FSPIOP.DESTINATION] = toDestination
312
313
  } else if (toDestination === true) {