Adds a bootstrap function for easier startup of wmeSdk, WazeWrap, and ScriptUpdateMonitor.
Dit zijn alle versies van het script. Alleen de versies tonen waarvan de code gewijzigd is.
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