New Features
- Post-purchase control for web paywalls — Take over what happens after a web checkout with `onPurchase`: grant access yourself, redeem a code with `sw.redeem()`, or hand the buyer off to your mobile app instead of letting the SDK close the paywall.
- Web checkout & redemption events — React to completed web checkouts through the new `checkoutCompleted` and `redemptionCodesReceived` delegate methods and events, for logging and analytics without changing what the SDK does next.
Improvements
- Web SDK setup — The Web SDK now uses the same Web app as Web Checkout, so one app serves both your checkout links and the in-app paywalls you show on your own site.
- Stripe test keys for web — A new `isSandbox` option records purchases and redemptions in Superwall's test environment when your checkout runs on Stripe test keys.
- Web user management — Identifying a new user now resets their alias, entitlements, and experiment assignments, with `reset()` guidance for logging out on a shared browser.