- createFiatOffer: Uses create-offer-telegram Edge Function
- AdList: Uses get-my-offers Edge Function for "my-ads" tab
- Added adType parameter to CreateOfferParams
Fixes RLS issues where Telegram auth doesn't set auth.uid().
- Add setCurrentUserId/getCurrentUserId helpers for Telegram-based auth
- Update all p2p-fiat functions to use getCurrentUserId()
- AuthContext sets currentUserId on login/logout
- Fallback to supabase.auth.getUser() for web compatibility
This allows p2p-fiat functions to work with Telegram-only authentication
where users don't have a Supabase Auth session.
- Copy complete p2p-fiat.ts from pwap/shared with all functions
- Add createFiatOffer with internal ledger escrow lock
- Add AES-256-GCM encryption for payment details
- Add audit logging, reputation management
- Update CreateAd.tsx to use createFiatOffer instead of direct insert
- Remove unused wallet context from CreateAd
- Set dark mode as default (class="dark" on html)
- Update dark mode CSS variables for better contrast
- Fix popover/select dropdown colors
- Improve SelectItem hover and focus states
- Create src/lib/identity.ts with types and functions for KYC/reputation
- Fix @pezkuwi/lib imports to use @/lib alias
- Fix wallet context usage (account -> address)