@uipath/solution-sdk 1.206.0-preview.311 → 1.206.0-preview.323
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 +5 -5
- package/dist/{index-y9qx7901.js → index-4etz8y9j.js} +2 -2
- package/dist/{index-dfmtrvrq.js → index-5rha92bh.js} +2 -2
- package/dist/{index-vy4ks4t4.js → index-6dyqjfzv.js} +3 -3
- package/dist/{index-xnrbg4x3.js → index-6qtpn0gv.js} +1 -1
- package/dist/{index-0b3srjv7.js → index-gwdj8kb8.js} +26 -6
- package/dist/{index-t1evhtnh.js → index-sppg0e29.js} +1 -1
- package/dist/{index-bpn15jyk.js → index-ttp2en21.js} +48 -6
- package/dist/index.js +4 -4
- package/dist/{jmespath-x4na7sj8.js → jmespath-668q2wnj.js} +1 -1
- package/dist/package-search.js +5 -5
- package/dist/project-context.js +3 -3
- package/dist/resources/index.js +5 -5
- package/dist/solution-auth.js +3 -3
- package/package.json +2 -2
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import"./index-
|
|
1
|
+
import"./index-gwdj8kb8.js";
|
|
2
2
|
import {
|
|
3
3
|
catchError,
|
|
4
4
|
logger
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-4etz8y9j.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-5rha92bh.js";
|
|
13
13
|
import {
|
|
14
14
|
Configuration3,
|
|
15
15
|
DeploymentSearchItemDto2FromJSON2,
|
|
16
16
|
SearchApi2
|
|
17
|
-
} from "./index-
|
|
18
|
-
import"./index-
|
|
17
|
+
} from "./index-6dyqjfzv.js";
|
|
18
|
+
import"./index-ttp2en21.js";
|
|
19
19
|
|
|
20
20
|
// src/legacy-deployment-search-v3.ts
|
|
21
21
|
var LEGACY_V3_SEARCH_ROUTE = "POST /api/v3/search/deployments";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__exportCjs,
|
|
5
5
|
__require,
|
|
6
6
|
getFileSystem
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-gwdj8kb8.js";
|
|
8
8
|
|
|
9
9
|
// ../../node_modules/commander/lib/error.js
|
|
10
10
|
var require_error = __commonJS(function(exports) {
|
|
@@ -3752,7 +3752,7 @@ async function loadOutputCodecsAsync(needed) {
|
|
|
3752
3752
|
}));
|
|
3753
3753
|
}
|
|
3754
3754
|
if (needed.filter && jmespathSlot.get() === undefined) {
|
|
3755
|
-
loads.push(import("./jmespath-
|
|
3755
|
+
loads.push(import("./jmespath-668q2wnj.js").then((m)=>__toESM(m.default,1)).then((mod) => {
|
|
3756
3756
|
jmespathSlot.set(mod);
|
|
3757
3757
|
}));
|
|
3758
3758
|
}
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
installSdkUserAgentHeader,
|
|
4
4
|
catchError,
|
|
5
5
|
httpStatusOf
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-4etz8y9j.js";
|
|
7
7
|
import {
|
|
8
8
|
resolveSessionIdentity
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-ttp2en21.js";
|
|
10
10
|
|
|
11
11
|
// ../pipelines-sdk/generated/src/runtime.ts
|
|
12
12
|
var BASE_PATH = "http://localhost".replace(/\/+$/, "");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getSdkUserAgentToken,
|
|
3
3
|
installSdkUserAgentHeader
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-4etz8y9j.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.323",
|
|
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=8EE7B0E325E31C8C64756E2164756E21
|
|
@@ -92,12 +92,26 @@ class NodeFileSystem {
|
|
|
92
92
|
throw error;
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
|
-
async writeFile(filePath, data) {
|
|
95
|
+
async writeFile(filePath, data, options) {
|
|
96
96
|
const dir = path.dirname(filePath);
|
|
97
97
|
if (dir) {
|
|
98
98
|
await fs.mkdir(dir, { recursive: true });
|
|
99
99
|
}
|
|
100
|
-
|
|
100
|
+
if (options?.mode === undefined || process.platform === "win32") {
|
|
101
|
+
if (options?.exclusive) {
|
|
102
|
+
await fs.writeFile(filePath, data, { flag: "wx" });
|
|
103
|
+
} else {
|
|
104
|
+
await fs.writeFile(filePath, data);
|
|
105
|
+
}
|
|
106
|
+
return;
|
|
107
|
+
}
|
|
108
|
+
const handle = await fs.open(filePath, options.exclusive ? "wx" : "w", options.mode);
|
|
109
|
+
try {
|
|
110
|
+
await handle.chmod(options.mode);
|
|
111
|
+
await handle.writeFile(data);
|
|
112
|
+
} finally {
|
|
113
|
+
await handle.close();
|
|
114
|
+
}
|
|
101
115
|
}
|
|
102
116
|
async appendFile(filePath, data) {
|
|
103
117
|
const dir = path.dirname(filePath);
|
|
@@ -132,7 +146,8 @@ class NodeFileSystem {
|
|
|
132
146
|
isDirectory: () => stats.isDirectory(),
|
|
133
147
|
size: stats.size,
|
|
134
148
|
mtimeMs: stats.mtimeMs,
|
|
135
|
-
ctimeMs: stats.ctimeMs
|
|
149
|
+
ctimeMs: stats.ctimeMs,
|
|
150
|
+
mode: stats.mode
|
|
136
151
|
};
|
|
137
152
|
} catch (error) {
|
|
138
153
|
if (this.isEnoent(error))
|
|
@@ -143,8 +158,13 @@ class NodeFileSystem {
|
|
|
143
158
|
async exists(filePath) {
|
|
144
159
|
return existsSync(filePath);
|
|
145
160
|
}
|
|
146
|
-
async mkdir(dirPath) {
|
|
147
|
-
await fs.mkdir(dirPath, { recursive: true });
|
|
161
|
+
async mkdir(dirPath, options) {
|
|
162
|
+
await fs.mkdir(dirPath, { recursive: true, mode: options?.mode });
|
|
163
|
+
}
|
|
164
|
+
async chmod(targetPath, mode) {
|
|
165
|
+
if (process.platform === "win32")
|
|
166
|
+
return;
|
|
167
|
+
await fs.chmod(targetPath, mode);
|
|
148
168
|
}
|
|
149
169
|
async acquireLock(lockPath) {
|
|
150
170
|
const canonicalPath = await this.canonicalizeLockTarget(lockPath);
|
|
@@ -334,4 +354,4 @@ var getFileSystem = () => fsInstance;
|
|
|
334
354
|
|
|
335
355
|
export { __toESM, __commonJS, __exportCjs, __require, getFileSystem };
|
|
336
356
|
|
|
337
|
-
//# debugId=
|
|
357
|
+
//# debugId=39BAB0F00346B9B064756E2164756E21
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__require,
|
|
3
3
|
getFileSystem
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-gwdj8kb8.js";
|
|
5
5
|
|
|
6
6
|
// ../auth/src/catch-error.ts
|
|
7
7
|
function isPromiseLike(value) {
|
|
@@ -34,6 +34,8 @@ function settlePromiseLike(thenable) {
|
|
|
34
34
|
// ../auth/src/constants.ts
|
|
35
35
|
var UIPATH_HOME_DIR = ".uipath";
|
|
36
36
|
var AUTH_FILENAME = ".auth";
|
|
37
|
+
var AUTH_FILE_MODE = 384;
|
|
38
|
+
var AUTH_DIR_MODE = 448;
|
|
37
39
|
var DEFAULT_BASE_URL = "https://cloud.uipath.com";
|
|
38
40
|
var DEFAULT_AUTH_TIMEOUT_MS = 5 * 60 * 1000;
|
|
39
41
|
|
|
@@ -857,6 +859,38 @@ var loadEnvFileAsync = async ({ envPath }) => {
|
|
|
857
859
|
}
|
|
858
860
|
return parseEnvContent(content);
|
|
859
861
|
};
|
|
862
|
+
var findAuthHomeDir = (fs, dir) => {
|
|
863
|
+
let current = dir;
|
|
864
|
+
for (;; ) {
|
|
865
|
+
if (fs.path.basename(current) === UIPATH_HOME_DIR)
|
|
866
|
+
return current;
|
|
867
|
+
const parent = fs.path.dirname(current);
|
|
868
|
+
if (parent === current)
|
|
869
|
+
return;
|
|
870
|
+
current = parent;
|
|
871
|
+
}
|
|
872
|
+
};
|
|
873
|
+
var TEMP_FILE_ATTEMPTS = 5;
|
|
874
|
+
var isFileExists = (error) => error instanceof Error && error.code === "EEXIST";
|
|
875
|
+
var writeTempFile = async (fs, targetPath, content) => {
|
|
876
|
+
for (let attempt = 1;; attempt++) {
|
|
877
|
+
const tempPath = `${targetPath}.${crypto.randomUUID()}.tmp`;
|
|
878
|
+
try {
|
|
879
|
+
await fs.writeFile(tempPath, content, {
|
|
880
|
+
mode: AUTH_FILE_MODE,
|
|
881
|
+
exclusive: true
|
|
882
|
+
});
|
|
883
|
+
return tempPath;
|
|
884
|
+
} catch (error) {
|
|
885
|
+
if (!isFileExists(error)) {
|
|
886
|
+
await fs.rm(tempPath).catch(() => {});
|
|
887
|
+
throw error;
|
|
888
|
+
}
|
|
889
|
+
if (attempt === TEMP_FILE_ATTEMPTS)
|
|
890
|
+
throw error;
|
|
891
|
+
}
|
|
892
|
+
}
|
|
893
|
+
};
|
|
860
894
|
var saveEnvFileAsync = async ({
|
|
861
895
|
envPath,
|
|
862
896
|
data,
|
|
@@ -884,10 +918,18 @@ var saveEnvFileAsync = async ({
|
|
|
884
918
|
`)}
|
|
885
919
|
`;
|
|
886
920
|
const dir = fs.path.dirname(absolutePath);
|
|
887
|
-
await fs.mkdir(dir);
|
|
888
|
-
const
|
|
889
|
-
|
|
890
|
-
|
|
921
|
+
await fs.mkdir(dir, { mode: AUTH_DIR_MODE });
|
|
922
|
+
const authHomeDir = findAuthHomeDir(fs, dir);
|
|
923
|
+
if (authHomeDir !== undefined) {
|
|
924
|
+
await fs.chmod?.(authHomeDir, AUTH_DIR_MODE);
|
|
925
|
+
}
|
|
926
|
+
const tempPath = await writeTempFile(fs, absolutePath, content);
|
|
927
|
+
try {
|
|
928
|
+
await fs.rename(tempPath, absolutePath);
|
|
929
|
+
} catch (error) {
|
|
930
|
+
await fs.rm(tempPath).catch(() => {});
|
|
931
|
+
throw error;
|
|
932
|
+
}
|
|
891
933
|
};
|
|
892
934
|
|
|
893
935
|
// ../auth/src/loginStatus.ts
|
|
@@ -1484,4 +1526,4 @@ var TENANT_SELECTION_CODES = new Set([
|
|
|
1484
1526
|
]);
|
|
1485
1527
|
export { resolveSessionIdentity, getLoginStatusAsync, getAuthContext };
|
|
1486
1528
|
|
|
1487
|
-
//# debugId=
|
|
1529
|
+
//# debugId=93B9FCF99EC25A4264756E2164756E21
|
package/dist/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
RESULTS,
|
|
7
7
|
summarizePlatformBody,
|
|
8
8
|
logger
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-4etz8y9j.js";
|
|
10
10
|
import {
|
|
11
11
|
BASE_PATH2,
|
|
12
12
|
Configuration3,
|
|
@@ -299,11 +299,11 @@ import {
|
|
|
299
299
|
ProjectsApi2,
|
|
300
300
|
SearchApi2,
|
|
301
301
|
SettingsApi2
|
|
302
|
-
} from "./index-
|
|
302
|
+
} from "./index-6dyqjfzv.js";
|
|
303
303
|
import {
|
|
304
304
|
__toESM,
|
|
305
305
|
__commonJS
|
|
306
|
-
} from "./index-
|
|
306
|
+
} from "./index-gwdj8kb8.js";
|
|
307
307
|
import {
|
|
308
308
|
normalizeProjectType2,
|
|
309
309
|
toPortableRelativePath2,
|
|
@@ -320,7 +320,7 @@ import {
|
|
|
320
320
|
readSolutionManifest2,
|
|
321
321
|
isProjectRegisteredInSolution2,
|
|
322
322
|
findSolutionFileUpward2
|
|
323
|
-
} from "./index-
|
|
323
|
+
} from "./index-sppg0e29.js";
|
|
324
324
|
|
|
325
325
|
// ../../node_modules/ignore/index.js
|
|
326
326
|
var require_ignore = __commonJS(function(exports, module) {
|
package/dist/package-search.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import"./index-
|
|
1
|
+
import"./index-gwdj8kb8.js";
|
|
2
2
|
import {
|
|
3
3
|
catchError,
|
|
4
4
|
logger
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-4etz8y9j.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-5rha92bh.js";
|
|
13
13
|
import {
|
|
14
14
|
Configuration3,
|
|
15
15
|
PackageInfoFromJSON2,
|
|
16
16
|
SearchApi2
|
|
17
|
-
} from "./index-
|
|
18
|
-
import"./index-
|
|
17
|
+
} from "./index-6dyqjfzv.js";
|
|
18
|
+
import"./index-ttp2en21.js";
|
|
19
19
|
|
|
20
20
|
// src/legacy-package-search.ts
|
|
21
21
|
var LEGACY_PACKAGE_SEARCH_ROUTE = "POST /api/search/packages";
|
package/dist/project-context.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getFileSystem
|
|
3
|
-
} from "./index-
|
|
3
|
+
} from "./index-gwdj8kb8.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectDimensions,
|
|
6
6
|
solutionIdentityProperties,
|
|
7
7
|
projectKey,
|
|
8
8
|
logger
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-4etz8y9j.js";
|
|
10
10
|
import {
|
|
11
11
|
toPortableRelativePath2,
|
|
12
12
|
findSolutionFileUpward2
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-sppg0e29.js";
|
|
14
14
|
|
|
15
15
|
// src/project-context.ts
|
|
16
16
|
function record(value) {
|
package/dist/resources/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
__toESM,
|
|
3
3
|
__commonJS,
|
|
4
4
|
getFileSystem
|
|
5
|
-
} from "../index-
|
|
5
|
+
} from "../index-gwdj8kb8.js";
|
|
6
6
|
import {
|
|
7
7
|
getSdkUserAgentToken,
|
|
8
8
|
addSdkUserAgentHeader,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
extractErrorMessage,
|
|
12
12
|
logger,
|
|
13
13
|
isGuid
|
|
14
|
-
} from "../index-
|
|
14
|
+
} from "../index-4etz8y9j.js";
|
|
15
15
|
import {
|
|
16
16
|
ErrorCodes,
|
|
17
17
|
BadRequestException,
|
|
@@ -65,15 +65,15 @@ import {
|
|
|
65
65
|
resolveSessionIdentity,
|
|
66
66
|
getLoginStatusAsync,
|
|
67
67
|
getAuthContext
|
|
68
|
-
} from "../index-
|
|
68
|
+
} from "../index-ttp2en21.js";
|
|
69
69
|
import {
|
|
70
70
|
getSolutionAuthContext2
|
|
71
|
-
} from "../index-
|
|
71
|
+
} from "../index-6qtpn0gv.js";
|
|
72
72
|
import {
|
|
73
73
|
normalizeProjectType2,
|
|
74
74
|
toPortableRelativePath2,
|
|
75
75
|
findSolutionFileUpward2
|
|
76
|
-
} from "../index-
|
|
76
|
+
} from "../index-sppg0e29.js";
|
|
77
77
|
|
|
78
78
|
// ../../node_modules/reflect-metadata/Reflect.js
|
|
79
79
|
var require_Reflect = __commonJS(function() {
|
package/dist/solution-auth.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getSolutionAuthContext2
|
|
3
|
-
} from "./index-
|
|
4
|
-
import"./index-
|
|
5
|
-
import"./index-
|
|
3
|
+
} from "./index-6qtpn0gv.js";
|
|
4
|
+
import"./index-ttp2en21.js";
|
|
5
|
+
import"./index-gwdj8kb8.js";
|
|
6
6
|
export {
|
|
7
7
|
getSolutionAuthContext2 as getSolutionAuthContext
|
|
8
8
|
};
|
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.323",
|
|
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": "a752d8a8d78de138e3be0a19642620fec7893d99"
|
|
56
56
|
}
|