Skip to content

Commit f6da65d

Browse files
author
Austin Johnson
committed
release 0.23.0
1 parent 53fe8eb commit f6da65d

17 files changed

+231
-1845
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ 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.23.0] - 2025-10-3
8+
- Remove all reference to Lex v1 as it has been deprecated
9+
- Revamp how token refreshes work to resolve some issues that were introduced when migrating to SDKv3
10+
- Add example CSS files to repo for users who want an easier starting point.
11+
712
## [0.22.5] - 2025-09-10
813
- Update live chat text transcription applying redaction when required.
914
- Fix issue with live chat not closing on browser or window closing.

dist/lex-web-ui-loader.js

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44266,9 +44266,7 @@ __webpack_require__.r(__webpack_exports__);
4426644266

4426744267
const configBase = {
4426844268
region: '',
44269-
lex: {
44270-
botName: ''
44271-
},
44269+
lex: {},
4427244270
cognito: {
4427344271
poolId: ''
4427444272
},
@@ -45769,11 +45767,16 @@ class IframeComponentLoader {
4576945767
},
4577045768
// requests credentials from the parent
4577145769
getCredentials(evt) {
45772-
const tcreds = JSON.parse(JSON.stringify(this.credentials));
45773-
return evt.ports[0].postMessage({
45774-
event: 'resolve',
45775-
type: evt.data.event,
45776-
data: tcreds
45770+
const {
45771+
poolId: cognitoPoolId
45772+
} = this.config.cognito;
45773+
const region = this.config.cognito.region;
45774+
this.getCredentials(cognitoPoolId, region).then(creds => {
45775+
return evt.ports[0].postMessage({
45776+
event: 'resolve',
45777+
type: evt.data.event,
45778+
data: creds
45779+
});
4577745780
});
4577845781
},
4577945782
// requests chatbot UI config

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.

dist/lex-web-ui-loader.min.css

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

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

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* lex-web-ui v0.22.5
2+
* lex-web-ui v0.23.0
33
* (c) 2017-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
44
* Released under the Amazon Software License.
55
*/
@@ -34681,9 +34681,7 @@ var runtime = __webpack_require__(10490);
3468134681

3468234682
const configBase = {
3468334683
region: '',
34684-
lex: {
34685-
botName: ''
34686-
},
34684+
lex: {},
3468734685
cognito: {
3468834686
poolId: ''
3468934687
},
@@ -37863,11 +37861,16 @@ class IframeComponentLoader {
3786337861
},
3786437862
// requests credentials from the parent
3786537863
getCredentials(evt) {
37866-
const tcreds = JSON.parse(JSON.stringify(this.credentials));
37867-
return evt.ports[0].postMessage({
37868-
event: 'resolve',
37869-
type: evt.data.event,
37870-
data: tcreds
37864+
const {
37865+
poolId: cognitoPoolId
37866+
} = this.config.cognito;
37867+
const region = this.config.cognito.region;
37868+
this.getCredentials(cognitoPoolId, region).then(creds => {
37869+
return evt.ports[0].postMessage({
37870+
event: 'resolve',
37871+
type: evt.data.event,
37872+
data: creds
37873+
});
3787137874
});
3787237875
},
3787337876
// requests chatbot UI config

dist/lex-web-ui-loader.min.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.

dist/lex-web-ui.js

Lines changed: 158 additions & 1783 deletions
Large diffs are not rendered by default.

dist/lex-web-ui.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.

dist/lex-web-ui.min.css

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/lex-web-ui.min.js

Lines changed: 22 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)