a51387902c
PoE2's economy is inherently pairwise (Exalted vs Chaos, Divine vs Exalted), not everything quoted in one reference currency, so the watchlist now tracks admin-picked currency pairs and shows both directions with 1h/24h/7d change. poe.ninja doesn't expose per-pair rates or multiple change windows, so both are self-computed: any pair's rate comes from dividing the two currencies' primaryValue (same reference currency cancels out), and change% is derived from our own poll-history snapshots rather than poe.ninja's fixed 7-day sparkline. The inverse direction's change is exact closed-form math from the forward change, not a sign-flip approximation. The old single-currency watchlist schema can't be mapped onto pairs, so migrate() drops and rebuilds poe2_watchlist when it detects the old shape. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014c1L8ghNBFjfiH64UMViP8
sv
Everything you need to build a Svelte project, powered by sv.
Creating a project
If you're seeing this, you've probably already done this step. Congrats!
# create a new project
npx sv create my-app
To recreate this project with the same configuration:
# recreate this project
npx sv@0.16.2 create --template minimal --types ts --install npm frontend
Developing
Once you've created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open
Building
To create a production version of your app:
npm run build
You can preview the production build with npm run preview.
To deploy your app, you may need to install an adapter for your target environment.