Skip to content

Commit

Permalink
v3.0.0 release 🎉
Browse files Browse the repository at this point in the history
- Fix endpoint error
- Upgrade packages
  • Loading branch information
phamleduy04 committed Jul 22, 2024
1 parent 37461dd commit 2c79577
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# texas-dps-scheduler

# WARNING: the app is not working right now, please wait until the latest fix.
This app will find sameday or ~~nearest 7 day~~ (can customize now) appointments and schedulle it automatically!

# Hostname/IP does not match certificate's altnames error
Please use version 3.0.0 to fix.

[![Hits](https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com%2Fphamleduy04%2Ftexas-dps-scheduler&count_bg=%2379C83D&title_bg=%23555555&icon=typescript.svg&icon_color=%23E7E7E7&title=Views&edge_flat=false)](https://hits.seeyoufarm.com)
[![DeepScan grade](https://deepscan.io/api/teams/11483/projects/21347/branches/611270/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=11483&pid=21347&bid=611270)
[![CodeFactor](https://www.codefactor.io/repository/github/phamleduy04/texas-dps-scheduler/badge)](https://www.codefactor.io/repository/github/phamleduy04/texas-dps-scheduler)
Expand Down
2 changes: 1 addition & 1 deletion example.config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,6 @@ appSettings:
# Set this to true if you using replit, heroku or something equivalent
webserver: false
# Set this to higher if you encounter Header Timeout error. This one is in miliseconds
headersTimeout: 20000
headersTimeout: 30000
# How many times to retry if the request to DPS server failled
maxRetry: 3
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "texas-dps-scheduler",
"version": "2.2.2",
"version": "3.0.0",
"description": "Texas DPS Automatic Scheduler",
"main": "dist/index.js",
"scripts": {
Expand All @@ -22,26 +22,26 @@
"devDependencies": {
"@eslint/create-config": "^1.1.6",
"@types/ms": "^0.7.34",
"@types/node": "^20.14.10",
"@types/node": "^20.14.11",
"@types/prompts": "^2.4.9",
"@typescript-eslint/eslint-plugin": "^7.16.1",
"@typescript-eslint/parser": "^7.16.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-prettier": "^5.2.1",
"prettier": "^3.3.3",
"ts-node": "^10.9.2",
"typescript": "^5.5.3"
},
"dependencies": {
"colorette": "^2.0.20",
"dayjs": "^1.11.11",
"dayjs": "^1.11.12",
"dotenv": "^16.4.5",
"js-yaml": "^4.1.0",
"p-queue": "6.6.2",
"prompts": "^2.4.2",
"tslib": "^2.6.3",
"undici": "^6.19.2",
"undici": "^6.19.4",
"yaml": "^2.4.5",
"zod": "^3.23.8"
},
Expand Down
2 changes: 1 addition & 1 deletion src/Client/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ try {
}
}
class TexasScheduler {
public requestInstance = new undici.Pool('https://publicapi.txdpsscheduler.com');
public requestInstance = new undici.Pool('https://apptapi.txdpsscheduler.com');
public config = parseConfig();
public existBooking: { exist: boolean; response: ExistBookingResponse[] } | undefined;

Expand Down

0 comments on commit 2c79577

Please sign in to comment.