@eka-care/ekascribe-ts-sdk 2.0.23 → 2.0.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -11207,7 +11207,7 @@ class EkaScribeStore {
|
|
|
11207
11207
|
}
|
|
11208
11208
|
// Reset store to initial state
|
|
11209
11209
|
resetStore() {
|
|
11210
|
-
this._txnID = "", this._sessionBucketPath = "", this._sessionStatus = {}, this.
|
|
11210
|
+
this._txnID = "", this._sessionBucketPath = "", this._sessionStatus = {}, this._userSpeechCallback = null, this._eventCallback = null, this._vadFramesCallback = null, this._vadFrameProcessedCallback = null;
|
|
11211
11211
|
}
|
|
11212
11212
|
}
|
|
11213
11213
|
const EkaScribeStore$1 = EkaScribeStore.getInstance();
|
|
@@ -54450,7 +54450,7 @@ const decodeApiResponse = (i) => {
|
|
|
54450
54450
|
return this.audioFileManagerInstance.getTotalAudioChunks();
|
|
54451
54451
|
}
|
|
54452
54452
|
resetEkaScribe() {
|
|
54453
|
-
this.audioFileManagerInstance.resetFileManagerInstance(), this.audioBufferInstance.resetBufferManagerInstance(), this.vadInstance.resetVadWebInstance(), EkaScribeStore$1.resetStore()
|
|
54453
|
+
this.audioFileManagerInstance.resetFileManagerInstance(), this.audioBufferInstance.resetBufferManagerInstance(), this.vadInstance.resetVadWebInstance(), EkaScribeStore$1.resetStore();
|
|
54454
54454
|
}
|
|
54455
54455
|
onUserSpeechCallback(a) {
|
|
54456
54456
|
EkaScribeStore$1.userSpeechCallback = a;
|