diff --git a/.release-please-manifest.json b/.release-please-manifest.json index f393718..a9b8e02 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "2.10.0" + ".": "2.11.0" } diff --git a/.stats.yml b/.stats.yml index 163ba63..69b0709 100644 --- a/.stats.yml +++ b/.stats.yml @@ -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 diff --git a/CHANGELOG.md b/CHANGELOG.md index c9abb90..2d16264 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/package.json b/package.json index 57f6a60..5dbc4b4 100644 --- a/package.json +++ b/package.json @@ -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 ", "types": "dist/index.d.ts", diff --git a/scripts/bootstrap b/scripts/bootstrap index 0af58e2..f68beda 100755 --- a/scripts/bootstrap +++ b/scripts/bootstrap @@ -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 diff --git a/src/resources/speech.ts b/src/resources/speech.ts index fac8883..d1f6e29 100644 --- a/src/resources/speech.ts +++ b/src/resources/speech.ts @@ -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 @@ -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' @@ -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 @@ -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' diff --git a/src/version.ts b/src/version.ts index 7b16f63..e91ff8d 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = '2.10.0'; // x-release-please-version +export const VERSION = '2.11.0'; // x-release-please-version diff --git a/tests/api-resources/speech.test.ts b/tests/api-resources/speech.test.ts index 8ce1eb9..1501fa0 100644 --- a/tests/api-resources/speech.test.ts +++ b/tests/api-resources/speech.test.ts @@ -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', @@ -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',