farvex 0.1.0 → 0.2.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,6 +1,6 @@
1
1
  {
2
2
  "name": "farvex",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "Web SDK for Callpad sessions (LiveKit + Pulse)",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",
@@ -41,6 +41,26 @@
41
41
  "default": "./dist/react/index.cjs"
42
42
  }
43
43
  },
44
+ "./livekit": {
45
+ "import": {
46
+ "types": "./dist/livekit/index.d.ts",
47
+ "default": "./dist/livekit/index.js"
48
+ },
49
+ "require": {
50
+ "types": "./dist/livekit/index.d.cts",
51
+ "default": "./dist/livekit/index.cjs"
52
+ }
53
+ },
54
+ "./mock": {
55
+ "import": {
56
+ "types": "./dist/mock/index.d.ts",
57
+ "default": "./dist/mock/index.js"
58
+ },
59
+ "require": {
60
+ "types": "./dist/mock/index.d.cts",
61
+ "default": "./dist/mock/index.cjs"
62
+ }
63
+ },
44
64
  "./package.json": "./package.json"
45
65
  },
46
66
  "peerDependencies": {
@@ -55,8 +75,15 @@
55
75
  "optional": true
56
76
  }
57
77
  },
78
+ "dependencies": {
79
+ "@livekit/components-react": "^2.9.0",
80
+ "livekit-client": "^2.13.0",
81
+ "socket.io-client": "^4.8.1"
82
+ },
58
83
  "devDependencies": {
84
+ "@hey-api/openapi-ts": "^0.73.0",
59
85
  "@testing-library/jest-dom": "^6.5.0",
86
+ "@testing-library/react": "^16.0.0",
60
87
  "@types/react": "^18.3.0",
61
88
  "@types/react-dom": "^18.3.0",
62
89
  "jsdom": "^25.0.0",
@@ -69,7 +96,7 @@
69
96
  "vitest": "^2.1.0"
70
97
  },
71
98
  "scripts": {
72
- "build": "tsup",
99
+ "build": "bun run generate:api && tsup",
73
100
  "dev": "tsup --watch",
74
101
  "typecheck": "tsc --noEmit",
75
102
  "test": "vitest run",
@@ -77,7 +104,9 @@
77
104
  "lint": "oxlint .",
78
105
  "format": "oxfmt .",
79
106
  "format:check": "oxfmt --check .",
80
- "check": "bun run lint && bun run format:check && bun run typecheck",
107
+ "check": "bun run generate:api && bun run lint && bun run format:check && bun run typecheck",
108
+ "generate:api": "openapi-ts",
109
+ "generate:api:watch": "openapi-ts --watch",
81
110
  "changeset": "changeset",
82
111
  "version": "changeset version",
83
112
  "release": "bun run build && changeset publish",