Releases: symblai/symbl-web-sdk
Releases · symblai/symbl-web-sdk
v1.0.14
v1.0.13
- Removed
access_token
from url
Web SDK v1.0.12
What's Changed
- Updated the url for checking the internet connectivity. updated the version in package json file by @mahesh-symbl in #84
- SRE-2116 Added change to fix github workflow by @nischaysymblai in #85
New Contributors
- @mahesh-symbl made their first contribution in #84
- @nischaysymblai made their first contribution in #85
Full Changelog: v1.0.10...v1.0.12
Web SDK v1.0.10
Added a new property to support custom vocabulary to the configuration
{
....
customVocabulary: []
....
}
Web SDK v1.0.9
We added a few properties in the config to detect trackers and sentiment.
sentiment: true,
trackers: {
interimResults: true,
enableAllTrackers: true,
}
Web SDK v1.0.7
Added a flag for SymblConfig named disableOnDeviceChange
. If set to true
, any device change handling will be disabled. false
by default.
const symbl = new Symbl({
appId,
appSecret,
disableOnDeviceChange: true
});
Web SDK v1.0.6
Changes
- Added
audioStream.setOnDeviceChange
method which accepts a function as a parameter and overrides our defaultondevicechange
logic.
Bug fixes
- When attempting to reconnect after a device change, it will no longer connect if the WebSocket is closed
- Fixed a bug where sometimes a new default device was not being detected properly
- When reconnecting the updated sample rate is set in the config instead of by calling
modifySampleRate
. This will decrease reconnection time.
Web SDK v1.0.5
Changes
- Validation of keys in
StreamingAPIConnectionConfig
when passed intostartProcessing
- Removed or updated vulnerable npm package dependencies
Bug fixes
- When
disconnect
is called onStreamingAPIConnection
without first callingstopProcessing
, there are no longer repeated warning messages.
Web SDK v1.0.4
Changes
- Add extra validation to
startProcessing
arguments. - Check if websocket is connected when making a
modifySampleRate
call. If not, throwsNoConnectionError
. - Add reconnection support - if
reconnectOnError
is set totrue
in the SymblConfig, we attempt to reconnect after a break in connection. A break in connection is determined after 30 seconds of not receiving any expected data from the WebSocket. - Added
logLevel
to SymblConfig. - Add separate methods to handle
<video>
and<audio>
elements in audiostreams. Now haveattachAudioSourceElement
,detachAudioSourceElement
,updateAudioSourceElement
,attachVideoSourceElement
,detachVideoSourceElement
, andupdateVideoSourceElement
. Previous versions allowed either<audio>
or<video>
elements to be passed into the sameattachAudioSourceElement
, but going forward only the corresponding methods may be used depending on element type. - Add
getConversationId()
toStreamingAPIConnection
andSubscribeAPIConnection
. Will only be populated afterconversation_created
event has been fired. For more information on theconversation_created
event check out our Events and Callbacks page. - Add
Conversation
object which can also be used to grab the conversation ID. This object is attached toStreamingAPIConnection
andSubscribeAPIConnection
asconnection.conversation
. Going forward, theConversation
object will integrate with our Conversation APIs.
Bug fixes
- Fix typos in some of the Typescript types for Topics.
Web SDK v1.0.3
Changes
- Added minification to typescript build, reducing to 178 kB from 351 kB
Bug fixes
- Added sampleRateHertz validation for
modifySampleRate
. Fixes #45. - Fix how types are exported. Types can now be imported directly from library, e.g.
import { RealtimeTopicData } from "@symblai/symbl-web-sdk";