@pdfvector/instance-client 0.0.30 → 0.0.32

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.
@@ -1,7 +1,7 @@
1
1
  import type { ContractRouterClient } from "@orpc/contract";
2
2
  import type { contract } from "@pdfvector/instance-contract";
3
3
  export interface CreateClientOptions {
4
- /** Domain of the PDFVector instance server (e.g., "your-instance.pdfvector.com"). Defaults to "global.pdfvector.com". */
4
+ /** Domain of the PDF Vector instance server (e.g., "your-instance.pdfvector.com"). Defaults to "global.pdfvector.com". */
5
5
  domain?: string;
6
6
  /** API key for Bearer token authentication */
7
7
  apiKey?: string;
@@ -14,7 +14,7 @@ export interface ClientContext {
14
14
  documentId?: string;
15
15
  }
16
16
  /**
17
- * Custom error class for PDFVector API errors.
17
+ * Custom error class for PDF Vector API errors.
18
18
  *
19
19
  * All API errors thrown by the client are instances of this class.
20
20
  * Provides structured access to error code, HTTP status, message, and additional data.
package/.tsc/lib/index.js CHANGED
@@ -2,7 +2,7 @@ import { createORPCClient, ORPCError, onError } from "@orpc/client";
2
2
  import { RPCLink } from "@orpc/client/fetch";
3
3
  const DEFAULT_DOMAIN = "global.pdfvector.com";
4
4
  /**
5
- * Custom error class for PDFVector API errors.
5
+ * Custom error class for PDF Vector API errors.
6
6
  *
7
7
  * All API errors thrown by the client are instances of this class.
8
8
  * Provides structured access to error code, HTTP status, message, and additional data.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # @pdfvector/instance-client
2
2
 
3
+ ## 0.0.32
4
+ ### Patch Changes
5
+
6
+
7
+
8
+ - [#159](https://github.com/phuctm97/pdfvector/pull/159) [`931317b`](https://github.com/phuctm97/pdfvector/commit/931317bd4732e56147d11f48cf6a203aa9983db2) Thanks [@khanhduyvt0101](https://github.com/khanhduyvt0101)! - Add admin user detail sheet and plan/credits columns
9
+
10
+ - Updated dependencies [[`931317b`](https://github.com/phuctm97/pdfvector/commit/931317bd4732e56147d11f48cf6a203aa9983db2)]:
11
+ - @pdfvector/instance-contract@0.0.32
12
+
13
+ ## 0.0.31
14
+ ### Patch Changes
15
+
16
+
17
+
18
+ - [#153](https://github.com/phuctm97/pdfvector/pull/153) [`8c3db48`](https://github.com/phuctm97/pdfvector/commit/8c3db48955105ebd6902bd557013de1de655f4fe) Thanks [@khanhduyvt0101](https://github.com/khanhduyvt0101)! - Fix workspace dependency resolution in release workflows to publish correct contract version
19
+
3
20
  ## 0.0.30
4
21
  ### Patch Changes
5
22
 
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
- # PDFVector TypeScript/JavaScript SDK
1
+ # PDF Vector TypeScript/JavaScript SDK
2
2
 
3
- The official TypeScript/JavaScript SDK for the [PDFVector](https://www.pdfvector.com) API: Parse PDF, Word, Image, and Excel documents to clean, structured markdown format, ask questions about documents using AI, extract structured data from documents with JSON Schema, search across multiple academic databases with a unified API, fetch specific publications by DOI, PubMed ID, ArXiv ID, and more, find relevant academic citations for paragraphs of text, explore paper citation graphs, find similar papers, and search for research grants across US, EU, and UK funding databases.
3
+ The official TypeScript/JavaScript SDK for the [PDF Vector](https://www.pdfvector.com) API: Parse PDF, Word, Image, and Excel documents to clean, structured markdown format, ask questions about documents using AI, extract structured data from documents with JSON Schema, search across multiple academic databases with a unified API, fetch specific publications by DOI, PubMed ID, ArXiv ID, and more, find relevant academic citations for paragraphs of text, explore paper citation graphs, find similar papers, and search for research grants across US, EU, and UK funding databases.
4
4
 
5
5
  ## Installation
6
6
 
@@ -60,7 +60,7 @@ console.log(extractResult.data);
60
60
 
61
61
  ## Authentication
62
62
 
63
- Get your API key from the [PDFVector dashboard](https://app.pdfvector.com/instances/2?tab=settings).
63
+ Get your API key from the [PDF Vector dashboard](https://app.pdfvector.com/instances/2?tab=settings).
64
64
 
65
65
  ```typescript
66
66
  const client = createClient({
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@pdfvector/instance-client",
3
- "version": "0.0.30",
3
+ "version": "0.0.32",
4
4
  "type": "module",
5
- "description": "Official TypeScript/JavaScript SDK for PDFVector API - Parse PDF/Word/Image/Excel documents to clean, structured markdown format and search academic publications across multiple databases",
5
+ "description": "Official TypeScript/JavaScript SDK for PDF Vector API - Parse PDF/Word/Image/Excel documents to clean, structured markdown format and search academic publications across multiple databases",
6
6
  "license": "MIT",
7
7
  "repository": {
8
8
  "type": "git",
@@ -35,7 +35,7 @@
35
35
  "dependencies": {
36
36
  "@orpc/client": "^1.13.13",
37
37
  "@orpc/contract": "^1.13.13",
38
- "@pdfvector/instance-contract": "^0.0.28"
38
+ "@pdfvector/instance-contract": "^0.0.32"
39
39
  },
40
40
  "files": [
41
41
  ".tsc",