@uipath/function-tool 1.205.0-preview.268 → 1.205.0-preview.274

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.
@@ -1,13 +1,13 @@
1
- import {
2
- getGlobalThis,
3
- isBrowser
4
- } from "./packager-tool-0gctz400.js";
5
1
  import {
6
2
  catchError
7
3
  } from "./packager-tool-qa9gftnj.js";
8
4
  import {
9
5
  getFileSystem
10
6
  } from "./packager-tool-y4vgqz1w.js";
7
+ import {
8
+ getGlobalThis,
9
+ isBrowser
10
+ } from "./packager-tool-0gctz400.js";
11
11
  import {
12
12
  AUTH_FILENAME,
13
13
  DEFAULT_BASE_URL,
@@ -2520,4 +2520,4 @@ var authenticate = async ({
2520
2520
 
2521
2521
  export { setAuthFileConfig, InvalidBaseUrlError, DEFAULT_AUTH_PROFILE, AuthProfileValidationError, normalizeAuthProfileName, setActiveAuthProfile, clearActiveAuthProfile, getActiveAuthProfile, runWithAuthProfile, resolveAuthProfileFilePath, getActiveAuthProfileFilePath, getAuthProfilesRootPath, resolveAuthProfileDirPath, listAuthProfileNamesAsync, authProfileExistsAsync, deleteAuthProfileAsync, parseJWT, parseAuthFlow, resolveSessionIdentity, readTokenScopes, ENV_AUTH_ENABLE_VAR, ENFORCE_ROBOT_AUTH_VAR, ENV_AUTH_VARS, EnvAuthConfigError, isEnvAuthEnabled, isRobotAuthEnforced, readAuthFromEnv, refreshTokenFingerprint, loadRefreshBreaker, saveRefreshBreaker, clearRefreshBreaker, registerRobotClientLoader, fetchTenantsAndOrganizations, TokenRefreshOAuthError, isTokenRefreshOAuthFailure, refreshAccessToken, AUTH_FLOW_ENV_VAR, DEFAULT_AUTH_FILENAME, DEFAULT_ENV_FILENAME, resolveEnvFileLocationAsync, resolveEnvFilePathAsync, loadEnvFileAsync, saveEnvFileAsync, CredentialSource, getLoginStatusAsync, getLoginStatusWithDeps, getAuthContext, getAuthEnv, describeAuthProfilesAsync, ClientCredentialsAuthenticationError, clientCredentialsLogin, JWT_BEARER_ASSERTION_TYPE, FederatedCredentialsAuthenticationError, federatedCredentialsLogin, TENANT_SELECTION_REQUIRED_CODE, INVALID_TENANT_CODE, TenantSelectionError, TenantSelectionRequiredError, InvalidTenantError, isTenantSelectionError, selectTenantWithDeps, interactiveLoginWithDeps, interactiveLogin, logoutWithDeps, logout, authenticate };
2522
2522
 
2523
- //# debugId=40192C240CF134F264756E2164756E21
2523
+ //# debugId=6C6D8C0CEC26DA6E64756E2164756E21
@@ -1769,7 +1769,7 @@ function createManifestGeneratingFunctionsToolFactory() {
1769
1769
  }
1770
1770
  this.logger.progress("Generating Functions manifests...");
1771
1771
  try {
1772
- const { generateManifests } = await import("./cliRunner-23vh097s.js");
1772
+ const { generateManifests } = await import("./cliRunner-6t7v6dqr.js");
1773
1773
  await generateManifests(options.projectPath);
1774
1774
  } catch (error) {
1775
1775
  return this.failureResult(probe, "Manifest generation", error);
package/dist/tool.js CHANGED
@@ -15,12 +15,12 @@ import {
15
15
  stripHostGlobalOptions,
16
16
  trackShipSucceeded
17
17
  } from "./packager-tool-f7enb48c.js";
18
- import {
19
- detectProjectLanguage
20
- } from "./packager-tool-h7ke7taj.js";
21
18
  import {
22
19
  getFileSystem
23
20
  } from "./packager-tool-y4vgqz1w.js";
21
+ import {
22
+ detectProjectLanguage
23
+ } from "./packager-tool-h7ke7taj.js";
24
24
  import {
25
25
  __require
26
26
  } from "./packager-tool-1de529jm.js";
@@ -29,7 +29,7 @@ var package_default = {
29
29
  name: "@uipath/function-tool",
30
30
  author: "UiPath",
31
31
  license: "SEE LICENSE IN LICENSE.txt",
32
- version: "1.205.0-preview.268",
32
+ version: "1.205.0-preview.274",
33
33
  description: "UiPath CLI tool for JS/TS and Python Functions — thin passthrough to uipath-functions / uipath",
34
34
  keywords: [
35
35
  "uipcli-tool",
@@ -69,7 +69,7 @@ var package_default = {
69
69
  },
70
70
  devDependencies: {
71
71
  "@uipath/auth": "workspace:*",
72
- "@uipath/coded-functions-js-cli": "0.1.86",
72
+ "@uipath/coded-functions-js-cli": "0.1.91",
73
73
  "@uipath/common": "workspace:*",
74
74
  "@uipath/filesystem": "workspace:*",
75
75
  "@uipath/packager-tool-functions": "workspace:*",
@@ -100,7 +100,7 @@ function registerSetupCommand(program) {
100
100
  });
101
101
  }
102
102
  async function reportPythonSetup(force) {
103
- const { getAllowedPythonVersions, getPackageName, PythonService } = await import("./index-7gz8y4st.js");
103
+ const { getAllowedPythonVersions, getPackageName, PythonService } = await import("./index-jhfvqtwr.js");
104
104
  const packageName = getPackageName();
105
105
  const service = new PythonService({
106
106
  allowedVersions: getAllowedPythonVersions(),
@@ -220,7 +220,7 @@ function namesRunTarget(arg) {
220
220
  // src/services/utils.ts
221
221
  async function loadGlobalAuthEnv() {
222
222
  try {
223
- const { loadEnvFileAsync, resolveEnvFilePathAsync } = await import("./index-d5j82d97.js");
223
+ const { loadEnvFileAsync, resolveEnvFilePathAsync } = await import("./index-at7vc5xq.js");
224
224
  const { absolutePath } = await resolveEnvFilePathAsync();
225
225
  if (!absolutePath) {
226
226
  return {};
@@ -246,7 +246,7 @@ async function runJsCli(args, cwd) {
246
246
  if (fs2.env.cwd() !== cwd) {
247
247
  process.chdir(cwd);
248
248
  }
249
- const { cliRunner } = await import("./cliRunner-23vh097s.js");
249
+ const { cliRunner } = await import("./cliRunner-6t7v6dqr.js");
250
250
  await cliRunner(jsArgs);
251
251
  }
252
252
 
@@ -325,7 +325,7 @@ function flagsToDrop(verb) {
325
325
 
326
326
  // src/services/python-cli-runner.ts
327
327
  async function runPythonCli(args, cwd, options = {}) {
328
- const { runUipathPythonCommand } = await import("./index-7gz8y4st.js");
328
+ const { runUipathPythonCommand } = await import("./index-jhfvqtwr.js");
329
329
  return runUipathPythonCommand(buildPythonArgs(args), {
330
330
  cwd,
331
331
  toolName: "function",
@@ -334,7 +334,7 @@ async function runPythonCli(args, cwd, options = {}) {
334
334
  });
335
335
  }
336
336
  async function spawnPythonCli(args, cwd, options = {}) {
337
- const { reportUipathPythonFailure } = await import("./index-7gz8y4st.js");
337
+ const { reportUipathPythonFailure } = await import("./index-jhfvqtwr.js");
338
338
  return reportUipathPythonFailure(await runPythonCli(args, cwd, options));
339
339
  }
340
340
 
@@ -378,7 +378,7 @@ async function runAndEmit(runArgs, cwd, outputFile) {
378
378
  }
379
379
  async function reportRunFailure(result) {
380
380
  if (result.reason !== "command_failed") {
381
- const { reportUipathPythonFailure } = await import("./index-7gz8y4st.js");
381
+ const { reportUipathPythonFailure } = await import("./index-jhfvqtwr.js");
382
382
  return reportUipathPythonFailure(result);
383
383
  }
384
384
  OutputFormatter.error({
@@ -548,7 +548,7 @@ async function dispatch(rawArgs) {
548
548
  }
549
549
  }
550
550
  async function reportSolutionRegistration(projectDir, skipSolutionRegistration) {
551
- const { tryRegisterProjectInParentSolution } = await import("./index-194pz7jz.js");
551
+ const { tryRegisterProjectInParentSolution } = await import("./index-mh883a7z.js");
552
552
  const registration = await tryRegisterProjectInParentSolution(fs5, projectDir, {
553
553
  skipRegistration: skipSolutionRegistration
554
554
  });
@@ -731,4 +731,4 @@ export {
731
731
  registerCommands
732
732
  };
733
733
 
734
- //# debugId=90B4C5F33C6FBDDE64756E2164756E21
734
+ //# debugId=C60270A43B9FF3C964756E2164756E21
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@uipath/function-tool",
3
3
  "author": "UiPath",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
- "version": "1.205.0-preview.268",
5
+ "version": "1.205.0-preview.274",
6
6
  "description": "UiPath CLI tool for JS/TS and Python Functions — thin passthrough to uipath-functions / uipath",
7
7
  "keywords": [
8
8
  "uipcli-tool",
@@ -35,5 +35,5 @@
35
35
  "dependencies": {
36
36
  "typescript": "^5.7.0"
37
37
  },
38
- "gitHead": "bcffe5a27a64da9a6007b1e039ea8f29636cdefd"
38
+ "gitHead": "3f90028321528882f2f3bfeed0eed6ca004bacfd"
39
39
  }