@uipath/auth 0.1.8 → 0.1.10

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 +2 -3
  2. package/package.json +5 -4
package/dist/index.js CHANGED
@@ -14071,7 +14071,8 @@ var resolveConfigAsync = async ({
14071
14071
  while (baseUrl.endsWith("/")) {
14072
14072
  baseUrl = baseUrl.slice(0, -1);
14073
14073
  }
14074
- const [urlError, url2] = catchError(() => new URL(baseUrl));
14074
+ const resolvedBaseUrl = baseUrl;
14075
+ const [urlError, url2] = catchError(() => new URL(resolvedBaseUrl));
14075
14076
  if (urlError) {
14076
14077
  throw new InvalidBaseUrlError(baseUrl, `Malformed URL. ${urlError instanceof Error ? urlError.message : "Unknown error"}`);
14077
14078
  }
@@ -15186,7 +15187,6 @@ var interactiveLogin = async (options) => {
15186
15187
  // src/loginStatus.ts
15187
15188
  import {
15188
15189
  logger as logger8,
15189
- sessionId,
15190
15190
  setGlobalTelemetryProperties,
15191
15191
  telemetry as telemetry2
15192
15192
  } from "@uipath/common";
@@ -15331,7 +15331,6 @@ var getLoginStatusWithDeps = async (options = {}, deps = {}) => {
15331
15331
  if (result.loginStatus === "Logged in") {
15332
15332
  const userId = getUserIdFromToken(accessToken);
15333
15333
  const defaultProps = {
15334
- sessionId,
15335
15334
  ...userId ? { userId } : {},
15336
15335
  ...result.tenantId ? { tenantId: result.tenantId } : {},
15337
15336
  ...result.organizationId ? { organizationId: result.organizationId } : {},
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipath/auth",
3
- "version": "0.1.8",
3
+ "version": "0.1.10",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/UiPath/cli.git",
@@ -24,18 +24,19 @@
24
24
  ],
25
25
  "scripts": {
26
26
  "build": "bun build ./src/index.ts --outdir dist --format esm --target node --external @uipath/common --external @uipath/filesystem",
27
- "lint": "biome check ."
27
+ "lint": "biome check .",
28
+ "typecheck": "tsc --noEmit"
28
29
  },
29
30
  "dependencies": {
30
31
  "openid-client": "^6.8.2",
31
32
  "zod": "^4.3.6"
32
33
  },
33
34
  "peerDependencies": {
34
- "@uipath/common": "^0.1.7",
35
+ "@uipath/common": "^0.1.13",
35
36
  "@uipath/filesystem": "^0.1.6"
36
37
  },
37
38
  "devDependencies": {
38
- "@types/node": "^25.2.3",
39
+ "@types/node": "^25.5.0",
39
40
  "typescript": "^5"
40
41
  }
41
42
  }