@lambdatest/smartui-cli 4.1.12 → 4.1.13

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.
Files changed (2) hide show
  1. package/dist/index.cjs +6 -1
  2. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -1856,7 +1856,7 @@ var authExec_default = (ctx) => {
1856
1856
  };
1857
1857
 
1858
1858
  // package.json
1859
- var version = "4.1.12";
1859
+ var version = "4.1.13";
1860
1860
  var package_default = {
1861
1861
  name: "@lambdatest/smartui-cli",
1862
1862
  version,
@@ -2712,6 +2712,7 @@ var createBuildExec_default = (ctx) => {
2712
2712
  }
2713
2713
  }
2714
2714
  if (ctx2.config.tunnel && ((_b = ctx2.config.tunnel) == null ? void 0 : _b.type) === "auto") {
2715
+ startPingPolling(ctx2);
2715
2716
  if (ctx2.build && ctx2.build.id) {
2716
2717
  startPollingForTunnel(ctx2, "", false, "");
2717
2718
  }
@@ -2853,6 +2854,10 @@ var finalizeBuild_default = (ctx) => {
2853
2854
  }
2854
2855
  let buildUrls = `build url: ${ctx2.build.url}
2855
2856
  `;
2857
+ if (pingIntervalId !== null) {
2858
+ clearInterval(pingIntervalId);
2859
+ ctx2.log.debug("Ping polling stopped immediately.");
2860
+ }
2856
2861
  for (const [sessionId, capabilities] of ctx2.sessionCapabilitiesMap.entries()) {
2857
2862
  try {
2858
2863
  const buildId = (capabilities == null ? void 0 : capabilities.buildId) || "";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lambdatest/smartui-cli",
3
- "version": "4.1.12",
3
+ "version": "4.1.13",
4
4
  "description": "A command line interface (CLI) to run SmartUI tests on LambdaTest",
5
5
  "files": [
6
6
  "dist/**/*"