@uipath/test-manager-tool 1.197.0 → 1.198.0-preview.81

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 +26 -7
  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/test-manager-tool",
21232
21232
  license: "MIT",
21233
- version: "1.197.0",
21233
+ version: "1.198.0-preview.81",
21234
21234
  description: "Manage test cases, test sets, executions, and results.",
21235
21235
  private: false,
21236
21236
  repository: {
@@ -21335,8 +21335,15 @@ var TLS_ERROR_CODES = new Set([
21335
21335
  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.";
21336
21336
  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.";
21337
21337
  function describeConnectivityError(error) {
21338
- let current = error;
21339
- for (let depth = 0;depth < 5 && current !== null && typeof current === "object"; depth++) {
21338
+ const queue = [error];
21339
+ const seen = new Set;
21340
+ for (let steps = 0;queue.length > 0 && steps < 32; steps++) {
21341
+ const current = queue.shift();
21342
+ if (current === null || typeof current !== "object")
21343
+ continue;
21344
+ if (seen.has(current))
21345
+ continue;
21346
+ seen.add(current);
21340
21347
  const cur = current;
21341
21348
  const code = typeof cur.code === "string" ? cur.code : undefined;
21342
21349
  const message = typeof cur.message === "string" ? cur.message : undefined;
@@ -21356,7 +21363,10 @@ function describeConnectivityError(error) {
21356
21363
  instructions: NETWORK_INSTRUCTIONS
21357
21364
  };
21358
21365
  }
21359
- current = cur.cause;
21366
+ if (cur.cause !== undefined)
21367
+ queue.push(cur.cause);
21368
+ if (Array.isArray(cur.errors))
21369
+ queue.push(...cur.errors);
21360
21370
  }
21361
21371
  return;
21362
21372
  }
@@ -26611,6 +26621,7 @@ function configureLogger(config) {
26611
26621
  // ../common/src/output-format-context.ts
26612
26622
  var formatSlot = singleton("OutputFormat");
26613
26623
  var formatExplicitSlot = singleton("OutputFormatExplicit");
26624
+ var helpRequestedSlot = singleton("HelpRequested");
26614
26625
  var filterSlot = singleton("OutputFilter");
26615
26626
  function getOutputFormat() {
26616
26627
  return formatSlot.get("json");
@@ -27684,6 +27695,9 @@ var OutputFormatter;
27684
27695
  if (opts?.warning) {
27685
27696
  data.Warning = opts.warning;
27686
27697
  }
27698
+ if (opts?.pagination) {
27699
+ data.Pagination = opts.pagination;
27700
+ }
27687
27701
  success(data);
27688
27702
  }
27689
27703
  OutputFormatter.emitList = emitList;
@@ -28192,6 +28206,7 @@ function instructionsFor(ctx, err) {
28192
28206
  }
28193
28207
  // ../common/src/interactivity-context.ts
28194
28208
  var modeSlot = singleton("InteractivityMode");
28209
+ var interactiveFlagSlot = singleton("InteractiveFlag");
28195
28210
  // ../common/src/option-aliases.ts
28196
28211
  function resolveDeprecatedOptionAlias({
28197
28212
  preferredValue,
@@ -29093,7 +29108,7 @@ class TextApiResponse {
29093
29108
  var package_default2 = {
29094
29109
  name: "@uipath/test-manager-sdk",
29095
29110
  license: "MIT",
29096
- version: "1.197.0",
29111
+ version: "1.198.0",
29097
29112
  repository: {
29098
29113
  type: "git",
29099
29114
  url: "https://github.com/UiPath/cli.git",
@@ -36819,6 +36834,10 @@ var getAuthContext = async (options = {}) => {
36819
36834
  tenantName
36820
36835
  };
36821
36836
  };
36837
+
36838
+ // ../auth/src/index.ts
36839
+ init_constants();
36840
+
36822
36841
  // ../auth/src/interactive.ts
36823
36842
  init_src();
36824
36843
 
@@ -42214,7 +42233,7 @@ class TextApiResponse2 {
42214
42233
  var package_default3 = {
42215
42234
  name: "@uipath/orchestrator-sdk",
42216
42235
  license: "MIT",
42217
- version: "1.197.0",
42236
+ version: "1.198.0",
42218
42237
  repository: {
42219
42238
  type: "git",
42220
42239
  url: "https://github.com/UiPath/cli.git",
@@ -47373,4 +47392,4 @@ export {
47373
47392
  metadata
47374
47393
  };
47375
47394
 
47376
- //# debugId=D8A25E8B75D45DFD64756E2164756E21
47395
+ //# debugId=72E5821842F5374E64756E2164756E21
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@uipath/test-manager-tool",
3
3
  "license": "MIT",
4
- "version": "1.197.0",
4
+ "version": "1.198.0-preview.81",
5
5
  "description": "Manage test cases, test sets, executions, and results.",
6
6
  "private": false,
7
7
  "repository": {
@@ -26,5 +26,5 @@
26
26
  "files": [
27
27
  "dist"
28
28
  ],
29
- "gitHead": "56f68b263cec4ea1f2a39d738bd99ecf52f88fea"
29
+ "gitHead": "d6a326ee051d553694b61f4923bcf1719d2e5110"
30
30
  }