@pablosr/mcp-google-calendar 1.1.1 → 1.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import { GoogleCalendarClient } from "./tools/google-calendar-client.js";
|
|
|
6
6
|
import { registerGoogleCalendarTools } from "./tools/google-calendar-mcp.js";
|
|
7
7
|
const server = new McpServer({
|
|
8
8
|
name: "mcp-google-calendar",
|
|
9
|
-
version: "1.1.
|
|
9
|
+
version: "1.1.3",
|
|
10
10
|
});
|
|
11
11
|
async function main() {
|
|
12
12
|
console.error('Configurando Google Calendar API...');
|
|
@@ -90,7 +90,7 @@ export class GoogleCalendarClient {
|
|
|
90
90
|
*/
|
|
91
91
|
async updateEvent(calendarId = 'primary', eventId, event) {
|
|
92
92
|
try {
|
|
93
|
-
const response = await this.calendar.events.
|
|
93
|
+
const response = await this.calendar.events.patch({
|
|
94
94
|
calendarId,
|
|
95
95
|
eventId,
|
|
96
96
|
requestBody: event,
|
|
@@ -188,7 +188,7 @@ export class GoogleCalendarClient {
|
|
|
188
188
|
*/
|
|
189
189
|
async updateTask(taskListId, taskId, task) {
|
|
190
190
|
try {
|
|
191
|
-
const response = await this.tasks.tasks.
|
|
191
|
+
const response = await this.tasks.tasks.patch({
|
|
192
192
|
tasklist: taskListId,
|
|
193
193
|
task: taskId,
|
|
194
194
|
requestBody: task,
|
package/package.json
CHANGED