Skip to content

Commit f6121b0

Browse files
fix(deps): update production dependencies (#220)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Scott Lovegrove <[email protected]>
1 parent 4a0aed6 commit f6121b0

File tree

6 files changed

+15
-12
lines changed

6 files changed

+15
-12
lines changed

package-lock.json

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@
4848
"prepare": "husky"
4949
},
5050
"dependencies": {
51-
"@doist/todoist-api-typescript": "6.0.1",
52-
"@modelcontextprotocol/sdk": "1.21.0",
51+
"@doist/todoist-api-typescript": "6.1.7",
52+
"@modelcontextprotocol/sdk": "1.21.1",
5353
"date-fns": "4.1.0",
5454
"dotenv": "17.2.3",
5555
"zod": "3.25.76"

src/mcp-server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ function getMcpServer({ todoistApiKey, baseUrl }: { todoistApiKey: string; baseU
111111
},
112112
)
113113

114-
const todoist = new TodoistApi(todoistApiKey, baseUrl)
114+
const todoist = new TodoistApi(todoistApiKey, { baseUrl })
115115

116116
// Task management tools
117117
registerTool(addTasks, server, todoist)

src/tools/__tests__/get-overview.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ describe(`${GET_OVERVIEW} tool`, () => {
5454
results: mockProjects,
5555
nextCursor: null,
5656
})
57-
mockTodoistApi.getSections.mockImplementation(({ projectId }) => {
57+
mockTodoistApi.getSections.mockImplementation((args) => {
58+
const { projectId } = args as { projectId: string }
5859
if (projectId === TEST_IDS.PROJECT_TEST) {
5960
return Promise.resolve({ results: mockSections, nextCursor: null })
6061
}

src/tools/__tests__/user-info.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ function createMockUser(overrides: Partial<CurrentUser> = {}): CurrentUser {
1818
fullName: 'Test User',
1919
2020
isPremium: true,
21+
premiumStatus: 'current_personal_plan',
2122
completedToday: 12,
2223
dailyGoal: 10,
2324
weeklyGoal: 100,

src/utils/test-helpers.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ export function createMockUser(overrides: Partial<CurrentUser> = {}): CurrentUse
188188
fullName: 'Test User',
189189
businessAccountId: null,
190190
isPremium: false,
191+
premiumStatus: 'not_premium',
191192
dateFormat: 0,
192193
timeFormat: 0,
193194
weeklyGoal: 5,

0 commit comments

Comments
 (0)