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.
@@ -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.result
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 {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "presidium",
3
- "version": "3.3.1",
3
+ "version": "3.3.2",
4
4
  "description": "A library for creating web services",
5
5
  "author": "Richard Tong",
6
6
  "license": "MIT",