finki-auth 1.8.0 → 1.9.0

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/README.md +1 -1
  2. package/package.json +12 -14
package/README.md CHANGED
@@ -46,7 +46,7 @@ const cookieHeader = await auth.buildCookieHeader(Service.COURSES);
46
46
  // Check if the cookie is still valid, and if not, call `authenticate` again
47
47
  const isCookieValid = await auth.isCookieValid(Service.COURSES);
48
48
 
49
- if (!isCookieValid) await auth.authenticate();
49
+ if (!isCookieValid) await auth.authenticate(Service.COURSES);
50
50
 
51
51
  // There are also some utility functions available:
52
52
  const isCookieValidStandalone = await isCookieValid({
package/package.json CHANGED
@@ -13,29 +13,27 @@
13
13
  }
14
14
  },
15
15
  "dependencies": {
16
- "axios": "^1.12.2",
17
- "axios-cookiejar-support": "^6.0.4",
18
- "jsdom": "^27.0.0",
16
+ "axios": "^1.13.2",
17
+ "axios-cookiejar-support": "^6.0.5",
18
+ "jsdom": "^27.4.0",
19
19
  "tough-cookie": "^6.0.0",
20
- "zod": "^4.1.12"
20
+ "zod": "^4.3.2"
21
21
  },
22
22
  "description": "Authentication for FCSE services",
23
23
  "devDependencies": {
24
- "@commitlint/cli": "^20.1.0",
25
- "@commitlint/config-conventional": "^20.0.0",
26
- "@semantic-release/changelog": "^6.0.3",
27
- "@semantic-release/git": "^10.0.1",
24
+ "@commitlint/cli": "^20.2.0",
25
+ "@commitlint/config-conventional": "^20.2.0",
28
26
  "@types/jsdom": "^27.0.0",
29
27
  "commitizen": "^4.3.1",
30
28
  "cz-conventional-changelog": "^3.3.0",
31
29
  "dotenv": "^17.2.3",
32
- "eslint": "^9.37.0",
33
- "eslint-config-imperium": "^2.7.0",
30
+ "eslint": "^9.39.2",
31
+ "eslint-config-imperium": "^3.1.0",
34
32
  "husky": "^9.1.7",
35
- "rimraf": "^6.0.1",
36
- "semantic-release": "^24.2.9",
33
+ "rimraf": "^6.1.2",
34
+ "semantic-release": "^25.0.2",
37
35
  "typescript": "~5.9.3",
38
- "vitest": "^3.2.4"
36
+ "vitest": "^4.0.16"
39
37
  },
40
38
  "engines": {
41
39
  "node": "^20 || ^22 || ^24"
@@ -72,5 +70,5 @@
72
70
  },
73
71
  "type": "module",
74
72
  "types": "dist/index.d.ts",
75
- "version": "1.8.0"
73
+ "version": "1.9.0"
76
74
  }