@ontos-ai/knowhere-sdk 0.3.0 → 0.3.1
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/README.md +10 -2
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -104,7 +104,9 @@ const result = await client.parse({
|
|
|
104
104
|
});
|
|
105
105
|
```
|
|
106
106
|
|
|
107
|
-
`fileName`
|
|
107
|
+
`fileName` is inferred automatically when `file` is a local file path. When
|
|
108
|
+
`file` is a `Buffer`, `Uint8Array`, or a stream without path metadata, provide
|
|
109
|
+
`fileName` explicitly.
|
|
108
110
|
|
|
109
111
|
### Advanced Options
|
|
110
112
|
|
|
@@ -290,7 +292,7 @@ Check out the [examples](./examples) directory for more usage examples:
|
|
|
290
292
|
|
|
291
293
|
```bash
|
|
292
294
|
# Install dependencies
|
|
293
|
-
npm
|
|
295
|
+
npm ci
|
|
294
296
|
|
|
295
297
|
# Run tests
|
|
296
298
|
npm test
|
|
@@ -316,6 +318,12 @@ npm run build
|
|
|
316
318
|
See [docs/release-workflow.md](./docs/release-workflow.md) for the
|
|
317
319
|
Changesets-based stable and beta release process.
|
|
318
320
|
|
|
321
|
+
## Community
|
|
322
|
+
|
|
323
|
+
- Contributing guide: [CONTRIBUTING.md](./CONTRIBUTING.md)
|
|
324
|
+
- Security policy: [SECURITY.md](./SECURITY.md)
|
|
325
|
+
- Code of conduct: [CODE_OF_CONDUCT.md](./CODE_OF_CONDUCT.md)
|
|
326
|
+
|
|
319
327
|
## License
|
|
320
328
|
|
|
321
329
|
[MIT](./LICENSE)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ontos-ai/knowhere-sdk",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "Official Node.js SDK for Knowhere document parsing API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"knowhere",
|
|
@@ -60,17 +60,18 @@
|
|
|
60
60
|
"prepublishOnly": "npm run lint && npm run typecheck && npm run test:ci && npm run build"
|
|
61
61
|
},
|
|
62
62
|
"dependencies": {
|
|
63
|
-
"axios": "^1.
|
|
63
|
+
"axios": "^1.15.2",
|
|
64
64
|
"jszip": "^3.10.0"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
67
|
"@changesets/changelog-github": "^0.6.0",
|
|
68
68
|
"@changesets/cli": "^2.30.0",
|
|
69
|
+
"@eslint/js": "^10.0.1",
|
|
69
70
|
"@types/node": "^25.2.3",
|
|
70
71
|
"@typescript-eslint/eslint-plugin": "^8.55.0",
|
|
71
72
|
"@typescript-eslint/parser": "^8.55.0",
|
|
72
73
|
"@vitest/coverage-v8": "^4.0.18",
|
|
73
|
-
"eslint": "^
|
|
74
|
+
"eslint": "^10.2.1",
|
|
74
75
|
"prettier": "^3.0.0",
|
|
75
76
|
"tsup": "^8.0.0",
|
|
76
77
|
"typescript": "^5.3.0",
|