@starship-ci/client
Advanced tools
Comparing version 2.2.0 to 2.3.0
@@ -377,11 +377,10 @@ "use strict"; | ||
this.config.chains.forEach(chain => { | ||
// TODO Talk to Anmol about chain.name and chain.name, seems to be opposite of intuition using chainReg as concept | ||
const chainPodPorts = this.podPorts.chains[chain.name] || this.podPorts.chains.defaultPorts; | ||
if (chain.ports.rpc) | ||
if (chain.ports?.rpc) | ||
this.forwardPort(chain, chain.ports.rpc, chainPodPorts.rpc); | ||
if (chain.ports.rest) | ||
if (chain.ports?.rest) | ||
this.forwardPort(chain, chain.ports.rest, chainPodPorts.rest); | ||
if (chain.ports.exposer) | ||
if (chain.ports?.exposer) | ||
this.forwardPort(chain, chain.ports.exposer, chainPodPorts.exposer); | ||
if (chain.ports.faucet) | ||
if (chain.ports?.faucet) | ||
this.forwardPort(chain, chain.ports.faucet, chainPodPorts.faucet); | ||
@@ -388,0 +387,0 @@ }); |
@@ -348,11 +348,10 @@ import chalk from 'chalk'; | ||
this.config.chains.forEach(chain => { | ||
// TODO Talk to Anmol about chain.name and chain.name, seems to be opposite of intuition using chainReg as concept | ||
const chainPodPorts = this.podPorts.chains[chain.name] || this.podPorts.chains.defaultPorts; | ||
if (chain.ports.rpc) | ||
if (chain.ports?.rpc) | ||
this.forwardPort(chain, chain.ports.rpc, chainPodPorts.rpc); | ||
if (chain.ports.rest) | ||
if (chain.ports?.rest) | ||
this.forwardPort(chain, chain.ports.rest, chainPodPorts.rest); | ||
if (chain.ports.exposer) | ||
if (chain.ports?.exposer) | ||
this.forwardPort(chain, chain.ports.exposer, chainPodPorts.exposer); | ||
if (chain.ports.faucet) | ||
if (chain.ports?.faucet) | ||
this.forwardPort(chain, chain.ports.faucet, chainPodPorts.faucet); | ||
@@ -359,0 +358,0 @@ }); |
{ | ||
"name": "@starship-ci/client", | ||
"version": "2.2.0", | ||
"version": "2.3.0", | ||
"author": "Dan Lynch <pyramation@gmail.com>", | ||
@@ -58,3 +58,3 @@ "description": "Starship CI Client", | ||
}, | ||
"gitHead": "d522cc0c53f29b40829631397db36e252022c376" | ||
"gitHead": "9b5e15dc298b5db28c9da8a57acded33a2e08837" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
55349
1310