mirror of
https://github.com/koala73/worldmonitor.git
synced 2026-04-25 17:14:57 +02:00
Squashed rebase onto current main (which now includes #3259, #3260,
#3261, #3270, #3273). Source-only diff extracted via `git diff
b688d2ff3 HEAD -- ':!public/pro/**'`; all 3 source files applied
cleanly with no conflicts (PR-9 touches checkout-return.ts which
other PRs didn't).
Changes:
- src/services/checkout-return.ts: tighten priority so ?wm_checkout=
presence can't spoof Dodo subscription_id/status. wm_checkout=success
marker honored ONLY when Dodo IDs are absent; Dodo status wins when
both are present.
- pro-test/src/App.tsx: set ?wm_checkout=success before full-page
redirect to main dashboard after overlay-success
- tests/checkout-return-discriminant.test.mts: 11-test suite for the
priority-order invariant including spoofing regression guards
Pro bundle rebuilt fresh.