uneeq-js 3.0.16-preview.8 → 3.0.16-preview.81
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/README.md +4 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +1 -614
- package/dist/index.js.LICENSE.txt +5 -0
- package/dist/lib/logger.d.ts +6 -6
- package/dist/session.d.ts +12 -3
- package/dist/signaling.d.ts +22 -5
- package/dist/signaling.spec.d.ts +1 -0
- package/dist/speech-recognition.d.ts +21 -9
- package/dist/speech-recognition_back-up.d.ts +42 -0
- package/dist/types/ChatMetadata.d.ts +9 -0
- package/dist/types/PromptMetadata.d.ts +10 -0
- package/dist/types/PromptRequest.d.ts +4 -0
- package/dist/types/PromptResult.d.ts +14 -0
- package/dist/types/SessionEnded.d.ts +9 -0
- package/dist/types/SignalingEvents.d.ts +20 -5
- package/dist/types/SpeechEvent.d.ts +6 -0
- package/dist/types/SpeechHandlerOptions.d.ts +11 -4
- package/dist/types/SpeechRecognitionStartMessage.d.ts +2 -1
- package/dist/types/UneeqConfig.d.ts +22 -4
- package/dist/types/UneeqMessages.d.ts +117 -50
- package/dist/types/dhop-messages.d.ts +4 -0
- package/dist/uneeq.d.ts +9 -4
- package/dist/webrtc-data-channel/DataChannelAction.d.ts +6 -1
- package/dist/webrtc-data-channel/DataChannelActionType.d.ts +5 -1
- package/dist/webrtc-data-channel/DataChannelResponse.d.ts +11 -0
- package/dist/webrtc-data-channel/SpeakRequest.d.ts +7 -0
- package/dist/webrtc-data-channel/messages/CameraAnchor.d.ts +25 -0
- package/dist/webrtc-data-channel/messages/ChatPrompt.d.ts +13 -0
- package/dist/webrtc-data-channel/messages/EndSession.d.ts +5 -0
- package/dist/webrtc-data-channel/messages/Speak.d.ts +11 -0
- package/dist/webrtc-data-channel/messages/SpeakRequest.d.ts +10 -0
- package/dist/webrtc-data-channel/messages/StopSpeaking.d.ts +8 -0
- package/dist/webrtc-data-channel/messages/UserSpeaking.d.ts +15 -0
- package/package.json +5 -3
- package/dist/lib/logConfig.d.ts +0 -5
- package/dist/types/DataChannelMessage.d.ts +0 -5
- package/dist/webrtc-data-channel/chat-prompt.d.ts +0 -7
- package/dist/webrtc-data-channel/data-channel-action-type.d.ts +0 -3
- package/dist/webrtc-data-channel/data-channel-action.d.ts +0 -5
- package/dist/webrtc-data-channel/data-channel-message.d.ts +0 -4
package/README.md
CHANGED
|
@@ -8,11 +8,15 @@ This project is a web npm package used to connect to Uneeq's Digital Human Orche
|
|
|
8
8
|
#### Start:
|
|
9
9
|
`npm start`
|
|
10
10
|
|
|
11
|
+
#### Run Tests:
|
|
12
|
+
`npm test`
|
|
13
|
+
|
|
11
14
|
#### Local testing
|
|
12
15
|
|
|
13
16
|
See [./example/README.md](./example/README.md)
|
|
14
17
|
|
|
15
18
|
#### Lint
|
|
19
|
+
|
|
16
20
|
Eslint is used in this project and can be run with `npm run lint`. You may find it easier to install VSCode plugin `eslint` to see lint errors in editor. Additionally adding the following option to the plugin settings will fix errors on save:
|
|
17
21
|
|
|
18
22
|
`"editor.codeActionsOnSave": {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
1
|
export type { UneeqConfig } from './types/UneeqConfig';
|
|
2
2
|
export * from './types/UneeqMessages';
|
|
3
3
|
export { Uneeq } from './uneeq';
|
|
4
|
+
export type { SpeechTranscriptionResult } from './types/SpeechTranscriptionResult';
|
|
5
|
+
export { CameraAnchorPosition } from './webrtc-data-channel/messages/CameraAnchor';
|
|
6
|
+
export { LogLevel } from './types/LogLevel';
|