@uipath/codedapp-tool 1.204.0-preview.211 → 1.204.0-preview.215
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.
- package/dist/{index-1k95y97e.js → index-5n91wmzc.js} +13 -13
- package/dist/{index-gqak49gg.js → index-y32y7rjh.js} +3 -3
- package/dist/index.js +9 -9
- package/dist/{node-strategy-gc4sg6a2.js → node-strategy-0267x5e5.js} +4 -4
- package/dist/{packager-tool-7qmpp7hj.js → packager-tool-041rzvxf.js} +1 -1
- package/dist/{packager-tool-vxegnq74.js → packager-tool-2076338d.js} +1 -1
- package/dist/{packager-tool-svx5btc4.js → packager-tool-mpbbet10.js} +48 -25
- package/dist/{packager-tool-qc7sff2j.js → packager-tool-nd0vpsgx.js} +5 -5
- package/dist/{packager-tool-w5fry52f.js → packager-tool-w9znd5xt.js} +8 -2
- package/dist/packager-tool.js +2 -2
- package/dist/tool.js +6 -6
- package/package.json +2 -2
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
import {
|
|
2
|
+
JsonSerializerFactory,
|
|
3
|
+
JsonSerializerNames,
|
|
4
|
+
JsonSerializerProxy,
|
|
5
|
+
StreamSerializer
|
|
6
|
+
} from "./packager-tool-gdtpsdn7.js";
|
|
1
7
|
import {
|
|
2
8
|
FirstPartyServiceApi
|
|
3
9
|
} from "./packager-tool-53w8skv5.js";
|
|
@@ -5,14 +11,11 @@ import {
|
|
|
5
11
|
findSolutionFileUpward,
|
|
6
12
|
normalizeProjectType,
|
|
7
13
|
toPortableRelativePath
|
|
8
|
-
} from "./packager-tool-
|
|
14
|
+
} from "./packager-tool-2076338d.js";
|
|
9
15
|
import {
|
|
10
16
|
getAuthContext,
|
|
11
17
|
getLoginStatusAsync
|
|
12
|
-
} from "./packager-tool-
|
|
13
|
-
import"./packager-tool-0gctz400.js";
|
|
14
|
-
import"./packager-tool-qa9gftnj.js";
|
|
15
|
-
import"./packager-tool-yc4kw997.js";
|
|
18
|
+
} from "./packager-tool-nd0vpsgx.js";
|
|
16
19
|
import {
|
|
17
20
|
addSdkUserAgentHeader,
|
|
18
21
|
catchError,
|
|
@@ -21,16 +24,13 @@ import {
|
|
|
21
24
|
installSdkUserAgentHeader,
|
|
22
25
|
isGuid,
|
|
23
26
|
logger
|
|
24
|
-
} from "./packager-tool-
|
|
27
|
+
} from "./packager-tool-w9znd5xt.js";
|
|
28
|
+
import"./packager-tool-0gctz400.js";
|
|
29
|
+
import"./packager-tool-qa9gftnj.js";
|
|
25
30
|
import {
|
|
26
31
|
getFileSystem
|
|
27
32
|
} from "./packager-tool-0v3s8r01.js";
|
|
28
|
-
import
|
|
29
|
-
JsonSerializerFactory,
|
|
30
|
-
JsonSerializerNames,
|
|
31
|
-
JsonSerializerProxy,
|
|
32
|
-
StreamSerializer
|
|
33
|
-
} from "./packager-tool-gdtpsdn7.js";
|
|
33
|
+
import"./packager-tool-yc4kw997.js";
|
|
34
34
|
import {
|
|
35
35
|
__commonJS,
|
|
36
36
|
__require,
|
|
@@ -18877,4 +18877,4 @@ export {
|
|
|
18877
18877
|
writeSolutionFile
|
|
18878
18878
|
};
|
|
18879
18879
|
|
|
18880
|
-
//# debugId=
|
|
18880
|
+
//# debugId=F4763BC97EAD70DF64756E2164756E21
|
|
@@ -65,19 +65,19 @@ import {
|
|
|
65
65
|
selectTenantWithDeps,
|
|
66
66
|
setActiveAuthProfile,
|
|
67
67
|
setAuthFileConfig
|
|
68
|
-
} from "./packager-tool-
|
|
68
|
+
} from "./packager-tool-nd0vpsgx.js";
|
|
69
69
|
import {
|
|
70
70
|
isBrowser,
|
|
71
71
|
isNode
|
|
72
72
|
} from "./packager-tool-0gctz400.js";
|
|
73
73
|
import"./packager-tool-qa9gftnj.js";
|
|
74
|
+
import"./packager-tool-0v3s8r01.js";
|
|
74
75
|
import {
|
|
75
76
|
AUTH_CANCELLED_ERROR_CODE,
|
|
76
77
|
AUTH_RECLAIMED_ERROR_CODE,
|
|
77
78
|
AUTH_TIMEOUT_ERROR_CODE,
|
|
78
79
|
DEFAULT_AUTH_TIMEOUT_MS
|
|
79
80
|
} from "./packager-tool-yc4kw997.js";
|
|
80
|
-
import"./packager-tool-0v3s8r01.js";
|
|
81
81
|
import"./packager-tool-1yh8g550.js";
|
|
82
82
|
export {
|
|
83
83
|
AUTH_CANCELLED_ERROR_CODE,
|
|
@@ -154,4 +154,4 @@ export {
|
|
|
154
154
|
setAuthFileConfig
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
//# debugId=
|
|
157
|
+
//# debugId=DC7911E6798428D864756E2164756E21
|
package/dist/index.js
CHANGED
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
import {
|
|
3
3
|
metadata,
|
|
4
4
|
registerCommands
|
|
5
|
-
} from "./packager-tool-
|
|
6
|
-
import"./packager-tool-
|
|
7
|
-
import"./packager-tool-
|
|
8
|
-
import"./packager-tool-
|
|
9
|
-
import"./packager-tool-qa9gftnj.js";
|
|
10
|
-
import"./packager-tool-yc4kw997.js";
|
|
11
|
-
import"./packager-tool-7qmpp7hj.js";
|
|
5
|
+
} from "./packager-tool-mpbbet10.js";
|
|
6
|
+
import"./packager-tool-2076338d.js";
|
|
7
|
+
import"./packager-tool-nd0vpsgx.js";
|
|
8
|
+
import"./packager-tool-041rzvxf.js";
|
|
12
9
|
import {
|
|
13
10
|
Command
|
|
14
|
-
} from "./packager-tool-
|
|
11
|
+
} from "./packager-tool-w9znd5xt.js";
|
|
12
|
+
import"./packager-tool-0gctz400.js";
|
|
13
|
+
import"./packager-tool-qa9gftnj.js";
|
|
15
14
|
import"./packager-tool-0v3s8r01.js";
|
|
15
|
+
import"./packager-tool-yc4kw997.js";
|
|
16
16
|
import"./packager-tool-1yh8g550.js";
|
|
17
17
|
|
|
18
18
|
// src/index.ts
|
|
@@ -21,4 +21,4 @@ program.name(metadata.name).version(metadata.version).description(metadata.descr
|
|
|
21
21
|
await registerCommands(program);
|
|
22
22
|
program.parse(process.argv);
|
|
23
23
|
|
|
24
|
-
//# debugId=
|
|
24
|
+
//# debugId=00EC5C02B245B46F64756E2164756E21
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
catchError
|
|
3
3
|
} from "./packager-tool-qa9gftnj.js";
|
|
4
|
+
import {
|
|
5
|
+
getFileSystem
|
|
6
|
+
} from "./packager-tool-0v3s8r01.js";
|
|
4
7
|
import {
|
|
5
8
|
AUTH_CANCELLED_ERROR_CODE,
|
|
6
9
|
AUTH_RECLAIMED_ERROR_CODE,
|
|
7
10
|
AUTH_TIMEOUT_ERROR_CODE,
|
|
8
11
|
DEFAULT_AUTH_TIMEOUT_MS
|
|
9
12
|
} from "./packager-tool-yc4kw997.js";
|
|
10
|
-
import {
|
|
11
|
-
getFileSystem
|
|
12
|
-
} from "./packager-tool-0v3s8r01.js";
|
|
13
13
|
import {
|
|
14
14
|
__require
|
|
15
15
|
} from "./packager-tool-1yh8g550.js";
|
|
@@ -463,4 +463,4 @@ export {
|
|
|
463
463
|
NodeAuthStrategy
|
|
464
464
|
};
|
|
465
465
|
|
|
466
|
-
//# debugId=
|
|
466
|
+
//# debugId=0F4F1C7FF9EF0CDF64756E2164756E21
|
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
findNearestParentUipxFile,
|
|
3
3
|
tryRegisterProjectInParentSolution
|
|
4
|
-
} from "./packager-tool-
|
|
4
|
+
} from "./packager-tool-2076338d.js";
|
|
5
5
|
import {
|
|
6
|
-
getLoginStatusAsync
|
|
7
|
-
|
|
6
|
+
getLoginStatusAsync,
|
|
7
|
+
readTokenScopes,
|
|
8
|
+
resolveSessionIdentity
|
|
9
|
+
} from "./packager-tool-nd0vpsgx.js";
|
|
8
10
|
import {
|
|
9
11
|
ACTION_SCHEMA_FILE_NAME,
|
|
10
12
|
WEBAPP_MANIFEST_FILE_NAME,
|
|
11
13
|
WebAppToolFactory,
|
|
12
14
|
parseActionSchema
|
|
13
|
-
} from "./packager-tool-
|
|
15
|
+
} from "./packager-tool-041rzvxf.js";
|
|
14
16
|
import {
|
|
15
17
|
CommandDimensions,
|
|
16
18
|
ConfigurationError,
|
|
@@ -21,6 +23,7 @@ import {
|
|
|
21
23
|
RESULTS,
|
|
22
24
|
ShipDimensions,
|
|
23
25
|
canPrompt,
|
|
26
|
+
carriedErrorCode,
|
|
24
27
|
catchError,
|
|
25
28
|
describeConnectivityError,
|
|
26
29
|
extractErrorDetails,
|
|
@@ -36,7 +39,7 @@ import {
|
|
|
36
39
|
requireConfirmation,
|
|
37
40
|
telemetry,
|
|
38
41
|
trackShipSucceeded
|
|
39
|
-
} from "./packager-tool-
|
|
42
|
+
} from "./packager-tool-w9znd5xt.js";
|
|
40
43
|
import {
|
|
41
44
|
getFileSystem
|
|
42
45
|
} from "./packager-tool-0v3s8r01.js";
|
|
@@ -20623,7 +20626,7 @@ var package_default = {
|
|
|
20623
20626
|
name: "@uipath/codedapp-tool",
|
|
20624
20627
|
author: "UiPath",
|
|
20625
20628
|
license: "SEE LICENSE IN LICENSE.txt",
|
|
20626
|
-
version: "1.204.0-preview.
|
|
20629
|
+
version: "1.204.0-preview.215",
|
|
20627
20630
|
description: "Build, pack, publish, deploy, and manage UiPath Coded Web Applications.",
|
|
20628
20631
|
keywords: [
|
|
20629
20632
|
"cli-tool",
|
|
@@ -21423,6 +21426,7 @@ var MESSAGES = {
|
|
|
21423
21426
|
AUTHENTICATION_FAILED: 'Authentication failed. Please check your UIPATH_ACCESS_TOKEN, run "uip login" to authenticate, or pass credentials via CLI flags',
|
|
21424
21427
|
ACCESS_DENIED: "Access denied. You may not have permission to access this tenant/organization",
|
|
21425
21428
|
API_ENDPOINT_NOT_FOUND: "API endpoint not found. Please check your UIPATH_BASE_URL configuration",
|
|
21429
|
+
APPS_SERVICE_APP_TOKEN_HINT: "The UiPath Apps service rejected this external application's token: it is missing the Apps.Read and Apps.Write scopes. Grant them to the external application (Admin > External Applications), then add them to 'uip login --scope'.",
|
|
21426
21430
|
SERVER_ERROR: "Server error occurred. Please try again later or contact UiPath support",
|
|
21427
21431
|
SERVICES_UNAVAILABLE: "UiPath services are temporarily unavailable. Please try again later",
|
|
21428
21432
|
RATE_LIMIT_EXCEEDED: "Rate limit exceeded. Please wait and try again",
|
|
@@ -21639,7 +21643,7 @@ var MESSAGE_BUILDERS = {
|
|
|
21639
21643
|
var getHttpErrorMessage = (status, context) => {
|
|
21640
21644
|
switch (status) {
|
|
21641
21645
|
case 401:
|
|
21642
|
-
return MESSAGES.ERRORS.AUTHENTICATION_FAILED;
|
|
21646
|
+
return context ? `Authentication failed during ${context.toLowerCase()}. Please check your UIPATH_ACCESS_TOKEN, run "uip login" to authenticate, or pass credentials via CLI flags` : MESSAGES.ERRORS.AUTHENTICATION_FAILED;
|
|
21643
21647
|
case 403:
|
|
21644
21648
|
return context ? `Access denied. You may not have permission to ${context.toLowerCase()} in this tenant/organization` : MESSAGES.ERRORS.ACCESS_DENIED;
|
|
21645
21649
|
case 404:
|
|
@@ -21791,10 +21795,23 @@ function buildAppUrl(params) {
|
|
|
21791
21795
|
}
|
|
21792
21796
|
|
|
21793
21797
|
// src/utils/error-handler.ts
|
|
21794
|
-
|
|
21798
|
+
var APPS_SCOPE_PREFIX = "Apps.";
|
|
21799
|
+
function appsServiceHint(status, appsServiceToken) {
|
|
21800
|
+
if (status !== 401 || !appsServiceToken)
|
|
21801
|
+
return;
|
|
21802
|
+
if (resolveSessionIdentity(appsServiceToken)?.type !== "Application") {
|
|
21803
|
+
return;
|
|
21804
|
+
}
|
|
21805
|
+
const scopes = readTokenScopes(appsServiceToken) ?? [];
|
|
21806
|
+
if (scopes.some((scope) => scope.startsWith(APPS_SCOPE_PREFIX))) {
|
|
21807
|
+
return;
|
|
21808
|
+
}
|
|
21809
|
+
return MESSAGES.ERRORS.APPS_SERVICE_APP_TOKEN_HINT;
|
|
21810
|
+
}
|
|
21811
|
+
async function createHttpErrorMessage(response, context, appsServiceToken) {
|
|
21795
21812
|
const errorText = await response.text();
|
|
21796
|
-
const
|
|
21797
|
-
let fullMessage =
|
|
21813
|
+
const hint = appsServiceHint(response.status, appsServiceToken);
|
|
21814
|
+
let fullMessage = hint ? `Authentication failed${context ? ` during ${context.toLowerCase()}` : ""}. ${hint}` : getHttpErrorMessage(response.status, context);
|
|
21798
21815
|
if (errorText && errorText !== "{}" && errorText.trim() !== "") {
|
|
21799
21816
|
fullMessage += `
|
|
21800
21817
|
API Response: ${errorText}`;
|
|
@@ -21804,9 +21821,14 @@ HTTP ${response.status}: ${MESSAGES.ERRORS.NO_ERROR_DETAILS}`;
|
|
|
21804
21821
|
}
|
|
21805
21822
|
return fullMessage;
|
|
21806
21823
|
}
|
|
21807
|
-
async function handleHttpError(response, context) {
|
|
21808
|
-
const errorMessage = await createHttpErrorMessage(response, context);
|
|
21809
|
-
|
|
21824
|
+
async function handleHttpError(response, context, appsServiceToken) {
|
|
21825
|
+
const errorMessage = await createHttpErrorMessage(response, context, appsServiceToken);
|
|
21826
|
+
const error = new Error(errorMessage);
|
|
21827
|
+
if (appsServiceHint(response.status, appsServiceToken)) {
|
|
21828
|
+
const errorCode = "permission_denied";
|
|
21829
|
+
Object.assign(error, { errorCode });
|
|
21830
|
+
}
|
|
21831
|
+
throw error;
|
|
21810
21832
|
}
|
|
21811
21833
|
|
|
21812
21834
|
// src/services/deployed-apps.ts
|
|
@@ -28747,7 +28769,7 @@ async function getDeployedApp(appName, envConfig, legacyAppName) {
|
|
|
28747
28769
|
if (response.status === HTTP_NOT_FOUND)
|
|
28748
28770
|
continue;
|
|
28749
28771
|
if (!response.ok)
|
|
28750
|
-
await handleHttpError(response, MESSAGES.ERROR_CONTEXT.APP_DEPLOYMENT);
|
|
28772
|
+
await handleHttpError(response, MESSAGES.ERROR_CONTEXT.APP_DEPLOYMENT, envConfig.accessToken);
|
|
28751
28773
|
return await response.json();
|
|
28752
28774
|
}
|
|
28753
28775
|
return null;
|
|
@@ -28785,7 +28807,7 @@ async function getPublishedAppByName(appName, envConfig, version) {
|
|
|
28785
28807
|
})
|
|
28786
28808
|
});
|
|
28787
28809
|
if (!response.ok)
|
|
28788
|
-
await handleHttpError(response, MESSAGES.ERROR_CONTEXT.APP_DEPLOYMENT);
|
|
28810
|
+
await handleHttpError(response, MESSAGES.ERROR_CONTEXT.APP_DEPLOYMENT, envConfig.accessToken);
|
|
28789
28811
|
const data = await response.json();
|
|
28790
28812
|
const matches = data.value.filter((app) => app.title === appName);
|
|
28791
28813
|
if (matches.length === 0)
|
|
@@ -28818,7 +28840,7 @@ async function getAllPublishedVersions(systemName, envConfig) {
|
|
|
28818
28840
|
})
|
|
28819
28841
|
});
|
|
28820
28842
|
if (!response.ok)
|
|
28821
|
-
await handleHttpError(response, MESSAGES.ERROR_CONTEXT.APP_DEPLOYMENT);
|
|
28843
|
+
await handleHttpError(response, MESSAGES.ERROR_CONTEXT.APP_DEPLOYMENT, envConfig.accessToken);
|
|
28822
28844
|
const data = await response.json();
|
|
28823
28845
|
return data.value;
|
|
28824
28846
|
}
|
|
@@ -28868,7 +28890,7 @@ async function deployNewApp(appName, routingName, systemName, deployVersion, env
|
|
|
28868
28890
|
body: JSON.stringify(body)
|
|
28869
28891
|
});
|
|
28870
28892
|
if (!response.ok)
|
|
28871
|
-
await handleHttpError(response, MESSAGES.ERROR_CONTEXT.APP_DEPLOYMENT);
|
|
28893
|
+
await handleHttpError(response, MESSAGES.ERROR_CONTEXT.APP_DEPLOYMENT, envConfig.accessToken);
|
|
28872
28894
|
const data = await response.json();
|
|
28873
28895
|
return {
|
|
28874
28896
|
id: data.id,
|
|
@@ -28950,7 +28972,7 @@ async function upgradeApp(params) {
|
|
|
28950
28972
|
if (await waitForUpgradeToLand(params))
|
|
28951
28973
|
return [];
|
|
28952
28974
|
}
|
|
28953
|
-
await handleHttpError(response, MESSAGES.ERROR_CONTEXT.APP_UPGRADE);
|
|
28975
|
+
await handleHttpError(response, MESSAGES.ERROR_CONTEXT.APP_UPGRADE, params.envConfig.accessToken);
|
|
28954
28976
|
return [];
|
|
28955
28977
|
}
|
|
28956
28978
|
async function updateAppConfig(update, logger2) {
|
|
@@ -29243,7 +29265,8 @@ var registerDeployCommand = (program) => {
|
|
|
29243
29265
|
OutputFormatter.error({
|
|
29244
29266
|
Result: RESULTS.Failure,
|
|
29245
29267
|
Message: "Deploy failed",
|
|
29246
|
-
Instructions: error2.message
|
|
29268
|
+
Instructions: error2.message,
|
|
29269
|
+
ErrorCode: carriedErrorCode(error2)
|
|
29247
29270
|
});
|
|
29248
29271
|
processContext.exit(1);
|
|
29249
29272
|
return;
|
|
@@ -29492,7 +29515,7 @@ var package_default2 = {
|
|
|
29492
29515
|
name: "@uipath/solution-sdk",
|
|
29493
29516
|
author: "UiPath",
|
|
29494
29517
|
license: "SEE LICENSE IN LICENSE.txt",
|
|
29495
|
-
version: "1.204.0-preview.
|
|
29518
|
+
version: "1.204.0-preview.215",
|
|
29496
29519
|
repository: {
|
|
29497
29520
|
type: "git",
|
|
29498
29521
|
url: "https://github.com/UiPath/cli.git",
|
|
@@ -29792,7 +29815,7 @@ var SUCCEEDED = "creationsucceeded";
|
|
|
29792
29815
|
var TERMINAL = new Set([SUCCEEDED, "creationfailed", "validationfailed"]);
|
|
29793
29816
|
// src/services/project-artifacts.ts
|
|
29794
29817
|
async function ensureProjectArtifacts(args) {
|
|
29795
|
-
const { addProjectArtifactsToSolutionAsync } = await import("./index-
|
|
29818
|
+
const { addProjectArtifactsToSolutionAsync } = await import("./index-5n91wmzc.js");
|
|
29796
29819
|
return addProjectArtifactsToSolutionAsync(args);
|
|
29797
29820
|
}
|
|
29798
29821
|
|
|
@@ -30646,7 +30669,7 @@ async function registerCodedApp(metadata, envConfig, isActionApp, feedId, logger
|
|
|
30646
30669
|
body: JSON.stringify(payload)
|
|
30647
30670
|
});
|
|
30648
30671
|
if (!response.ok) {
|
|
30649
|
-
await handleHttpError(response, MESSAGES.ERROR_CONTEXT.CODED_APP_REGISTRATION);
|
|
30672
|
+
await handleHttpError(response, MESSAGES.ERROR_CONTEXT.CODED_APP_REGISTRATION, envConfig.accessToken);
|
|
30650
30673
|
}
|
|
30651
30674
|
return await response.json();
|
|
30652
30675
|
}
|
|
@@ -30938,7 +30961,7 @@ var registerPublishCommand = (program) => {
|
|
|
30938
30961
|
const failure = await extractErrorDetails(error2);
|
|
30939
30962
|
OutputFormatter.error({
|
|
30940
30963
|
Result: RESULTS.Failure,
|
|
30941
|
-
ErrorCode: failure.errorCode,
|
|
30964
|
+
ErrorCode: carriedErrorCode(error2) ?? failure.errorCode,
|
|
30942
30965
|
Message: `Publish failed: ${failure.message}`,
|
|
30943
30966
|
Instructions: describeConnectivityError(error2)?.instructions ?? failure.details,
|
|
30944
30967
|
Retry: failure.retry,
|
|
@@ -33866,7 +33889,7 @@ async function promptCreateNewSolution(envConfig, logger2) {
|
|
|
33866
33889
|
async function persistProjectId(projectId, logger2) {
|
|
33867
33890
|
const fs = getFileSystem();
|
|
33868
33891
|
const [saveErr] = await catchError((async () => {
|
|
33869
|
-
const { saveEnvFileAsync } = await import("./index-
|
|
33892
|
+
const { saveEnvFileAsync } = await import("./index-y32y7rjh.js");
|
|
33870
33893
|
const localEnvPath = fs.path.join(fs.env.cwd(), ".env");
|
|
33871
33894
|
await saveEnvFileAsync({
|
|
33872
33895
|
envPath: localEnvPath,
|
|
@@ -34213,4 +34236,4 @@ var registerCommands = async (program) => {
|
|
|
34213
34236
|
|
|
34214
34237
|
export { metadata, registerCommands };
|
|
34215
34238
|
|
|
34216
|
-
//# debugId=
|
|
34239
|
+
//# debugId=9BC006E1D8F6174564756E2164756E21
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
catchError
|
|
7
7
|
} from "./packager-tool-qa9gftnj.js";
|
|
8
|
+
import {
|
|
9
|
+
getFileSystem
|
|
10
|
+
} from "./packager-tool-0v3s8r01.js";
|
|
8
11
|
import {
|
|
9
12
|
AUTH_FILENAME,
|
|
10
13
|
DEFAULT_BASE_URL,
|
|
11
14
|
DEFAULT_REDIRECT_URI,
|
|
12
15
|
UIPATH_HOME_DIR
|
|
13
16
|
} from "./packager-tool-yc4kw997.js";
|
|
14
|
-
import {
|
|
15
|
-
getFileSystem
|
|
16
|
-
} from "./packager-tool-0v3s8r01.js";
|
|
17
17
|
import {
|
|
18
18
|
__require
|
|
19
19
|
} from "./packager-tool-1yh8g550.js";
|
|
@@ -2432,7 +2432,7 @@ var authenticate = async ({
|
|
|
2432
2432
|
const { BrowserAuthStrategy } = await import("./browser-strategy-6atc7v8s.js");
|
|
2433
2433
|
strategy = new BrowserAuthStrategy;
|
|
2434
2434
|
} else {
|
|
2435
|
-
const { NodeAuthStrategy } = await import("./node-strategy-
|
|
2435
|
+
const { NodeAuthStrategy } = await import("./node-strategy-0267x5e5.js");
|
|
2436
2436
|
strategy = new NodeAuthStrategy;
|
|
2437
2437
|
}
|
|
2438
2438
|
const code = await strategy.execute(authUrl, effectiveRedirectUriUrl, state, {
|
|
@@ -2454,4 +2454,4 @@ var authenticate = async ({
|
|
|
2454
2454
|
|
|
2455
2455
|
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, 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, fetchTenantsAndOrganizations, TENANT_SELECTION_REQUIRED_CODE, INVALID_TENANT_CODE, TenantSelectionError, TenantSelectionRequiredError, InvalidTenantError, isTenantSelectionError, selectTenantWithDeps, interactiveLoginWithDeps, interactiveLogin, logoutWithDeps, logout, authenticate };
|
|
2456
2456
|
|
|
2457
|
-
//# debugId=
|
|
2457
|
+
//# debugId=C2A7396F2D34604964756E2164756E21
|
|
@@ -6187,6 +6187,12 @@ function isCliErrorCode(value) {
|
|
|
6187
6187
|
function isRetryHint(value) {
|
|
6188
6188
|
return typeof value === "string" && RETRY_HINT_VALUES.has(value);
|
|
6189
6189
|
}
|
|
6190
|
+
function carriedErrorCode(error) {
|
|
6191
|
+
if (!error || typeof error !== "object")
|
|
6192
|
+
return;
|
|
6193
|
+
const code = error.errorCode;
|
|
6194
|
+
return isCliErrorCode(code) ? code : undefined;
|
|
6195
|
+
}
|
|
6190
6196
|
var RESULTS = {
|
|
6191
6197
|
Success: "Success",
|
|
6192
6198
|
Failure: "Failure",
|
|
@@ -8146,6 +8152,6 @@ function unsupportedSolutionProjectType(projectType) {
|
|
|
8146
8152
|
}
|
|
8147
8153
|
// ../common/src/tool-provider.ts
|
|
8148
8154
|
var factorySlot = singleton("PackagerFactoryProvider");
|
|
8149
|
-
export { catchError, describeConnectivityError, extractErrorDetails, extractErrorMessage, getOutputSink, logger, CommandDimensions, ShipDimensions, telemetry, RESULTS, EXIT_CODES, ConfigurationError, isConfigurationError, OutputFormatter, InvalidArgumentError, Command, Option, processContext, requireConfirmation, isGuid, canPrompt, registerPackageMetadataOptions, mapPackageMetadataOptions, getSdkUserAgentToken, addSdkUserAgentHeader, installSdkUserAgentHeader, unsupportedSolutionProjectType, trackShipSucceeded, Path, TemporaryStorageService, NugetConstants, ToolResult, NugetPackager, ProjectTool, toolsFactoryRepository };
|
|
8155
|
+
export { catchError, describeConnectivityError, extractErrorDetails, extractErrorMessage, getOutputSink, logger, CommandDimensions, ShipDimensions, telemetry, carriedErrorCode, RESULTS, EXIT_CODES, ConfigurationError, isConfigurationError, OutputFormatter, InvalidArgumentError, Command, Option, processContext, requireConfirmation, isGuid, canPrompt, registerPackageMetadataOptions, mapPackageMetadataOptions, getSdkUserAgentToken, addSdkUserAgentHeader, installSdkUserAgentHeader, unsupportedSolutionProjectType, trackShipSucceeded, Path, TemporaryStorageService, NugetConstants, ToolResult, NugetPackager, ProjectTool, toolsFactoryRepository };
|
|
8150
8156
|
|
|
8151
|
-
//# debugId=
|
|
8157
|
+
//# debugId=0E3CABA0E51B571B64756E2164756E21
|
package/dist/packager-tool.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WebAppContributingToolFactory
|
|
3
|
-
} from "./packager-tool-
|
|
3
|
+
} from "./packager-tool-041rzvxf.js";
|
|
4
4
|
import {
|
|
5
5
|
toolsFactoryRepository
|
|
6
|
-
} from "./packager-tool-
|
|
6
|
+
} from "./packager-tool-w9znd5xt.js";
|
|
7
7
|
import"./packager-tool-0v3s8r01.js";
|
|
8
8
|
import"./packager-tool-1yh8g550.js";
|
|
9
9
|
|
package/dist/tool.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
metadata,
|
|
3
3
|
registerCommands
|
|
4
|
-
} from "./packager-tool-
|
|
5
|
-
import"./packager-tool-
|
|
6
|
-
import"./packager-tool-
|
|
4
|
+
} from "./packager-tool-mpbbet10.js";
|
|
5
|
+
import"./packager-tool-2076338d.js";
|
|
6
|
+
import"./packager-tool-nd0vpsgx.js";
|
|
7
|
+
import"./packager-tool-041rzvxf.js";
|
|
8
|
+
import"./packager-tool-w9znd5xt.js";
|
|
7
9
|
import"./packager-tool-0gctz400.js";
|
|
8
10
|
import"./packager-tool-qa9gftnj.js";
|
|
9
|
-
import"./packager-tool-yc4kw997.js";
|
|
10
|
-
import"./packager-tool-7qmpp7hj.js";
|
|
11
|
-
import"./packager-tool-w5fry52f.js";
|
|
12
11
|
import"./packager-tool-0v3s8r01.js";
|
|
12
|
+
import"./packager-tool-yc4kw997.js";
|
|
13
13
|
import"./packager-tool-1yh8g550.js";
|
|
14
14
|
export {
|
|
15
15
|
metadata,
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@uipath/codedapp-tool",
|
|
3
3
|
"author": "UiPath",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
|
-
"version": "1.204.0-preview.
|
|
5
|
+
"version": "1.204.0-preview.215",
|
|
6
6
|
"description": "Build, pack, publish, deploy, and manage UiPath Coded Web Applications.",
|
|
7
7
|
"keywords": [
|
|
8
8
|
"cli-tool",
|
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
"publishConfig": {
|
|
30
30
|
"registry": "https://registry.npmjs.org/"
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "2fab66bd2b81ce6111db0b64540bcb1c9dd358b0"
|
|
33
33
|
}
|