@ricsam/isolate-daemon 0.1.9 → 0.1.10
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/dist/cjs/connection.cjs
CHANGED
|
@@ -532,7 +532,7 @@ async function handleCreateRuntime(message, connection, state) {
|
|
|
532
532
|
console: playwrightCallbacks.console,
|
|
533
533
|
onEvent: (event) => {
|
|
534
534
|
if (event.type === "browserConsoleLog" && playwrightCallbacks.onBrowserConsoleLogCallbackId) {
|
|
535
|
-
const promise = invokeClientCallback(connection, playwrightCallbacks.onBrowserConsoleLogCallbackId, [{ level: event.level,
|
|
535
|
+
const promise = invokeClientCallback(connection, playwrightCallbacks.onBrowserConsoleLogCallbackId, [{ level: event.level, stdout: event.stdout, timestamp: event.timestamp }]).catch(() => {});
|
|
536
536
|
pendingCallbacks.push(promise);
|
|
537
537
|
} else if (event.type === "networkRequest" && playwrightCallbacks.onNetworkRequestCallbackId) {
|
|
538
538
|
const promise = invokeClientCallback(connection, playwrightCallbacks.onNetworkRequestCallbackId, [event]).catch(() => {});
|
|
@@ -1810,4 +1810,4 @@ async function handleClearCollectedData(message, connection, state) {
|
|
|
1810
1810
|
}
|
|
1811
1811
|
}
|
|
1812
1812
|
|
|
1813
|
-
//# debugId=
|
|
1813
|
+
//# debugId=DE5E35C70F14FD3964756E2164756E21
|