diff --git a/.kibana-plugin-helpers.json b/.kibana-plugin-helpers.json index cbb4d02f6..6c8145207 100644 --- a/.kibana-plugin-helpers.json +++ b/.kibana-plugin-helpers.json @@ -3,7 +3,7 @@ "package.json", "LICENSE", "tsconfig.json", - "index.ts", + "index.js", "init.js", "server/**/*", "!server/wazuh-registry.json", diff --git a/index.ts b/index.js similarity index 96% rename from index.ts rename to index.js index d48cd22ce..7d624c9e1 100644 --- a/index.ts +++ b/index.js @@ -45,10 +45,10 @@ export default (kibana) => { init(server) { const coreSetup = server.newPlatform.setup.core; - const pluginsSetup: PluginsSetup = { + const pluginsSetup = { discover: server.newPlatform.setup.plugins.discover }; - const legacySetup: LegacySetup = { + const legacySetup = { server }; diff --git a/package.json b/package.json index d07aa4238..f70e2af50 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "version": "7.8.0" }, "description": "Wazuh app", - "main": "index.ts", + "main": "index.js", "keywords": [ "kibana", "wazuh",