@inboxsdk/core 2.1.0 → 2.1.1
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/package.json
CHANGED
package/pageWorld.js
CHANGED
|
@@ -2880,8 +2880,12 @@ function setupGmailInterceptorOnFrames(mainFrame, jsFrame) {
|
|
|
2880
2880
|
});
|
|
2881
2881
|
main_wrappers.push({
|
|
2882
2882
|
isRelevantTo(connection) {
|
|
2883
|
-
|
|
2884
|
-
|
|
2883
|
+
// check for absolute URLs going to a google domain
|
|
2884
|
+
if (connection.url.startsWith('https://')) {
|
|
2885
|
+
const url = new URL(connection.url);
|
|
2886
|
+
return url.hostname.endsWith('.google.com');
|
|
2887
|
+
}
|
|
2888
|
+
return false;
|
|
2885
2889
|
},
|
|
2886
2890
|
originalSendBodyLogger(connection) {
|
|
2887
2891
|
if (connection.headers['X-Goog-Api-Key']) {
|