@seamly/web-ui 21.0.7 → 21.0.8
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/build/dist/lib/components.js +2 -7
- package/build/dist/lib/hooks.js +2 -7
- package/build/dist/lib/index.debug.js +2 -2
- package/build/dist/lib/index.debug.min.js +1 -1
- package/build/dist/lib/index.js +3 -8
- package/build/dist/lib/index.min.js +1 -1
- package/build/dist/lib/standalone.js +3 -8
- package/build/dist/lib/standalone.min.js +1 -1
- package/build/dist/lib/style-guide.js +3 -8
- package/build/dist/lib/style-guide.min.js +1 -1
- package/build/dist/lib/utils.js +3 -8
- package/build/dist/lib/utils.min.js +1 -1
- package/package.json +1 -1
- package/src/javascripts/domains/interrupt/middleware.ts +7 -14
|
@@ -17008,7 +17008,7 @@ _API_ready = new (weak_map_default())(), _API_externalId = new (weak_map_default
|
|
|
17008
17008
|
return {
|
|
17009
17009
|
clientName: "@seamly/web-ui",
|
|
17010
17010
|
clientVariant: api_classPrivateFieldGet(this, _API_layoutMode, "f"),
|
|
17011
|
-
clientVersion: "21.0.
|
|
17011
|
+
clientVersion: "21.0.8",
|
|
17012
17012
|
currentUrl: window.location.toString(),
|
|
17013
17013
|
screenResolution: `${window.screen.width}x${window.screen.height}`,
|
|
17014
17014
|
timezone: getTimeZone(),
|
|
@@ -22558,12 +22558,7 @@ const {
|
|
|
22558
22558
|
|
|
22559
22559
|
|
|
22560
22560
|
|
|
22561
|
-
|
|
22562
|
-
|
|
22563
|
-
|
|
22564
|
-
|
|
22565
|
-
|
|
22566
|
-
const handledErrorTypes = [SeamlyGeneralError, SeamlyConfigurationError, SeamlySessionExpiredError, SeamlyOfflineError, SeamlyUnauthorizedError, SeamlyUnavailableError];
|
|
22561
|
+
const handledErrorTypes = ['SeamlyGeneralError', 'SeamlyConfigurationError', 'SeamlySessionExpiredError', 'SeamlyOfflineError', 'SeamlyUnauthorizedError', 'SeamlyUnavailableError'];
|
|
22567
22562
|
function createInterruptMiddleware(_ref) {
|
|
22568
22563
|
let {
|
|
22569
22564
|
api
|
|
@@ -22574,7 +22569,7 @@ function createInterruptMiddleware(_ref) {
|
|
|
22574
22569
|
type
|
|
22575
22570
|
} = action;
|
|
22576
22571
|
if (type === setInterrupt.type) {
|
|
22577
|
-
if (!
|
|
22572
|
+
if (!includes_default()(handledErrorTypes).call(handledErrorTypes, payload.name)) {
|
|
22578
22573
|
throw new SeamlyGeneralError(payload);
|
|
22579
22574
|
} else if (payload.action === 'reset') {
|
|
22580
22575
|
// [SMLY-942] We clear the store before a reset to force a new conversation if the page is refreshed before the conversation is reset
|