@reactor-team/js-sdk 2.10.0 → 2.10.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/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@reactor-team/js-sdk",
3
- "version": "2.10.0",
3
+ "version": "2.10.1",
4
4
  "description": "Reactor JavaScript frontend SDK — connect React and TypeScript apps to real-time AI video models on Reactor.",
5
- "license": "MIT",
5
+ "license": "Apache-2.0",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "https://github.com/reactor-team/js-sdk.git"
@@ -34,9 +34,13 @@
34
34
  },
35
35
  "files": [
36
36
  "dist",
37
- "README.md"
37
+ "README.md",
38
+ "LICENSE",
39
+ "NOTICE"
38
40
  ],
39
41
  "scripts": {
42
+ "prepack": "cp ../../LICENSE ../../NOTICE .",
43
+ "postpack": "rm -f LICENSE NOTICE",
40
44
  "build": "tsup",
41
45
  "dev": "tsup --watch",
42
46
  "test": "vitest run",
@@ -52,8 +56,9 @@
52
56
  },
53
57
  "packageManager": "pnpm@10.12.1",
54
58
  "dependencies": {
59
+ "mp4box": "^2.3.0",
55
60
  "sdp-transform": "^3.0.0",
56
- "zod": "^4.0.5"
61
+ "zod": "^4.4.3"
57
62
  },
58
63
  "peerDependencies": {
59
64
  "hls.js": "^1.6.0",
@@ -67,12 +72,12 @@
67
72
  },
68
73
  "devDependencies": {
69
74
  "@roamhq/wrtc": "^0.8.0",
70
- "@types/node": "^20",
71
- "@types/react": "^18.2.8",
75
+ "@types/node": "^25",
76
+ "@types/react": "^19.2.15",
72
77
  "hls.js": "^1.6.0",
73
78
  "prettier": "^3.6.2",
74
79
  "tsup": "^8.5.0",
75
80
  "typescript": "^5.8.3",
76
- "vitest": "^3.0.0"
81
+ "vitest": "^4.1.7"
77
82
  }
78
83
  }