@uipath/function-tool 1.202.0-preview.136 → 1.202.0-preview.137

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 +19 -19
  2. package/package.json +2 -2
package/dist/tool.js CHANGED
@@ -8,7 +8,7 @@ import {
8
8
  var package_default = {
9
9
  name: "@uipath/function-tool",
10
10
  license: "MIT",
11
- version: "1.202.0-preview.136",
11
+ version: "1.202.0-preview.137",
12
12
  description: "UiPath CLI tool for JS/TS and Python Functions — thin passthrough to uipath-functions / uipath",
13
13
  keywords: [
14
14
  "uipcli-tool",
@@ -9960,6 +9960,14 @@ var RETRY_HINTS = [
9960
9960
  "RetryAfter30Seconds",
9961
9961
  "RetryAfter60Seconds"
9962
9962
  ];
9963
+ var CLI_ERROR_CODE_VALUES = new Set(CLI_ERROR_CODES);
9964
+ var RETRY_HINT_VALUES = new Set(RETRY_HINTS);
9965
+ function isCliErrorCode(value) {
9966
+ return typeof value === "string" && CLI_ERROR_CODE_VALUES.has(value);
9967
+ }
9968
+ function isRetryHint(value) {
9969
+ return typeof value === "string" && RETRY_HINT_VALUES.has(value);
9970
+ }
9963
9971
  var RESULTS = {
9964
9972
  Success: "Success",
9965
9973
  Failure: "Failure",
@@ -10751,8 +10759,6 @@ function emitInvocationRequest(name, success, properties) {
10751
10759
  }
10752
10760
  }
10753
10761
  var pollSignalSlot = singleton("PollSignal");
10754
- var cliErrorCodeValues = new Set(CLI_ERROR_CODES);
10755
- var retryHintValues = new Set(RETRY_HINTS);
10756
10762
  var TELEMETRY_COMMAND_ARG_PREFIX = "uip.cmd.arg.";
10757
10763
  var processContext = {
10758
10764
  exit: (code) => {
@@ -10840,12 +10846,6 @@ function deriveCommandPath(cmd) {
10840
10846
  }
10841
10847
  return commandTelemetryName(parts);
10842
10848
  }
10843
- function isCliErrorCode(value) {
10844
- return typeof value === "string" && cliErrorCodeValues.has(value);
10845
- }
10846
- function isRetryHint(value) {
10847
- return typeof value === "string" && retryHintValues.has(value);
10848
- }
10849
10849
  function isErrorContext(value) {
10850
10850
  return value !== null && typeof value === "object";
10851
10851
  }
@@ -20762,7 +20762,7 @@ function querystringSingleKey(key, value, keyPrefix = "") {
20762
20762
  var package_default2 = {
20763
20763
  name: "@uipath/solution-sdk",
20764
20764
  license: "MIT",
20765
- version: "1.202.0-preview.136",
20765
+ version: "1.202.0-preview.137",
20766
20766
  repository: {
20767
20767
  type: "git",
20768
20768
  url: "https://github.com/UiPath/cli.git",
@@ -22649,6 +22649,14 @@ var RETRY_HINTS2 = [
22649
22649
  "RetryAfter30Seconds",
22650
22650
  "RetryAfter60Seconds"
22651
22651
  ];
22652
+ var CLI_ERROR_CODE_VALUES2 = new Set(CLI_ERROR_CODES2);
22653
+ var RETRY_HINT_VALUES2 = new Set(RETRY_HINTS2);
22654
+ function isCliErrorCode2(value) {
22655
+ return typeof value === "string" && CLI_ERROR_CODE_VALUES2.has(value);
22656
+ }
22657
+ function isRetryHint2(value) {
22658
+ return typeof value === "string" && RETRY_HINT_VALUES2.has(value);
22659
+ }
22652
22660
  var RESULTS2 = {
22653
22661
  Success: "Success",
22654
22662
  Failure: "Failure",
@@ -23440,8 +23448,6 @@ function emitInvocationRequest2(name, success, properties) {
23440
23448
  }
23441
23449
  }
23442
23450
  var pollSignalSlot2 = singleton2("PollSignal");
23443
- var cliErrorCodeValues2 = new Set(CLI_ERROR_CODES2);
23444
- var retryHintValues2 = new Set(RETRY_HINTS2);
23445
23451
  var TELEMETRY_COMMAND_ARG_PREFIX2 = "uip.cmd.arg.";
23446
23452
  var TELEMETRY_ARG_VALUE_WITHHELD2 = "<provided>";
23447
23453
  var TELEMETRY_ARG_VALUE_DEFAULTED2 = "<default>";
@@ -23520,12 +23526,6 @@ function deriveCommandPath2(cmd) {
23520
23526
  }
23521
23527
  return commandTelemetryName2(parts);
23522
23528
  }
23523
- function isCliErrorCode2(value) {
23524
- return typeof value === "string" && cliErrorCodeValues2.has(value);
23525
- }
23526
- function isRetryHint2(value) {
23527
- return typeof value === "string" && retryHintValues2.has(value);
23528
- }
23529
23529
  function isErrorContext2(value) {
23530
23530
  return value !== null && typeof value === "object";
23531
23531
  }
@@ -27885,4 +27885,4 @@ export {
27885
27885
  registerCommands
27886
27886
  };
27887
27887
 
27888
- //# debugId=543377591980113B64756E2164756E21
27888
+ //# debugId=4424EF8AF5A5D32D64756E2164756E21
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@uipath/function-tool",
3
3
  "license": "MIT",
4
- "version": "1.202.0-preview.136",
4
+ "version": "1.202.0-preview.137",
5
5
  "description": "UiPath CLI tool for JS/TS and Python Functions — thin passthrough to uipath-functions / uipath",
6
6
  "keywords": [
7
7
  "uipcli-tool",
@@ -34,5 +34,5 @@
34
34
  "dependencies": {
35
35
  "typescript": "^5.7.0"
36
36
  },
37
- "gitHead": "f6270de2c7c04f4c43b2f5187b0c3d3c314c2610"
37
+ "gitHead": "bbb20a6d3501afc3435a92af9ae2e9f7ab2e34f6"
38
38
  }