@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
package/build/dist/lib/index.js
CHANGED
|
@@ -7293,7 +7293,7 @@ _API_ready = new WeakMap(), _API_externalId = new WeakMap(), _API_layoutMode = n
|
|
|
7293
7293
|
return {
|
|
7294
7294
|
clientName: "@seamly/web-ui",
|
|
7295
7295
|
clientVariant: api_classPrivateFieldGet(this, _API_layoutMode, "f"),
|
|
7296
|
-
clientVersion: "21.0.
|
|
7296
|
+
clientVersion: "21.0.8",
|
|
7297
7297
|
currentUrl: window.location.toString(),
|
|
7298
7298
|
screenResolution: `${window.screen.width}x${window.screen.height}`,
|
|
7299
7299
|
timezone: getTimeZone(),
|
|
@@ -12686,12 +12686,7 @@ const {
|
|
|
12686
12686
|
;// CONCATENATED MODULE: ./src/javascripts/domains/interrupt/middleware.ts
|
|
12687
12687
|
|
|
12688
12688
|
|
|
12689
|
-
|
|
12690
|
-
|
|
12691
|
-
|
|
12692
|
-
|
|
12693
|
-
|
|
12694
|
-
const handledErrorTypes = [SeamlyGeneralError, SeamlyConfigurationError, SeamlySessionExpiredError, SeamlyOfflineError, SeamlyUnauthorizedError, SeamlyUnavailableError];
|
|
12689
|
+
const handledErrorTypes = ['SeamlyGeneralError', 'SeamlyConfigurationError', 'SeamlySessionExpiredError', 'SeamlyOfflineError', 'SeamlyUnauthorizedError', 'SeamlyUnavailableError'];
|
|
12695
12690
|
function createInterruptMiddleware({
|
|
12696
12691
|
api
|
|
12697
12692
|
}) {
|
|
@@ -12701,7 +12696,7 @@ function createInterruptMiddleware({
|
|
|
12701
12696
|
type
|
|
12702
12697
|
} = action;
|
|
12703
12698
|
if (type === setInterrupt.type) {
|
|
12704
|
-
if (!handledErrorTypes.
|
|
12699
|
+
if (!handledErrorTypes.includes(payload.name)) {
|
|
12705
12700
|
throw new SeamlyGeneralError(payload);
|
|
12706
12701
|
} else if (payload.action === 'reset') {
|
|
12707
12702
|
// [SMLY-942] We clear the store before a reset to force a new conversation if the page is refreshed before the conversation is reset
|