@mojaloop/sdk-scheme-adapter 17.0.0 → 17.0.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.
@@ -93,7 +93,7 @@ jobs:
93
93
  name: Delete build dependencies
94
94
  command: apk del build-dependencies
95
95
  - save_cache:
96
- key: dependency-cache-v3-{{ checksum "package-lock.json" }}
96
+ key: dependency-cache-{{ .Environment.CIRCLE_SHA1 }}
97
97
  paths:
98
98
  - node_modules
99
99
 
@@ -105,7 +105,7 @@ jobs:
105
105
  command: *defaults_Dependencies
106
106
  - checkout
107
107
  - restore_cache:
108
- key: dependency-cache-v3-{{ checksum "package-lock.json" }}
108
+ key: dependency-cache-{{ .Environment.CIRCLE_SHA1 }}
109
109
  - run:
110
110
  name: Execute unit tests
111
111
  command: npm run test
@@ -125,7 +125,7 @@ jobs:
125
125
  chmod +x ~/docker-compose
126
126
  sudo mv ~/docker-compose /usr/local/bin/docker-compose
127
127
  - restore_cache:
128
- key: dependency-cache-v3-{{ checksum "package-lock.json" }}
128
+ key: dependency-cache-{{ .Environment.CIRCLE_SHA1 }}
129
129
  - run:
130
130
  name: Set up NVM
131
131
  command: |
@@ -171,7 +171,7 @@ jobs:
171
171
  command: *defaults_Dependencies
172
172
  - checkout
173
173
  - restore_cache:
174
- key: dependency-cache-v3-{{ checksum "package-lock.json" }}
174
+ key: dependency-cache-{{ .Environment.CIRCLE_SHA1 }}
175
175
  - run:
176
176
  name: Execute unit tests
177
177
  command: npm run build:openapi && npm run validate:api
@@ -184,7 +184,7 @@ jobs:
184
184
  command: *defaults_Dependencies
185
185
  - checkout
186
186
  - restore_cache:
187
- key: dependency-cache-v3-{{ checksum "package-lock.json" }}
187
+ key: dependency-cache-{{ .Environment.CIRCLE_SHA1 }}
188
188
  - run:
189
189
  name: Create dir for lint results
190
190
  command: mkdir -p /lintresults
@@ -202,7 +202,7 @@ jobs:
202
202
  command: *defaults_Dependencies
203
203
  - checkout
204
204
  - restore_cache:
205
- key: dependency-cache-v3-{{ checksum "package-lock.json" }}
205
+ key: dependency-cache-{{ .Environment.CIRCLE_SHA1 }}
206
206
  - run:
207
207
  name: Create dir for test results
208
208
  command: mkdir -p ./audit/results
@@ -222,7 +222,7 @@ jobs:
222
222
  - run:
223
223
  <<: *defaults_license_scanner
224
224
  - restore_cache:
225
- key: dependency-cache-v3-{{ checksum "package-lock.json" }}
225
+ key: dependency-cache-{{ .Environment.CIRCLE_SHA1 }}
226
226
  - run:
227
227
  name: Prune non-production packages before running license-scanner
228
228
  command: npm prune --production
@@ -324,7 +324,7 @@ jobs:
324
324
  command: *defaults_Dependencies
325
325
  - checkout
326
326
  - restore_cache:
327
- key: dependency-cache-v3-{{ checksum "package-lock.json" }}
327
+ key: dependency-cache-{{ .Environment.CIRCLE_SHA1 }}
328
328
  - run:
329
329
  name: Configure git
330
330
  command: |
@@ -413,7 +413,7 @@ jobs:
413
413
  name: Install general dependencies
414
414
  command: *defaults_Dependencies
415
415
  - restore_cache:
416
- key: dependency-cache-v3-{{ checksum "package-lock.json" }}
416
+ key: dependency-cache-{{ .Environment.CIRCLE_SHA1 }}
417
417
  - run:
418
418
  name: setup environment vars for LATEST release
419
419
  command: |
package/CHANGELOG.md CHANGED
@@ -1,4 +1,11 @@
1
1
  # Changelog: [mojaloop/thirdparty-api-svc](https://github.com/mojaloop/thirdparty-api-svc)
