@digipair/skill-web-voice-activity-detection 0.58.2 → 0.58.3

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/index.cjs.js CHANGED
@@ -3,7 +3,6 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var engine = require('@digipair/engine');
6
- require('https://cdn.jsdelivr.net/npm/onnxruntime-web/dist/ort.js');
7
6
  require('https://cdn.jsdelivr.net/npm/@ricky0123/vad-web@0.0.22/dist/bundle.min.js');
8
7
 
9
8
  function _extends() {
package/index.esm.js CHANGED
@@ -1,4 +1,3 @@
1
- import 'https://cdn.jsdelivr.net/npm/onnxruntime-web/dist/ort.js';
2
1
  import 'https://cdn.jsdelivr.net/npm/@ricky0123/vad-web@0.0.22/dist/bundle.min.js';
3
2
 
4
3
  function _extends() {
@@ -23902,14 +23901,14 @@ function indent(str, spaces) {
23902
23901
  var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
23903
23902
  // match is required
23904
23903
  if (!match) {
23905
- return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
23904
+ return tokens = tokens1, nextMatch = nextMatch1, i = i1, {
23906
23905
  v: nextMatch1
23907
23906
  };
23908
23907
  }
23909
23908
  var token = match.token, offset = match.offset;
23910
23909
  i1 += offset;
23911
23910
  if (token === " ") {
23912
- return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
23911
+ return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
23913
23912
  }
23914
23913
  tokens1 = _to_consumable_array$1(tokens1).concat([
23915
23914
  token
@@ -23928,7 +23927,7 @@ function indent(str, spaces) {
23928
23927
  if (contextKeys.some(function(el) {
23929
23928
  return el.startsWith(name);
23930
23929
  })) {
23931
- return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
23930
+ return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
23932
23931
  }
23933
23932
  if (dateTimeIdentifiers.some(function(el) {
23934
23933
  return el === name;
@@ -23947,9 +23946,9 @@ function indent(str, spaces) {
23947
23946
  if (dateTimeIdentifiers.some(function(el) {
23948
23947
  return el.startsWith(name);
23949
23948
  })) {
23950
- return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
23949
+ return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
23951
23950
  }
23952
- return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
23951
+ return tokens = tokens1, nextMatch = nextMatch1, i = i1, {
23953
23952
  v: nextMatch1
23954
23953
  };
23955
23954
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-web-voice-activity-detection",
3
- "version": "0.58.2",
3
+ "version": "0.58.3",
4
4
  "dependencies": {},
5
5
  "main": "./index.cjs.js",
6
6
  "module": "./index.esm.js"
@@ -1,5 +1,4 @@
1
1
  import { PinsSettings } from '@digipair/engine';
2
- import 'https://cdn.jsdelivr.net/npm/onnxruntime-web/dist/ort.js';
3
2
  import 'https://cdn.jsdelivr.net/npm/@ricky0123/vad-web@0.0.22/dist/bundle.min.js';
4
3
  export declare const listen: (params: any, pinsSettingsList: PinsSettings[], context: any) => Promise<any>;
5
4
  export declare const start: (params: any, pinsSettingsList: PinsSettings[], context: any) => Promise<any>;