@eka-care/ekascribe-ts-sdk 2.0.56 → 2.0.57

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.
Files changed (2) hide show
  1. package/dist/index.mjs +2 -2
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -53039,8 +53039,8 @@ class VadWebClient {
53039
53039
  s?.incrementTotalRawSamples(m), n?.append(m);
53040
53040
  const y = EkaScribeStore$1.vadFrameProcessedCallback;
53041
53041
  if (y) {
53042
- const o = n?.getDurationInSeconds() || 0;
53043
- y({ probabilities: u, frame: m, duration: o });
53042
+ const h = (s?.getRawSampleDetails()?.totalRawSamples || 0) / SAMPLING_RATE;
53043
+ y({ probabilities: u, frame: m, duration: h });
53044
53044
  }
53045
53045
  if (!this.recording_started)
53046
53046
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eka-care/ekascribe-ts-sdk",
3
- "version": "2.0.56",
3
+ "version": "2.0.57",
4
4
  "description": "EkaScribe TypeScript SDK - Modern ES2020 build",
5
5
  "main": "dist/index.mjs",
6
6
  "module": "dist/index.mjs",