Adds a bootstrap function for easier startup of wmeSdk, WazeWrap, and ScriptUpdateMonitor.
As of 2024-10-09. See the latest version.
These are versions of this script where the code was updated. Show all versions.
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