phonic 0.29.0 → 0.30.0-rc1

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,65 +1,69 @@
1
1
  {
2
- "name": "phonic",
3
- "version": "0.29.0",
4
- "description": "Phonic Node.js SDK",
5
- "scripts": {
6
- "build": "tsup",
7
- "check": "biome check --write",
8
- "ct": "bun check && bun tsc",
9
- "ci": "bun tsc && biome ci && bun test",
10
- "version": "changeset version && bun check",
11
- "release": "bun run build && changeset publish"
12
- },
13
- "main": "./dist/index.js",
14
- "module": "./dist/index.mjs",
15
- "types": "./dist/index.d.ts",
16
- "exports": {
17
- ".": {
18
- "import": {
19
- "types": "./dist/index.d.mts",
20
- "default": "./dist/index.mjs"
21
- },
22
- "require": {
23
- "types": "./dist/index.d.ts",
24
- "default": "./dist/index.js"
25
- }
26
- }
27
- },
28
- "repository": {
29
- "type": "git",
30
- "url": "git+https://github.com/Phonic-Co/phonic-node.git"
31
- },
32
- "homepage": "https://github.com/Phonic-Co/phonic-node#readme",
33
- "bugs": {
34
- "url": "https://github.com/Phonic-Co/phonic-node/issues"
35
- },
36
- "dependencies": {
37
- "ws": "8.18.2"
38
- },
39
- "devDependencies": {
40
- "@biomejs/biome": "1.9.4",
41
- "@changesets/changelog-github": "0.5.1",
42
- "@changesets/cli": "2.29.4",
43
- "@types/bun": "1.2.16",
44
- "@types/ws": "8.18.1",
45
- "tsup": "8.5.0",
46
- "typescript": "5.8.3",
47
- "zod": "3.25.63"
48
- },
49
- "files": ["dist/**"],
50
- "author": {
51
- "name": "Phonic",
52
- "url": "https://phonic.co"
53
- },
54
- "keywords": [
55
- "phonic",
56
- "speech-to-speech",
57
- "javascript",
58
- "typescript",
59
- "ai",
60
- "voice",
61
- "audio",
62
- "sdk"
63
- ],
64
- "license": "MIT"
2
+ "name": "phonic",
3
+ "version": "0.30.0rc1",
4
+ "private": false,
5
+ "repository": "github:fern-demo/phonic-ts-sdk",
6
+ "type": "commonjs",
7
+ "main": "./dist/cjs/index.js",
8
+ "module": "./dist/esm/index.mjs",
9
+ "types": "./dist/cjs/index.d.ts",
10
+ "exports": {
11
+ ".": {
12
+ "types": "./dist/cjs/index.d.ts",
13
+ "import": {
14
+ "types": "./dist/esm/index.d.mts",
15
+ "default": "./dist/esm/index.mjs"
16
+ },
17
+ "require": {
18
+ "types": "./dist/cjs/index.d.ts",
19
+ "default": "./dist/cjs/index.js"
20
+ },
21
+ "default": "./dist/cjs/index.js"
22
+ },
23
+ "./package.json": "./package.json"
24
+ },
25
+ "files": [
26
+ "dist",
27
+ "reference.md",
28
+ "README.md",
29
+ "LICENSE"
30
+ ],
31
+ "scripts": {
32
+ "format": "prettier . --write --ignore-unknown",
33
+ "build": "yarn build:cjs && yarn build:esm",
34
+ "build:cjs": "tsc --project ./tsconfig.cjs.json",
35
+ "build:esm": "tsc --project ./tsconfig.esm.json && node scripts/rename-to-esm-files.js dist/esm",
36
+ "test": "jest --config jest.config.mjs",
37
+ "test:unit": "jest --selectProjects unit",
38
+ "test:browser": "jest --selectProjects browser",
39
+ "test:wire": "jest --selectProjects wire"
40
+ },
41
+ "dependencies": {
42
+ "ws": "^8.16.0"
43
+ },
44
+ "devDependencies": {
45
+ "webpack": "^5.97.1",
46
+ "ts-loader": "^9.5.1",
47
+ "@types/ws": "^8.5.10",
48
+ "jest": "^29.7.0",
49
+ "@jest/globals": "^29.7.0",
50
+ "@types/jest": "^29.5.14",
51
+ "ts-jest": "^29.3.4",
52
+ "jest-environment-jsdom": "^29.7.0",
53
+ "msw": "^2.8.4",
54
+ "@types/node": "^18.19.70",
55
+ "prettier": "^3.4.2",
56
+ "typescript": "~5.7.2"
57
+ },
58
+ "browser": {
59
+ "fs": false,
60
+ "os": false,
61
+ "path": false,
62
+ "stream": false
63
+ },
64
+ "packageManager": "yarn@1.22.22",
65
+ "engines": {
66
+ "node": ">=18.0.0"
67
+ },
68
+ "sideEffects": false
65
69
  }