Skip to content
This repository has been archived by the owner on Jan 4, 2025. It is now read-only.

Commit

Permalink
feat: re-export error classes for web VPN usage
Browse files Browse the repository at this point in the history
  • Loading branch information
Vexcited committed Mar 14, 2024
1 parent c49a5d2 commit 6607ac3
Show file tree
Hide file tree
Showing 3 changed files with 336 additions and 154 deletions.
14 changes: 7 additions & 7 deletions packages/library/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"scripts": {
"build": "tsup ./src/index.ts --dts --minify terser --clean --format cjs,esm --sourcemap",
"release": "release-it",
"lint": "eslint ."
"lint": "tsc && eslint ."
},
"files": [
"dist"
Expand Down Expand Up @@ -51,17 +51,17 @@
}
},
"devDependencies": {
"@stylistic/eslint-plugin": "^1.6.3",
"@types/node": "^20.11.24",
"@typescript-eslint/parser": "^6.21.0",
"@stylistic/eslint-plugin": "^1.7.0",
"@types/node": "^20.11.27",
"@typescript-eslint/parser": "^7.2.0",
"eslint": "^8.57.0",
"release-it": "^17.1.1",
"terser": "^5.28.1",
"terser": "^5.29.2",
"tsup": "^8.0.2",
"typescript": "^5.3.3"
"typescript": "^5.4.2"
},
"dependencies": {
"cheerio": "1.0.0-rc.12",
"fortigate-web-sslvpn": "^2.1.0"
"fortigate-web-sslvpn": "^2.2.0"
}
}
3 changes: 3 additions & 0 deletions packages/library/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@ export type {
SignaturesSemesterDump,
SignaturesSkillDump
} from "./parser/types";

// Re-export error classes when using the web VPN.
export { WrongCredentials as WebVPNWrongCredentials, RateLimited as WebVPNRateLimited } from "fortigate-web-sslvpn";
Loading

0 comments on commit 6607ac3

Please sign in to comment.