Skip to content

Commit

Permalink
v1.9.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mastashake08 committed Jan 23, 2023
1 parent 7035dc3 commit b411f97
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions SpeechKit.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@ export default class SpeechKit {
this.synth.speak(this.utterance)
}

shutup () {
this.synth.cancel()
}

/**
* Get current SpeechRecognition resultsList.
* @returns {SpeechRecognitionResultList} - List of Speech Recognition results
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mastashake08/speech-kit",
"version": "1.9.1",
"version": "1.9.2",
"description": "Package for simplifying the Speech Recognition and Speech Utterence process.",
"main": "SpeechKit.js",
"scripts": {
Expand Down

0 comments on commit b411f97

Please sign in to comment.