coss 0.2.0 → 0.4.0

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "coss",
3
- "version": "0.2.0",
4
- "description": "The official TypeScript SDK for COSS: email, SMS, video, scheduling and more behind one API key.",
3
+ "version": "0.4.0",
4
+ "description": "The official TypeScript SDK for coss.com: email, SMS, video, scheduling and more behind one API key.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://coss.com/docs",
7
7
  "repository": {
@@ -23,6 +23,7 @@
23
23
  "types": "./dist/index.d.ts",
24
24
  "exports": {
25
25
  ".": "./dist/index.js",
26
+ "./device": "./dist/device.js",
26
27
  "./package.json": "./package.json"
27
28
  },
28
29
  "scripts": {
@@ -30,10 +31,22 @@
30
31
  "typecheck": "tsc --noEmit -p tsconfig.json && tsc --noEmit -p tsconfig.test.json",
31
32
  "test": "bun test"
32
33
  },
34
+ "peerDependencies": {
35
+ "@react-email/render": "^1.0.0 || ^2.0.0"
36
+ },
37
+ "peerDependenciesMeta": {
38
+ "@react-email/render": {
39
+ "optional": true
40
+ }
41
+ },
33
42
  "devDependencies": {
34
43
  "@arethetypeswrong/core": "0.18.5",
44
+ "@react-email/render": "2.1.0",
35
45
  "@types/bun": "1.4.2",
46
+ "@types/react": "19.3.0",
36
47
  "publint": "0.3.25",
48
+ "react": "19.3.0",
49
+ "react-dom": "19.3.0",
37
50
  "tsdown": "0.23.0",
38
51
  "typescript": "7.0.2"
39
52
  },