2
+ ### [17.0.1](https://github.com/mojaloop/sdk-scheme-adapter/compare/v17.0.0...v17.0.1) (2022-07-04)
3
+
4
+
5
+ ### Bug Fixes
6
+
7
+ * creating inbound server ([#329](https://github.com/mojaloop/sdk-scheme-adapter/issues/329)) ([962420f](https://github.com/mojaloop/sdk-scheme-adapter/commit/962420f6fed02722c5a9aeee6c108b6fbc9f021d))
8
+
2
9
  ## [17.0.0](https://github.com/mojaloop/sdk-scheme-adapter/compare/v15.0.1...v17.0.0) (2022-07-04)
3
10
 
4
11
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mojaloop/sdk-scheme-adapter",
3
- "version": "17.0.0",
3
+ "version": "17.0.1",
4
4
  "description": "An adapter for connecting to Mojaloop API enabled switches.",
5
5
  "main": "src/index.js",
6
6
  "types": "src/index.d.ts",
@@ -11,8 +11,8 @@
11
11
  "~": "src"
12
12
  },
13
13
  "scripts": {
14
- "audit:resolve": "SHELL=sh resolve-audit --production",
15
- "audit:check": "SHELL=sh check-audit --production",
14
+ "audit:resolve": "resolve-audit --production",
15
+ "audit:check": "check-audit --production",
16
16
  "build": "npm run build:openapi; npm run build:dto:outbound",
17
17
  "build:openapi": "npm run build:openapi:inbound && npm run build:openapi:outbound",
18
18
  "build:openapi:inbound": "openapi bundle --output ./src/InboundServer/api.yaml --ext yaml ./src/InboundServer/api_template.yaml",
@@ -57,7 +57,7 @@
57
57
  "dependencies": {
58
58
  "@koa/cors": "^3.1.0",
59
59
  "@mojaloop/central-services-shared": "17.0.2",
60
- "@mojaloop/sdk-standard-components": "^17.0.4",
60
+ "@mojaloop/sdk-standard-components": "^17.1.0",
61
61
  "ajv": "8.11.0",
62
62
  "axios": "^0.27.2",
63
63
  "co-body": "^6.1.0",
@@ -88,7 +88,7 @@
88
88
  "@redocly/openapi-cli": "^1.0.0-beta.59",
89
89
  "@types/jest": "^28.1.4",
90
90
  "babel-jest": "^28.1.2",
91
- "eslint": "^8.18.0",
91
+ "eslint": "^8.19.0",
92
92
  "eslint-config-airbnb-base": "^15.0.0",
93
93
  "eslint-plugin-import": "^2.24.2",
94
94
  "eslint-plugin-jest": "^26.5.3",
@@ -96,12 +96,12 @@
96
96
  "jest-junit": "^14.0.0",
97
97
  "nock": "^13.2.8",
98
98
  "npm-audit-resolver": "^3.0.0-0",
99
- "npm-check-updates": "^15.0.1",
99
+ "npm-check-updates": "^15.0.2",
100
100
  "openapi-response-validator": "^12.0.0",
101
101
  "openapi-typescript": "^5.4.0",
102
102
  "redis-mock": "^0.56.3",
103
103
  "standard-version": "^9.3.1",
104
- "supertest": "^6.1.6",
104
+ "supertest": "^6.2.4",
105
105
  "swagger-cli": "^4.0.4"
106
106
  }
107
107
  }
package/src/index.js CHANGED
@@ -78,7 +78,6 @@ class Server extends EventEmitter {
78
78
  this.conf,
79
79
  this.logger.push(LOG_ID.INBOUND),
80
80
  this.cache,
81
- this.metricsClient,
82
81
  this.wso2,
83
82
  );
84
83
  this.inboundServer.on('error', (...args) => {
@@ -195,7 +194,6 @@ class Server extends EventEmitter {
195
194
  newConf,
196
195
  this.logger.push(LOG_ID.INBOUND),
197
196
  this.cache,
198
- this.metricsClient,
199
197
  this.wso2,
200
198
  );
201
199
  this.inboundServer.on('error', (...args) => {