From c6cac1f3f578a922b6b139232e49ca6f75458f1a Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 17 Jan 2025 03:45:14 +0000 Subject: [PATCH 1/2] chore(internal): codegen related update (#7) --- src/index.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/index.ts b/src/index.ts index 20e3f7d..d4d4dae 100644 --- a/src/index.ts +++ b/src/index.ts @@ -34,7 +34,7 @@ export interface ClientOptions { * Note that request timeouts are retried by default, so in a worst-case scenario you may wait * much longer than this timeout before the promise succeeds or fails. */ - timeout?: number; + timeout?: number | undefined; /** * An HTTP agent used to manage HTTP(S) connections. @@ -42,7 +42,7 @@ export interface ClientOptions { * If not provided, an agent will be constructed by default in the Node.js environment, * otherwise no agent is used. */ - httpAgent?: Agent; + httpAgent?: Agent | undefined; /** * Specify a custom `fetch` function implementation. @@ -58,7 +58,7 @@ export interface ClientOptions { * * @default 2 */ - maxRetries?: number; + maxRetries?: number | undefined; /** * Default headers to include with every request to the API. @@ -66,7 +66,7 @@ export interface ClientOptions { * These can be removed in individual requests by explicitly setting the * header to `undefined` or `null` in request options. */ - defaultHeaders?: Core.Headers; + defaultHeaders?: Core.Headers | undefined; /** * Default query parameters to include with every request to the API. @@ -74,7 +74,7 @@ export interface ClientOptions { * These can be removed in individual requests by explicitly setting the * param to `undefined` in request options. */ - defaultQuery?: Core.DefaultQuery; + defaultQuery?: Core.DefaultQuery | undefined; } /** From 1989221a7afad7148248ead5dac23bfc23bbe715 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 17 Jan 2025 03:45:29 +0000 Subject: [PATCH 2/2] release: 0.1.0-alpha.2 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 8 ++++++++ package.json | 2 +- src/version.ts | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index d7a8735..c5e8a3e 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.1.0-alpha.1" + ".": "0.1.0-alpha.2" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 2dfb1d9..13098b4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.1.0-alpha.2 (2025-01-17) + +Full Changelog: [v0.1.0-alpha.1...v0.1.0-alpha.2](https://github.com/Johnmiicheal/spitch.js/compare/v0.1.0-alpha.1...v0.1.0-alpha.2) + +### Chores + +* **internal:** codegen related update ([#7](https://github.com/Johnmiicheal/spitch.js/issues/7)) ([c6cac1f](https://github.com/Johnmiicheal/spitch.js/commit/c6cac1f3f578a922b6b139232e49ca6f75458f1a)) + ## 0.1.0-alpha.1 (2025-01-14) Full Changelog: [v0.0.1-alpha.1...v0.1.0-alpha.1](https://github.com/Johnmiicheal/spitch.js/compare/v0.0.1-alpha.1...v0.1.0-alpha.1) diff --git a/package.json b/package.json index eff9f8c..a960398 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "spitchjs", - "version": "0.1.0-alpha.1", + "version": "0.1.0-alpha.2", "description": "The official TypeScript library for the Spitchjs API", "author": "Spitchjs ", "types": "dist/index.d.ts", diff --git a/src/version.ts b/src/version.ts index b0bfd9e..a528f63 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = '0.1.0-alpha.1'; // x-release-please-version +export const VERSION = '0.1.0-alpha.2'; // x-release-please-version