@uipath/platform-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 +25 -6
  2. package/package.json +2 -2
package/dist/tool.js CHANGED
@@ -44724,7 +44724,7 @@ var require_dist3 = __commonJS((exports) => {
44724
44724
  var package_default = {
44725
44725
  name: "@uipath/platform-tool",
44726
44726
  license: "MIT",
44727
- version: "1.197.0",
44727
+ version: "1.198.0-preview.81",
44728
44728
  description: "Manage UiPath platform-level resources such as tenant licensing.",
44729
44729
  type: "module",
44730
44730
  main: "./dist/tool.js",
@@ -45959,6 +45959,10 @@ var getAuthContext = async (options = {}) => {
45959
45959
  tenantName
45960
45960
  };
45961
45961
  };
45962
+
45963
+ // ../auth/src/index.ts
45964
+ init_constants();
45965
+
45962
45966
  // ../auth/src/interactive.ts
45963
45967
  init_src();
45964
45968
 
@@ -46054,8 +46058,15 @@ var TLS_ERROR_CODES = new Set([
46054
46058
  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.";
46055
46059
  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.";
46056
46060
  function describeConnectivityError(error) {
46057
- let current = error;
46058
- for (let depth = 0;depth < 5 && current !== null && typeof current === "object"; depth++) {
46061
+ const queue = [error];
46062
+ const seen = new Set;
46063
+ for (let steps = 0;queue.length > 0 && steps < 32; steps++) {
46064
+ const current = queue.shift();
46065
+ if (current === null || typeof current !== "object")
46066
+ continue;
46067
+ if (seen.has(current))
46068
+ continue;
46069
+ seen.add(current);
46059
46070
  const cur = current;
46060
46071
  const code = typeof cur.code === "string" ? cur.code : undefined;
46061
46072
  const message = typeof cur.message === "string" ? cur.message : undefined;
@@ -46075,7 +46086,10 @@ function describeConnectivityError(error) {
46075
46086
  instructions: NETWORK_INSTRUCTIONS
46076
46087
  };
46077
46088
  }
46078
- current = cur.cause;
46089
+ if (cur.cause !== undefined)
46090
+ queue.push(cur.cause);
46091
+ if (Array.isArray(cur.errors))
46092
+ queue.push(...cur.errors);
46079
46093
  }
46080
46094
  return;
46081
46095
  }
@@ -51310,6 +51324,7 @@ function getLogFilePath() {
51310
51324
  // ../common/src/output-format-context.ts
51311
51325
  var formatSlot = singleton("OutputFormat");
51312
51326
  var formatExplicitSlot = singleton("OutputFormatExplicit");
51327
+ var helpRequestedSlot = singleton("HelpRequested");
51313
51328
  var filterSlot = singleton("OutputFilter");
51314
51329
  function getOutputFormat() {
51315
51330
  return formatSlot.get("json");
@@ -52398,6 +52413,9 @@ var OutputFormatter;
52398
52413
  if (opts?.warning) {
52399
52414
  data.Warning = opts.warning;
52400
52415
  }
52416
+ if (opts?.pagination) {
52417
+ data.Pagination = opts.pagination;
52418
+ }
52401
52419
  success(data);
52402
52420
  }
52403
52421
  OutputFormatter.emitList = emitList;
@@ -52845,6 +52863,7 @@ var savedOriginalsSlot = singleton("ConsoleGuardOriginals");
52845
52863
  var DEFAULT_AUTH_TIMEOUT_MS2 = 5 * 60 * 1000;
52846
52864
  // ../common/src/interactivity-context.ts
52847
52865
  var modeSlot = singleton("InteractivityMode");
52866
+ var interactiveFlagSlot = singleton("InteractiveFlag");
52848
52867
  // ../common/src/polling/types.ts
52849
52868
  var PollOutcome = {
52850
52869
  Completed: "completed",
@@ -53871,7 +53890,7 @@ class JSONApiResponse {
53871
53890
  var package_default2 = {
53872
53891
  name: "@uipath/identity-sdk",
53873
53892
  license: "MIT",
53874
- version: "1.197.0",
53893
+ version: "1.198.0",
53875
53894
  repository: {
53876
53895
  type: "git",
53877
53896
  url: "https://github.com/UiPath/cli.git",
@@ -55629,4 +55648,4 @@ export {
55629
55648
  metadata
55630
55649
  };
55631
55650
 
55632
- //# debugId=9264061A254B561164756E2164756E21
55651
+ //# debugId=45B4F439613FAC2664756E2164756E21
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@uipath/platform-tool",
3
3
  "license": "MIT",
4
- "version": "1.197.0",
4
+ "version": "1.198.0-preview.81",
5
5
  "description": "Manage UiPath platform-level resources such as tenant licensing.",
6
6
  "type": "module",
7
7
  "main": "./dist/tool.js",
@@ -20,5 +20,5 @@
20
20
  "publishConfig": {
21
21
  "registry": "https://registry.npmjs.org/"
22
22
  },
23
- "gitHead": "56f68b263cec4ea1f2a39d738bd99ecf52f88fea"
23
+ "gitHead": "d6a326ee051d553694b61f4923bcf1719d2e5110"
24
24
  }