Files
pezkuwi-telegram-miniapp/supabase
Satoshi Qazi Muhammed fc5fad2ffe fix(deposits): stop sending an empty TronGrid key and log TronGrid failures
Both TRC20 deposit functions sent `TRON-PRO-API-KEY: ''` when the key was
unset, and check-deposits returned silently on any non-2xx TronGrid
response, so a 401 or 429 skipped a user's deposits with nothing in the
logs.

- send the key header only when TRONGRID_API_KEY is set; warn once if not
- check-deposits logs the status and deposit index on a failed call
- process-deposits records the TronGrid status in results.trc20.errors
- type the batch item in check-deposits (deno check TS7006, pre-existing)
2026-10-17 19:46:12 +04:00
..