@ohm_studio/sdk 0.5.1 → 0.5.3

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.
Files changed (2) hide show
  1. package/README.md +2 -0
  2. package/package.json +18 -13
package/README.md CHANGED
@@ -33,6 +33,8 @@ const { data } = await ohm.extract({
33
33
  });
34
34
 
35
35
  // Audio → structured JSON in one call
36
+ // `transcript` is always English — Tamil, Hindi, Telugu, Bengali, or any
37
+ // code-mixed consult is translated server-side before extraction runs.
36
38
  const { transcript, data } = await ohm.audio.extract({
37
39
  apiSlug: "opd-clinic",
38
40
  file: blob, // File / Blob / { buffer, name?, type? }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ohm_studio/sdk",
3
- "version": "0.5.1",
3
+ "version": "0.5.3",
4
4
  "description": "OHM Studio SDK for JavaScript / TypeScript / React. Voice-to-structured-JSON clinical extraction APIs.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -17,7 +17,10 @@
17
17
  "import": "./dist/react/index.js"
18
18
  }
19
19
  },
20
- "files": ["dist", "README.md"],
20
+ "files": [
21
+ "dist",
22
+ "README.md"
23
+ ],
21
24
  "keywords": [
22
25
  "ohm",
23
26
  "clinical",
@@ -37,23 +40,18 @@
37
40
  "publishConfig": {
38
41
  "access": "public"
39
42
  },
40
- "scripts": {
41
- "clean": "rm -rf dist",
42
- "build": "rm -rf dist && tsc -p tsconfig.json",
43
- "typecheck": "tsc -p tsconfig.json --noEmit",
44
- "test": "vitest run",
45
- "test:watch": "vitest"
46
- },
47
43
  "dependencies": {
48
- "@ohm_studio/sdk-core": "workspace:*",
49
44
  "fix-webm-duration": "^1.0.6",
50
- "idb-keyval": "^6.2.2"
45
+ "idb-keyval": "^6.2.2",
46
+ "@ohm_studio/sdk-core": "0.3.3"
51
47
  },
52
48
  "peerDependencies": {
53
49
  "react": ">=17"
54
50
  },
55
51
  "peerDependenciesMeta": {
56
- "react": { "optional": true }
52
+ "react": {
53
+ "optional": true
54
+ }
57
55
  },
58
56
  "devDependencies": {
59
57
  "@testing-library/react": "^16.3.2",
@@ -64,5 +62,12 @@
64
62
  "react-dom": "^18.3.1",
65
63
  "typescript": "^5.8.3",
66
64
  "vitest": "^4.1.5"
65
+ },
66
+ "scripts": {
67
+ "clean": "rm -rf dist",
68
+ "build": "rm -rf dist && tsc -p tsconfig.json",
69
+ "typecheck": "tsc -p tsconfig.json --noEmit",
70
+ "test": "vitest run",
71
+ "test:watch": "vitest"
67
72
  }
68
- }
73
+ }