From f0fa9c712914311945eb5da656d411e376d3ef3f Mon Sep 17 00:00:00 2001 From: Louis <133622055+louis-jan@users.noreply.github.com> Date: Thu, 26 Oct 2023 20:31:09 +0700 Subject: [PATCH] chore: add required app version to edge release plugin (#471) --- plugins/openai-plugin/index.ts | 1 + plugins/openai-plugin/package.json | 1 + 2 files changed, 2 insertions(+) diff --git a/plugins/openai-plugin/index.ts b/plugins/openai-plugin/index.ts index 83579f44d..040d3d08a 100644 --- a/plugins/openai-plugin/index.ts +++ b/plugins/openai-plugin/index.ts @@ -85,6 +85,7 @@ const registerListener = () => { events.on(EventName.OnNewMessageRequest, handleMessageRequest); }; +// Preference update - reconfigure OpenAI const onPreferencesUpdate = () => { setup(); }; diff --git a/plugins/openai-plugin/package.json b/plugins/openai-plugin/package.json index efc456536..0d666a81f 100644 --- a/plugins/openai-plugin/package.json +++ b/plugins/openai-plugin/package.json @@ -6,6 +6,7 @@ "main": "dist/index.js", "module": "dist/module.js", "author": "Jan ", + "requiredVersion": "^0.3.1", "license": "MIT", "activationPoints": [ "init"