hume 0.3.1 → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/Client.js CHANGED
@@ -94,7 +94,7 @@ class HumeClient {
94
94
  "X-Hume-Api-Key": yield core.Supplier.get(this._options.apiKey),
95
95
  "X-Fern-Language": "JavaScript",
96
96
  "X-Fern-SDK-Name": "hume",
97
- "X-Fern-SDK-Version": "0.3.1",
97
+ "X-Fern-SDK-Version": "0.3.3",
98
98
  },
99
99
  contentType: "application/json",
100
100
  queryParameters: _queryParams,
@@ -143,7 +143,7 @@ class HumeClient {
143
143
  "X-Hume-Api-Key": yield core.Supplier.get(this._options.apiKey),
144
144
  "X-Fern-Language": "JavaScript",
145
145
  "X-Fern-SDK-Name": "hume",
146
- "X-Fern-SDK-Version": "0.3.1",
146
+ "X-Fern-SDK-Version": "0.3.3",
147
147
  },
148
148
  contentType: "application/json",
149
149
  body: yield serializers.BaseRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -195,7 +195,7 @@ class HumeClient {
195
195
  "X-Hume-Api-Key": yield core.Supplier.get(this._options.apiKey),
196
196
  "X-Fern-Language": "JavaScript",
197
197
  "X-Fern-SDK-Name": "hume",
198
- "X-Fern-SDK-Version": "0.3.1",
198
+ "X-Fern-SDK-Version": "0.3.3",
199
199
  },
200
200
  contentType: "application/json",
201
201
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -243,7 +243,7 @@ class HumeClient {
243
243
  "X-Hume-Api-Key": yield core.Supplier.get(this._options.apiKey),
244
244
  "X-Fern-Language": "JavaScript",
245
245
  "X-Fern-SDK-Name": "hume",
246
- "X-Fern-SDK-Version": "0.3.1",
246
+ "X-Fern-SDK-Version": "0.3.3",
247
247
  },
248
248
  contentType: "application/json",
249
249
  responseType: "streaming",
@@ -287,7 +287,7 @@ class HumeClient {
287
287
  "X-Hume-Api-Key": yield core.Supplier.get(this._options.apiKey),
288
288
  "X-Fern-Language": "JavaScript",
289
289
  "X-Fern-SDK-Name": "hume",
290
- "X-Fern-SDK-Version": "0.3.1",
290
+ "X-Fern-SDK-Version": "0.3.3",
291
291
  },
292
292
  contentType: "application/json",
293
293
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
package/dist/Client.js CHANGED
@@ -94,7 +94,7 @@ class HumeClient {
94
94
  "X-Hume-Api-Key": yield core.Supplier.get(this._options.apiKey),
95
95
  "X-Fern-Language": "JavaScript",
96
96
  "X-Fern-SDK-Name": "hume",
97
- "X-Fern-SDK-Version": "0.3.1",
97
+ "X-Fern-SDK-Version": "0.3.3",
98
98
  },
99
99
  contentType: "application/json",
100
100
  queryParameters: _queryParams,
@@ -143,7 +143,7 @@ class HumeClient {
143
143
  "X-Hume-Api-Key": yield core.Supplier.get(this._options.apiKey),
144
144
  "X-Fern-Language": "JavaScript",
145
145
  "X-Fern-SDK-Name": "hume",
146
- "X-Fern-SDK-Version": "0.3.1",
146
+ "X-Fern-SDK-Version": "0.3.3",
147
147
  },
148
148
  contentType: "application/json",
149
149
  body: yield serializers.BaseRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -195,7 +195,7 @@ class HumeClient {
195
195
  "X-Hume-Api-Key": yield core.Supplier.get(this._options.apiKey),
196
196
  "X-Fern-Language": "JavaScript",
197
197
  "X-Fern-SDK-Name": "hume",
198
- "X-Fern-SDK-Version": "0.3.1",
198
+ "X-Fern-SDK-Version": "0.3.3",
199
199
  },
200
200
  contentType: "application/json",
201
201
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -243,7 +243,7 @@ class HumeClient {
243
243
  "X-Hume-Api-Key": yield core.Supplier.get(this._options.apiKey),
244
244
  "X-Fern-Language": "JavaScript",
245
245
  "X-Fern-SDK-Name": "hume",
246
- "X-Fern-SDK-Version": "0.3.1",
246
+ "X-Fern-SDK-Version": "0.3.3",
247
247
  },
248
248
  contentType: "application/json",
249
249
  responseType: "streaming",
@@ -287,7 +287,7 @@ class HumeClient {
287
287
  "X-Hume-Api-Key": yield core.Supplier.get(this._options.apiKey),
288
288
  "X-Fern-Language": "JavaScript",
289
289
  "X-Fern-SDK-Name": "hume",
290
- "X-Fern-SDK-Version": "0.3.1",
290
+ "X-Fern-SDK-Version": "0.3.3",
291
291
  },
292
292
  contentType: "application/json",
293
293
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hume",
3
- "version": "0.3.1",
3
+ "version": "0.3.3",
4
4
  "private": false,
5
5
  "repository": "https://github.com/HumeAI/hume-typescript-sdk",
6
6
  "main": "./index.js",
@@ -16,7 +16,9 @@
16
16
  "node-fetch": "2.7.0",
17
17
  "qs": "6.11.2",
18
18
  "ws": "^8.14.2",
19
- "@types/ws": "^8.5.9"
19
+ "@types/ws": "^8.5.9",
20
+ "uuid": "9.0.1",
21
+ "@types/uuid": "9.0.7"
20
22
  },
21
23
  "devDependencies": {
22
24
  "@types/url-join": "4.0.1",