diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index c9bba42..dc0822e 100644 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -3,10 +3,10 @@ id: 48344567-ff5d-4d9e-92eb-dfe908f362f2 management: docChecksum: 32687d9ba29da014326cc097fdfff59d docVersion: 1.0.0 - speakeasyVersion: 1.583.0 - generationVersion: 2.658.3 - releaseVersion: 0.3.0 - configChecksum: b91da7768fbb2f57f5060768e05e54e1 + speakeasyVersion: 1.603.2 + generationVersion: 2.681.8 + releaseVersion: 0.3.1 + configChecksum: a7720bdbf3547127f1ff899b1365001a repoURL: https://github.com/VantaInc/vanta-auditor-api-sdk-typescript.git installationURL: https://github.com/VantaInc/vanta-auditor-api-sdk-typescript published: true @@ -14,7 +14,7 @@ features: typescript: additionalDependencies: 0.1.0 constsAndDefaults: 0.1.12 - core: 3.21.14 + core: 3.21.20 defaultEnabledRetries: 0.1.0 devContainers: 2.90.0 enumUnions: 0.1.0 diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index c63e068..82ff114 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -24,7 +24,7 @@ generation: generateNewTests: false skipResponseBodyAssertions: false typescript: - version: 0.3.0 + version: 0.3.1 additionalDependencies: dependencies: {} devDependencies: {} @@ -60,4 +60,5 @@ typescript: packageName: vanta-auditor-api-sdk responseFormat: flat templateVersion: v2 + usageSDKInitImports: [] useIndexModules: true diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 79a6e5f..5ed446e 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,4 +1,4 @@ -speakeasyVersion: 1.583.0 +speakeasyVersion: 1.603.2 sources: Conduct an audit: sourceNamespace: conduct-an-audit @@ -6,7 +6,7 @@ sources: sourceBlobDigest: sha256:8fefc2fa168b537a6f137983f6366a1d8abe9ea0a01bc6d108c601431b922a5b tags: - latest - - speakeasy-sdk-regen-1752107287 + - speakeasy-sdk-regen-1754440213 - 1.0.0 targets: vanta: @@ -15,7 +15,7 @@ targets: sourceRevisionDigest: sha256:234b914b23cf5d74d33cd7077560a45c8cba13a211f3bd8344041648d8733c2d sourceBlobDigest: sha256:8fefc2fa168b537a6f137983f6366a1d8abe9ea0a01bc6d108c601431b922a5b codeSamplesNamespace: conduct-an-audit-typescript-code-samples - codeSamplesRevisionDigest: sha256:ed572847c06a09b0e1f3d5e784af0b3a9ca9deebeb78e39163dfd13116ec76a1 + codeSamplesRevisionDigest: sha256:37186932c23018e1270796d0ba87e52ec51afbaeb8926b60b7ee4e3ef57bf761 workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/RELEASES.md b/RELEASES.md index d1315a0..1ad3eb2 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -18,4 +18,14 @@ Based on: ### Generated - [typescript v0.3.0] . ### Releases -- [NPM v0.3.0] https://www.npmjs.com/package/vanta-auditor-api-sdk/v/0.3.0 - . \ No newline at end of file +- [NPM v0.3.0] https://www.npmjs.com/package/vanta-auditor-api-sdk/v/0.3.0 - . + +## 2025-08-14 00:27:51 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.603.2 (2.681.8) https://github.com/speakeasy-api/speakeasy +### Generated +- [typescript v0.3.1] . +### Releases +- [NPM v0.3.1] https://www.npmjs.com/package/vanta-auditor-api-sdk/v/0.3.1 - . \ No newline at end of file diff --git a/docs/sdks/auditors/README.md b/docs/sdks/auditors/README.md index 3ac013f..765817b 100644 --- a/docs/sdks/auditors/README.md +++ b/docs/sdks/auditors/README.md @@ -13,6 +13,7 @@ Create an auditor in Vanta. ### Example Usage + ```typescript import { Vanta } from "vanta-auditor-api-sdk"; diff --git a/docs/sdks/audits/README.md b/docs/sdks/audits/README.md index 58a5159..70012b3 100644 --- a/docs/sdks/audits/README.md +++ b/docs/sdks/audits/README.md @@ -21,6 +21,7 @@ Returns a paginated list of audits scoped to the audit firm. ### Example Usage + ```typescript import { Vanta } from "vanta-auditor-api-sdk"; @@ -90,6 +91,7 @@ evidence is created or has a statusUpdatedAt field that is more recent than the ### Example Usage + ```typescript import { Vanta } from "vanta-auditor-api-sdk"; @@ -164,6 +166,7 @@ Returns a paginated list of evidence for an audit. ### Example Usage + ```typescript import { Vanta } from "vanta-auditor-api-sdk"; @@ -236,6 +239,7 @@ Returns a paginated list of comments for an audit. ### Example Usage + ```typescript import { Vanta } from "vanta-auditor-api-sdk"; @@ -308,6 +312,7 @@ Returns a paginated list of controls for an audit. ### Example Usage + ```typescript import { Vanta } from "vanta-auditor-api-sdk"; @@ -380,6 +385,7 @@ Create a comment in Vanta for a piece of evidence. ### Example Usage + ```typescript import { Vanta } from "vanta-auditor-api-sdk"; @@ -464,6 +470,7 @@ Update audit evidence. ### Example Usage + ```typescript import { Vanta } from "vanta-auditor-api-sdk"; @@ -540,6 +547,7 @@ Create a custom evidence request for an audit. ### Example Usage + ```typescript import { Vanta } from "vanta-auditor-api-sdk"; @@ -636,6 +644,7 @@ Create a custom control for an audit. ### Example Usage + ```typescript import { Vanta } from "vanta-auditor-api-sdk"; diff --git a/examples/auditsList.example.ts b/examples/auditsList.example.ts index e50bb91..233a138 100644 --- a/examples/auditsList.example.ts +++ b/examples/auditsList.example.ts @@ -8,7 +8,7 @@ dotenv.config(); * Example usage of the vanta-auditor-api-sdk SDK * * To run this example from the examples directory: - * npm run build && npx tsx auditsList.ts + * npm run build && npx tsx auditsList.example.ts */ import { Vanta } from "vanta-auditor-api-sdk"; diff --git a/examples/package-lock.json b/examples/package-lock.json index 7c9c4dd..12066d7 100644 --- a/examples/package-lock.json +++ b/examples/package-lock.json @@ -18,7 +18,10 @@ }, "..": { "name": "vanta-auditor-api-sdk", - "version": "0.3.0", + "version": "0.3.1", + "dependencies": { + "zod": "^3.20.0" + }, "bin": { "mcp": "bin/mcp-server.js" }, @@ -32,13 +35,11 @@ "eslint": "^9.19.0", "express": "^4.21.2", "globals": "^15.14.0", - "typescript": "^5.4.5", - "typescript-eslint": "^8.22.0", - "zod": "^3.25.17" + "typescript": "~5.8.3", + "typescript-eslint": "^8.26.0" }, "peerDependencies": { - "@modelcontextprotocol/sdk": ">=1.5.0 <1.10.0", - "zod": "^3" + "@modelcontextprotocol/sdk": ">=1.5.0 <1.10.0" }, "peerDependenciesMeta": { "@modelcontextprotocol/sdk": { diff --git a/jsr.json b/jsr.json index 40327e5..b0daa82 100644 --- a/jsr.json +++ b/jsr.json @@ -2,7 +2,7 @@ { "name": "vanta-auditor-api-sdk", - "version": "0.3.0", + "version": "0.3.1", "exports": { ".": "./src/index.ts", "./models/errors": "./src/models/errors/index.ts", diff --git a/package-lock.json b/package-lock.json index 4ffa87c..e331c93 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,15 @@ { "name": "vanta-auditor-api-sdk", - "version": "0.3.0", + "version": "0.3.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "vanta-auditor-api-sdk", - "version": "0.3.0", + "version": "0.3.1", + "dependencies": { + "zod": "^3.20.0" + }, "bin": { "mcp": "bin/mcp-server.js" }, @@ -20,13 +23,11 @@ "eslint": "^9.19.0", "express": "^4.21.2", "globals": "^15.14.0", - "typescript": "^5.4.5", - "typescript-eslint": "^8.22.0", - "zod": "^3.25.17" + "typescript": "~5.8.3", + "typescript-eslint": "^8.26.0" }, "peerDependencies": { - "@modelcontextprotocol/sdk": ">=1.5.0 <1.10.0", - "zod": "^3" + "@modelcontextprotocol/sdk": ">=1.5.0 <1.10.0" }, "peerDependenciesMeta": { "@modelcontextprotocol/sdk": { @@ -3293,9 +3294,9 @@ } }, "node_modules/typescript": { - "version": "5.7.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.3.tgz", - "integrity": "sha512-84MVSjMEHP+FQRPy3pX9sTVV/INIex71s9TL2Gm5FG/WG1SqXeKyZ0k7/blY/4FdOzI12CBy1vGc4og/eus0fw==", + "version": "5.8.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.8.3.tgz", + "integrity": "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==", "dev": true, "license": "Apache-2.0", "bin": { @@ -3584,7 +3585,6 @@ "version": "3.25.76", "resolved": "https://registry.npmjs.org/zod/-/zod-3.25.76.tgz", "integrity": "sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==", - "dev": true, "license": "MIT", "funding": { "url": "https://github.com/sponsors/colinhacks" diff --git a/package.json b/package.json index a70de20..5e21808 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vanta-auditor-api-sdk", - "version": "0.3.0", + "version": "0.3.1", "author": "Speakeasy", "bin": { "mcp": "bin/mcp-server.js" @@ -18,8 +18,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": {"optional":true} @@ -34,11 +33,10 @@ "eslint": "^9.19.0", "express": "^4.21.2", "globals": "^15.14.0", - "typescript": "^5.4.5", - "typescript-eslint": "^8.22.0", - "zod": "^3.25.17" + "typescript": "~5.8.3", + "typescript-eslint": "^8.26.0" }, "dependencies": { - + "zod": "^3.20.0" } } diff --git a/src/lib/config.ts b/src/lib/config.ts index ef4897b..3ed4384 100644 --- a/src/lib/config.ts +++ b/src/lib/config.ts @@ -69,8 +69,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null { export const SDK_METADATA = { language: "typescript", openapiDocVersion: "1.0.0", - sdkVersion: "0.3.0", - genVersion: "2.658.3", + sdkVersion: "0.3.1", + genVersion: "2.681.8", userAgent: - "speakeasy-sdk/typescript 0.3.0 2.658.3 1.0.0 vanta-auditor-api-sdk", + "speakeasy-sdk/typescript 0.3.1 2.681.8 1.0.0 vanta-auditor-api-sdk", } as const; diff --git a/src/mcp-server/mcp-server.ts b/src/mcp-server/mcp-server.ts index a70686a..e46fad1 100644 --- a/src/mcp-server/mcp-server.ts +++ b/src/mcp-server/mcp-server.ts @@ -19,7 +19,7 @@ const routes = buildRouteMap({ export const app = buildApplication(routes, { name: "mcp", versionInfo: { - currentVersion: "0.3.0", + currentVersion: "0.3.1", }, }); diff --git a/src/mcp-server/server.ts b/src/mcp-server/server.ts index c95dca6..d3e32ab 100644 --- a/src/mcp-server/server.ts +++ b/src/mcp-server/server.ts @@ -34,7 +34,7 @@ export function createMCPServer(deps: { }) { const server = new McpServer({ name: "Vanta", - version: "0.3.0", + version: "0.3.1", }); const client = new VantaCore({