@uipath/insights-sdk 1.198.0 → 1.199.0-preview.105
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.js +3 -3
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -19251,6 +19251,7 @@ var resolveConfigAsync = async ({
|
|
|
19251
19251
|
customAuthority,
|
|
19252
19252
|
customClientId,
|
|
19253
19253
|
customClientSecret,
|
|
19254
|
+
customClientAssertion,
|
|
19254
19255
|
customScopes
|
|
19255
19256
|
} = {}) => {
|
|
19256
19257
|
const fileAuth = getAuthFileConfig();
|
|
@@ -19276,7 +19277,7 @@ var resolveConfigAsync = async ({
|
|
|
19276
19277
|
if (!clientSecret && fileAuth.clientSecret) {
|
|
19277
19278
|
clientSecret = fileAuth.clientSecret;
|
|
19278
19279
|
}
|
|
19279
|
-
const isExternalAppAuth = clientId !== DEFAULT_CLIENT_ID && Boolean(clientSecret);
|
|
19280
|
+
const isExternalAppAuth = clientId !== DEFAULT_CLIENT_ID && (Boolean(clientSecret) || Boolean(customClientAssertion));
|
|
19280
19281
|
const scopes = resolveScopes(isExternalAppAuth, customScopes, fileAuth.scopes);
|
|
19281
19282
|
return {
|
|
19282
19283
|
clientId,
|
|
@@ -20394,7 +20395,6 @@ var getAuthContext = async (options = {}) => {
|
|
|
20394
20395
|
tenantName
|
|
20395
20396
|
};
|
|
20396
20397
|
};
|
|
20397
|
-
|
|
20398
20398
|
// ../auth/src/index.ts
|
|
20399
20399
|
init_constants();
|
|
20400
20400
|
|
|
@@ -20438,4 +20438,4 @@ export {
|
|
|
20438
20438
|
createInsightsConfig
|
|
20439
20439
|
};
|
|
20440
20440
|
|
|
20441
|
-
//# debugId=
|
|
20441
|
+
//# debugId=C80E991A5011701E64756E2164756E21
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uipath/insights-sdk",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.199.0-preview.105",
|
|
5
5
|
"description": "SDK for the UiPath Insights API — jobs, failures, and performance metrics.",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -27,5 +27,5 @@
|
|
|
27
27
|
"files": [
|
|
28
28
|
"dist"
|
|
29
29
|
],
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "30a83200f41e8bb994929322e33176b4355f6707"
|
|
31
31
|
}
|