Files
KrishnaAgarwal7531 153c60e449 Migration bestbet to Tinyfish SDK (#181)
Migrates BestBet from raw Mino SSE fetch to the official TinyFish SDK
and fixes a security issue — the original code called the Mino API
directly from the browser using NEXT_PUBLIC_TINYFISH_API_KEY, exposing
the key to anyone who inspects network requests. The agent call is now
server-side via /api/scrape using TINYFISH_API_KEY (no NEXT_PUBLIC_
prefix). webagent.ts deleted.

---------

Co-authored-by: Krishna Agarwal <krishna.laptop3727@gmail.com>
Co-authored-by: Simantak Dabhade <simantak@mac.local>
2026-04-26 18:35:44 -07:00

30 lines
627 B
JSON

{
"name": "bestbet",
"version": "0.1.0",
"private": true,
"engines": { "node": "22.x" },
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "eslint"
},
"dependencies": {
"@tiny-fish/sdk": "latest",
"framer-motion": "^12.28.1",
"next": "16.1.4",
"react": "19.2.3",
"react-dom": "19.2.3"
},
"devDependencies": {
"@tailwindcss/postcss": "^4",
"@types/node": "^20",
"@types/react": "^19",
"@types/react-dom": "^19",
"eslint": "^9",
"eslint-config-next": "16.1.4",
"tailwindcss": "^4",
"typescript": "^5"
}
}