@mojaloop/sdk-scheme-adapter 24.9.1 → 24.9.2

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.
Binary file
package/CHANGELOG.md CHANGED
@@ -1,4 +1,11 @@
1
1
  # Changelog: [mojaloop/sdk-scheme-adapter](https://github.com/mojaloop/sdk-scheme-adapter)
2
+ ### [24.9.2](https://github.com/mojaloop/sdk-scheme-adapter/compare/v24.9.1...v24.9.2) (2025-05-22)
3
+
4
+
5
+ ### Chore
6
+
7
+ * ignore peer_jws notify messages instead of broadcasting error ([#579](https://github.com/mojaloop/sdk-scheme-adapter/issues/579)) ([ff15316](https://github.com/mojaloop/sdk-scheme-adapter/commit/ff15316b1e86bf1d89829e36a41cd36e5009698b))
8
+
2
9
  ### [24.9.1](https://github.com/mojaloop/sdk-scheme-adapter/compare/v24.9.0...v24.9.1) (2025-05-20)
3
10
 
4
11
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mojaloop/sdk-scheme-adapter-api-svc",
3
- "version": "21.0.0-snapshot.34",
3
+ "version": "21.0.0-snapshot.37",
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",
@@ -51,6 +51,7 @@ const FORCE_WS_CLOSE_TIMEOUT_MS = 5000;
51
51
  *************************************************************************/
52
52
  const MESSAGE = {
53
53
  CONFIGURATION: 'CONFIGURATION',
54
+ PEER_JWS: 'PEER_JWS',
54
55
  ERROR: 'ERROR',
55
56
  };
56
57
 
@@ -124,6 +125,7 @@ const build = {
124
125
  JSON_PARSE_ERROR: (id) => buildMsg(VERB.NOTIFY, MESSAGE.ERROR, ERROR.JSON_PARSE_ERROR, id),
125
126
  }
126
127
  },
128
+ PEER_JWS: {},
127
129
  };
128
130
 
129
131
  /**************************************************************************
@@ -235,6 +237,16 @@ class Client extends ws {
235
237
  break;
236
238
  }
237
239
  break;
240
+ case MESSAGE.PEER_JWS:
241
+ switch (msg.verb) {
242
+ case VERB.NOTIFY:
243
+ // Ignore PEER_JWS NOTIFY messages
244
+ break;
245
+ default:
246
+ this.send(build.ERROR.NOTIFY.UNSUPPORTED_VERB(msg.id));
247
+ break;
248
+ }
249
+ break;
238
250
  default:
239
251
  this.send(build.ERROR.NOTIFY.UNSUPPORTED_MESSAGE(msg.id));
240
252
  break;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mojaloop/sdk-scheme-adapter-outbound-command-event-handler",
3
- "version": "0.3.0-snapshot.31",
3
+ "version": "0.3.0-snapshot.34",
4
4
  "description": "Mojaloop sdk scheme adapter command event handler",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://github.com/mojaloop/sdk-scheme-adapter/",
@@ -60,7 +60,7 @@
60
60
  "@types/convict": "6.1.6",
61
61
  "@types/express": "5.0.2",
62
62
  "@types/jest": "29.5.14",
63
- "@types/node": "22.15.20",
63
+ "@types/node": "22.15.21",
64
64
  "@types/node-cache": "4.2.5",
65
65
  "@types/supertest": "6.0.3",
66
66
  "@types/swagger-ui-express": "4.1.8",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mojaloop/sdk-scheme-adapter-outbound-domain-event-handler",
3
- "version": "0.3.0-snapshot.31",
3
+ "version": "0.3.0-snapshot.34",
4
4
  "description": "mojaloop sdk scheme adapter outbound domain event handler",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://github.com/mojaloop/sdk-scheme-adapter/",
@@ -57,7 +57,7 @@
57
57
  "@types/convict": "6.1.6",
58
58
  "@types/express": "5.0.2",
59
59
  "@types/jest": "29.5.14",
60
- "@types/node": "22.15.20",
60
+ "@types/node": "22.15.21",
61
61
  "@types/node-cache": "4.2.5",
62
62
  "@types/supertest": "6.0.3",
63
63
  "@types/swagger-ui-express": "4.1.8",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mojaloop/sdk-scheme-adapter-private-shared-lib",
3
- "version": "0.4.0-snapshot.31",
3
+ "version": "0.4.0-snapshot.34",
4
4
  "description": "SDK Scheme Adapter private shared library.",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://github.com/mojaloop/accounts-and-balances-bc/tree/main/modules/private-types",
@@ -40,7 +40,7 @@
40
40
  },
41
41
  "devDependencies": {
42
42
  "@eslint/compat": "1.2.9",
43
- "@types/node": "22.15.20",
43
+ "@types/node": "22.15.21",
44
44
  "@types/uuid": "10.0.0",
45
45
  "@typescript-eslint/eslint-plugin": "8.32.1",
46
46
  "@typescript-eslint/parser": "8.32.1",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mojaloop/sdk-scheme-adapter",
3
- "version": "24.9.1",
3
+ "version": "24.9.2",
4
4
  "description": "mojaloop sdk-scheme-adapter",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://github.com/mojaloop/sdk-scheme-adapter",
@@ -82,7 +82,7 @@
82
82
  },
83
83
  "devDependencies": {
84
84
  "@types/jest": "29.5.14",
85
- "@types/node": "22.15.20",
85
+ "@types/node": "22.15.21",
86
86
  "@types/node-cache": "4.2.5",
87
87
  "@typescript-eslint/eslint-plugin": "8.32.1",
88
88
  "@typescript-eslint/parser": "8.32.1",