Skip to content

Commit

Permalink
fix: export getTools()
Browse files Browse the repository at this point in the history
  • Loading branch information
Neet-Nestor committed Sep 14, 2024
1 parent bac2888 commit 23ddeb3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ export default new ESLint({
semi: ["error", "always"],
},
},
ignorePatterns: ["node_modules/", "lib/"],
});
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const initHandler = () => {
console.error("[Web Agent Interface] No tools found for the current page");
};

const getTools = () => {
export const getTools = () => {
if (isCurrentPageSupported()) {
return PAGE_TOOLS_MAP[window.location.hostname];
}
Expand Down

0 comments on commit 23ddeb3

Please sign in to comment.