Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

web-speech-cognitive-services

Package Overview
Dependencies
Maintainers
1
Versions
153
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

web-speech-cognitive-services - npm Package Versions

1
16

6.1.1-master.98a2daa

Diff

compulim
published 6.1.0 •

Changelog

Source

[6.1.0] - 2020-03-26

Breaking changes

  • ~As Bing Speech has deprecated and removed from Azure. Bing Speech support has been removed.~
  • ~fetchAuthorizationToken is removed, please refer to this documentation on how to get an access token.~

Added

Removed

  • ~Bing Speech support is removed, by @compulim, in PR #87.~
  • ~fetchAuthorizationToken is removed, by @compulim, in PR #89.~

Changed

compulim
published 6.0.1-master.6e88389 •

compulim
published 6.0.1-master.0c9f92b •

compulim
published 6.0.1-master.d6224a4 •

compulim
published 6.0.1-master.b07c958 •

compulim
published 6.0.0 •

Changelog

Source

[6.0.0] - 2019-12-03

Breaking changes

Unifying options to pass credentials

authorizationToken, region, and subscriptionKey are being deprecated in favor of credentials options. credentials can be one of the following types:

  • { authorizationToken: string, region: string? }
  • { region: string?, subscriptionKey: string }
  • Promise<{ authorizationToken: string, region: string? }>
  • Promise<{ region: string?, subscriptionKey: string }>
  • () => { authorizationToken: string, region: string? }
  • () => { region: string?, subscriptionKey: string }
  • () => Promise<{ authorizationToken: string, region: string? }>
  • () => Promise<{ region: string?, subscriptionKey: string }>

If credentials is a function, it will be called just before the credentials is needed and may be called very frequently. This behavior matches the deprecating authorizationToken. The result of the call is also expected to be cached.

If region is not returned, the default value of "westus" will be used.

Fixed

  • Speech recognition: Removed extraneous finalized result event in continuous mode, by @compulim, in PR #79

Removed

  • 🔥 authorizationToken, region, and subscriptionKey are being deprecated in favor of credentials options, by @compulim in PR #80

Added

  • playground: Add delayed start to playground for testing speech recognition initiated outside of user gestures, in PR #78
  • Speech recognition: New looseEvents option, default is false. When enabled, we will no longer follow observed browser event order. We will send finalized result event as early as possible. This will not break conformance to W3C specifications. By @compulim, in PR #79
  • Speech recognition: Create ponyfill using SpeechRecognizer object from microsoft-cognitiveservices-speech-sdk, by @compulim, in PR #73
  • credentials option is added for obtaining authorization token and region, or subscription key and region, in a single object or function call, by @compulim in PR #80
  • Speech recognition: Polyfill will have abort/stop function set to undefined if the underlying recognizer from Cognitive Services SDK does not support stop/abort, in PR #81

Changed

compulim
published 5.0.2-master.f0db5a5 •

compulim
published 5.0.2-master.e85a10c •

compulim
published 5.0.2-master.76db27f •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc