@inboxsdk/core 2.2.2 → 2.2.3
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
|
@@ -371,7 +371,7 @@ function isNotNil(value) {
|
|
|
371
371
|
|
|
372
372
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment -- SDK_VERSION is injected by webpack
|
|
373
373
|
///@ts-ignore
|
|
374
|
-
const BUILD_VERSION = "2.2.
|
|
374
|
+
const BUILD_VERSION = "2.2.3-1746822574041-e78a04d73908410d";
|
|
375
375
|
if (false) {}
|
|
376
376
|
|
|
377
377
|
/***/ }),
|
|
@@ -2646,7 +2646,7 @@ options.insert = htmlElement => {
|
|
|
2646
2646
|
htmlElement.setAttribute('data-inboxsdk-version',
|
|
2647
2647
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment -- this is injected by webpack
|
|
2648
2648
|
///@ts-ignore
|
|
2649
|
-
"2.2.
|
|
2649
|
+
"2.2.3-1746822574041-e78a04d73908410d");
|
|
2650
2650
|
document.head.append(htmlElement);
|
|
2651
2651
|
};
|
|
2652
2652
|
options.domAPI = (styleDomAPI_default());
|
|
@@ -10291,7 +10291,7 @@ options.insert = htmlElement => {
|
|
|
10291
10291
|
htmlElement.setAttribute('data-inboxsdk-version',
|
|
10292
10292
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment -- this is injected by webpack
|
|
10293
10293
|
///@ts-ignore
|
|
10294
|
-
"2.2.
|
|
10294
|
+
"2.2.3-1746822574041-e78a04d73908410d");
|
|
10295
10295
|
document.head.append(htmlElement);
|
|
10296
10296
|
};
|
|
10297
10297
|
options.domAPI = (styleDomAPI_default());
|
|
@@ -15041,7 +15041,7 @@ options.insert = htmlElement => {
|
|
|
15041
15041
|
htmlElement.setAttribute('data-inboxsdk-version',
|
|
15042
15042
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment -- this is injected by webpack
|
|
15043
15043
|
///@ts-ignore
|
|
15044
|
-
"2.2.
|
|
15044
|
+
"2.2.3-1746822574041-e78a04d73908410d");
|
|
15045
15045
|
document.head.append(htmlElement);
|
|
15046
15046
|
};
|
|
15047
15047
|
options.domAPI = (styleDomAPI_default());
|
|
@@ -19801,7 +19801,7 @@ mole_view_module_options.insert = htmlElement => {
|
|
|
19801
19801
|
htmlElement.setAttribute('data-inboxsdk-version',
|
|
19802
19802
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment -- this is injected by webpack
|
|
19803
19803
|
///@ts-ignore
|
|
19804
|
-
"2.2.
|
|
19804
|
+
"2.2.3-1746822574041-e78a04d73908410d");
|
|
19805
19805
|
document.head.append(htmlElement);
|
|
19806
19806
|
};
|
|
19807
19807
|
mole_view_module_options.domAPI = (styleDomAPI_default());
|
|
@@ -19992,6 +19992,10 @@ class GmailMoleViewDriver {
|
|
|
19992
19992
|
const insertBefore = moleParent.lastElementChild;
|
|
19993
19993
|
if (insertBefore instanceof HTMLElement) {
|
|
19994
19994
|
moleParent.insertBefore(this.#element, insertBefore);
|
|
19995
|
+
} else if (!insertBefore) {
|
|
19996
|
+
// when google chat and meet are disabled, the moleParent element has no children initially,
|
|
19997
|
+
// unlike when enabled and there is a hidden mole like stub created by gmail
|
|
19998
|
+
moleParent.appendChild(this.#element);
|
|
19995
19999
|
} else {
|
|
19996
20000
|
this.#driver.logger.error(new Error('Mole show invariant violated. `lastMole` is not an HTMLElement'));
|
|
19997
20001
|
return;
|