Skip to content

Commit 45e2df2

Browse files
committed
Release 0.0.2
1 parent 3abd202 commit 45e2df2

File tree

7 files changed

+24
-24
lines changed

7 files changed

+24
-24
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@speechify/api",
3-
"version": "0.0.1",
3+
"version": "0.0.2",
44
"private": false,
55
"repository": "https://github.com/speechifyinc/speechify-api-sdk-typescript",
66
"main": "./index.js",

reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ await client.tts.audio.speech({
8282
<dl>
8383
<dd>
8484

85-
Create a new API token for the logged in user
85+
WARNING: This endpoint is deprecated. Create a new API token for the logged in user.
8686

8787
</dd>
8888
</dl>

src/api/resources/tts/resources/audio/client/Client.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ export class Audio {
6666
Authorization: await this._getAuthorizationHeader(),
6767
"X-Fern-Language": "JavaScript",
6868
"X-Fern-SDK-Name": "@speechify/api",
69-
"X-Fern-SDK-Version": "0.0.1",
70-
"User-Agent": "@speechify/api/0.0.1",
69+
"X-Fern-SDK-Version": "0.0.2",
70+
"User-Agent": "@speechify/api/0.0.2",
7171
"X-Fern-Runtime": core.RUNTIME.type,
7272
"X-Fern-Runtime-Version": core.RUNTIME.version,
7373
...requestOptions?.headers,
@@ -146,8 +146,8 @@ export class Audio {
146146
Authorization: await this._getAuthorizationHeader(),
147147
"X-Fern-Language": "JavaScript",
148148
"X-Fern-SDK-Name": "@speechify/api",
149-
"X-Fern-SDK-Version": "0.0.1",
150-
"User-Agent": "@speechify/api/0.0.1",
149+
"X-Fern-SDK-Version": "0.0.2",
150+
"User-Agent": "@speechify/api/0.0.2",
151151
"X-Fern-Runtime": core.RUNTIME.type,
152152
"X-Fern-Runtime-Version": core.RUNTIME.version,
153153
Accept: serializers.tts.AudioStreamRequestAccept.jsonOrThrow(accept, {

src/api/resources/tts/resources/auth/client/Client.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export class Auth {
3333
constructor(protected readonly _options: Auth.Options = {}) {}
3434

3535
/**
36-
* Create a new API token for the logged in user
36+
* WARNING: This endpoint is deprecated. Create a new API token for the logged in user.
3737
*
3838
* @param {Speechify.tts.CreateAccessTokenRequest} request
3939
* @param {Auth.RequestOptions} requestOptions - Request-specific configuration.
@@ -59,8 +59,8 @@ export class Auth {
5959
Authorization: await this._getAuthorizationHeader(),
6060
"X-Fern-Language": "JavaScript",
6161
"X-Fern-SDK-Name": "@speechify/api",
62-
"X-Fern-SDK-Version": "0.0.1",
63-
"User-Agent": "@speechify/api/0.0.1",
62+
"X-Fern-SDK-Version": "0.0.2",
63+
"User-Agent": "@speechify/api/0.0.2",
6464
"X-Fern-Runtime": core.RUNTIME.type,
6565
"X-Fern-Runtime-Version": core.RUNTIME.version,
6666
...requestOptions?.headers,

src/api/resources/tts/resources/voices/client/Client.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ export class Voices {
5858
Authorization: await this._getAuthorizationHeader(),
5959
"X-Fern-Language": "JavaScript",
6060
"X-Fern-SDK-Name": "@speechify/api",
61-
"X-Fern-SDK-Version": "0.0.1",
62-
"User-Agent": "@speechify/api/0.0.1",
61+
"X-Fern-SDK-Version": "0.0.2",
62+
"User-Agent": "@speechify/api/0.0.2",
6363
"X-Fern-Runtime": core.RUNTIME.type,
6464
"X-Fern-Runtime-Version": core.RUNTIME.version,
6565
...requestOptions?.headers,
@@ -160,8 +160,8 @@ export class Voices {
160160
Authorization: await this._getAuthorizationHeader(),
161161
"X-Fern-Language": "JavaScript",
162162
"X-Fern-SDK-Name": "@speechify/api",
163-
"X-Fern-SDK-Version": "0.0.1",
164-
"User-Agent": "@speechify/api/0.0.1",
163+
"X-Fern-SDK-Version": "0.0.2",
164+
"User-Agent": "@speechify/api/0.0.2",
165165
"X-Fern-Runtime": core.RUNTIME.type,
166166
"X-Fern-Runtime-Version": core.RUNTIME.version,
167167
..._maybeEncodedRequest.headers,
@@ -241,8 +241,8 @@ export class Voices {
241241
Authorization: await this._getAuthorizationHeader(),
242242
"X-Fern-Language": "JavaScript",
243243
"X-Fern-SDK-Name": "@speechify/api",
244-
"X-Fern-SDK-Version": "0.0.1",
245-
"User-Agent": "@speechify/api/0.0.1",
244+
"X-Fern-SDK-Version": "0.0.2",
245+
"User-Agent": "@speechify/api/0.0.2",
246246
"X-Fern-Runtime": core.RUNTIME.type,
247247
"X-Fern-Runtime-Version": core.RUNTIME.version,
248248
...requestOptions?.headers,
@@ -308,8 +308,8 @@ export class Voices {
308308
Authorization: await this._getAuthorizationHeader(),
309309
"X-Fern-Language": "JavaScript",
310310
"X-Fern-SDK-Name": "@speechify/api",
311-
"X-Fern-SDK-Version": "0.0.1",
312-
"User-Agent": "@speechify/api/0.0.1",
311+
"X-Fern-SDK-Version": "0.0.2",
312+
"User-Agent": "@speechify/api/0.0.2",
313313
"X-Fern-Runtime": core.RUNTIME.type,
314314
"X-Fern-Runtime-Version": core.RUNTIME.version,
315315
...requestOptions?.headers,

src/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const SDK_VERSION = "0.0.1";
1+
export const SDK_VERSION = "0.0.2";

yarn.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -656,16 +656,16 @@
656656
form-data "^4.0.0"
657657

658658
"@types/node@*":
659-
version "22.15.1"
660-
resolved "https://registry.yarnpkg.com/@types/node/-/node-22.15.1.tgz#4cd2c8717a61ae2979c6a0624b4d1b67415bf2c0"
661-
integrity sha512-gSZyd0Qmv7qvbd2fJ9HGdYmv1yhNdelIA4YOtN6vkcmSwFhthxSEsBgU/JYZcXjWT6DFzoATcHrc52Ckh8SeRA==
659+
version "22.15.2"
660+
resolved "https://registry.yarnpkg.com/@types/node/-/node-22.15.2.tgz#1db55aa64618ee93a58c8912f74beefe44aca905"
661+
integrity sha512-uKXqKN9beGoMdBfcaTY1ecwz6ctxuJAcUlwE55938g0ZJ8lRxwAZqRz2AJ4pzpt5dHdTPMB863UZ0ESiFUcP7A==
662662
dependencies:
663663
undici-types "~6.21.0"
664664

665665
"@types/node@^18.19.70":
666-
version "18.19.86"
667-
resolved "https://registry.yarnpkg.com/@types/node/-/node-18.19.86.tgz#a7e1785289c343155578b9d84a0e3e924deb948b"
668-
integrity sha512-fifKayi175wLyKyc5qUfyENhQ1dCNI1UNjp653d8kuYcPQN5JhX3dGuP/XmvPTg/xRBn1VTLpbmi+H/Mr7tLfQ==
666+
version "18.19.87"
667+
resolved "https://registry.yarnpkg.com/@types/node/-/node-18.19.87.tgz#690f000cc51e3c7f48bc00f7e86fac6eb550b709"
668+
integrity sha512-OIAAu6ypnVZHmsHCeJ+7CCSub38QNBS9uceMQeg7K5Ur0Jr+wG9wEOEvvMbhp09pxD5czIUy/jND7s7Tb6Nw7A==
669669
dependencies:
670670
undici-types "~5.26.4"
671671

0 commit comments

Comments
 (0)