Compare View

switch
from
...
to
 
Commits (2)

Changes

Showing 4 changed files Side-by-side Diff

... ... @@ -4,8 +4,14 @@ All notable changes to this project will be documented in this file. Dates are d
4 4  
5 5 Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
6 6  
  7 +#### [v0.1.18](https://gitlab.kodesumber.com/komodo/komodo-sdk-push-trx/compare/v0.1.17...v0.1.18)
  8 +
  9 +- Filter connectAll only on gateway with ws protocol url [`2507b4a`](https://gitlab.kodesumber.com/komodo/komodo-sdk-push-trx/commit/2507b4aed4c8c0e70f3b7edfb3f53adb59f667c2)
  10 +
7 11 #### [v0.1.17](https://gitlab.kodesumber.com/komodo/komodo-sdk-push-trx/compare/v0.1.16...v0.1.17)
8 12  
  13 +> 8 February 2022
  14 +
9 15 - Add clients.hasActiveWs [`78c968c`](https://gitlab.kodesumber.com/komodo/komodo-sdk-push-trx/commit/78c968c3124f66bd482472fbfa9a6d646950fce4)
10 16  
11 17 #### [v0.1.16](https://gitlab.kodesumber.com/komodo/komodo-sdk-push-trx/compare/v0.1.15...v0.1.16)
... ... @@ -12,7 +12,10 @@ const connectAll = (xidFromCaller) => {
12 12 const xid = xidFromCaller || uniqid();
13 13  
14 14 const gateways = config.gateways
15   - .filter((gateway) => !gateway.disabled && gateway.url && gateway.name);
  15 + .filter((gateway) => !gateway.disabled
  16 + && gateway.name
  17 + && gateway.url
  18 + && ((new URL(gateway.url) || {}).protocol === 'ws:'));
16 19  
17 20 if (debugAllGatewaysFromConfig) {
18 21 logger.verbose(`${MODULE_NAME} 80C7AAD6: Dumping config.gateways`, {
1 1 {
2 2 "name": "komodo-sdk-push-trx",
3   - "version": "0.1.17",
  3 + "version": "0.1.18",
4 4 "lockfileVersion": 2,
5 5 "requires": true,
6 6 "packages": {
7 7 "": {
8 8 "name": "komodo-sdk-push-trx",
9   - "version": "0.1.17",
  9 + "version": "0.1.18",
10 10 "license": "ISC",
11 11 "dependencies": {
12 12 "express": "^4.17.2",
1 1 {
2 2 "name": "komodo-sdk-push-trx",
3   - "version": "0.1.17",
  3 + "version": "0.1.18",
4 4 "description": "Komodo SDK for PUSH transaction",
5 5 "main": "index.js",
6 6 "scripts": {