A consuming plugin bundles the library in assets/lib/idb-keyval/ (index.js, umd.js, LICENSE) and copies snippets/lh-idb-keyval-fallback.php verbatim to includes/lh-idb-keyval-fallback.php. Never edit the copy: change the canonical snippet, bump its snippet version and recopy it everywhere. There is no Requires Plugins header, so the consumer stays independent and releasable.
lh_idb_keyval_use_fallback() is true when LH idb-keyval has not fired lh_idb_keyval_registered, so a plugin turned off by its init filter counts as inactive.lh_idb_keyval_register_fallback() registers the bundled copy only in that case.lh_idb_keyval_get_umd_url() returns the shared classic build when LH idb-keyval is active, otherwise the plugin’s own.No admin notices and no debug-log output.