pyloid 0.11.2__tar.gz → 0.11.3__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyloid
3
- Version: 0.11.2
3
+ Version: 0.11.3
4
4
  Summary:
5
5
  Author: aesthetics-of-record
6
6
  Author-email: 111675679+aesthetics-of-record@users.noreply.github.com
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "pyloid"
3
- version = "0.11.2"
3
+ version = "0.11.3"
4
4
  description = ""
5
5
  authors = ["aesthetics-of-record <111675679+aesthetics-of-record@users.noreply.github.com>"]
6
6
  readme = "README.md"
@@ -64,9 +64,8 @@ class WindowAPI(PyloidAPI):
64
64
  def getWindowProperties(self):
65
65
  """Returns the properties of the window."""
66
66
  window = self.app.get_window_by_id(self.window_id)
67
- if window:
68
- return window.get_window_properties()
69
- return None
67
+ window_properties = window.get_window_properties()
68
+ return json.dumps(window_properties)
70
69
 
71
70
  @Bridge()
72
71
  def close(self):
@@ -410,7 +409,6 @@ class BrowserWindow:
410
409
  "frame": self.frame,
411
410
  "context_menu": self.context_menu,
412
411
  "dev_tools": self.dev_tools,
413
- "js_apis": self.js_apis,
414
412
  }
415
413
 
416
414
  def get_id(self):
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes