Skip to content

Commit 3c61e2a

Browse files
committed
Release 0.4.1
1 parent 1c66321 commit 3c61e2a

File tree

5 files changed

+15
-15
lines changed

5 files changed

+15
-15
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": "hume",
3-
"version": "0.4.0",
3+
"version": "0.4.1",
44
"private": false,
55
"repository": "https://github.com/HumeAI/hume-typescript-sdk",
66
"main": "./index.js",

src/Client.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export class HumeClient {
8080
"X-Hume-Api-Key": await core.Supplier.get(this._options.apiKey),
8181
"X-Fern-Language": "JavaScript",
8282
"X-Fern-SDK-Name": "hume",
83-
"X-Fern-SDK-Version": "0.4.0",
83+
"X-Fern-SDK-Version": "0.4.1",
8484
},
8585
contentType: "application/json",
8686
queryParameters: _queryParams,
@@ -135,7 +135,7 @@ export class HumeClient {
135135
"X-Hume-Api-Key": await core.Supplier.get(this._options.apiKey),
136136
"X-Fern-Language": "JavaScript",
137137
"X-Fern-SDK-Name": "hume",
138-
"X-Fern-SDK-Version": "0.4.0",
138+
"X-Fern-SDK-Version": "0.4.1",
139139
},
140140
contentType: "application/json",
141141
body: await serializers.BaseRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -193,7 +193,7 @@ export class HumeClient {
193193
"X-Hume-Api-Key": await core.Supplier.get(this._options.apiKey),
194194
"X-Fern-Language": "JavaScript",
195195
"X-Fern-SDK-Name": "hume",
196-
"X-Fern-SDK-Version": "0.4.0",
196+
"X-Fern-SDK-Version": "0.4.1",
197197
},
198198
contentType: "application/json",
199199
timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -244,7 +244,7 @@ export class HumeClient {
244244
"X-Hume-Api-Key": await core.Supplier.get(this._options.apiKey),
245245
"X-Fern-Language": "JavaScript",
246246
"X-Fern-SDK-Name": "hume",
247-
"X-Fern-SDK-Version": "0.4.0",
247+
"X-Fern-SDK-Version": "0.4.1",
248248
},
249249
contentType: "application/json",
250250
responseType: "streaming",
@@ -291,7 +291,7 @@ export class HumeClient {
291291
"X-Hume-Api-Key": await core.Supplier.get(this._options.apiKey),
292292
"X-Fern-Language": "JavaScript",
293293
"X-Fern-SDK-Name": "hume",
294-
"X-Fern-SDK-Version": "0.4.0",
294+
"X-Fern-SDK-Version": "0.4.1",
295295
},
296296
contentType: "application/json",
297297
timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,

src/api/types/EmotionScore.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ export interface EmotionScore {
66
/** Name of the emotion being expressed. */
77
name: string;
88
/** Embedding value for the emotion being expressed. */
9-
score: string;
9+
score: number;
1010
}

src/serialization/types/EmotionScore.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ import * as core from "../../core";
99
export const EmotionScore: core.serialization.ObjectSchema<serializers.EmotionScore.Raw, Hume.EmotionScore> =
1010
core.serialization.object({
1111
name: core.serialization.string(),
12-
score: core.serialization.string(),
12+
score: core.serialization.number(),
1313
});
1414

1515
export declare namespace EmotionScore {
1616
interface Raw {
1717
name: string;
18-
score: string;
18+
score: number;
1919
}
2020
}

yarn.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
form-data "^4.0.0"
1212

1313
"@types/node@*":
14-
version "20.10.5"
15-
resolved "https://registry.yarnpkg.com/@types/node/-/node-20.10.5.tgz#47ad460b514096b7ed63a1dae26fad0914ed3ab2"
16-
integrity sha512-nNPsNE65wjMxEKI93yOP+NPGGBJz/PoN3kZsVLee0XMiJolxSekEVD8wRwBUBqkwc7UWop0edW50yrCQW4CyRw==
14+
version "20.10.6"
15+
resolved "https://registry.yarnpkg.com/@types/node/-/node-20.10.6.tgz#a3ec84c22965802bf763da55b2394424f22bfbb5"
16+
integrity sha512-Vac8H+NlRNNlAmDfGUP7b5h/KA+AtWIzuXy0E6OyP8f1tCLYAtPvKRRDJjAPqhpCb0t6U2j7/xqAuLEebW2kiw==
1717
dependencies:
1818
undici-types "~5.26.4"
1919

@@ -228,6 +228,6 @@ whatwg-url@^5.0.0:
228228
webidl-conversions "^3.0.0"
229229

230230
ws@^8.14.2:
231-
version "8.15.1"
232-
resolved "https://registry.yarnpkg.com/ws/-/ws-8.15.1.tgz#271ba33a45ca0cc477940f7f200cd7fba7ee1997"
233-
integrity sha512-W5OZiCjXEmk0yZ66ZN82beM5Sz7l7coYxpRkzS+p9PP+ToQry8szKh+61eNktr7EA9DOwvFGhfC605jDHbP6QQ==
231+
version "8.16.0"
232+
resolved "https://registry.yarnpkg.com/ws/-/ws-8.16.0.tgz#d1cd774f36fbc07165066a60e40323eab6446fd4"
233+
integrity sha512-HS0c//TP7Ina87TfiPUz1rQzMhHrl/SG2guqRcTOIUYD2q8uhUdNHZYJUaQ8aTGPzCh+c6oawMKW35nFl1dxyQ==

0 commit comments

Comments
 (0)