Adds a bootstrap function for easier startup of wmeSdk, WazeWrap, and ScriptUpdateMonitor.
These are all versions of this script. Show only the versions where the code changed.
Update to new SDK event
Use ??= instead of ||=
Fix callback function
Make scriptName, scriptId, and scriptVersion optional (retrieved from GM_info if not supplied)
If scriptUpdateMonitor option is supplied, no need to supply useWazeWrap.
Return wmeSdk from bootstrapFunc to allow using async/await or .then instead of callback
Another version bump test