@uipath/agent-sdk 1.198.0 → 1.199.0-preview.104

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.
Files changed (2) hide show
  1. package/dist/index.js +4 -4
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -19553,7 +19553,7 @@ class TextApiResponse {
19553
19553
  var package_default = {
19554
19554
  name: "@uipath/agent-sdk",
19555
19555
  license: "MIT",
19556
- version: "1.198.0",
19556
+ version: "1.199.0-preview.104",
19557
19557
  description: "SDK for the UiPath Agent Runtime API — evaluation execution and debug sessions.",
19558
19558
  repository: {
19559
19559
  type: "git",
@@ -22595,6 +22595,7 @@ var resolveConfigAsync = async ({
22595
22595
  customAuthority,
22596
22596
  customClientId,
22597
22597
  customClientSecret,
22598
+ customClientAssertion,
22598
22599
  customScopes
22599
22600
  } = {}) => {
22600
22601
  const fileAuth = getAuthFileConfig();
@@ -22620,7 +22621,7 @@ var resolveConfigAsync = async ({
22620
22621
  if (!clientSecret && fileAuth.clientSecret) {
22621
22622
  clientSecret = fileAuth.clientSecret;
22622
22623
  }
22623
- const isExternalAppAuth = clientId !== DEFAULT_CLIENT_ID && Boolean(clientSecret);
22624
+ const isExternalAppAuth = clientId !== DEFAULT_CLIENT_ID && (Boolean(clientSecret) || Boolean(customClientAssertion));
22624
22625
  const scopes = resolveScopes(isExternalAppAuth, customScopes, fileAuth.scopes);
22625
22626
  return {
22626
22627
  clientId,
@@ -23738,7 +23739,6 @@ var getAuthContext = async (options = {}) => {
23738
23739
  tenantName
23739
23740
  };
23740
23741
  };
23741
-
23742
23742
  // ../auth/src/index.ts
23743
23743
  init_constants();
23744
23744
 
@@ -24289,4 +24289,4 @@ export {
24289
24289
  AgentAppearanceFromJSON
24290
24290
  };
24291
24291
 
24292
- //# debugId=83CC9ECDB9F3E08464756E2164756E21
24292
+ //# debugId=A560005789271B1664756E2164756E21
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@uipath/agent-sdk",
3
3
  "license": "MIT",
4
- "version": "1.198.0",
4
+ "version": "1.199.0-preview.104",
5
5
  "description": "SDK for the UiPath Agent Runtime API — evaluation execution and debug sessions.",
6
6
  "repository": {
7
7
  "type": "git",
@@ -29,5 +29,5 @@
29
29
  "files": [
30
30
  "dist"
31
31
  ],
32
- "gitHead": "1fadf03d7a8dd102742571dff569fdac11808afb"
32
+ "gitHead": "829a8ab8a25bce5b62c284bd1ddc674d2947f647"
33
33
  }