simplex 1.2.42__tar.gz → 1.2.44__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.

Potentially problematic release.


This version of simplex might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: simplex
3
- Version: 1.2.42
3
+ Version: 1.2.44
4
4
  Summary: Official Python SDK for Simplex API
5
5
  Home-page: https://simplex.sh
6
6
  Author: Simplex Labs, Inc.
@@ -17,7 +17,7 @@ class PostInstallCommand(install):
17
17
 
18
18
  setup(
19
19
  name="simplex",
20
- version="1.2.42",
20
+ version="1.2.44",
21
21
  packages=find_packages(),
22
22
  package_data={
23
23
  "simplex": ["browser_agent/dom/*.js"], # Include JS files in the dom directory
@@ -65,9 +65,17 @@ class Simplex:
65
65
 
66
66
  def close_session(self):
67
67
  if self.pw_browser:
68
- self.pw_browser.close()
68
+ try:
69
+ self.pw_browser.close()
70
+ self.pw_browser = None
71
+ except Exception as e:
72
+ print(f"Failed to close pw_browser: {e}")
69
73
  if self.pw:
70
- self.pw.stop()
74
+ try:
75
+ self.pw.stop()
76
+ self.pw = None
77
+ except Exception as e:
78
+ print(f"Failed to stop pw: {e}")
71
79
  if not self.session_id:
72
80
  return
73
81
  response = requests.post(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: simplex
3
- Version: 1.2.42
3
+ Version: 1.2.44
4
4
  Summary: Official Python SDK for Simplex API
5
5
  Home-page: https://simplex.sh
6
6
  Author: Simplex Labs, Inc.
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes