hyper-sdk 2.9.0__tar.gz → 2.10.0__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.
Files changed (31) hide show
  1. {hyper_sdk-2.9.0 → hyper_sdk-2.10.0}/PKG-INFO +1 -1
  2. {hyper_sdk-2.9.0 → hyper_sdk-2.10.0}/hyper_sdk/session.py +2 -3
  3. {hyper_sdk-2.9.0 → hyper_sdk-2.10.0}/hyper_sdk/session_async.py +2 -3
  4. {hyper_sdk-2.9.0 → hyper_sdk-2.10.0}/hyper_sdk.egg-info/PKG-INFO +1 -1
  5. {hyper_sdk-2.9.0 → hyper_sdk-2.10.0}/pyproject.toml +1 -1
  6. {hyper_sdk-2.9.0 → hyper_sdk-2.10.0}/LICENSE +0 -0
  7. {hyper_sdk-2.9.0 → hyper_sdk-2.10.0}/README.md +0 -0
  8. {hyper_sdk-2.9.0 → hyper_sdk-2.10.0}/hyper_sdk/__init__.py +0 -0
  9. {hyper_sdk-2.9.0 → hyper_sdk-2.10.0}/hyper_sdk/akamai/__init__.py +0 -0
  10. {hyper_sdk-2.9.0 → hyper_sdk-2.10.0}/hyper_sdk/akamai/pixel.py +0 -0
  11. {hyper_sdk-2.9.0 → hyper_sdk-2.10.0}/hyper_sdk/akamai/script_path.py +0 -0
  12. {hyper_sdk-2.9.0 → hyper_sdk-2.10.0}/hyper_sdk/akamai/sec_cpt.py +0 -0
  13. {hyper_sdk-2.9.0 → hyper_sdk-2.10.0}/hyper_sdk/akamai/stop_signal.py +0 -0
  14. {hyper_sdk-2.9.0 → hyper_sdk-2.10.0}/hyper_sdk/akamai_input.py +0 -0
  15. {hyper_sdk-2.9.0 → hyper_sdk-2.10.0}/hyper_sdk/datadome/__init__.py +0 -0
  16. {hyper_sdk-2.9.0 → hyper_sdk-2.10.0}/hyper_sdk/datadome/parse.py +0 -0
  17. {hyper_sdk-2.9.0 → hyper_sdk-2.10.0}/hyper_sdk/datadome_input.py +0 -0
  18. {hyper_sdk-2.9.0 → hyper_sdk-2.10.0}/hyper_sdk/incapsula/__init__.py +0 -0
  19. {hyper_sdk-2.9.0 → hyper_sdk-2.10.0}/hyper_sdk/incapsula/dynamic.py +0 -0
  20. {hyper_sdk-2.9.0 → hyper_sdk-2.10.0}/hyper_sdk/incapsula/utmvc.py +0 -0
  21. {hyper_sdk-2.9.0 → hyper_sdk-2.10.0}/hyper_sdk/incapsula_input.py +0 -0
  22. {hyper_sdk-2.9.0 → hyper_sdk-2.10.0}/hyper_sdk/kasada/__init__.py +0 -0
  23. {hyper_sdk-2.9.0 → hyper_sdk-2.10.0}/hyper_sdk/kasada/parse.py +0 -0
  24. {hyper_sdk-2.9.0 → hyper_sdk-2.10.0}/hyper_sdk/kasada_input.py +0 -0
  25. {hyper_sdk-2.9.0 → hyper_sdk-2.10.0}/hyper_sdk/shared.py +0 -0
  26. {hyper_sdk-2.9.0 → hyper_sdk-2.10.0}/hyper_sdk/trustdecision_input.py +0 -0
  27. {hyper_sdk-2.9.0 → hyper_sdk-2.10.0}/hyper_sdk.egg-info/SOURCES.txt +0 -0
  28. {hyper_sdk-2.9.0 → hyper_sdk-2.10.0}/hyper_sdk.egg-info/dependency_links.txt +0 -0
  29. {hyper_sdk-2.9.0 → hyper_sdk-2.10.0}/hyper_sdk.egg-info/requires.txt +0 -0
  30. {hyper_sdk-2.9.0 → hyper_sdk-2.10.0}/hyper_sdk.egg-info/top_level.txt +0 -0
  31. {hyper_sdk-2.9.0 → hyper_sdk-2.10.0}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hyper_sdk
3
- Version: 2.9.0
3
+ Version: 2.10.0
4
4
  Summary: Hyper Solutions Python SDK
5
5
  License: MIT License
6
6
 
@@ -126,14 +126,13 @@ class Session:
126
126
  'acceptLanguage': input_data.acceptLanguage,
127
127
  })
128
128
 
129
- def generate_reese84_sensor(self, site: str, input_data: ReeseInput) -> str:
129
+ def generate_reese84_sensor(self, input_data: ReeseInput) -> str:
130
130
  """
131
131
  Returns the sensor data required to generate valid reese84 cookies using the Hyper Solutions API.
132
132
 
133
133
  This function sends a request to the specified sensor endpoint with the necessary data to generate the reese84 sensor data.
134
134
 
135
135
  Args:
136
- site (str): The name of the site that will be used to generate the sensor data.
137
136
  input_data (ReeseInput): The input data.
138
137
 
139
138
  Returns:
@@ -142,7 +141,7 @@ class Session:
142
141
  Raises:
143
142
  ValueError: If the script attribute in input_data is empty.
144
143
  """
145
- return self._send_request("https://incapsula.hypersolutions.co/reese84/" + quote(site), {
144
+ return self._send_request("https://incapsula.hypersolutions.co/reese84", {
146
145
  'userAgent': input_data.user_agent,
147
146
  'acceptLanguage': input_data.acceptLanguage,
148
147
  'ip': input_data.ip,
@@ -130,14 +130,13 @@ class SessionAsync:
130
130
  'acceptLanguage': input_data.acceptLanguage,
131
131
  })
132
132
 
133
- async def generate_reese84_sensor(self, site: str, input_data: ReeseInput) -> str:
133
+ async def generate_reese84_sensor(self, input_data: ReeseInput) -> str:
134
134
  """
135
135
  Returns the sensor data required to generate valid reese84 cookies using the Hyper Solutions API.
136
136
 
137
137
  This function sends a request to the specified sensor endpoint with the necessary data to generate the reese84 sensor data.
138
138
 
139
139
  Args:
140
- site (str): The name of the site that will be used to generate the sensor data.
141
140
  input_data (ReeseInput): The input data.
142
141
 
143
142
  Returns:
@@ -146,7 +145,7 @@ class SessionAsync:
146
145
  Raises:
147
146
  ValueError: If the script attribute in input_data is empty.
148
147
  """
149
- return await self._send_request("https://incapsula.hypersolutions.co/reese84/" + quote(site), {
148
+ return await self._send_request("https://incapsula.hypersolutions.co/reese84", {
150
149
  'userAgent': input_data.user_agent,
151
150
  'acceptLanguage': input_data.acceptLanguage,
152
151
  'ip': input_data.ip,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hyper_sdk
3
- Version: 2.9.0
3
+ Version: 2.10.0
4
4
  Summary: Hyper Solutions Python SDK
5
5
  License: MIT License
6
6
 
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "hyper_sdk"
7
- version = "2.9.0"
7
+ version = "2.10.0"
8
8
  description = "Hyper Solutions Python SDK"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.7"
File without changes
File without changes
File without changes