Skip to content

Commit

Permalink
package: publish as v0.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Neet-Nestor committed Oct 25, 2024
1 parent fff8ab4 commit dcf0d15
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mlc-ai/web-agent-interface",
"version": "0.0.1",
"version": "0.0.2",
"description": "A tool library for LLM agent in browsers to interact with the web.",
"main": "lib/index.js",
"type": "module",
Expand Down
4 changes: 3 additions & 1 deletion src/action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ export async function createGoogleCalendarEvent(

if (!token) {
// try to get token by using Chrome Identity API
console.log("`token` not specified, trying retrieving through Google identity API OAuth flow...")
console.log(
"`token` not specified, trying retrieving through Google identity API OAuth flow...",
);
try {
const authResult = await chrome.identity.getAuthToken({
interactive: true,
Expand Down

0 comments on commit dcf0d15

Please sign in to comment.