Skip to content

Commit 16d1342

Browse files
authored
Merge pull request #768 from aws-samples/development
Release 0.21.6
2 parents 442b3ed + de518e5 commit 16d1342

30 files changed

+45169
-32360
lines changed

build/update-lex-web-ui-config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,9 @@ const lexV2BotLocaleVoices = {
147147
'CONNECT_START_LIVE_CHAT_ICON',
148148
'CONNECT_END_LIVE_CHAT_LABEL',
149149
'CONNECT_END_LIVE_CHAT_ICON',
150+
'CONNECT_END_LIVE_CHAT_UTTERANCE',
150151
'CONNECT_TRANSCRIPT_MESSAGE_DELAY_IN_MSEC',
152+
'CONNECT_TRANSCRIPT_REDACT_REGEX',
151153
'APP_DOMAIN_NAME',
152154
'UI_TOOLBAR_TITLE',
153155
'UI_TOOLBAR_LOGO',

config/base.env.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ module.exports = {
2323
chatEndedMessage: process.env.CONNECT_CHAT_ENDED_MESSAGE,
2424
attachChatTranscript: process.env.CONNECT_ATTACH_CHAT_TRANSCRIPT,
2525
liveChatTerms: process.env.CONNECT_LIVE_CHAT_TERMS,
26+
endLiveChatUtterance: process.env.CONNECT_END_LIVE_CHAT_UTTERANCE,
2627
transcriptMessageDelayInMsec: process.env.CONNECT_TRANSCRIPT_MESSAGE_DELAY_IN_MSEC,
28+
transcriptRedactRegex: process.env.CONNECT_TRANSCRIPT_REDACT_REGEX,
2729
},
2830
lex: {
2931
v2BotId: process.env.V2_BOT_ID,

config/env.mk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ export CONNECT_START_LIVE_CHAT_LABEL ?= $()
3636
export CONNECT_START_LIVE_CHAT_ICON ?= $()
3737
export CONNECT_END_LIVE_CHAT_LABEL ?= $()
3838
export CONNECT_END_LIVE_CHAT_ICON ?= $()
39+
export CONNECT_END_LIVE_CHAT_UTTERANCE ?= $()
3940
export CONNECT_TRANSCRIPT_MESSAGE_DELAY_IN_MSEC ?= $()
41+
export CONNECT_TRANSCRIPT_REDACT_REGEX ?= $()
4042
export BOT_INITIAL_TEXT ?= $()
4143
export BOT_INITIAL_SPEECH ?= $()
4244
export BOT_INITIAL_UTTERANCE ?= $()

config/utils/merge-config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ module.exports = function mergeConfig(baseConfig, srcConfig) {
3333
key=== 'initialText' ||
3434
key=== 'avatarImageUrl' ||
3535
key=== 'toolbarLogo' ||
36+
key=== 'streamingWebSocketEndpoint' ||
37+
key=== 'streamingDynamoDbTable' ||
3638
!isEmpty(srcConfig[key]) ) {
3739
value = (typeof (baseConfig[key]) === 'object') ?
3840
// recursively merge sub-objects in both directions

dist/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
font-src 'self' fonts.gstatic.com;
1515
upgrade-insecure-requests;">
1616
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, minimal-ui">
17-
<title>LexWebUi Demo</title>
17+
<title>LexWebUi</title>
1818
<!-- empty favicon to avoid 404 -->
1919
<link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII=" rel="icon" type="image/x-icon" />
2020

dist/lex-web-ui-loader.js

Lines changed: 790 additions & 65 deletions
Large diffs are not rendered by default.

dist/lex-web-ui-loader.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)