@uipath/insights-sdk 1.202.0 → 1.203.0-preview.160
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.browser.js +3 -2
- package/dist/index.js +18 -12
- package/package.json +3 -2
package/dist/index.browser.js
CHANGED
|
@@ -341,8 +341,9 @@ function getSdkUserAgentToken(pkg) {
|
|
|
341
341
|
// package.json
|
|
342
342
|
var package_default = {
|
|
343
343
|
name: "@uipath/insights-sdk",
|
|
344
|
+
author: "UiPath",
|
|
344
345
|
license: "SEE LICENSE IN LICENSE.txt",
|
|
345
|
-
version: "1.
|
|
346
|
+
version: "1.203.0-preview.160",
|
|
346
347
|
description: "SDK for the UiPath Insights API — jobs, failures, and performance metrics.",
|
|
347
348
|
repository: {
|
|
348
349
|
type: "git",
|
|
@@ -845,4 +846,4 @@ export {
|
|
|
845
846
|
listUsers
|
|
846
847
|
};
|
|
847
848
|
|
|
848
|
-
//# debugId=
|
|
849
|
+
//# debugId=68693733ACCD72CB64756E2164756E21
|
package/dist/index.js
CHANGED
|
@@ -1281,8 +1281,9 @@ function getSdkUserAgentToken(pkg) {
|
|
|
1281
1281
|
// package.json
|
|
1282
1282
|
var package_default = {
|
|
1283
1283
|
name: "@uipath/insights-sdk",
|
|
1284
|
+
author: "UiPath",
|
|
1284
1285
|
license: "SEE LICENSE IN LICENSE.txt",
|
|
1285
|
-
version: "1.
|
|
1286
|
+
version: "1.203.0-preview.160",
|
|
1286
1287
|
description: "SDK for the UiPath Insights API — jobs, failures, and performance metrics.",
|
|
1287
1288
|
repository: {
|
|
1288
1289
|
type: "git",
|
|
@@ -2381,16 +2382,7 @@ var resolveEnvFilePathAsync = async (envFilePath = DEFAULT_ENV_FILENAME, opts) =
|
|
|
2381
2382
|
errorMessage: location.source === "absolute" ? `Environment file not found: ${envFilePath}` : `Unable to locate environment file: ${envFilePath}. Run 'uip login' to authenticate.`
|
|
2382
2383
|
};
|
|
2383
2384
|
};
|
|
2384
|
-
var
|
|
2385
|
-
const fs7 = getFileSystem();
|
|
2386
|
-
const absolutePath = fs7.path.isAbsolute(envPath) ? envPath : fs7.path.join(fs7.env.cwd(), envPath);
|
|
2387
|
-
if (!await fs7.exists(absolutePath)) {
|
|
2388
|
-
throw new Error(`Environment file not found: ${envPath}`);
|
|
2389
|
-
}
|
|
2390
|
-
const content = await fs7.readFile(absolutePath, "utf-8");
|
|
2391
|
-
if (content === null) {
|
|
2392
|
-
throw new Error(`Environment file not found: ${envPath}`);
|
|
2393
|
-
}
|
|
2385
|
+
var parseEnvContent = (content) => {
|
|
2394
2386
|
const env = {};
|
|
2395
2387
|
for (const line of content.split(`
|
|
2396
2388
|
`)) {
|
|
@@ -2411,6 +2403,18 @@ var loadEnvFileAsync = async ({ envPath }) => {
|
|
|
2411
2403
|
}
|
|
2412
2404
|
return env;
|
|
2413
2405
|
};
|
|
2406
|
+
var loadEnvFileAsync = async ({ envPath }) => {
|
|
2407
|
+
const fs7 = getFileSystem();
|
|
2408
|
+
const absolutePath = fs7.path.isAbsolute(envPath) ? envPath : fs7.path.join(fs7.env.cwd(), envPath);
|
|
2409
|
+
if (!await fs7.exists(absolutePath)) {
|
|
2410
|
+
throw new Error(`Environment file not found: ${envPath}`);
|
|
2411
|
+
}
|
|
2412
|
+
const content = await fs7.readFile(absolutePath, "utf-8");
|
|
2413
|
+
if (content === null) {
|
|
2414
|
+
throw new Error(`Environment file not found: ${envPath}`);
|
|
2415
|
+
}
|
|
2416
|
+
return parseEnvContent(content);
|
|
2417
|
+
};
|
|
2414
2418
|
var saveEnvFileAsync = async ({
|
|
2415
2419
|
envPath,
|
|
2416
2420
|
data,
|
|
@@ -2951,6 +2955,8 @@ var getAuthContext = async (options = {}) => {
|
|
|
2951
2955
|
tenantName
|
|
2952
2956
|
};
|
|
2953
2957
|
};
|
|
2958
|
+
// ../auth/src/authProfileDetails.ts
|
|
2959
|
+
init_src();
|
|
2954
2960
|
// ../auth/src/index.ts
|
|
2955
2961
|
init_constants();
|
|
2956
2962
|
|
|
@@ -3112,4 +3118,4 @@ export {
|
|
|
3112
3118
|
listUsers
|
|
3113
3119
|
};
|
|
3114
3120
|
|
|
3115
|
-
//# debugId=
|
|
3121
|
+
//# debugId=54910886AB5E9AB964756E2164756E21
|
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uipath/insights-sdk",
|
|
3
|
+
"author": "UiPath",
|
|
3
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
4
|
-
"version": "1.
|
|
5
|
+
"version": "1.203.0-preview.160",
|
|
5
6
|
"description": "SDK for the UiPath Insights API — jobs, failures, and performance metrics.",
|
|
6
7
|
"repository": {
|
|
7
8
|
"type": "git",
|
|
@@ -34,5 +35,5 @@
|
|
|
34
35
|
"files": [
|
|
35
36
|
"dist"
|
|
36
37
|
],
|
|
37
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "3a42062ba731afca4595ba9aa8a80afc9667528d"
|
|
38
39
|
}
|