- Integrated dotenv for environment variable management. - Updated queueWorker to use WORKER_INTERVAL from .env or default to 5 seconds. - Added a new bulk SMS endpoint to queue multiple messages in a single request, with validation and transaction handling. - Updated package.json and package-lock.json to include dotenv dependency.
19 lines
344 B
JSON
19 lines
344 B
JSON
{
|
|
"name": "otp",
|
|
"version": "1.0.0",
|
|
"description": "",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"dependencies": {
|
|
"dotenv": "^17.4.2",
|
|
"express": "^4.18.2",
|
|
"socket.io": "^4.7.4",
|
|
"sqlite3": "^6.0.1"
|
|
}
|
|
}
|