uneeq-js 2.42.3 → 2.43.0
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.
|
@@ -53,4 +53,12 @@ export interface UneeqOptions {
|
|
|
53
53
|
* This option specifies what the default voice input mode will be.
|
|
54
54
|
*/
|
|
55
55
|
voiceInputMode: VoiceInputMode | string;
|
|
56
|
+
/**
|
|
57
|
+
* This option specifies the URL of the background image to be used when the digital human is rendered.
|
|
58
|
+
*/
|
|
59
|
+
backgroundImageUrl?: string;
|
|
60
|
+
/**
|
|
61
|
+
* This option specifies the URL of the name tag image to be used when the digital human is rendered.
|
|
62
|
+
*/
|
|
63
|
+
nameTagImageUrl?: string;
|
|
56
64
|
}
|
package/dist/umd/index.js
CHANGED
|
@@ -5785,6 +5785,8 @@ class Uneeq {
|
|
|
5785
5785
|
this.options.sendLocalAudio = options.sendLocalAudio === undefined ? true : options.sendLocalAudio;
|
|
5786
5786
|
this.options.enableClientPerformanceMessage = options.enableClientPerformanceMessage || false;
|
|
5787
5787
|
this.options.enableTransparentBackground = options.enableTransparentBackground || false;
|
|
5788
|
+
this.options.backgroundImageUrl = options.backgroundImageUrl || '';
|
|
5789
|
+
this.options.nameTagImageUrl = options.nameTagImageUrl || '';
|
|
5788
5790
|
// TODO update default mode to VOICE_ACTIVITY once we are confident in the solution.
|
|
5789
5791
|
this.options.voiceInputMode = options.voiceInputMode || VoiceInputMode_1.VoiceInputMode.PUSH_TO_TALK;
|
|
5790
5792
|
this.api = new api_1.API(this.options.url, this.options.apiKey);
|
|
@@ -6132,7 +6134,11 @@ class Uneeq {
|
|
|
6132
6134
|
};
|
|
6133
6135
|
this.internalMessages$.next({ faceMeMessageType: 'prom', promMsg: availabilityChkMetric });
|
|
6134
6136
|
this.messages.next(new MessageTypes_1.AvatarAvailableMessage());
|
|
6135
|
-
this.api.avatarStart({
|
|
6137
|
+
this.api.avatarStart({
|
|
6138
|
+
enableTransparentBackground: this.options.enableTransparentBackground,
|
|
6139
|
+
backgroundImageUrl: this.options.backgroundImageUrl,
|
|
6140
|
+
nameTagImageUrl: this.options.nameTagImageUrl
|
|
6141
|
+
});
|
|
6136
6142
|
}
|
|
6137
6143
|
else {
|
|
6138
6144
|
if (!this.unavailableAvatarMsgSent) {
|
|
@@ -18110,7 +18116,7 @@ function zipAll(project) {
|
|
|
18110
18116
|
/* 224 */
|
|
18111
18117
|
/***/ (function(module) {
|
|
18112
18118
|
|
|
18113
|
-
module.exports = JSON.parse("{\"name\":\"uneeq-js\",\"version\":\"2.
|
|
18119
|
+
module.exports = JSON.parse("{\"name\":\"uneeq-js\",\"version\":\"2.43.0\",\"description\":\"\",\"main\":\"dist/index.js\",\"types\":\"dist/src/index.d.ts\",\"scripts\":{\"start\":\"npx webpack -w\",\"test-local\":\"./node_modules/karma/bin/karma start karma.conf.js -logLevel=DEBUG\",\"test\":\"./node_modules/karma/bin/karma start --browsers ChromeHeadless --single-run\",\"test:windows\":\"karma start karma.conf.js\",\"build\":\"webpack --config webpack.config.prod.js && webpack --config webpack.config.umd.js\",\"lint\":\"./node_modules/tslint/bin/tslint -p tsconfig.json --fix\",\"docs\":\"./node_modules/typedoc/bin/typedoc --options\"},\"files\":[\"dist\",\"!dist/test\"],\"author\":\"\",\"license\":\"ISC\",\"dependencies\":{\"@stomp/stompjs\":\"^6.0.0\",\"@uehreka/seriously\":\"^1.0.1\",\"fast-text-encoding\":\"^1.0.0\",\"intrinsic-scale\":\"^3.0.4\",\"promjs\":\"^0.4.1\",\"rxjs\":\"^6.2.2\",\"rxjs-compat\":\"^6.3.2\",\"simple-peer\":\"9.11.0\",\"webrtc-adapter\":\"8.1.0\"},\"devDependencies\":{\"@types/jasmine\":\"^2.8.8\",\"@types/node\":\"^10.9.4\",\"fetch-mock\":\"7.7.3\",\"ignore-styles\":\"^5.0.1\",\"jasmine\":\"^3.2.0\",\"jasmine-class-mock\":\"^1.0.1\",\"jasmine-core\":\"^3.3.0\",\"karma\":\"^5.0.0\",\"karma-chrome-launcher\":\"^2.2.0\",\"karma-firefox-launcher\":\"^1.1.0\",\"karma-jasmine\":\"^2.0.1\",\"karma-jasmine-html-reporter\":\"^1.4.0\",\"karma-requirejs\":\"^1.1.0\",\"karma-safari-launcher\":\"^1.0.0\",\"karma-typescript\":\"^5.0.0\",\"karma-typescript-es6-transform\":\"^5.0.0\",\"nock\":\"^9.6.1\",\"requirejs\":\"^2.3.6\",\"ts-loader\":\"^5.0.0\",\"ts-node\":\"^7.0.1\",\"tslint\":\"^5.11.0\",\"tslint-no-focused-test\":\"^0.5.0\",\"typedoc\":\"^0.18.0\",\"typescript\":\"^3.9.7\",\"webpack\":\"^4.17.1\",\"webpack-cli\":\"^3.1.0\"}}");
|
|
18114
18120
|
|
|
18115
18121
|
/***/ }),
|
|
18116
18122
|
/* 225 */
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -8,6 +8,9 @@ https://docs.uneeq.io/build-your-own-experience
|
|
|
8
8
|
To use uneeq-js with a typescript version < 3.8, 'skipLibCheck' must be set to true.
|
|
9
9
|
|
|
10
10
|
## Release Notes
|
|
11
|
+
#### 2.43.0
|
|
12
|
+
* Adding support for setting a background image and name tag image when starting a session using new fields in UneeqOptions. Url restrictions apply, please reach out to the Customer Service team.
|
|
13
|
+
|
|
11
14
|
#### 2.42.3
|
|
12
15
|
* Fixed issue that caused voiceActivity input not to work when using autoStart
|
|
13
16
|
|