feat: review feedback, and more changes in cli

This commit is contained in:
=
2025-02-26 20:45:37 +05:30
parent f34370cb9d
commit f7406ea8f8
16 changed files with 336 additions and 82 deletions
+3 -3
View File
@@ -36,12 +36,12 @@ type TPingGatewayAndVerifyDTO = {
relayHost: string;
relayPort: number;
tlsOptions: tls.TlsOptions;
maxRetries: number;
maxRetries?: number;
identityId: string;
orgId: string;
};
const pingGatewayAndVerifyIdentity = async ({
export const pingGatewayAndVerify = async ({
relayHost,
relayPort,
tlsOptions = {},
@@ -236,7 +236,7 @@ export const withGatewayProxy = async (
} = options;
// First, try to ping the gateway
await pingGatewayAndVerifyIdentity({
await pingGatewayAndVerify({
relayHost,
relayPort,
tlsOptions,