mindoodb-app-sdk 0.0.39 → 0.0.40

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 +1 -1
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -1176,7 +1176,7 @@ const scan = await db.attachments.scan(docId, {
1176
1176
  await db.attachments.remove(docId, "old-file.txt");
1177
1177
  ```
1178
1178
 
1179
- `attachments.scan()` asks Haven to open its document scanner UI on top of your app. Haven handles camera or file selection, runs edge detection through a slim on-device OpenCV WebAssembly pipeline, lets the user fine-tune the corners, applies the perspective correction to the chosen output size, and writes the resulting bytes as a normal MindooDoc attachment via the same path `openWriteStream` would have taken. The scanner runs entirely locally — the picked image and the perspective-corrected result never leave the browser tab.
1179
+ `attachments.scan()` asks Haven to open its document scanner UI on top of your app. Haven handles camera or file selection, runs edge detection through a slim on-device OpenCV WebAssembly pipeline, lets the user fine-tune the corners, applies the perspective correction to the chosen output size, and writes the resulting bytes as a normal MindooDoc attachment via the same path `openWriteStream` would have taken. The user can add further pages; two or more pages always come back as one multi-page PDF. The scanner runs entirely locally — the picked image and the perspective-corrected result never leave the browser tab.
1180
1180
 
1181
1181
  Options shape:
1182
1182
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mindoodb-app-sdk",
3
- "version": "0.0.39",
3
+ "version": "0.0.40",
4
4
  "engines": {
5
5
  "node": ">=22.13.0"
6
6
  },
@@ -40,7 +40,7 @@
40
40
  },
41
41
  "peerDependencies": {
42
42
  "@automerge/automerge": "^3.3.2",
43
- "mindoodb": ">=0.0.56"
43
+ "mindoodb": ">=0.0.57"
44
44
  },
45
45
  "peerDependenciesMeta": {
46
46
  "@automerge/automerge": {
@@ -52,7 +52,7 @@
52
52
  },
53
53
  "devDependencies": {
54
54
  "@automerge/automerge": "^3.3.2",
55
- "mindoodb": "^0.0.56",
55
+ "mindoodb": "^0.0.57",
56
56
  "@types/node": "25.5.0",
57
57
  "tsup": "^8.5.1",
58
58
  "typescript": "^6.0.2",