Skip to content

Releases: HumeAI/hume-typescript-sdk

0.9.0

01 Oct 14:41
518b895
Compare
Choose a tag to compare

What's Changed

  • New method: .empathicVoice.chatGroups.getChatGroup for getting a Chat Group by id.
  • Add support for eviVersion on .empathicVoice.configs.createConfig
  • Add support for Custom Voices API.
  • Added index field to AudioOutput type.
  • Responses that get a 400 http status code now throw a BadRequestError instead of a generic HumeError.
  • (break) Renamed type Hume.empathicVoice.PostedPromptSpec -> Hume.empathicVoice.PostedConfigPromptSpec.
  • (break) Renamed type PostedPromptSpec -> PostedConfigPromptSpec
  • (break) Types for the expression measurement API have now been namespaced under .batch or .streaming.
  • (break) Some Types for the expression measurement API have been rename, for example: Hume.expressionMeasurement.StreamModelsEndpointPayloadModelsFace -> Hume.expressionMeasurement.stream.StreamFace

Full Changelog: 0.8.10...0.9.0

0.8.10

10 Sep 00:50
d9e714f
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.8.9...0.8.10

0.8.9

09 Sep 22:58
ec19344
Compare
Choose a tag to compare

What's Changed

  • 🌿 Fern Regeneration -- September 9, 2024 by @fern-api in #162

Full Changelog: 0.8.8...0.8.9

0.8.8

28 Aug 20:46
1495108
Compare
Choose a tag to compare

What's Changed

  • (fix): default init fully optional messages by @fern-bot in #152

Full Changelog: 0.8.7...0.8.8

0.8.7

28 Aug 04:58
d2f577d
Compare
Choose a tag to compare

What's Changed

  • (chore): revert hume prettier by @dsinghvi in #142
  • (chore): do not ignore Fetcher.ts by @fern-bot in #149
  • (chore): introduce unit tests and use readable-stream dependency by @fern-api in #150

Full Changelog: 0.8.6...0.8.7

0.8.6

09 Aug 21:42
b7f3b83
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.8.5...0.8.6

0.8.5

28 Jul 19:59
56a6283
Compare
Choose a tag to compare

What's Changed

  • Revert "[npm] Bump node-fetch from 2.7.0 to 3.3.2" by @fern-bot in #95
  • (chore): update .fernignore by @dsinghvi in #96
  • (fix): .fernignore github workflows by @fern-bot in #98
  • (fix): add CONTRIBUTING.md to fernignore by @dsinghvi in #100
  • Release 0.8.5 by @fern-api in #101

Full Changelog: 0.8.4...0.8.5

0.8.4

28 Jul 18:15
8b87358
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.8.3...0.8.4

0.8.3

18 Jul 01:26
fd65284
Compare
Choose a tag to compare

What's Changed

  • remove type assertion from fetch access token by @zachkrall in #63
  • 🌿 Fern Regeneration -- July 17, 2024 by @fern-api in #66
  • Correct sendTextInput to sendUserInput in Readme.md by @iankelk in #64
  • update readme to match new socket by @zachkrall in #68
  • (fix): make receivedAt a Date not number by @dsinghvi in #70

New Contributors

Full Changelog: 0.8.2...0.8.3

0.8.2

16 Jul 22:08
f7cf0e1
Compare
Choose a tag to compare

What's Changed

Migration Guide

There have been several improvements made to the TypeScript Chat API for EVI.

  • Instantiation: The HumeClient now directly expects a token or an apiKey.
    import { HumeClient } from "hume"; 
    
    const hume = new HumeClient({
      token: "...",
    });
  • Sync connect Method: No need to await the connect method any longer.
    const socket = hume.connect({ reconnectAttempts, configVersion, resumedChatGroupId })
  • Socket Type: Instead of Hume.empathicVoice.chat.StreamSocket the Socket has been renamed to Hume.empathicVoice.chat.ChatSocket
  • Handling onOpen, onMessage, onError callbacks: Previously these handlers were passed to the connect as functions but now you can simply put these directly on the socket:
    const socket = hume.connect({ reconnectAttempts, configVersion, resumedChatGroupId })
    socket.on("open", (value) => {
      // do something
    });
  • Sync send methods: All socket send messages are now synchronous so no need to await them.

Full Changelog: 0.8.0...0.8.2