@todoist/comms-sdk 5.1.0 → 5.1.1
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/README.md +2 -0
- package/package.json +5 -1
package/README.md
CHANGED
|
@@ -8,6 +8,8 @@ The official TypeScript SDK for the Comms REST API.
|
|
|
8
8
|
npm install @todoist/comms-sdk
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
+
In a browser, use it through a bundler such as rspack, Vite or esbuild: the package's `browser` field leaves undici out of the bundle, and requests go through the browser's `fetch`.
|
|
12
|
+
|
|
11
13
|
Versions up to 4.x were published as `@doist/comms-sdk`.
|
|
12
14
|
|
|
13
15
|
## Usage
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@todoist/comms-sdk",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.1",
|
|
4
4
|
"description": "A TypeScript wrapper for the Comms REST API.",
|
|
5
5
|
"author": "Doist developers",
|
|
6
6
|
"homepage": "https://doist.github.io/comms-sdk-typescript/",
|
|
@@ -23,6 +23,9 @@
|
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
25
|
"sideEffects": false,
|
|
26
|
+
"browser": {
|
|
27
|
+
"undici": false
|
|
28
|
+
},
|
|
26
29
|
"scripts": {
|
|
27
30
|
"clean": "rimraf dist",
|
|
28
31
|
"test": "vitest run",
|
|
@@ -68,6 +71,7 @@
|
|
|
68
71
|
"oxfmt": "0.56.0",
|
|
69
72
|
"oxlint": "1.71.0",
|
|
70
73
|
"rimraf": "6.1.3",
|
|
74
|
+
"rolldown": "1.2.15",
|
|
71
75
|
"semantic-release": "25.0.5",
|
|
72
76
|
"ts-node": "10.9.2",
|
|
73
77
|
"typescript": "5.9.3",
|