Architecture

One class, LH_Idb_Keyval, in the main file. On init priority 0 it registers the idb-keyval script module from assets/lib/index.js, versioned with the plugin version, then fires lh_idb_keyval_registered. Consuming plugins test that action to decide whether to fall back to their own copy.

Files

Public methods

Updating the library

Replace index.js from the new npm release, regenerate umd.js by wrapping it the same way, and release with bump_version set to the library version. This plugin retires with the library.