diff --git a/src/lib/scriptinterface.ts b/src/lib/scriptinterface.ts index 7230b89..421b4a0 100644 --- a/src/lib/scriptinterface.ts +++ b/src/lib/scriptinterface.ts @@ -49,6 +49,7 @@ export class ScriptInterface { readonly gameState: GameState = new GameState(); readonly scriptsAllowed: {(): boolean} = areScriptsAllowed; readonly lib: WordleLibrary = new WordleLibrary(); + readonly addScriptAllowedHook = addScriptAllowedHook; } globalThis.ScriptInterface = new ScriptInterface(); const si = globalThis.ScriptInterface;