farvex 0.1.0 → 1.0.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,15 +1,23 @@
1
1
  {
2
2
  "name": "farvex",
3
- "version": "0.1.0",
4
- "description": "Web SDK for Callpad sessions (LiveKit + Pulse)",
3
+ "version": "1.0.0",
4
+ "description": "Web SDK for Callpad voice sessions",
5
+ "keywords": [
6
+ "callpad",
7
+ "livekit",
8
+ "react",
9
+ "realtime",
10
+ "sessions",
11
+ "webrtc"
12
+ ],
5
13
  "license": "UNLICENSED",
6
- "type": "module",
7
- "sideEffects": false,
8
14
  "files": [
9
15
  "dist",
10
16
  "README.md",
11
17
  "CHANGELOG.md"
12
18
  ],
19
+ "type": "module",
20
+ "sideEffects": false,
13
21
  "exports": {
14
22
  ".": {
15
23
  "import": {
@@ -21,16 +29,6 @@
21
29
  "default": "./dist/index.cjs"
22
30
  }
23
31
  },
24
- "./core": {
25
- "import": {
26
- "types": "./dist/core/index.d.ts",
27
- "default": "./dist/core/index.js"
28
- },
29
- "require": {
30
- "types": "./dist/core/index.d.cts",
31
- "default": "./dist/core/index.cjs"
32
- }
33
- },
34
32
  "./react": {
35
33
  "import": {
36
34
  "types": "./dist/react/index.d.ts",
@@ -41,61 +39,73 @@
41
39
  "default": "./dist/react/index.cjs"
42
40
  }
43
41
  },
42
+ "./livekit": {
43
+ "import": {
44
+ "types": "./dist/livekit/index.d.ts",
45
+ "default": "./dist/livekit/index.js"
46
+ },
47
+ "require": {
48
+ "types": "./dist/livekit/index.d.cts",
49
+ "default": "./dist/livekit/index.cjs"
50
+ }
51
+ },
44
52
  "./package.json": "./package.json"
45
53
  },
46
- "peerDependencies": {
47
- "react": "^18 || ^19",
48
- "react-dom": "^18 || ^19"
54
+ "publishConfig": {
55
+ "access": "public"
49
56
  },
50
- "peerDependenciesMeta": {
51
- "react": {
52
- "optional": true
53
- },
54
- "react-dom": {
55
- "optional": true
56
- }
57
+ "scripts": {
58
+ "changeset": "changeset",
59
+ "version": "changeset version",
60
+ "release": "changeset publish",
61
+ "generate": "openapi-ts",
62
+ "build": "bun run generate && tsup",
63
+ "dev": "tsup --watch",
64
+ "typecheck": "tsc --noEmit",
65
+ "lint": "oxlint .",
66
+ "format": "oxfmt .",
67
+ "format:check": "oxfmt --check .",
68
+ "check": "bun run generate && bun run lint && bun run format:check && bun run typecheck",
69
+ "prepublishOnly": "bun run check && bun run build"
70
+ },
71
+ "dependencies": {
72
+ "centrifuge": "5.6.0"
57
73
  },
58
74
  "devDependencies": {
59
- "@testing-library/jest-dom": "^6.5.0",
75
+ "@changesets/cli": "^2.27.0",
76
+ "@hey-api/openapi-ts": "0.97.2",
77
+ "@livekit/components-react": "^2.9.0",
60
78
  "@types/react": "^18.3.0",
61
79
  "@types/react-dom": "^18.3.0",
62
- "jsdom": "^25.0.0",
80
+ "livekit-client": "^2.13.0",
63
81
  "oxfmt": "^0.38.0",
64
82
  "oxlint": "^1.53.0",
65
83
  "react": "^18.3.0",
66
84
  "react-dom": "^18.3.0",
67
85
  "tsup": "^8.3.0",
68
- "typescript": "5.8.3",
69
- "vitest": "^2.1.0"
86
+ "typescript": "5.8.3"
70
87
  },
71
- "scripts": {
72
- "build": "tsup",
73
- "dev": "tsup --watch",
74
- "typecheck": "tsc --noEmit",
75
- "test": "vitest run",
76
- "test:watch": "vitest",
77
- "lint": "oxlint .",
78
- "format": "oxfmt .",
79
- "format:check": "oxfmt --check .",
80
- "check": "bun run lint && bun run format:check && bun run typecheck",
81
- "changeset": "changeset",
82
- "version": "changeset version",
83
- "release": "bun run build && changeset publish",
84
- "prepublishOnly": "bun run check && bun run test && bun run build"
88
+ "peerDependencies": {
89
+ "@livekit/components-react": "^2",
90
+ "livekit-client": "^2",
91
+ "react": "^18 || ^19",
92
+ "react-dom": "^18 || ^19"
85
93
  },
86
- "publishConfig": {
87
- "access": "public"
94
+ "peerDependenciesMeta": {
95
+ "@livekit/components-react": {
96
+ "optional": true
97
+ },
98
+ "livekit-client": {
99
+ "optional": true
100
+ },
101
+ "react": {
102
+ "optional": true
103
+ },
104
+ "react-dom": {
105
+ "optional": true
106
+ }
88
107
  },
89
108
  "engines": {
90
109
  "node": ">=18"
91
- },
92
- "keywords": [
93
- "callpad",
94
- "sessions",
95
- "livekit",
96
- "webrtc",
97
- "sip",
98
- "realtime",
99
- "react"
100
- ]
110
+ }
101
111
  }
@@ -1,8 +0,0 @@
1
- 'use strict';
2
-
3
- // src/core/index.ts
4
- var corePlaceholder = "farvex/core";
5
-
6
- exports.corePlaceholder = corePlaceholder;
7
- //# sourceMappingURL=index.cjs.map
8
- //# sourceMappingURL=index.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/core/index.ts"],"names":[],"mappings":";;;AAAO,IAAM,eAAA,GAAkB","file":"index.cjs","sourcesContent":["export const corePlaceholder = \"farvex/core\";\n"]}
@@ -1,3 +0,0 @@
1
- declare const corePlaceholder = "farvex/core";
2
-
3
- export { corePlaceholder };
@@ -1,3 +0,0 @@
1
- declare const corePlaceholder = "farvex/core";
2
-
3
- export { corePlaceholder };
@@ -1,6 +0,0 @@
1
- // src/core/index.ts
2
- var corePlaceholder = "farvex/core";
3
-
4
- export { corePlaceholder };
5
- //# sourceMappingURL=index.js.map
6
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/core/index.ts"],"names":[],"mappings":";AAAO,IAAM,eAAA,GAAkB","file":"index.js","sourcesContent":["export const corePlaceholder = \"farvex/core\";\n"]}