@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
|
@@ -7249,7 +7249,7 @@ _API_ready = new WeakMap(), _API_externalId = new WeakMap(), _API_layoutMode = n
|
|
|
7249
7249
|
return {
|
|
7250
7250
|
clientName: "@seamly/web-ui",
|
|
7251
7251
|
clientVariant: api_classPrivateFieldGet(this, _API_layoutMode, "f"),
|
|
7252
|
-
clientVersion: "21.0.
|
|
7252
|
+
clientVersion: "21.0.8",
|
|
7253
7253
|
currentUrl: window.location.toString(),
|
|
7254
7254
|
screenResolution: `${window.screen.width}x${window.screen.height}`,
|
|
7255
7255
|
timezone: getTimeZone(),
|
|
@@ -12642,12 +12642,7 @@ const {
|
|
|
12642
12642
|
;// CONCATENATED MODULE: ./src/javascripts/domains/interrupt/middleware.ts
|
|
12643
12643
|
|
|
12644
12644
|
|
|
12645
|
-
|
|
12646
|
-
|
|
12647
|
-
|
|
12648
|
-
|
|
12649
|
-
|
|
12650
|
-
const handledErrorTypes = [SeamlyGeneralError, SeamlyConfigurationError, SeamlySessionExpiredError, SeamlyOfflineError, SeamlyUnauthorizedError, SeamlyUnavailableError];
|
|
12645
|
+
const handledErrorTypes = ['SeamlyGeneralError', 'SeamlyConfigurationError', 'SeamlySessionExpiredError', 'SeamlyOfflineError', 'SeamlyUnauthorizedError', 'SeamlyUnavailableError'];
|
|
12651
12646
|
function createInterruptMiddleware({
|
|
12652
12647
|
api
|
|
12653
12648
|
}) {
|
|
@@ -12657,7 +12652,7 @@ function createInterruptMiddleware({
|
|
|
12657
12652
|
type
|
|
12658
12653
|
} = action;
|
|
12659
12654
|
if (type === setInterrupt.type) {
|
|
12660
|
-
if (!handledErrorTypes.
|
|
12655
|
+
if (!handledErrorTypes.includes(payload.name)) {
|
|
12661
12656
|
throw new SeamlyGeneralError(payload);
|
|
12662
12657
|
} else if (payload.action === 'reset') {
|
|
12663
12658
|
// [SMLY-942] We clear the store before a reset to force a new conversation if the page is refreshed before the conversation is reset
|