presidium 3.3.1 → 3.3.2
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/GoogleChromeDevTools.js +2 -2
- package/package.json +1 -1
package/GoogleChromeDevTools.js
CHANGED
|
@@ -34,7 +34,7 @@ async function sendRequestJSON(payload) {
|
|
|
34
34
|
const data = await promise
|
|
35
35
|
this.websocket.removeListener('message', handler)
|
|
36
36
|
|
|
37
|
-
return data
|
|
37
|
+
return data
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
/**
|
|
@@ -66,7 +66,7 @@ async function _Method(method, { sessionId, ...params }) {
|
|
|
66
66
|
throw error
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
return data
|
|
69
|
+
return data.result
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
class GoogleChromeDevToolsTarget {
|