v0.10.0-alpha — JavaScript API + <admob-banner> Web Component
Pre-release
Pre-release
·
12 commits
to main
since this release
Makes the plugin usable from JavaScript (Inertia / Vue / React / vanilla), not just PHP. Ships a JS module (Admob.banner('slot').show(), interstitial/rewarded/appOpen, ump/att, Events + .d.ts) and a framework-agnostic <admob-banner> Web Component, both backed by a thin /_admob/call endpoint that runs the PHP facade so slot resolution + consent + frequency caps + the kill-switch all apply server-side. Also: ADMOB_ENABLED is now a real kill-switch, and banner auto-hide listens on both window and document (Inertia-aware) with cleanup. 76 tests green. See CHANGELOG.