@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.
@@ -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.7",
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.some(ErrorType => payload.name === ErrorType.name)) {
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