@lls/lls-audio 0.0.67 → 0.0.69

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lls/lls-audio",
3
- "version": "0.0.67",
3
+ "version": "0.0.69",
4
4
  "main": "index.js",
5
5
  "devDependencies": {
6
6
  "@kadira/storybook": "2.21.0",
package/player/Play.js CHANGED
@@ -24,7 +24,6 @@ var generateStyles = function generateStyles(_ref) {
24
24
  transitionDuration = _ref.transitionDuration;
25
25
  return _noImportant.StyleSheet.create({
26
26
  play_button_wrapper: {
27
- height: '100%',
28
27
  width: size * 2.5,
29
28
  height: size * 2.5,
30
29
  color: '#6d6d6d',
@@ -21,10 +21,6 @@ var _similarity = require('similarity');
21
21
 
22
22
  var _similarity2 = _interopRequireDefault(_similarity);
23
23
 
24
- var _fileSaver = require('file-saver');
25
-
26
- var _fileSaver2 = _interopRequireDefault(_fileSaver);
27
-
28
24
  var _reactSpeechRecognizer = require('react-speech-recognizer');
29
25
 
30
26
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -34,12 +30,14 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
34
30
  function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
35
31
 
36
32
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
33
+ //import FileSaver from 'file-saver'
34
+
37
35
 
38
36
  var SIMILARITY_THRESHOLD = 0.8;
39
37
  var isSpeechRecognitionAvailable = (0, _reactSpeechRecognizer.speechRecognitionAvailable)();
40
38
 
41
39
  var debug = function debug(wav) {
42
- _fileSaver2.default.saveAs(wav, 'test.wav');
40
+ //FileSaver.saveAs(wav, 'test.wav')
43
41
  };
44
42
 
45
43
  var sendFileToSpeechToTextApi = function sendFileToSpeechToTextApi(API_URL, wav) {