Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: f42cb8e6-e2ce-4565-b975-5a9f38b94d5a
management:
docChecksum: 8e9d88e0631cbf193120f69906d764b8
docVersion: 1.1.39
speakeasyVersion: 1.583.0
generationVersion: 2.658.3
releaseVersion: 0.26.2
configChecksum: 6038ab44f9c67a08af5af7046ec8b96c
docChecksum: cd27ee62248f546725afe6647656e4b4
docVersion: 1.1.45
speakeasyVersion: 1.595.0
generationVersion: 2.670.1
releaseVersion: 0.26.3
configChecksum: dfa3fe196489685301649fa907100f57
repoURL: https://github.com/Unstructured-IO/unstructured-js-client.git
repoSubDirectory: .
installationURL: https://github.com/Unstructured-IO/unstructured-js-client
Expand All @@ -16,7 +16,7 @@ features:
acceptHeaders: 2.81.2
additionalDependencies: 0.1.0
constsAndDefaults: 0.1.12
core: 3.21.14
core: 3.21.17
defaultEnabledRetries: 0.1.0
enumUnions: 0.1.0
envVarSecurityUsage: 0.1.2
Expand Down
16 changes: 8 additions & 8 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
speakeasyVersion: 1.583.0
speakeasyVersion: 1.595.0
sources:
my-source:
sourceNamespace: my-source
sourceRevisionDigest: sha256:d82494f40479b3d482dee17ac78879c3e6e2752e9374cc954ae539ad53c50b77
sourceBlobDigest: sha256:27539a792b3eafe767cedf6c343abc4fcc3f95fac4c4b2ddb08eba6b418b2d33
sourceRevisionDigest: sha256:fac30f9b46f4271d544276b310a11c9fa3f75d605c01b77a2d95486b75ad6bfa
sourceBlobDigest: sha256:23411dfea3509283f99667310d92bfd005f613849f9e044f6ab416bc217f69c8
tags:
- latest
- speakeasy-sdk-regen-1752712489
- 1.1.39
- speakeasy-sdk-regen-1753317295
- 1.1.45
targets:
unstructed-typescript:
source: my-source
sourceNamespace: my-source
sourceRevisionDigest: sha256:d82494f40479b3d482dee17ac78879c3e6e2752e9374cc954ae539ad53c50b77
sourceBlobDigest: sha256:27539a792b3eafe767cedf6c343abc4fcc3f95fac4c4b2ddb08eba6b418b2d33
sourceRevisionDigest: sha256:fac30f9b46f4271d544276b310a11c9fa3f75d605c01b77a2d95486b75ad6bfa
sourceBlobDigest: sha256:23411dfea3509283f99667310d92bfd005f613849f9e044f6ab416bc217f69c8
codeSamplesNamespace: my-source-typescript-code-samples
codeSamplesRevisionDigest: sha256:00bb12e2392099fb2e303d8f7d252d1eca7f7a70b525f5c25e41f6e89522d2bf
codeSamplesRevisionDigest: sha256:fd7c411547ad808b332666f8d4d0e20d719a331cc467b485db03b3adc6b0ef99
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ The `HTTPClient` constructor takes an optional `fetcher` argument that can be
used to integrate a third-party HTTP client or when writing tests to mock out
the HTTP client and feed in fixtures.

The following example shows how to use the `"beforeRequest"` hook to add a
The following example shows how to use the `"beforeRequest"` hook to to add a
custom header and a timeout to requests and how to use the `"requestError"` hook
to log errors:

Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -664,4 +664,14 @@ Based on:
### Generated
- [typescript v0.26.2] .
### Releases
- [NPM v0.26.2] https://www.npmjs.com/package/unstructured-client/v/0.26.2 - .
- [NPM v0.26.2] https://www.npmjs.com/package/unstructured-client/v/0.26.2 - .

## 2025-08-01 00:40:05
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.595.0 (2.670.1) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v0.26.3] .
### Releases
- [NPM v0.26.3] https://www.npmjs.com/package/unstructured-client/v/0.26.3 - .
1 change: 1 addition & 0 deletions docs/sdks/general/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Description

### Example Usage

<!-- UsageSnippet language="typescript" operationID="partition" method="post" path="/general/v0/general" -->
```typescript
import { openAsBlob } from "node:fs";
import { UnstructuredClient } from "unstructured-client";
Expand Down
11 changes: 5 additions & 6 deletions examples/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ generation:
generateNewTests: false
skipResponseBodyAssertions: false
typescript:
version: 0.26.2
version: 0.26.3
additionalDependencies:
dependencies:
async: ^3.2.5
Expand Down
2 changes: 1 addition & 1 deletion jsr.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

{
"name": "unstructured-client",
"version": "0.26.2",
"version": "0.26.3",
"exports": {
".": "./src/index.ts",
"./sdk/models/errors": "./src/sdk/models/errors/index.ts",
Expand Down
17 changes: 7 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 5 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "unstructured-client",
"version": "0.26.2",
"version": "0.26.3",
"author": "Unstructured",
"type": "module",
"bin": {
Expand Down Expand Up @@ -34,8 +34,7 @@
"prepublishOnly": "npm run build"
},
"peerDependencies": {
"@modelcontextprotocol/sdk": ">=1.5.0 <1.10.0",
"zod": "^3"
"@modelcontextprotocol/sdk": ">=1.5.0 <1.10.0"
},
"peerDependenciesMeta": {
"@modelcontextprotocol/sdk": {
Expand All @@ -56,12 +55,12 @@
"tshy": "^2.0.0",
"typescript": "^5.4.5",
"typescript-eslint": "^8.22.0",
"vitest": "^2.1.3",
"zod": "^3.25.17"
"vitest": "^2.1.3"
},
"dependencies": {
"async": "^3.2.5",
"pdf-lib": "^1.17.1"
"pdf-lib": "^1.17.1",
"zod": "^3.20.0"
},
"exports": {
".": {
Expand Down
8 changes: 4 additions & 4 deletions src/lib/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {

export const SDK_METADATA = {
language: "typescript",
openapiDocVersion: "1.1.39",
sdkVersion: "0.26.2",
genVersion: "2.658.3",
openapiDocVersion: "1.1.45",
sdkVersion: "0.26.3",
genVersion: "2.670.1",
userAgent:
"speakeasy-sdk/typescript 0.26.2 2.658.3 1.1.39 unstructured-client",
"speakeasy-sdk/typescript 0.26.3 2.670.1 1.1.45 unstructured-client",
} as const;
2 changes: 1 addition & 1 deletion src/mcp-server/mcp-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const routes = buildRouteMap({
export const app = buildApplication(routes, {
name: "mcp",
versionInfo: {
currentVersion: "0.26.2",
currentVersion: "0.26.3",
},
});

Expand Down
2 changes: 1 addition & 1 deletion src/mcp-server/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export function createMCPServer(deps: {
}) {
const server = new McpServer({
name: "UnstructuredClient",
version: "0.26.2",
version: "0.26.3",
});

const client = new UnstructuredClientCore({
Expand Down