Skip to content

Commit 5b9dde3

Browse files
authored
Merge pull request #113 from lumalabs/release-please--branches--main--changes--next--components--lumaai
release: 1.7.4
2 parents 372a37b + b6424a9 commit 5b9dde3

5 files changed

Lines changed: 15 additions & 7 deletions

File tree

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "1.7.3"
2+
".": "1.7.4"
33
}

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## 1.7.4 (2025-04-15)
4+
5+
Full Changelog: [v1.7.3...v1.7.4](https://github.com/lumalabs/lumaai-node/compare/v1.7.3...v1.7.4)
6+
7+
### Chores
8+
9+
* **client:** minor internal fixes ([5ad3bcd](https://github.com/lumalabs/lumaai-node/commit/5ad3bcdcd3206ce295d43aa540f1a23ae492ad86))
10+
311
## 1.7.3 (2025-04-10)
412

513
Full Changelog: [v1.7.2...v1.7.3](https://github.com/lumalabs/lumaai-node/compare/v1.7.2...v1.7.3)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "lumaai",
3-
"version": "1.7.3",
3+
"version": "1.7.4",
44
"description": "The official TypeScript library for the LumaAI API",
55
"author": "LumaAI <support+api@lumalabs.ai>",
66
"types": "dist/index.d.ts",

src/core.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -296,10 +296,10 @@ export abstract class APIClient {
296296
}
297297

298298
buildRequest<Req>(
299-
options: FinalRequestOptions<Req>,
299+
inputOptions: FinalRequestOptions<Req>,
300300
{ retryCount = 0 }: { retryCount?: number } = {},
301301
): { req: RequestInit; url: string; timeout: number } {
302-
options = { ...options };
302+
const options = { ...inputOptions };
303303
const { method, path, query, headers: headers = {} } = options;
304304

305305
const body =
@@ -327,8 +327,8 @@ export abstract class APIClient {
327327
}
328328

329329
if (this.idempotencyHeader && method !== 'get') {
330-
if (!options.idempotencyKey) options.idempotencyKey = this.defaultIdempotencyKey();
331-
headers[this.idempotencyHeader] = options.idempotencyKey;
330+
if (!inputOptions.idempotencyKey) inputOptions.idempotencyKey = this.defaultIdempotencyKey();
331+
headers[this.idempotencyHeader] = inputOptions.idempotencyKey;
332332
}
333333

334334
const reqHeaders = this.buildHeaders({ options, headers, contentLength, retryCount });

src/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const VERSION = '1.7.3'; // x-release-please-version
1+
export const VERSION = '1.7.4'; // x-release-please-version

0 commit comments

Comments
 (0)