Skip to content

Commit 1434f0e

Browse files
authored
(feat): init via token (#59)
1 parent 1397d13 commit 1434f0e

File tree

4 files changed

+4
-1
lines changed

4 files changed

+4
-1
lines changed

.fernignore

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ src/wrapper
1212
src/index.ts
1313

1414
# EVI WebSocket
15+
src/Client.ts
1516
src/api/resources/empathicVoice/client/Client.ts
1617
src/api/resources/empathicVoice/resources/chat/index.ts
1718
src/api/resources/empathicVoice/resources/chat/client

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "hume",
3-
"version": "0.8.1-beta7",
3+
"version": "0.8.1-beta8",
44
"private": false,
55
"repository": "https://github.com/HumeAI/hume-typescript-sdk",
66
"main": "./index.js",

src/Client.ts

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ export declare namespace HumeClient {
1111
interface Options {
1212
environment?: core.Supplier<environments.HumeEnvironment | string>;
1313
apiKey?: core.Supplier<string | undefined>;
14+
accessToken?: core.Supplier<string | undefined>;
1415
fetcher?: core.FetchFunction;
1516
}
1617

src/api/resources/empathicVoice/client/Client.ts

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ export declare namespace EmpathicVoice {
1515
interface Options {
1616
environment?: core.Supplier<environments.HumeEnvironment | string>;
1717
apiKey?: core.Supplier<string | undefined>;
18+
accessToken?: core.Supplier<string | undefined>;
1819
fetcher?: core.FetchFunction;
1920
}
2021

0 commit comments

Comments
 (0)