@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.
@@ -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.7",
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 (!some_default()(handledErrorTypes).call(handledErrorTypes, ErrorType => payload.name === ErrorType.name)) {
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