@inboxsdk/core 2.1.7 → 2.1.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/inboxsdk.js CHANGED
@@ -831,7 +831,7 @@ function isElementVisible(el) {
831
831
 
832
832
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment -- SDK_VERSION is injected by webpack
833
833
  ///@ts-ignore
834
- const BUILD_VERSION = "2.1.7-1696975882883-dc806bd6905037f1";
834
+ const BUILD_VERSION = "2.1.8-1697045653546-3f2c1ddd76535c28";
835
835
  if (false) {}
836
836
 
837
837
  /***/ }),
@@ -10846,7 +10846,7 @@ options.insert = htmlElement => {
10846
10846
  htmlElement.setAttribute('data-inboxsdk-version',
10847
10847
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment -- this is injected by webpack
10848
10848
  ///@ts-ignore
10849
- "2.1.7-1696975882883-dc806bd6905037f1");
10849
+ "2.1.8-1697045653546-3f2c1ddd76535c28");
10850
10850
  document.head.append(htmlElement);
10851
10851
  };
10852
10852
  options.domAPI = (styleDomAPI_default());
@@ -16446,7 +16446,10 @@ class GmailRouteView {
16446
16446
  return !!this._getThreadContainerElement();
16447
16447
  }
16448
16448
  _isListRoute() {
16449
- return this._type === 'CUSTOM_LIST' || this._gmailRouteProcessor.isListRouteName(this._name);
16449
+ const rowListElements = gmail_element_getter/* default.getRowListElements */.Z.getRowListElements();
16450
+ return (this._type === 'CUSTOM_LIST' || this._gmailRouteProcessor.isListRouteName(this._name)) &&
16451
+ // this case is for when you're on a THREAD route, but the thread renders a list like our thread breaker does
16452
+ rowListElements != null && rowListElements.length > 0;
16450
16453
  }
16451
16454
  _isSettingsRoute() {
16452
16455
  return this._gmailRouteProcessor.isSettingsRouteName(this._name);
@@ -19417,7 +19420,7 @@ options.insert = htmlElement => {
19417
19420
  htmlElement.setAttribute('data-inboxsdk-version',
19418
19421
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment -- this is injected by webpack
19419
19422
  ///@ts-ignore
19420
- "2.1.7-1696975882883-dc806bd6905037f1");
19423
+ "2.1.8-1697045653546-3f2c1ddd76535c28");
19421
19424
  document.head.append(htmlElement);
19422
19425
  };
19423
19426
  options.domAPI = (styleDomAPI_default());