@uipath/solution-sdk 1.206.0-preview.296 → 1.206.0-preview.297
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/deployment-search.js +3 -3
- package/dist/{index-ggfzqxg1.js → index-77sqk2eg.js} +3 -3
- package/dist/{index-0drvtcm4.js → index-dfmtrvrq.js} +1 -1
- package/dist/{index-txd1grjc.js → index-t1evhtnh.js} +1 -1
- package/dist/{index-tdffhvfs.js → index-y9qx7901.js} +19 -2
- package/dist/index.js +6 -20
- package/dist/package-search.js +3 -3
- package/dist/project-context.js +2 -2
- package/dist/resources/index.js +2 -2
- package/dist/src/upload-service.d.ts +0 -24
- package/package.json +2 -2
|
@@ -2,19 +2,19 @@ import"./index-0b3srjv7.js";
|
|
|
2
2
|
import {
|
|
3
3
|
catchError,
|
|
4
4
|
logger
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-y9qx7901.js";
|
|
6
6
|
import {
|
|
7
7
|
Configuration2,
|
|
8
8
|
PipelinesApi,
|
|
9
9
|
isMissingPipelinesRoute,
|
|
10
10
|
isApplicationSession,
|
|
11
11
|
parseSearchPage
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-dfmtrvrq.js";
|
|
13
13
|
import {
|
|
14
14
|
Configuration3,
|
|
15
15
|
DeploymentSearchItemDto2FromJSON2,
|
|
16
16
|
SearchApi2
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-77sqk2eg.js";
|
|
18
18
|
import"./index-bpn15jyk.js";
|
|
19
19
|
|
|
20
20
|
// src/legacy-deployment-search-v3.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getSdkUserAgentToken,
|
|
3
3
|
installSdkUserAgentHeader
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-y9qx7901.js";
|
|
5
5
|
|
|
6
6
|
// generated/src/runtime.ts
|
|
7
7
|
var BASE_PATH2 = "https://alpha.uipath.com/uipattycyrhx/abizon_1/automationsolutions_".replace(/\/+$/, "");
|
|
@@ -303,7 +303,7 @@ var package_default = {
|
|
|
303
303
|
name: "@uipath/solution-sdk",
|
|
304
304
|
author: "UiPath",
|
|
305
305
|
license: "SEE LICENSE IN LICENSE.txt",
|
|
306
|
-
version: "1.206.0-preview.
|
|
306
|
+
version: "1.206.0-preview.297",
|
|
307
307
|
repository: {
|
|
308
308
|
type: "git",
|
|
309
309
|
url: "https://github.com/UiPath/cli.git",
|
|
@@ -3006,4 +3006,4 @@ class SettingsApi2 extends BaseAPI2 {
|
|
|
3006
3006
|
}
|
|
3007
3007
|
export { BASE_PATH2, Configuration3, DefaultConfig2, BaseAPI2, ResponseError2, FetchError2, RequiredError2, COLLECTION_FORMATS2, querystring2, exists2, mapValues2, canConsumeForm2, JSONApiResponse2, VoidApiResponse2, BlobApiResponse2, TextApiResponse2, SDK_USER_AGENT2, instanceOfResponseDictionaryDto2, ResponseDictionaryDtoFromJSON2, ResponseDictionaryDtoFromJSONTyped2, ResponseDictionaryDtoToJSON2, ResponseDictionaryDtoToJSONTyped2, instanceOfBlobFileAccessDto2, BlobFileAccessDtoFromJSON2, BlobFileAccessDtoFromJSONTyped2, BlobFileAccessDtoToJSON2, BlobFileAccessDtoToJSONTyped2, instanceOfCreateConfigurationCommand2, CreateConfigurationCommandFromJSON2, CreateConfigurationCommandFromJSONTyped2, CreateConfigurationCommandToJSON2, CreateConfigurationCommandToJSONTyped2, DeploymentActivationStatus2, instanceOfDeploymentActivationStatus2, DeploymentActivationStatusFromJSON2, DeploymentActivationStatusFromJSONTyped2, DeploymentActivationStatusToJSON2, DeploymentActivationStatusToJSONTyped2, OverwriteType2, instanceOfOverwriteType2, OverwriteTypeFromJSON2, OverwriteTypeFromJSONTyped2, OverwriteTypeToJSON2, OverwriteTypeToJSONTyped2, instanceOfOverwrite2, OverwriteFromJSON2, OverwriteFromJSONTyped2, OverwriteToJSON2, OverwriteToJSONTyped2, instanceOfResourceOverwrite2, ResourceOverwriteFromJSON2, ResourceOverwriteFromJSONTyped2, ResourceOverwriteToJSON2, ResourceOverwriteToJSONTyped2, instanceOfRuntimeSetup2, RuntimeSetupFromJSON2, RuntimeSetupFromJSONTyped2, RuntimeSetupToJSON2, RuntimeSetupToJSONTyped2, instanceOfDeploymentAutoRequest2, DeploymentAutoRequestFromJSON2, DeploymentAutoRequestFromJSONTyped2, DeploymentAutoRequestToJSON2, DeploymentAutoRequestToJSONTyped2, instanceOfDeploymentDto2, DeploymentDtoFromJSON2, DeploymentDtoFromJSONTyped2, DeploymentDtoToJSON2, DeploymentDtoToJSONTyped2, WorkflowAction2, instanceOfWorkflowAction2, WorkflowActionFromJSON2, WorkflowActionFromJSONTyped2, WorkflowActionToJSON2, WorkflowActionToJSONTyped2, DeploymentOperation2, instanceOfDeploymentOperation2, DeploymentOperationFromJSON2, DeploymentOperationFromJSONTyped2, DeploymentOperationToJSON2, DeploymentOperationToJSONTyped2, PackageVersionOrigin2, instanceOfPackageVersionOrigin2, PackageVersionOriginFromJSON2, PackageVersionOriginFromJSONTyped2, PackageVersionOriginToJSON2, PackageVersionOriginToJSONTyped2, DeploymentOperationStatus2, instanceOfDeploymentOperationStatus2, DeploymentOperationStatusFromJSON2, DeploymentOperationStatusFromJSONTyped2, DeploymentOperationStatusToJSON2, DeploymentOperationStatusToJSONTyped2, DeploymentUpgradeType2, instanceOfDeploymentUpgradeType2, DeploymentUpgradeTypeFromJSON2, DeploymentUpgradeTypeFromJSONTyped2, DeploymentUpgradeTypeToJSON2, DeploymentUpgradeTypeToJSONTyped2, DeploymentStatus2, instanceOfDeploymentStatus2, DeploymentStatusFromJSON2, DeploymentStatusFromJSONTyped2, DeploymentStatusToJSON2, DeploymentStatusToJSONTyped2, instanceOfDeploymentItemDto2, DeploymentItemDtoFromJSON2, DeploymentItemDtoFromJSONTyped2, DeploymentItemDtoToJSON2, DeploymentItemDtoToJSONTyped2, instanceOfDeploymentRequest2, DeploymentRequestFromJSON2, DeploymentRequestFromJSONTyped2, DeploymentRequestToJSON2, DeploymentRequestToJSONTyped2, DeploymentResourceValidationAction2, instanceOfDeploymentResourceValidationAction2, DeploymentResourceValidationActionFromJSON2, DeploymentResourceValidationActionFromJSONTyped2, DeploymentResourceValidationActionToJSON2, DeploymentResourceValidationActionToJSONTyped2, ResetConfigurationSource2, instanceOfResetConfigurationSource2, ResetConfigurationSourceFromJSON2, ResetConfigurationSourceFromJSONTyped2, ResetConfigurationSourceToJSON2, ResetConfigurationSourceToJSONTyped2, DeploymentUpgradeState2, instanceOfDeploymentUpgradeState2, DeploymentUpgradeStateFromJSON2, DeploymentUpgradeStateFromJSONTyped2, DeploymentUpgradeStateToJSON2, DeploymentUpgradeStateToJSONTyped2, instanceOfDeploymentResourceReplacementDto2, DeploymentResourceReplacementDtoFromJSON2, DeploymentResourceReplacementDtoFromJSONTyped2, DeploymentResourceReplacementDtoToJSON2, DeploymentResourceReplacementDtoToJSONTyped2, instanceOfFolderInfo2, FolderInfoFromJSON2, FolderInfoFromJSONTyped2, FolderInfoToJSON2, FolderInfoToJSONTyped2, instanceOfDeploymentResourceInfo2, DeploymentResourceInfoFromJSON2, DeploymentResourceInfoFromJSONTyped2, DeploymentResourceInfoToJSON2, DeploymentResourceInfoToJSONTyped2, DeploymentResourceValidationErrorKind2, instanceOfDeploymentResourceValidationErrorKind2, DeploymentResourceValidationErrorKindFromJSON2, DeploymentResourceValidationErrorKindFromJSONTyped2, DeploymentResourceValidationErrorKindToJSON2, DeploymentResourceValidationErrorKindToJSONTyped2, DeploymentResourceValidationErrorLevel2, instanceOfDeploymentResourceValidationErrorLevel2, DeploymentResourceValidationErrorLevelFromJSON2, DeploymentResourceValidationErrorLevelFromJSONTyped2, DeploymentResourceValidationErrorLevelToJSON2, DeploymentResourceValidationErrorLevelToJSONTyped2, DeploymentType2, instanceOfDeploymentType2, DeploymentTypeFromJSON2, DeploymentTypeFromJSONTyped2, DeploymentTypeToJSON2, DeploymentTypeToJSONTyped2, instanceOfDeploymentSearchItemDto22, DeploymentSearchItemDto2FromJSON2, DeploymentSearchItemDto2FromJSONTyped2, DeploymentSearchItemDto2ToJSON2, DeploymentSearchItemDto2ToJSONTyped2, instanceOfServiceMessage2, ServiceMessageFromJSON2, ServiceMessageFromJSONTyped2, ServiceMessageToJSON2, ServiceMessageToJSONTyped2, instanceOfResourceValidationError2, ResourceValidationErrorFromJSON2, ResourceValidationErrorFromJSONTyped2, ResourceValidationErrorToJSON2, ResourceValidationErrorToJSONTyped2, instanceOfResourceValidationDto2, ResourceValidationDtoFromJSON2, ResourceValidationDtoFromJSONTyped2, ResourceValidationDtoToJSON2, ResourceValidationDtoToJSONTyped2, instanceOfDeploymentValidationResultDto2, DeploymentValidationResultDtoFromJSON2, DeploymentValidationResultDtoFromJSONTyped2, DeploymentValidationResultDtoToJSON2, DeploymentValidationResultDtoToJSONTyped2, OrderByDirection2, instanceOfOrderByDirection2, OrderByDirectionFromJSON2, OrderByDirectionFromJSONTyped2, OrderByDirectionToJSON2, OrderByDirectionToJSONTyped2, instanceOfDeploymentsSearchRequest22, DeploymentsSearchRequest2FromJSON2, DeploymentsSearchRequest2FromJSONTyped2, DeploymentsSearchRequest2ToJSON2, DeploymentsSearchRequest2ToJSONTyped2, ExtendedPackageVersionState2, instanceOfExtendedPackageVersionState2, ExtendedPackageVersionStateFromJSON2, ExtendedPackageVersionStateFromJSONTyped2, ExtendedPackageVersionStateToJSON2, ExtendedPackageVersionStateToJSONTyped2, instanceOfLocationDto2, LocationDtoFromJSON2, LocationDtoFromJSONTyped2, LocationDtoToJSON2, LocationDtoToJSONTyped2, instanceOfPackageInfo2, PackageInfoFromJSON2, PackageInfoFromJSONTyped2, PackageInfoToJSON2, PackageInfoToJSONTyped2, instanceOfResourceStats2, ResourceStatsFromJSON2, ResourceStatsFromJSONTyped2, ResourceStatsToJSON2, ResourceStatsToJSONTyped2, instanceOfPackageVersionResourceDto2, PackageVersionResourceDtoFromJSON2, PackageVersionResourceDtoFromJSONTyped2, PackageVersionResourceDtoToJSON2, PackageVersionResourceDtoToJSONTyped2, instanceOfPackageVersionComponentsDto2, PackageVersionComponentsDtoFromJSON2, PackageVersionComponentsDtoFromJSONTyped2, PackageVersionComponentsDtoToJSON2, PackageVersionComponentsDtoToJSONTyped2, instanceOfPackageVersionInfoDto2, PackageVersionInfoDtoFromJSON2, PackageVersionInfoDtoFromJSONTyped2, PackageVersionInfoDtoToJSON2, PackageVersionInfoDtoToJSONTyped2, instanceOfPageInfoDtoOfDeploymentResourceInfo2, PageInfoDtoOfDeploymentResourceInfoFromJSON2, PageInfoDtoOfDeploymentResourceInfoFromJSONTyped2, PageInfoDtoOfDeploymentResourceInfoToJSON2, PageInfoDtoOfDeploymentResourceInfoToJSONTyped2, instanceOfPageInfoDtoOfDeploymentSearchItemDto22, PageInfoDtoOfDeploymentSearchItemDto2FromJSON2, PageInfoDtoOfDeploymentSearchItemDto2FromJSONTyped2, PageInfoDtoOfDeploymentSearchItemDto2ToJSON2, PageInfoDtoOfDeploymentSearchItemDto2ToJSONTyped2, instanceOfPageInfoDtoOfPackageInfo2, PageInfoDtoOfPackageInfoFromJSON2, PageInfoDtoOfPackageInfoFromJSONTyped2, PageInfoDtoOfPackageInfoToJSON2, PageInfoDtoOfPackageInfoToJSONTyped2, instanceOfProblemDetails2, ProblemDetailsFromJSON2, ProblemDetailsFromJSONTyped2, ProblemDetailsToJSON2, ProblemDetailsToJSONTyped2, instanceOfProjectCreateRequest2, ProjectCreateRequestFromJSON2, ProjectCreateRequestFromJSONTyped2, ProjectCreateRequestToJSON2, ProjectCreateRequestToJSONTyped2, ProjectImportStatus2, instanceOfProjectImportStatus2, ProjectImportStatusFromJSON2, ProjectImportStatusFromJSONTyped2, ProjectImportStatusToJSON2, ProjectImportStatusToJSONTyped2, instanceOfProjectDto2, ProjectDtoFromJSON2, ProjectDtoFromJSONTyped2, ProjectDtoToJSON2, ProjectDtoToJSONTyped2, instanceOfSearchFilter2, SearchFilterFromJSON2, SearchFilterFromJSONTyped2, SearchFilterToJSON2, SearchFilterToJSONTyped2, SolutionDeploymentAction2, instanceOfSolutionDeploymentAction2, SolutionDeploymentActionFromJSON2, SolutionDeploymentActionFromJSONTyped2, SolutionDeploymentActionToJSON2, SolutionDeploymentActionToJSONTyped2, ConfigurationsApi2, DeploymentsApi2, PackagesApi2, ProjectsApi2, SearchApi2, SettingsApi2 };
|
|
3008
3008
|
|
|
3009
|
-
//# debugId=
|
|
3009
|
+
//# debugId=772468BC2CBECA2364756E2164756E21
|
|
@@ -3549,6 +3549,23 @@ async function extractErrorMessage(error, options) {
|
|
|
3549
3549
|
const { message } = await extractErrorDetails(error, options);
|
|
3550
3550
|
return message;
|
|
3551
3551
|
}
|
|
3552
|
+
// ../common/src/auth-challenge.ts
|
|
3553
|
+
var TOKEN_SHAPED = /\beyJ[A-Za-z0-9_-]{6,}\.[A-Za-z0-9_-]+(?:\.[A-Za-z0-9_-]*)?|\bBearer\s+[A-Za-z0-9._~+/=-]{8,}/gi;
|
|
3554
|
+
function redactTokens(text) {
|
|
3555
|
+
return text.replace(TOKEN_SHAPED, "[REDACTED]");
|
|
3556
|
+
}
|
|
3557
|
+
var MAX_CHALLENGE_DESCRIPTION = 200;
|
|
3558
|
+
function parseAuthChallenge(header) {
|
|
3559
|
+
if (!header)
|
|
3560
|
+
return {};
|
|
3561
|
+
const code = /\berror="([^"]*)"/.exec(header)?.[1]?.trim();
|
|
3562
|
+
const raw = /\berror_description="([^"]*)"/.exec(header)?.[1]?.trim();
|
|
3563
|
+
const description = raw ? redactTokens(raw).slice(0, MAX_CHALLENGE_DESCRIPTION) : undefined;
|
|
3564
|
+
return {
|
|
3565
|
+
error: code || undefined,
|
|
3566
|
+
description: description || undefined
|
|
3567
|
+
};
|
|
3568
|
+
}
|
|
3552
3569
|
// ../common/src/result-types.ts
|
|
3553
3570
|
var RESULTS = {
|
|
3554
3571
|
Success: "Success",
|
|
@@ -6667,6 +6684,6 @@ function unsupportedSolutionProjectType(projectType) {
|
|
|
6667
6684
|
var shippedKeysSlot = singleton("ShipSucceededDedupeKeys");
|
|
6668
6685
|
// ../common/src/tool-provider.ts
|
|
6669
6686
|
var factorySlot = singleton("PackagerFactoryProvider");
|
|
6670
|
-
export { ProjectDimensions, getSdkUserAgentToken, addSdkUserAgentHeader, installSdkUserAgentHeader, solutionIdentityProperties, projectKey, catchError, httpStatusOf, extractErrorMessage, RESULTS, summarizePlatformBody, logger, isGuid, quoteForShell, unsupportedSolutionProjectType };
|
|
6687
|
+
export { ProjectDimensions, getSdkUserAgentToken, addSdkUserAgentHeader, installSdkUserAgentHeader, solutionIdentityProperties, projectKey, catchError, httpStatusOf, extractErrorMessage, redactTokens, parseAuthChallenge, RESULTS, summarizePlatformBody, logger, isGuid, quoteForShell, unsupportedSolutionProjectType };
|
|
6671
6688
|
|
|
6672
|
-
//# debugId=
|
|
6689
|
+
//# debugId=999EDF3DB3B2E0E164756E2164756E21
|
package/dist/index.js
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
addSdkUserAgentHeader,
|
|
3
3
|
catchError,
|
|
4
|
+
redactTokens,
|
|
5
|
+
parseAuthChallenge,
|
|
4
6
|
RESULTS,
|
|
5
7
|
summarizePlatformBody,
|
|
6
8
|
logger
|
|
7
|
-
} from "./index-
|
|
9
|
+
} from "./index-y9qx7901.js";
|
|
8
10
|
import {
|
|
9
11
|
BASE_PATH2,
|
|
10
12
|
Configuration3,
|
|
@@ -297,7 +299,7 @@ import {
|
|
|
297
299
|
ProjectsApi2,
|
|
298
300
|
SearchApi2,
|
|
299
301
|
SettingsApi2
|
|
300
|
-
} from "./index-
|
|
302
|
+
} from "./index-77sqk2eg.js";
|
|
301
303
|
import {
|
|
302
304
|
__toESM,
|
|
303
305
|
__commonJS
|
|
@@ -318,7 +320,7 @@ import {
|
|
|
318
320
|
readSolutionManifest2,
|
|
319
321
|
isProjectRegisteredInSolution2,
|
|
320
322
|
findSolutionFileUpward2
|
|
321
|
-
} from "./index-
|
|
323
|
+
} from "./index-t1evhtnh.js";
|
|
322
324
|
|
|
323
325
|
// ../../node_modules/ignore/index.js
|
|
324
326
|
var require_ignore = __commonJS(function(exports, module) {
|
|
@@ -3104,22 +3106,6 @@ function requestPath(url) {
|
|
|
3104
3106
|
const [, parsed] = catchError(() => new URL(url));
|
|
3105
3107
|
return parsed ? `${parsed.pathname}${parsed.search}` : url;
|
|
3106
3108
|
}
|
|
3107
|
-
var TOKEN_SHAPED = /\beyJ[A-Za-z0-9_-]{6,}\.[A-Za-z0-9_-]+(?:\.[A-Za-z0-9_-]*)?|\bBearer\s+[A-Za-z0-9._~+/=-]{8,}/gi;
|
|
3108
|
-
function redactTokens(text) {
|
|
3109
|
-
return text.replace(TOKEN_SHAPED, "[REDACTED]");
|
|
3110
|
-
}
|
|
3111
|
-
var MAX_CHALLENGE_DESCRIPTION = 200;
|
|
3112
|
-
function parseAuthChallenge(header) {
|
|
3113
|
-
if (!header)
|
|
3114
|
-
return {};
|
|
3115
|
-
const code = /\berror="([^"]*)"/.exec(header)?.[1]?.trim();
|
|
3116
|
-
const raw = /\berror_description="([^"]*)"/.exec(header)?.[1]?.trim();
|
|
3117
|
-
const description = raw ? redactTokens(raw).slice(0, MAX_CHALLENGE_DESCRIPTION) : undefined;
|
|
3118
|
-
return {
|
|
3119
|
-
error: code || undefined,
|
|
3120
|
-
description: description || undefined
|
|
3121
|
-
};
|
|
3122
|
-
}
|
|
3123
3109
|
function summarizeAuthRefusalBody(body) {
|
|
3124
3110
|
return summarizePlatformBody(redactTokens(body));
|
|
3125
3111
|
}
|
|
@@ -3669,4 +3655,4 @@ export {
|
|
|
3669
3655
|
uploadOrOverwriteSolution
|
|
3670
3656
|
};
|
|
3671
3657
|
|
|
3672
|
-
//# debugId=
|
|
3658
|
+
//# debugId=25E3C5C5AC2F598B64756E2164756E21
|
package/dist/package-search.js
CHANGED
|
@@ -2,19 +2,19 @@ import"./index-0b3srjv7.js";
|
|
|
2
2
|
import {
|
|
3
3
|
catchError,
|
|
4
4
|
logger
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-y9qx7901.js";
|
|
6
6
|
import {
|
|
7
7
|
Configuration2,
|
|
8
8
|
PipelinesApi,
|
|
9
9
|
isMissingPipelinesRoute,
|
|
10
10
|
isApplicationSession,
|
|
11
11
|
parseSearchPage
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-dfmtrvrq.js";
|
|
13
13
|
import {
|
|
14
14
|
Configuration3,
|
|
15
15
|
PackageInfoFromJSON2,
|
|
16
16
|
SearchApi2
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-77sqk2eg.js";
|
|
18
18
|
import"./index-bpn15jyk.js";
|
|
19
19
|
|
|
20
20
|
// src/legacy-package-search.ts
|
package/dist/project-context.js
CHANGED
|
@@ -6,11 +6,11 @@ import {
|
|
|
6
6
|
solutionIdentityProperties,
|
|
7
7
|
projectKey,
|
|
8
8
|
logger
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-y9qx7901.js";
|
|
10
10
|
import {
|
|
11
11
|
toPortableRelativePath2,
|
|
12
12
|
findSolutionFileUpward2
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-t1evhtnh.js";
|
|
14
14
|
|
|
15
15
|
// src/project-context.ts
|
|
16
16
|
function record(value) {
|
package/dist/resources/index.js
CHANGED
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
extractErrorMessage,
|
|
12
12
|
logger,
|
|
13
13
|
isGuid
|
|
14
|
-
} from "../index-
|
|
14
|
+
} from "../index-y9qx7901.js";
|
|
15
15
|
import {
|
|
16
16
|
ErrorCodes,
|
|
17
17
|
BadRequestException,
|
|
@@ -73,7 +73,7 @@ import {
|
|
|
73
73
|
normalizeProjectType2,
|
|
74
74
|
toPortableRelativePath2,
|
|
75
75
|
findSolutionFileUpward2
|
|
76
|
-
} from "../index-
|
|
76
|
+
} from "../index-t1evhtnh.js";
|
|
77
77
|
|
|
78
78
|
// ../../node_modules/reflect-metadata/Reflect.js
|
|
79
79
|
var require_Reflect = __commonJS(function() {
|
|
@@ -59,30 +59,6 @@ export declare class SolutionUploadHttpError extends Error {
|
|
|
59
59
|
/** Matched by shape, not `instanceof`: tools bundle their own copy of this
|
|
60
60
|
* package, so a cross-bundle `instanceof` is not reliable. */
|
|
61
61
|
export declare function isSolutionUploadHttpError(error: unknown): error is SolutionUploadHttpError;
|
|
62
|
-
/** Replace anything token-shaped in `text`. Exported for the auth-refusal
|
|
63
|
-
* paths and their tests; not re-exported from the package barrel. */
|
|
64
|
-
export declare function redactTokens(text: string): string;
|
|
65
|
-
/**
|
|
66
|
-
* Pull the reason out of a `WWW-Authenticate` challenge.
|
|
67
|
-
*
|
|
68
|
-
* Measured against alpha: a real Studio Web 401 comes back with
|
|
69
|
-
* `content-length: 0` and puts the whole diagnostic in this header —
|
|
70
|
-
* `Bearer realm="…", error="invalid_token", error_description="The audience
|
|
71
|
-
* 'empty' is invalid"`. Without this the CLI has nothing to tell the user, and
|
|
72
|
-
* the envelope ends up asking them to report a platform response that does not
|
|
73
|
-
* exist.
|
|
74
|
-
*
|
|
75
|
-
* Only the two RFC 6750 fields are taken. `realm` is deliberately dropped: it
|
|
76
|
-
* is an internal endpoint URL, it says nothing about why the call failed, and
|
|
77
|
-
* echoing routing metadata into user-facing errors is the pattern the security
|
|
78
|
-
* checklist warns about. `error` is a small fixed vocabulary; `error_description`
|
|
79
|
-
* is free text, so it goes through {@link redactTokens} and a length cap in
|
|
80
|
-
* case Identity ever quotes the presented credential back.
|
|
81
|
-
*/
|
|
82
|
-
export declare function parseAuthChallenge(header?: string): {
|
|
83
|
-
error?: string;
|
|
84
|
-
description?: string;
|
|
85
|
-
};
|
|
86
62
|
/** Quote a platform body for an auth refusal, minus anything token-shaped.
|
|
87
63
|
* Redaction runs before `summarizePlatformBody`'s length cap, so a token
|
|
88
64
|
* cannot survive by being truncated mid-string into something the pattern no
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@uipath/solution-sdk",
|
|
3
3
|
"author": "UiPath",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
|
-
"version": "1.206.0-preview.
|
|
5
|
+
"version": "1.206.0-preview.297",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "https://github.com/UiPath/cli.git",
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"dist"
|
|
53
53
|
],
|
|
54
54
|
"private": false,
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "8d037366da44f2a20a0bf10d0270d137a408f9f5"
|
|
56
56
|
}
|