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
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "2.10.0"
".": "2.11.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 9
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lmnt-kaikato-aryp6r%2Flmnt-com-e9b6dfacea7ad119a76705441211d3c25bbcc7c900f74685cd679a3bd84dac72.yml
openapi_spec_hash: 3b34a0865020e8a6dcbc02e2bfc6c638
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lmnt-kaikato-aryp6r%2Flmnt-com-65c2c6c535ed9613a2ec066fcb37e028c45e1a6cf67639d3f3b7d76b067cd3cf.yml
openapi_spec_hash: 53f47fb39d900e20ae936b3ea9bafa40
config_hash: ad76a808facacf5f53e58d591653bac6
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Changelog

## 2.11.0 (2025-09-20)

Full Changelog: [v2.10.0...v2.11.0](https://github.com/lmnt-com/lmnt-node/compare/v2.10.0...v2.11.0)

### Features

* **api:** api update ([ff62538](https://github.com/lmnt-com/lmnt-node/commit/ff62538615ef2ec19ffa6317e356a5b305551997))
* **api:** api update ([b826c33](https://github.com/lmnt-com/lmnt-node/commit/b826c3335c4636f49f227ff83d4425e29054c3b5))


### Chores

* do not install brew dependencies in ./scripts/bootstrap by default ([d4ea28e](https://github.com/lmnt-com/lmnt-node/commit/d4ea28e28bbaeddaf9f2cb7640db80fea158b019))

## 2.10.0 (2025-09-09)

Full Changelog: [v2.9.0...v2.10.0](https://github.com/lmnt-com/lmnt-node/compare/v2.9.0...v2.10.0)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lmnt-node",
"version": "2.10.0",
"version": "2.11.0",
"description": "The official TypeScript library for the Lmnt API",
"author": "Lmnt <feedback@lmnt.com>",
"types": "dist/index.d.ts",
Expand Down
14 changes: 11 additions & 3 deletions scripts/bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,18 @@ set -e

cd "$(dirname "$0")/.."

if [ -f "Brewfile" ] && [ "$(uname -s)" = "Darwin" ] && [ "$SKIP_BREW" != "1" ]; then
if [ -f "Brewfile" ] && [ "$(uname -s)" = "Darwin" ] && [ "$SKIP_BREW" != "1" ] && [ -t 0 ]; then
brew bundle check >/dev/null 2>&1 || {
echo "==> Installing Homebrew dependencies…"
brew bundle
echo -n "==> Install Homebrew dependencies? (y/N): "
read -r response
case "$response" in
[yY][eE][sS]|[yY])
brew bundle
;;
*)
;;
esac
echo
}
fi

Expand Down
16 changes: 14 additions & 2 deletions src/resources/speech.ts
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,12 @@ export interface SpeechGenerateParams {
*/
voice: string;

/**
* When set to true, the generated speech will also be saved to your
* [clip library](https://app.lmnt.com/clips) in the LMNT playground.
*/
debug?: boolean;

/**
* The desired output format of the audio. If you are using a streaming endpoint,
* you'll generate audio faster by selecting a streamable format since chunks are
Expand All @@ -229,7 +235,7 @@ export interface SpeechGenerateParams {

/**
* The desired language. Two letter ISO 639-1 code. Defaults to auto language
* detection.
* detection, but specifying the language is recommended for faster generation.
*/
language?:
| 'auto'
Expand Down Expand Up @@ -300,6 +306,12 @@ export interface SpeechGenerateDetailedParams {
*/
voice: string;

/**
* When set to true, the generated speech will also be saved to your
* [clip library](https://app.lmnt.com/clips) in the LMNT playground.
*/
debug?: boolean;

/**
* The desired output format of the audio. If you are using a streaming endpoint,
* you'll generate audio faster by selecting a streamable format since chunks are
Expand All @@ -323,7 +335,7 @@ export interface SpeechGenerateDetailedParams {

/**
* The desired language. Two letter ISO 639-1 code. Defaults to auto language
* detection.
* detection, but specifying the language is recommended for faster generation.
*/
language?:
| 'auto'
Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const VERSION = '2.10.0'; // x-release-please-version
export const VERSION = '2.11.0'; // x-release-please-version
2 changes: 2 additions & 0 deletions tests/api-resources/speech.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ describe('resource speech', () => {
const response = await client.speech.generate({
text: 'hello world.',
voice: 'leah',
debug: true,
format: 'aac',
language: 'auto',
model: 'blizzard',
Expand All @@ -48,6 +49,7 @@ describe('resource speech', () => {
const response = await client.speech.generateDetailed({
text: 'hello world.',
voice: 'leah',
debug: true,
format: 'aac',
language: 'auto',
model: 'blizzard',
Expand Down