Adds a bootstrap function for easier startup of wmeSdk, WazeWrap, and ScriptUpdateMonitor.
Verzia zo dňa 05.10.2024. Pozri najnovšiu verziu.
Zoznam verzií skriptu, ktorých kód bol aktualizovaný. Zobraziť všetky verzie.
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