|
| 1 | +diff --git a/node_modules/apollo-client-devtools/build/background.js b/node_modules/apollo-client-devtools/build/background.js |
| 2 | +index 1b46d15..5767881 100644 |
| 3 | +--- a/node_modules/apollo-client-devtools/build/background.js |
| 4 | ++++ b/node_modules/apollo-client-devtools/build/background.js |
| 5 | +@@ -171,21 +171,21 @@ chrome.runtime.onConnect.addListener(port => { |
| 6 | + |
| 7 | + Object.defineProperty(exports, "__esModule", ({ value: true })); |
| 8 | + exports.RELOAD_TAB_COMPLETE = exports.RELOADING_TAB = exports.EXPLORER_RESPONSE = exports.EXPLORER_REQUEST = exports.PANEL_CLOSED = exports.PANEL_OPEN = exports.UPDATE = exports.REQUEST_DATA = exports.ACTION_HOOK_FIRED = exports.CREATE_DEVTOOLS_PANEL = exports.APOLLO_CLIENT_FOUND = exports.FIND_APOLLO_CLIENT = exports.DEVTOOLS_INITIALIZED = exports.REQUEST_TAB_ID = exports.CLIENT_FOUND = void 0; |
| 9 | +-exports.CLIENT_FOUND = "client-found"; |
| 10 | +-exports.REQUEST_TAB_ID = "request-tab-id"; |
| 11 | +-exports.DEVTOOLS_INITIALIZED = "devtools-initialized"; |
| 12 | +-exports.FIND_APOLLO_CLIENT = "find-apollo-client"; |
| 13 | +-exports.APOLLO_CLIENT_FOUND = "apollo-client-found"; |
| 14 | +-exports.CREATE_DEVTOOLS_PANEL = "create-devtools-panel"; |
| 15 | +-exports.ACTION_HOOK_FIRED = "action-hook-fired"; |
| 16 | +-exports.REQUEST_DATA = "request-data"; |
| 17 | +-exports.UPDATE = "update"; |
| 18 | +-exports.PANEL_OPEN = "panel-open"; |
| 19 | +-exports.PANEL_CLOSED = "panel-closed"; |
| 20 | +-exports.EXPLORER_REQUEST = "explorer-request"; |
| 21 | +-exports.EXPLORER_RESPONSE = "explorer-response"; |
| 22 | +-exports.RELOADING_TAB = "reloading-tab"; |
| 23 | +-exports.RELOAD_TAB_COMPLETE = "reload-tab-complete"; |
| 24 | ++exports.CLIENT_FOUND = "ac-devtools:client-found"; |
| 25 | ++exports.REQUEST_TAB_ID = "ac-devtools:request-tab-id"; |
| 26 | ++exports.DEVTOOLS_INITIALIZED = "ac-devtools:devtools-initialized"; |
| 27 | ++exports.FIND_APOLLO_CLIENT = "ac-devtools:find-apollo-client"; |
| 28 | ++exports.APOLLO_CLIENT_FOUND = "ac-devtools:apollo-client-found"; |
| 29 | ++exports.CREATE_DEVTOOLS_PANEL = "ac-devtools:create-devtools-panel"; |
| 30 | ++exports.ACTION_HOOK_FIRED = "ac-devtools:action-hook-fired"; |
| 31 | ++exports.REQUEST_DATA = "ac-devtools:request-data"; |
| 32 | ++exports.UPDATE = "ac-devtools:update"; |
| 33 | ++exports.PANEL_OPEN = "ac-devtools:panel-open"; |
| 34 | ++exports.PANEL_CLOSED = "ac-devtools:panel-closed"; |
| 35 | ++exports.EXPLORER_REQUEST = "ac-devtools:explorer-request"; |
| 36 | ++exports.EXPLORER_RESPONSE = "ac-devtools:explorer-response"; |
| 37 | ++exports.RELOADING_TAB = "ac-devtools:reloading-tab"; |
| 38 | ++exports.RELOAD_TAB_COMPLETE = "ac-devtools:reload-tab-complete"; |
| 39 | + |
| 40 | + |
| 41 | + /***/ }) |
| 42 | +diff --git a/node_modules/apollo-client-devtools/build/devtools.js b/node_modules/apollo-client-devtools/build/devtools.js |
| 43 | +index 165495f..8290715 100644 |
| 44 | +--- a/node_modules/apollo-client-devtools/build/devtools.js |
| 45 | ++++ b/node_modules/apollo-client-devtools/build/devtools.js |
| 46 | +@@ -165,22 +165,21 @@ exports["default"] = EventTarget; |
| 47 | + |
| 48 | + Object.defineProperty(exports, "__esModule", ({ value: true })); |
| 49 | + exports.RELOAD_TAB_COMPLETE = exports.RELOADING_TAB = exports.EXPLORER_RESPONSE = exports.EXPLORER_REQUEST = exports.PANEL_CLOSED = exports.PANEL_OPEN = exports.UPDATE = exports.REQUEST_DATA = exports.ACTION_HOOK_FIRED = exports.CREATE_DEVTOOLS_PANEL = exports.APOLLO_CLIENT_FOUND = exports.FIND_APOLLO_CLIENT = exports.DEVTOOLS_INITIALIZED = exports.REQUEST_TAB_ID = exports.CLIENT_FOUND = void 0; |
| 50 | +-exports.CLIENT_FOUND = "client-found"; |
| 51 | +-exports.REQUEST_TAB_ID = "request-tab-id"; |
| 52 | +-exports.DEVTOOLS_INITIALIZED = "devtools-initialized"; |
| 53 | +-exports.FIND_APOLLO_CLIENT = "find-apollo-client"; |
| 54 | +-exports.APOLLO_CLIENT_FOUND = "apollo-client-found"; |
| 55 | +-exports.CREATE_DEVTOOLS_PANEL = "create-devtools-panel"; |
| 56 | +-exports.ACTION_HOOK_FIRED = "action-hook-fired"; |
| 57 | +-exports.REQUEST_DATA = "request-data"; |
| 58 | +-exports.UPDATE = "update"; |
| 59 | +-exports.PANEL_OPEN = "panel-open"; |
| 60 | +-exports.PANEL_CLOSED = "panel-closed"; |
| 61 | +-exports.EXPLORER_REQUEST = "explorer-request"; |
| 62 | +-exports.EXPLORER_RESPONSE = "explorer-response"; |
| 63 | +-exports.RELOADING_TAB = "reloading-tab"; |
| 64 | +-exports.RELOAD_TAB_COMPLETE = "reload-tab-complete"; |
| 65 | +- |
| 66 | ++exports.CLIENT_FOUND = "ac-devtools:client-found"; |
| 67 | ++exports.REQUEST_TAB_ID = "ac-devtools:request-tab-id"; |
| 68 | ++exports.DEVTOOLS_INITIALIZED = "ac-devtools:devtools-initialized"; |
| 69 | ++exports.FIND_APOLLO_CLIENT = "ac-devtools:find-apollo-client"; |
| 70 | ++exports.APOLLO_CLIENT_FOUND = "ac-devtools:apollo-client-found"; |
| 71 | ++exports.CREATE_DEVTOOLS_PANEL = "ac-devtools:create-devtools-panel"; |
| 72 | ++exports.ACTION_HOOK_FIRED = "ac-devtools:action-hook-fired"; |
| 73 | ++exports.REQUEST_DATA = "ac-devtools:request-data"; |
| 74 | ++exports.UPDATE = "ac-devtools:update"; |
| 75 | ++exports.PANEL_OPEN = "ac-devtools:panel-open"; |
| 76 | ++exports.PANEL_CLOSED = "ac-devtools:panel-closed"; |
| 77 | ++exports.EXPLORER_REQUEST = "ac-devtools:explorer-request"; |
| 78 | ++exports.EXPLORER_RESPONSE = "ac-devtools:explorer-response"; |
| 79 | ++exports.RELOADING_TAB = "ac-devtools:reloading-tab"; |
| 80 | ++exports.RELOAD_TAB_COMPLETE = "ac-devtools:reload-tab-complete"; |
| 81 | + |
| 82 | + /***/ }), |
| 83 | + |
| 84 | +diff --git a/node_modules/apollo-client-devtools/build/hook.js b/node_modules/apollo-client-devtools/build/hook.js |
| 85 | +index 63aa181..d6539a7 100644 |
| 86 | +--- a/node_modules/apollo-client-devtools/build/hook.js |
| 87 | ++++ b/node_modules/apollo-client-devtools/build/hook.js |
| 88 | +@@ -4712,21 +4712,21 @@ exports["default"] = EventTarget; |
| 89 | + |
| 90 | + Object.defineProperty(exports, "__esModule", ({ value: true })); |
| 91 | + exports.RELOAD_TAB_COMPLETE = exports.RELOADING_TAB = exports.EXPLORER_RESPONSE = exports.EXPLORER_REQUEST = exports.PANEL_CLOSED = exports.PANEL_OPEN = exports.UPDATE = exports.REQUEST_DATA = exports.ACTION_HOOK_FIRED = exports.CREATE_DEVTOOLS_PANEL = exports.APOLLO_CLIENT_FOUND = exports.FIND_APOLLO_CLIENT = exports.DEVTOOLS_INITIALIZED = exports.REQUEST_TAB_ID = exports.CLIENT_FOUND = void 0; |
| 92 | +-exports.CLIENT_FOUND = "client-found"; |
| 93 | +-exports.REQUEST_TAB_ID = "request-tab-id"; |
| 94 | +-exports.DEVTOOLS_INITIALIZED = "devtools-initialized"; |
| 95 | +-exports.FIND_APOLLO_CLIENT = "find-apollo-client"; |
| 96 | +-exports.APOLLO_CLIENT_FOUND = "apollo-client-found"; |
| 97 | +-exports.CREATE_DEVTOOLS_PANEL = "create-devtools-panel"; |
| 98 | +-exports.ACTION_HOOK_FIRED = "action-hook-fired"; |
| 99 | +-exports.REQUEST_DATA = "request-data"; |
| 100 | +-exports.UPDATE = "update"; |
| 101 | +-exports.PANEL_OPEN = "panel-open"; |
| 102 | +-exports.PANEL_CLOSED = "panel-closed"; |
| 103 | +-exports.EXPLORER_REQUEST = "explorer-request"; |
| 104 | +-exports.EXPLORER_RESPONSE = "explorer-response"; |
| 105 | +-exports.RELOADING_TAB = "reloading-tab"; |
| 106 | +-exports.RELOAD_TAB_COMPLETE = "reload-tab-complete"; |
| 107 | ++exports.CLIENT_FOUND = "ac-devtools:client-found"; |
| 108 | ++exports.REQUEST_TAB_ID = "ac-devtools:request-tab-id"; |
| 109 | ++exports.DEVTOOLS_INITIALIZED = "ac-devtools:devtools-initialized"; |
| 110 | ++exports.FIND_APOLLO_CLIENT = "ac-devtools:find-apollo-client"; |
| 111 | ++exports.APOLLO_CLIENT_FOUND = "ac-devtools:apollo-client-found"; |
| 112 | ++exports.CREATE_DEVTOOLS_PANEL = "ac-devtools:create-devtools-panel"; |
| 113 | ++exports.ACTION_HOOK_FIRED = "ac-devtools:action-hook-fired"; |
| 114 | ++exports.REQUEST_DATA = "ac-devtools:request-data"; |
| 115 | ++exports.UPDATE = "ac-devtools:update"; |
| 116 | ++exports.PANEL_OPEN = "ac-devtools:panel-open"; |
| 117 | ++exports.PANEL_CLOSED = "ac-devtools:panel-closed"; |
| 118 | ++exports.EXPLORER_REQUEST = "ac-devtools:explorer-request"; |
| 119 | ++exports.EXPLORER_RESPONSE = "ac-devtools:explorer-response"; |
| 120 | ++exports.RELOADING_TAB = "ac-devtools:reloading-tab"; |
| 121 | ++exports.RELOAD_TAB_COMPLETE = "ac-devtools:reload-tab-complete"; |
| 122 | + |
| 123 | + |
| 124 | + /***/ }), |
| 125 | +@@ -4859,7 +4859,7 @@ function initializeHook() { |
| 126 | + }); |
| 127 | + const clientRelay = new Relay_1.default(); |
| 128 | + clientRelay.addConnection("tab", (message) => { |
| 129 | +- window.postMessage(message, "*"); |
| 130 | ++ window.postMessage(message); |
| 131 | + }); |
| 132 | + window.addEventListener("message", ({ data }) => { |
| 133 | + clientRelay.broadcast(data); |
| 134 | +diff --git a/node_modules/apollo-client-devtools/build/panel.js b/node_modules/apollo-client-devtools/build/panel.js |
| 135 | +index 4b3ad6e..f7e021e 100644 |
| 136 | +--- a/node_modules/apollo-client-devtools/build/panel.js |
| 137 | ++++ b/node_modules/apollo-client-devtools/build/panel.js |
| 138 | +@@ -54713,21 +54713,21 @@ exports["default"] = EventTarget; |
| 139 | + |
| 140 | + Object.defineProperty(exports, "__esModule", ({ value: true })); |
| 141 | + exports.RELOAD_TAB_COMPLETE = exports.RELOADING_TAB = exports.EXPLORER_RESPONSE = exports.EXPLORER_REQUEST = exports.PANEL_CLOSED = exports.PANEL_OPEN = exports.UPDATE = exports.REQUEST_DATA = exports.ACTION_HOOK_FIRED = exports.CREATE_DEVTOOLS_PANEL = exports.APOLLO_CLIENT_FOUND = exports.FIND_APOLLO_CLIENT = exports.DEVTOOLS_INITIALIZED = exports.REQUEST_TAB_ID = exports.CLIENT_FOUND = void 0; |
| 142 | +-exports.CLIENT_FOUND = "client-found"; |
| 143 | +-exports.REQUEST_TAB_ID = "request-tab-id"; |
| 144 | +-exports.DEVTOOLS_INITIALIZED = "devtools-initialized"; |
| 145 | +-exports.FIND_APOLLO_CLIENT = "find-apollo-client"; |
| 146 | +-exports.APOLLO_CLIENT_FOUND = "apollo-client-found"; |
| 147 | +-exports.CREATE_DEVTOOLS_PANEL = "create-devtools-panel"; |
| 148 | +-exports.ACTION_HOOK_FIRED = "action-hook-fired"; |
| 149 | +-exports.REQUEST_DATA = "request-data"; |
| 150 | +-exports.UPDATE = "update"; |
| 151 | +-exports.PANEL_OPEN = "panel-open"; |
| 152 | +-exports.PANEL_CLOSED = "panel-closed"; |
| 153 | +-exports.EXPLORER_REQUEST = "explorer-request"; |
| 154 | +-exports.EXPLORER_RESPONSE = "explorer-response"; |
| 155 | +-exports.RELOADING_TAB = "reloading-tab"; |
| 156 | +-exports.RELOAD_TAB_COMPLETE = "reload-tab-complete"; |
| 157 | ++exports.CLIENT_FOUND = "ac-devtools:client-found"; |
| 158 | ++exports.REQUEST_TAB_ID = "ac-devtools:request-tab-id"; |
| 159 | ++exports.DEVTOOLS_INITIALIZED = "ac-devtools:devtools-initialized"; |
| 160 | ++exports.FIND_APOLLO_CLIENT = "ac-devtools:find-apollo-client"; |
| 161 | ++exports.APOLLO_CLIENT_FOUND = "ac-devtools:apollo-client-found"; |
| 162 | ++exports.CREATE_DEVTOOLS_PANEL = "ac-devtools:create-devtools-panel"; |
| 163 | ++exports.ACTION_HOOK_FIRED = "ac-devtools:action-hook-fired"; |
| 164 | ++exports.REQUEST_DATA = "ac-devtools:request-data"; |
| 165 | ++exports.UPDATE = "ac-devtools:update"; |
| 166 | ++exports.PANEL_OPEN = "ac-devtools:panel-open"; |
| 167 | ++exports.PANEL_CLOSED = "ac-devtools:panel-closed"; |
| 168 | ++exports.EXPLORER_REQUEST = "ac-devtools:explorer-request"; |
| 169 | ++exports.EXPLORER_RESPONSE = "ac-devtools:explorer-response"; |
| 170 | ++exports.RELOADING_TAB = "ac-devtools:reloading-tab"; |
| 171 | ++exports.RELOAD_TAB_COMPLETE = "ac-devtools:reload-tab-complete"; |
| 172 | + |
| 173 | + |
| 174 | + /***/ }), |
| 175 | +diff --git a/node_modules/apollo-client-devtools/build/tab.js b/node_modules/apollo-client-devtools/build/tab.js |
| 176 | +index 9ed84be..702f76c 100644 |
| 177 | +--- a/node_modules/apollo-client-devtools/build/tab.js |
| 178 | ++++ b/node_modules/apollo-client-devtools/build/tab.js |
| 179 | +@@ -135,21 +135,21 @@ exports["default"] = EventTarget; |
| 180 | + |
| 181 | + Object.defineProperty(exports, "__esModule", ({ value: true })); |
| 182 | + exports.RELOAD_TAB_COMPLETE = exports.RELOADING_TAB = exports.EXPLORER_RESPONSE = exports.EXPLORER_REQUEST = exports.PANEL_CLOSED = exports.PANEL_OPEN = exports.UPDATE = exports.REQUEST_DATA = exports.ACTION_HOOK_FIRED = exports.CREATE_DEVTOOLS_PANEL = exports.APOLLO_CLIENT_FOUND = exports.FIND_APOLLO_CLIENT = exports.DEVTOOLS_INITIALIZED = exports.REQUEST_TAB_ID = exports.CLIENT_FOUND = void 0; |
| 183 | +-exports.CLIENT_FOUND = "client-found"; |
| 184 | +-exports.REQUEST_TAB_ID = "request-tab-id"; |
| 185 | +-exports.DEVTOOLS_INITIALIZED = "devtools-initialized"; |
| 186 | +-exports.FIND_APOLLO_CLIENT = "find-apollo-client"; |
| 187 | +-exports.APOLLO_CLIENT_FOUND = "apollo-client-found"; |
| 188 | +-exports.CREATE_DEVTOOLS_PANEL = "create-devtools-panel"; |
| 189 | +-exports.ACTION_HOOK_FIRED = "action-hook-fired"; |
| 190 | +-exports.REQUEST_DATA = "request-data"; |
| 191 | +-exports.UPDATE = "update"; |
| 192 | +-exports.PANEL_OPEN = "panel-open"; |
| 193 | +-exports.PANEL_CLOSED = "panel-closed"; |
| 194 | +-exports.EXPLORER_REQUEST = "explorer-request"; |
| 195 | +-exports.EXPLORER_RESPONSE = "explorer-response"; |
| 196 | +-exports.RELOADING_TAB = "reloading-tab"; |
| 197 | +-exports.RELOAD_TAB_COMPLETE = "reload-tab-complete"; |
| 198 | ++exports.CLIENT_FOUND = "ac-devtools:client-found"; |
| 199 | ++exports.REQUEST_TAB_ID = "ac-devtools:request-tab-id"; |
| 200 | ++exports.DEVTOOLS_INITIALIZED = "ac-devtools:devtools-initialized"; |
| 201 | ++exports.FIND_APOLLO_CLIENT = "ac-devtools:find-apollo-client"; |
| 202 | ++exports.APOLLO_CLIENT_FOUND = "ac-devtools:apollo-client-found"; |
| 203 | ++exports.CREATE_DEVTOOLS_PANEL = "ac-devtools:create-devtools-panel"; |
| 204 | ++exports.ACTION_HOOK_FIRED = "ac-devtools:action-hook-fired"; |
| 205 | ++exports.REQUEST_DATA = "ac-devtools:request-data"; |
| 206 | ++exports.UPDATE = "ac-devtools:update"; |
| 207 | ++exports.PANEL_OPEN = "ac-devtools:panel-open"; |
| 208 | ++exports.PANEL_CLOSED = "ac-devtools:panel-closed"; |
| 209 | ++exports.EXPLORER_REQUEST = "ac-devtools:explorer-request"; |
| 210 | ++exports.EXPLORER_RESPONSE = "ac-devtools:explorer-response"; |
| 211 | ++exports.RELOADING_TAB = "ac-devtools:reloading-tab"; |
| 212 | ++exports.RELOAD_TAB_COMPLETE = "ac-devtools:reload-tab-complete"; |
| 213 | + |
| 214 | + |
| 215 | + /***/ }), |
| 216 | +@@ -260,22 +260,22 @@ __webpack_require__(/*! ./tabRelay */ "./src/extension/tab/tabRelay.ts"); |
| 217 | + A common workaround for this issue is to inject an inlined function |
| 218 | + into the inspected tab. |
| 219 | + */ |
| 220 | +-if (typeof document === "object" && document instanceof HTMLDocument) { |
| 221 | +- const script = document.createElement("script"); |
| 222 | +- script.setAttribute("type", "module"); |
| 223 | +- script.setAttribute("src", chrome.extension.getURL("hook.js")); |
| 224 | +- document.addEventListener("DOMContentLoaded", () => { |
| 225 | +- var _a; |
| 226 | +- const importMap = document.querySelector("script[type=\"importmap\"]"); |
| 227 | +- if (importMap != null) { |
| 228 | +- (_a = importMap.parentNode) === null || _a === void 0 ? void 0 : _a.insertBefore(script, importMap.nextSibling); |
| 229 | +- } |
| 230 | +- else { |
| 231 | +- const head = document.head || document.getElementsByTagName("head")[0] || document.documentElement; |
| 232 | +- head.insertBefore(script, head.lastChild); |
| 233 | +- } |
| 234 | +- }); |
| 235 | +-} |
| 236 | ++// if (typeof document === "object" && document instanceof HTMLDocument) { |
| 237 | ++// const script = document.createElement("script"); |
| 238 | ++// script.setAttribute("type", "module"); |
| 239 | ++// script.setAttribute("src", chrome.extension.getURL("hook.js")); |
| 240 | ++// document.addEventListener("DOMContentLoaded", () => { |
| 241 | ++// var _a; |
| 242 | ++// const importMap = document.querySelector("script[type=\"importmap\"]"); |
| 243 | ++// if (importMap != null) { |
| 244 | ++// (_a = importMap.parentNode) === null || _a === void 0 ? void 0 : _a.insertBefore(script, importMap.nextSibling); |
| 245 | ++// } |
| 246 | ++// else { |
| 247 | ++// const head = document.head || document.getElementsByTagName("head")[0] || document.documentElement; |
| 248 | ++// head.insertBefore(script, head.lastChild); |
| 249 | ++// } |
| 250 | ++// }); |
| 251 | ++// } |
| 252 | + |
| 253 | + })(); |
| 254 | + |
0 commit comments