Skip to content

Commit 547f2a6

Browse files
author
Bob Potterveld
committed
fix capitalization error in create-iframe-snippet-file.sh
1 parent 9bf680c commit 547f2a6

File tree

6 files changed

+20
-17
lines changed

6 files changed

+20
-17
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/)
55
and this project adheres to [Semantic Versioning](http://semver.org/).
66

7+
## [0.19.1] - 2021-11-02
8+
- Fix reference to chatbotUiConfig in build/create-iframe-snippet-file.sh to correct capitalization error
9+
710
## [0.19.0] - 2021-10-22
811
- Adjust the OPTIONS request on the new API allowing Connect live chat to set Access-Control-Allow-Origin to the ParentOrigin supplied in the template
912
- Deliver full transcript of user interaction to agent when opening live chat to Connect

build/create-iframe-snippet-file.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ cat <<EOF > ${IFRAME_SNIPPET_FILE}
5353
shouldLoadMinDeps: true
5454
};
5555
var loader = new ChatBotUiLoader.IframeLoader(loaderOpts);
56-
var chatbotUiconfig = {
56+
var chatbotUiConfig = {
5757
/* Example of setting session attributes on parent page
5858
lex: {
5959
sessionAttributes: {

lex-web-ui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "lex-web-ui",
3-
"version": "0.19.0",
3+
"version": "0.19.1",
44
"description": "Amazon Lex Web Interface",
55
"author": "AWS",
66
"license": "Amazon Software License",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "aws-lex-web-ui",
3-
"version": "0.19.0",
3+
"version": "0.19.1",
44
"description": "Sample Amazon Lex Web Interface",
55
"main": "dist/lex-web-ui.min.js",
66
"repository": {

templates/master-pipeline.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
AWSTemplateFormatVersion: 2010-09-09
22
Description: |
3-
Master Pipeline Lex Web UI CloudFormation template (v0.19.0)
3+
Master Pipeline Lex Web UI CloudFormation template (v0.19.1)
44
It deploys:
55
- S3 buckets to host the web application
66
- CodeBuild project to build the configuration and deploy to S3
@@ -379,7 +379,7 @@ Resources:
379379
NamePrefix: !Ref BotNamePrefix
380380
ShouldDeleteBot: !Ref ShouldDeleteBot
381381
CustomResourceCodeBucket: !Ref BootstrapBucket
382-
CustomResourceCodeObject: !Sub "${BootstrapPrefix}/custom-resources-v0.19.0.zip"
382+
CustomResourceCodeObject: !Sub "${BootstrapPrefix}/custom-resources-v0.19.1.zip"
383383

384384
CognitoIdentityPool:
385385
Type: AWS::CloudFormation::Stack
@@ -423,8 +423,8 @@ Resources:
423423
- !GetAtt CognitoIdentityPool.Outputs.CognitoIdentityPoolId
424424
- !Ref CognitoIdentityPoolId
425425
SourceBucket: !Ref BootstrapBucket
426-
SourceObject: !Sub "${BootstrapPrefix}/src-v0.19.0.zip"
427-
CustomResourceCodeObject: !Sub "${BootstrapPrefix}/custom-resources-v0.19.0.zip"
426+
SourceObject: !Sub "${BootstrapPrefix}/src-v0.19.1.zip"
427+
CustomResourceCodeObject: !Sub "${BootstrapPrefix}/custom-resources-v0.19.1.zip"
428428

429429
Pipeline:
430430
Type: AWS::CloudFormation::Stack
@@ -453,8 +453,8 @@ Resources:
453453
- !Ref CognitoIdentityPoolId
454454
ParentOrigin: !Ref WebAppParentOrigin
455455
CustomResourceCodeBucket: !Ref BootstrapBucket
456-
CustomResourceCodeObject: !Sub "${BootstrapPrefix}/custom-resources-v0.19.0.zip"
457-
InitiateChatLambdaCodeObject: !Sub "${BootstrapPrefix}/initiate-chat-lambda-v0.19.0.zip"
456+
CustomResourceCodeObject: !Sub "${BootstrapPrefix}/custom-resources-v0.19.1.zip"
457+
InitiateChatLambdaCodeObject: !Sub "${BootstrapPrefix}/initiate-chat-lambda-v0.19.1.zip"
458458
CleanupBuckets: !Ref CleanupBuckets
459459
CognitoAppUserPoolClientId:
460460
!If
@@ -493,7 +493,7 @@ Resources:
493493
CodeBuildProjectName: !Ref CodeBuildName
494494
CognitoUserPool: !GetAtt CognitoIdentityPool.Outputs.CognitoUserPoolId
495495
CognitoUserPoolClient: !GetAtt CognitoIdentityPool.Outputs.CognitoUserPoolClientId
496-
Timestamp: 1634908350
496+
Timestamp: 1635867853
497497

498498
Outputs:
499499
BotName:

templates/master.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
AWSTemplateFormatVersion: 2010-09-09
22
Description: |
3-
Master Lex Web UI CloudFormation template (v0.19.0)
3+
Master Lex Web UI CloudFormation template (v0.19.1)
44
It deploys:
55
- S3 buckets to host the web application
66
- CodeBuild project to build the configuration and deploy to S3
@@ -485,7 +485,7 @@ Resources:
485485
NamePrefix: !Ref BotNamePrefix
486486
ShouldDeleteBot: !Ref ShouldDeleteBot
487487
CustomResourceCodeBucket: !Ref BootstrapBucket
488-
CustomResourceCodeObject: !Sub "${BootstrapPrefix}/custom-resources-v0.19.0.zip"
488+
CustomResourceCodeObject: !Sub "${BootstrapPrefix}/custom-resources-v0.19.1.zip"
489489

490490
CognitoIdentityPool:
491491
Type: AWS::CloudFormation::Stack
@@ -515,9 +515,9 @@ Resources:
515515
CodeBuildName: !Ref CodeBuildName
516516
SourceBucket: !Ref BootstrapBucket
517517
SourcePrefix: !Ref BootstrapPrefix
518-
SourceObject: !Sub "${BootstrapPrefix}/src-v0.19.0.zip"
519-
CustomResourceCodeObject: !Sub "${BootstrapPrefix}/custom-resources-v0.19.0.zip"
520-
InitiateChatLambdaCodeObject: !Sub "${BootstrapPrefix}/initiate-chat-lambda-v0.19.0.zip"
518+
SourceObject: !Sub "${BootstrapPrefix}/src-v0.19.1.zip"
519+
CustomResourceCodeObject: !Sub "${BootstrapPrefix}/custom-resources-v0.19.1.zip"
520+
InitiateChatLambdaCodeObject: !Sub "${BootstrapPrefix}/initiate-chat-lambda-v0.19.1.zip"
521521
CleanupBuckets: !Ref CleanupBuckets
522522
BotName:
523523
!If
@@ -578,7 +578,7 @@ Resources:
578578
ConnectChatEndedMessage: !Ref ConnectChatEndedMessage
579579
ConnectAttachChatTranscript: !Ref ConnectAttachChatTranscript
580580
ConnectLiveChatTerms: !Ref ConnectLiveChatTerms
581-
Timestamp: 1634908350
581+
Timestamp: 1635867853
582582

583583
CognitoIdentityPoolConfig:
584584
Type: AWS::CloudFormation::Stack
@@ -592,7 +592,7 @@ Resources:
592592
CodeBuildProjectName: !GetAtt CodeBuildDeploy.Outputs.CodeBuildProject
593593
CognitoUserPool: !GetAtt CognitoIdentityPool.Outputs.CognitoUserPoolId
594594
CognitoUserPoolClient: !GetAtt CognitoIdentityPool.Outputs.CognitoUserPoolClientId
595-
Timestamp: 1634908350
595+
Timestamp: 1635867853
596596

597597
Outputs:
598598
BotName:

0 commit comments

Comments
 (0)