diff --git a/plugins/utilities.json b/plugins/utilities.json index 34c98c1e..b77d0215 100644 --- a/plugins/utilities.json +++ b/plugins/utilities.json @@ -272,6 +272,12 @@ } ], "versions": { + "2.0.0": { + "api_version": 8, + "commit_sha": "c41cc10", + "released_on": "15-07-2023", + "md5sum": "71c3f6386433feebac94ef0b9b6a8bf4" + }, "1.0.0": { "api_version": 7, "commit_sha": "63d674cf", diff --git a/plugins/utilities/store_event_specials.py b/plugins/utilities/store_event_specials.py index d9c4bdce..1e3f7ad2 100644 --- a/plugins/utilities/store_event_specials.py +++ b/plugins/utilities/store_event_specials.py @@ -21,15 +21,14 @@ For more information, please refer to """ -# ba_meta require api 7 +# ba_meta require api 8 from typing import List, Dict, Any -import ba -import ba._store -import ba.internal +import babase +import bauiv1 as bui -original_get_store_layout = ba._store.get_store_layout +original_get_store_layout = bui.app.classic.store.get_store_layout def add_special_characters(layout: @@ -62,6 +61,6 @@ def modified_get_store_layout() -> Dict[str, List[Dict[str, Any]]]: # ba_meta export plugin -class Main(ba.Plugin): +class Main(babase.Plugin): def on_app_running(self) -> None: - ba.internal.get_store_layout = modified_get_store_layout + bui.app.classic.store.get_store_layout = modified_get_store_layout