@todoist/mcp 17.3.7 → 17.3.9

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.
@@ -1,5 +1,5 @@
1
1
  import { validateBearerToken as _, createTokenVerdictCache as p, buildBearerChallenge as u } from "@todoist/mcp-core/host";
2
- import { a2 as v, a3 as A } from "./mcp-server-BKNazCCo.js";
2
+ import { a2 as v, a3 as A } from "./mcp-server-Ci7ZsOc9.js";
3
3
  const k = "https://api.todoist.com", U = (e, t) => _({
4
4
  // Resolved the way the SDK resolves its own requests against a custom base URL. An empty
5
5
  // base (`TODOIST_BASE_URL=`) means the default, as it does for the SDK client.
@@ -1 +1 @@
1
- {"version":3,"file":"find-completed-tasks.d.ts","sourceRoot":"","sources":["../../src/tools/find-completed-tasks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA4GvB,QAAA,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgHuC,CAAA;AA8F/D,OAAO,EAAE,kBAAkB,EAAE,CAAA"}
1
+ {"version":3,"file":"find-completed-tasks.d.ts","sourceRoot":"","sources":["../../src/tools/find-completed-tasks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAiHvB,QAAA,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqHuC,CAAA;AAmG/D,OAAO,EAAE,kBAAkB,EAAE,CAAA"}
@@ -15,4 +15,19 @@ export declare function getDateInOffset(date: Date, offsetMinutes: number): stri
15
15
  * Shift a YYYY-MM-DD date string by the specified number of days in UTC.
16
16
  */
17
17
  export declare function shiftDateStringByDays(dateString: string, days: number): string;
18
+ /**
19
+ * The first moment of a YYYY-MM-DD date in `timeZone`, as `YYYY-MM-DDT00:00:00` with the
20
+ * offset that names it. A fixed offset such as the user's current `gmtString` is wrong
21
+ * for dates on the other side of a daylight-saving change, so ranges in the past or
22
+ * future use this. Falls back to `fallbackOffset` when the zone is missing or unknown.
23
+ *
24
+ * Some zones change their clocks at midnight. When the clocks skip midnight, the day
25
+ * starts at the jump, which is midnight at the offset before it. When midnight happens
26
+ * twice, the day starts at the first one.
27
+ */
28
+ export declare function getStartOfDay({ date, timeZone, fallbackOffset, }: {
29
+ date: string;
30
+ timeZone: string | null | undefined;
31
+ fallbackOffset: string;
32
+ }): string;
18
33
  //# sourceMappingURL=date.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"date.d.ts","sourceRoot":"","sources":["../../src/utils/date.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,CAKhD;AAED;;;GAGG;AACH,wBAAgB,uBAAuB,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CASjE;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,IAAI,EAAE,aAAa,EAAE,MAAM,GAAG,MAAM,CAGzE;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,UAAU,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,CAa9E"}
1
+ {"version":3,"file":"date.d.ts","sourceRoot":"","sources":["../../src/utils/date.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,CAKhD;AAED;;;GAGG;AACH,wBAAgB,uBAAuB,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CASjE;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,IAAI,EAAE,aAAa,EAAE,MAAM,GAAG,MAAM,CAGzE;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,UAAU,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,CAa9E;AAgCD;;;;;;;;;GASG;AACH,wBAAgB,aAAa,CAAC,EAC1B,IAAI,EACJ,QAAQ,EACR,cAAc,GACjB,EAAE;IACC,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;IACnC,cAAc,EAAE,MAAM,CAAA;CACzB,GAAG,MAAM,CAmBT"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@todoist/mcp",
3
- "version": "17.3.7",
3
+ "version": "17.3.9",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -70,7 +70,7 @@
70
70
  "@todoist/mcp-core": "1.1.0",
71
71
  "@todoist/sdk": "24.1.0",
72
72
  "date-fns": "4.1.0",
73
- "dompurify": "3.3.3",
73
+ "dompurify": "3.4.18",
74
74
  "dotenv": "17.3.1",
75
75
  "express": "5.2.1",
76
76
  "fractional-indexing": "4.0.0",
@@ -87,7 +87,6 @@
87
87
  "@semantic-release/changelog": "6.0.3",
88
88
  "@semantic-release/exec": "7.1.0",
89
89
  "@semantic-release/git": "10.0.1",
90
- "@types/dompurify": "3.2.0",
91
90
  "@types/express": "5.0.6",
92
91
  "@types/morgan": "1.9.10",
93
92
  "@types/node": "22.20.5",