@uipath/traces-tool 1.197.0 → 1.198.0-preview.80

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/tool.js +25 -6
  2. package/package.json +2 -2
package/dist/tool.js CHANGED
@@ -21230,7 +21230,7 @@ var init_server = __esm(() => {
21230
21230
  var package_default = {
21231
21231
  name: "@uipath/traces-tool",
21232
21232
  license: "MIT",
21233
- version: "1.197.0",
21233
+ version: "1.198.0-preview.80",
21234
21234
  description: "Query execution traces for UiPath jobs",
21235
21235
  private: false,
21236
21236
  keywords: [
@@ -21325,8 +21325,15 @@ var TLS_ERROR_CODES = new Set([
21325
21325
  var TLS_INSTRUCTIONS = "The server's TLS certificate could not be verified. Most often a " + "corporate proxy/firewall re-signs HTTPS with a root CA that Node does " + "not trust — set NODE_EXTRA_CA_CERTS to that CA's PEM file (and HTTPS_PROXY " + "if you connect through a proxy). If the certificate is instead expired or " + "its hostname does not match, fix the endpoint URL or the system clock. " + "Then retry.";
21326
21326
  var NETWORK_INSTRUCTIONS = "Could not reach the UiPath service. Check your network connection and " + "VPN, confirm any HTTP_PROXY/HTTPS_PROXY/NO_PROXY settings are correct, " + "then retry.";
21327
21327
  function describeConnectivityError(error) {
21328
- let current = error;
21329
- for (let depth = 0;depth < 5 && current !== null && typeof current === "object"; depth++) {
21328
+ const queue = [error];
21329
+ const seen = new Set;
21330
+ for (let steps = 0;queue.length > 0 && steps < 32; steps++) {
21331
+ const current = queue.shift();
21332
+ if (current === null || typeof current !== "object")
21333
+ continue;
21334
+ if (seen.has(current))
21335
+ continue;
21336
+ seen.add(current);
21330
21337
  const cur = current;
21331
21338
  const code = typeof cur.code === "string" ? cur.code : undefined;
21332
21339
  const message = typeof cur.message === "string" ? cur.message : undefined;
@@ -21346,7 +21353,10 @@ function describeConnectivityError(error) {
21346
21353
  instructions: NETWORK_INSTRUCTIONS
21347
21354
  };
21348
21355
  }
21349
- current = cur.cause;
21356
+ if (cur.cause !== undefined)
21357
+ queue.push(cur.cause);
21358
+ if (Array.isArray(cur.errors))
21359
+ queue.push(...cur.errors);
21350
21360
  }
21351
21361
  return;
21352
21362
  }
@@ -26581,6 +26591,7 @@ function getLogFilePath() {
26581
26591
  // ../common/src/output-format-context.ts
26582
26592
  var formatSlot = singleton("OutputFormat");
26583
26593
  var formatExplicitSlot = singleton("OutputFormatExplicit");
26594
+ var helpRequestedSlot = singleton("HelpRequested");
26584
26595
  var filterSlot = singleton("OutputFilter");
26585
26596
  function getOutputFormat() {
26586
26597
  return formatSlot.get("json");
@@ -27648,6 +27659,9 @@ var OutputFormatter;
27648
27659
  if (opts?.warning) {
27649
27660
  data.Warning = opts.warning;
27650
27661
  }
27662
+ if (opts?.pagination) {
27663
+ data.Pagination = opts.pagination;
27664
+ }
27651
27665
  success(data);
27652
27666
  }
27653
27667
  OutputFormatter.emitList = emitList;
@@ -28109,6 +28123,7 @@ var savedOriginalsSlot = singleton("ConsoleGuardOriginals");
28109
28123
  var DEFAULT_AUTH_TIMEOUT_MS = 5 * 60 * 1000;
28110
28124
  // ../common/src/interactivity-context.ts
28111
28125
  var modeSlot = singleton("InteractivityMode");
28126
+ var interactiveFlagSlot = singleton("InteractiveFlag");
28112
28127
  // ../common/src/option-aliases.ts
28113
28128
  function resolveDeprecatedOptionAlias({
28114
28129
  preferredValue,
@@ -29479,6 +29494,10 @@ var getAuthContext = async (options = {}) => {
29479
29494
  tenantName
29480
29495
  };
29481
29496
  };
29497
+
29498
+ // ../auth/src/index.ts
29499
+ init_constants();
29500
+
29482
29501
  // ../auth/src/interactive.ts
29483
29502
  init_src();
29484
29503
 
@@ -30472,7 +30491,7 @@ class TextApiResponse {
30472
30491
  var package_default2 = {
30473
30492
  name: "@uipath/orchestrator-sdk",
30474
30493
  license: "MIT",
30475
- version: "1.197.0",
30494
+ version: "1.198.0",
30476
30495
  repository: {
30477
30496
  type: "git",
30478
30497
  url: "https://github.com/UiPath/cli.git",
@@ -34445,4 +34464,4 @@ export {
34445
34464
  metadata
34446
34465
  };
34447
34466
 
34448
- //# debugId=666D5226ADBE1C7664756E2164756E21
34467
+ //# debugId=367027B0E9E2713064756E2164756E21
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@uipath/traces-tool",
3
3
  "license": "MIT",
4
- "version": "1.197.0",
4
+ "version": "1.198.0-preview.80",
5
5
  "description": "Query execution traces for UiPath jobs",
6
6
  "private": false,
7
7
  "keywords": [
@@ -21,5 +21,5 @@
21
21
  "publishConfig": {
22
22
  "registry": "https://registry.npmjs.org/"
23
23
  },
24
- "gitHead": "56f68b263cec4ea1f2a39d738bd99ecf52f88fea"
24
+ "gitHead": "9b2c3c0f21a256d2f38dd28bc97e72e6f7b10a9c"
25
25
  }