diff --git a/package.json b/package.json index ed164c8..e27c8a1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@cartesia/cartesia-js", - "version": "2.0.0-alpha2", + "version": "2.0.0", "private": false, "repository": "https://github.com/cartesia-ai/cartesia-js", "main": "./index.js", diff --git a/src/api/resources/apiStatus/client/Client.ts b/src/api/resources/apiStatus/client/Client.ts index cdb9fa9..62cd1d1 100644 --- a/src/api/resources/apiStatus/client/Client.ts +++ b/src/api/resources/apiStatus/client/Client.ts @@ -46,8 +46,8 @@ export class ApiStatus { "Cartesia-Version": requestOptions?.cartesiaVersion ?? this._options?.cartesiaVersion ?? "2024-06-10", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@cartesia/cartesia-js", - "X-Fern-SDK-Version": "2.0.0-alpha2", - "User-Agent": "@cartesia/cartesia-js/2.0.0-alpha2", + "X-Fern-SDK-Version": "2.0.0", + "User-Agent": "@cartesia/cartesia-js/2.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/tts/client/Client.ts b/src/api/resources/tts/client/Client.ts index 75649ac..338e24f 100644 --- a/src/api/resources/tts/client/Client.ts +++ b/src/api/resources/tts/client/Client.ts @@ -45,8 +45,8 @@ export class Tts { "Cartesia-Version": requestOptions?.cartesiaVersion ?? this._options?.cartesiaVersion ?? "2024-06-10", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@cartesia/cartesia-js", - "X-Fern-SDK-Version": "2.0.0-alpha2", - "User-Agent": "@cartesia/cartesia-js/2.0.0-alpha2", + "X-Fern-SDK-Version": "2.0.0", + "User-Agent": "@cartesia/cartesia-js/2.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -99,8 +99,8 @@ export class Tts { "Cartesia-Version": requestOptions?.cartesiaVersion ?? this._options?.cartesiaVersion ?? "2024-06-10", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@cartesia/cartesia-js", - "X-Fern-SDK-Version": "2.0.0-alpha2", - "User-Agent": "@cartesia/cartesia-js/2.0.0-alpha2", + "X-Fern-SDK-Version": "2.0.0", + "User-Agent": "@cartesia/cartesia-js/2.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/voiceChanger/client/Client.ts b/src/api/resources/voiceChanger/client/Client.ts index 61e833b..3827e61 100644 --- a/src/api/resources/voiceChanger/client/Client.ts +++ b/src/api/resources/voiceChanger/client/Client.ts @@ -70,8 +70,8 @@ export class VoiceChanger { "Cartesia-Version": requestOptions?.cartesiaVersion ?? this._options?.cartesiaVersion ?? "2024-06-10", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@cartesia/cartesia-js", - "X-Fern-SDK-Version": "2.0.0-alpha2", - "User-Agent": "@cartesia/cartesia-js/2.0.0-alpha2", + "X-Fern-SDK-Version": "2.0.0", + "User-Agent": "@cartesia/cartesia-js/2.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -140,8 +140,8 @@ export class VoiceChanger { "Cartesia-Version": requestOptions?.cartesiaVersion ?? this._options?.cartesiaVersion ?? "2024-06-10", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@cartesia/cartesia-js", - "X-Fern-SDK-Version": "2.0.0-alpha2", - "User-Agent": "@cartesia/cartesia-js/2.0.0-alpha2", + "X-Fern-SDK-Version": "2.0.0", + "User-Agent": "@cartesia/cartesia-js/2.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/voices/client/Client.ts b/src/api/resources/voices/client/Client.ts index 04e7391..255d699 100644 --- a/src/api/resources/voices/client/Client.ts +++ b/src/api/resources/voices/client/Client.ts @@ -52,8 +52,8 @@ export class Voices { "Cartesia-Version": requestOptions?.cartesiaVersion ?? this._options?.cartesiaVersion ?? "2024-06-10", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@cartesia/cartesia-js", - "X-Fern-SDK-Version": "2.0.0-alpha2", - "User-Agent": "@cartesia/cartesia-js/2.0.0-alpha2", + "X-Fern-SDK-Version": "2.0.0", + "User-Agent": "@cartesia/cartesia-js/2.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -123,8 +123,8 @@ export class Voices { "Cartesia-Version": requestOptions?.cartesiaVersion ?? this._options?.cartesiaVersion ?? "2024-06-10", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@cartesia/cartesia-js", - "X-Fern-SDK-Version": "2.0.0-alpha2", - "User-Agent": "@cartesia/cartesia-js/2.0.0-alpha2", + "X-Fern-SDK-Version": "2.0.0", + "User-Agent": "@cartesia/cartesia-js/2.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -186,8 +186,8 @@ export class Voices { "Cartesia-Version": requestOptions?.cartesiaVersion ?? this._options?.cartesiaVersion ?? "2024-06-10", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@cartesia/cartesia-js", - "X-Fern-SDK-Version": "2.0.0-alpha2", - "User-Agent": "@cartesia/cartesia-js/2.0.0-alpha2", + "X-Fern-SDK-Version": "2.0.0", + "User-Agent": "@cartesia/cartesia-js/2.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -250,8 +250,8 @@ export class Voices { "Cartesia-Version": requestOptions?.cartesiaVersion ?? this._options?.cartesiaVersion ?? "2024-06-10", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@cartesia/cartesia-js", - "X-Fern-SDK-Version": "2.0.0-alpha2", - "User-Agent": "@cartesia/cartesia-js/2.0.0-alpha2", + "X-Fern-SDK-Version": "2.0.0", + "User-Agent": "@cartesia/cartesia-js/2.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -313,8 +313,8 @@ export class Voices { "Cartesia-Version": requestOptions?.cartesiaVersion ?? this._options?.cartesiaVersion ?? "2024-06-10", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@cartesia/cartesia-js", - "X-Fern-SDK-Version": "2.0.0-alpha2", - "User-Agent": "@cartesia/cartesia-js/2.0.0-alpha2", + "X-Fern-SDK-Version": "2.0.0", + "User-Agent": "@cartesia/cartesia-js/2.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -383,8 +383,8 @@ export class Voices { "Cartesia-Version": requestOptions?.cartesiaVersion ?? this._options?.cartesiaVersion ?? "2024-06-10", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@cartesia/cartesia-js", - "X-Fern-SDK-Version": "2.0.0-alpha2", - "User-Agent": "@cartesia/cartesia-js/2.0.0-alpha2", + "X-Fern-SDK-Version": "2.0.0", + "User-Agent": "@cartesia/cartesia-js/2.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -454,8 +454,8 @@ export class Voices { "Cartesia-Version": requestOptions?.cartesiaVersion ?? this._options?.cartesiaVersion ?? "2024-06-10", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@cartesia/cartesia-js", - "X-Fern-SDK-Version": "2.0.0-alpha2", - "User-Agent": "@cartesia/cartesia-js/2.0.0-alpha2", + "X-Fern-SDK-Version": "2.0.0", + "User-Agent": "@cartesia/cartesia-js/2.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -559,8 +559,8 @@ export class Voices { "Cartesia-Version": requestOptions?.cartesiaVersion ?? this._options?.cartesiaVersion ?? "2024-06-10", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@cartesia/cartesia-js", - "X-Fern-SDK-Version": "2.0.0-alpha2", - "User-Agent": "@cartesia/cartesia-js/2.0.0-alpha2", + "X-Fern-SDK-Version": "2.0.0", + "User-Agent": "@cartesia/cartesia-js/2.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/version.ts b/src/version.ts index cbed376..478f50d 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const SDK_VERSION = "2.0.0-alpha2"; +export const SDK_VERSION = "2.0.0";