uneeq-js 2.46.4 → 2.46.7

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.
@@ -0,0 +1,23 @@
1
+ /*!
2
+ * The buffer module from node.js, for the browser.
3
+ *
4
+ * @author Feross Aboukhadijeh <https://feross.org>
5
+ * @license MIT
6
+ */
7
+
8
+ /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
9
+
10
+ /*! queue-microtask. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
11
+
12
+ /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
13
+
14
+ /*! simple-peer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
15
+
16
+ /**
17
+ * @license
18
+ * Lodash <https://lodash.com/>
19
+ * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
20
+ * Released under MIT license <https://lodash.com/license>
21
+ * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
22
+ * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
23
+ */
@@ -1,5 +1,4 @@
1
- import { BehaviorSubject } from 'rxjs/BehaviorSubject';
2
- import { Subject } from 'rxjs/Subject';
1
+ import { BehaviorSubject, Subject } from 'rxjs';
3
2
  import { Message } from './message';
4
3
  import { MessagingOptions } from './messaging-options';
5
4
  import { MessagingState } from './messaging-state';
@@ -0,0 +1,3 @@
1
+ export interface FaceMeMessage {
2
+ faceMeMessageType: string;
3
+ }
@@ -1,4 +1,5 @@
1
1
  export declare enum VoiceInputMode {
2
2
  PUSH_TO_TALK = "PUSH_TO_TALK",
3
- VOICE_ACTIVITY = "VOICE_ACTIVITY"
3
+ VOICE_ACTIVITY = "VOICE_ACTIVITY",
4
+ SPEECH_RECOGNITION = "SPEECH_RECOGNITION"
4
5
  }
@@ -1,5 +1,4 @@
1
1
  import { BehaviorSubject } from 'rxjs';
2
- import 'rxjs/add/operator/filter';
3
2
  import { UneeqOptions } from './types/types';
4
3
  import { VoiceInputMode } from './types/VoiceInputMode';
5
4
  export declare class Uneeq {
@@ -93,15 +92,15 @@ export declare class Uneeq {
93
92
  * stopRecording should be called when finished speaking.
94
93
  */
95
94
  startRecording(): void;
95
+ /**
96
+ * Stop Recording voice audio through microphone. Call this method after startRecording has been called.
97
+ */
98
+ stopRecording(): void;
96
99
  /**
97
100
  * Stop the avatar from speaking. This will stop avatar speaking even if interrupts are turned off.
98
101
  * When successful a corresponding AvatarRequestCompleted should be received.
99
102
  */
100
103
  stopSpeaking(): Promise<void>;
101
- /**
102
- * Stop Recording voice audio through microphone. Call this method after startRecording has been called.
103
- */
104
- stopRecording(): void;
105
104
  /**
106
105
  * Pauses a live session. Local video and audio will stop being sent and remote avatar video audio will be stopped.
107
106
  * On success, SessionPausedMessage will be sent.