hyper-sdk 0.11.3__tar.gz → 2.1.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 (28) hide show
  1. {hyper_sdk-0.11.3 → hyper_sdk-2.1.0}/PKG-INFO +1 -1
  2. {hyper_sdk-0.11.3 → hyper_sdk-2.1.0}/hyper_sdk/session.py +11 -11
  3. {hyper_sdk-0.11.3 → hyper_sdk-2.1.0}/hyper_sdk.egg-info/PKG-INFO +1 -1
  4. {hyper_sdk-0.11.3 → hyper_sdk-2.1.0}/pyproject.toml +1 -1
  5. {hyper_sdk-0.11.3 → hyper_sdk-2.1.0}/LICENSE +0 -0
  6. {hyper_sdk-0.11.3 → hyper_sdk-2.1.0}/README.md +0 -0
  7. {hyper_sdk-0.11.3 → hyper_sdk-2.1.0}/hyper_sdk/__init__.py +0 -0
  8. {hyper_sdk-0.11.3 → hyper_sdk-2.1.0}/hyper_sdk/akamai/__init__.py +0 -0
  9. {hyper_sdk-0.11.3 → hyper_sdk-2.1.0}/hyper_sdk/akamai/pixel.py +0 -0
  10. {hyper_sdk-0.11.3 → hyper_sdk-2.1.0}/hyper_sdk/akamai/script_path.py +0 -0
  11. {hyper_sdk-0.11.3 → hyper_sdk-2.1.0}/hyper_sdk/akamai/sec_cpt.py +0 -0
  12. {hyper_sdk-0.11.3 → hyper_sdk-2.1.0}/hyper_sdk/akamai/stop_signal.py +0 -0
  13. {hyper_sdk-0.11.3 → hyper_sdk-2.1.0}/hyper_sdk/akamai_input.py +0 -0
  14. {hyper_sdk-0.11.3 → hyper_sdk-2.1.0}/hyper_sdk/datadome/__init__.py +0 -0
  15. {hyper_sdk-0.11.3 → hyper_sdk-2.1.0}/hyper_sdk/datadome/parse.py +0 -0
  16. {hyper_sdk-0.11.3 → hyper_sdk-2.1.0}/hyper_sdk/datadome_input.py +0 -0
  17. {hyper_sdk-0.11.3 → hyper_sdk-2.1.0}/hyper_sdk/incapsula/__init__.py +0 -0
  18. {hyper_sdk-0.11.3 → hyper_sdk-2.1.0}/hyper_sdk/incapsula/dynamic.py +0 -0
  19. {hyper_sdk-0.11.3 → hyper_sdk-2.1.0}/hyper_sdk/incapsula/utmvc.py +0 -0
  20. {hyper_sdk-0.11.3 → hyper_sdk-2.1.0}/hyper_sdk/incapsula_input.py +0 -0
  21. {hyper_sdk-0.11.3 → hyper_sdk-2.1.0}/hyper_sdk/kasada/__init__.py +0 -0
  22. {hyper_sdk-0.11.3 → hyper_sdk-2.1.0}/hyper_sdk/kasada/parse.py +0 -0
  23. {hyper_sdk-0.11.3 → hyper_sdk-2.1.0}/hyper_sdk/kasada_input.py +0 -0
  24. {hyper_sdk-0.11.3 → hyper_sdk-2.1.0}/hyper_sdk.egg-info/SOURCES.txt +0 -0
  25. {hyper_sdk-0.11.3 → hyper_sdk-2.1.0}/hyper_sdk.egg-info/dependency_links.txt +0 -0
  26. {hyper_sdk-0.11.3 → hyper_sdk-2.1.0}/hyper_sdk.egg-info/requires.txt +0 -0
  27. {hyper_sdk-0.11.3 → hyper_sdk-2.1.0}/hyper_sdk.egg-info/top_level.txt +0 -0
  28. {hyper_sdk-0.11.3 → hyper_sdk-2.1.0}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hyper_sdk
3
- Version: 0.11.3
3
+ Version: 2.1.0
4
4
  Summary: Hyper Solutions Python SDK
5
5
  License: MIT License
6
6
 
@@ -28,7 +28,7 @@ class Session:
28
28
  str: Sensor data as a string.
29
29
  str: Context data as a string.
30
30
  """
31
- sensor_endpoint = "https://akm.justhyped.dev/v2/sensor"
31
+ sensor_endpoint = "https://akm.hypersolutions.co/v2/sensor"
32
32
  if not self.api_key:
33
33
  raise ValueError("Missing API key")
34
34
 
@@ -75,7 +75,7 @@ class Session:
75
75
  Returns:
76
76
  str: Sensor data as a string.
77
77
  """
78
- sensor_endpoint = "https://akm.justhyped.dev/sbsd"
78
+ sensor_endpoint = "https://akm.hypersolutions.co/sbsd"
79
79
  return self._send_request(sensor_endpoint, {
80
80
  'userAgent': input_data.user_agent,
81
81
  'uuid': input_data.uuid,
@@ -96,7 +96,7 @@ class Session:
96
96
  Returns:
97
97
  str: Dynamic values as a string.
98
98
  """
99
- sensor_endpoint = "https://akm.justhyped.dev/v3dynamic"
99
+ sensor_endpoint = "https://akm.hypersolutions.co/v3dynamic"
100
100
  return self._send_request(sensor_endpoint, {
101
101
  'script': input_data.script,
102
102
  })
@@ -112,7 +112,7 @@ class Session:
112
112
  Returns:
113
113
  str: Pixel data as a string.
114
114
  """
115
- pixel_endpoint = "https://akm.justhyped.dev/pixel"
115
+ pixel_endpoint = "https://akm.hypersolutions.co/pixel"
116
116
  return self._send_request(pixel_endpoint, {
117
117
  'userAgent': input_data.user_agent,
118
118
  'htmlVar': input_data.html_var,
@@ -137,7 +137,7 @@ class Session:
137
137
  Raises:
138
138
  ValueError: If the script attribute in input_data is empty.
139
139
  """
140
- return self._send_request("https://incapsula.justhyped.dev/reese84/" + quote(site),
140
+ return self._send_request("https://incapsula.hypersolutions.co/reese84/" + quote(site),
141
141
  {
142
142
  'userAgent': input_data.user_agent,
143
143
  'acceptLanguage': input_data.acceptLanguage,
@@ -177,7 +177,7 @@ class Session:
177
177
  signature = self.generate_signature()
178
178
  headers['X-Signature'] = signature
179
179
 
180
- response = self.client.post("https://incapsula.justhyped.dev/utmvc", headers=headers, json={
180
+ response = self.client.post("https://incapsula.hypersolutions.co/utmvc", headers=headers, json={
181
181
  'userAgent': input_data.user_agent,
182
182
  'sessionIds': input_data.session_ids,
183
183
  'script': input_data.script,
@@ -205,7 +205,7 @@ class Session:
205
205
  Returns:
206
206
  str: The x-kpsdk-cd value as a string.
207
207
  """
208
- return self._send_request("https://kasada.justhyped.dev/cd", input_data.to_dict())
208
+ return self._send_request("https://kasada.hypersolutions.co/cd", input_data.to_dict())
209
209
 
210
210
  def generate_kasada_payload(self, input_data: KasadaPayloadInput) -> tuple[str, dict]:
211
211
  """
@@ -230,7 +230,7 @@ class Session:
230
230
  signature = self.generate_signature()
231
231
  headers['X-Signature'] = signature
232
232
 
233
- response = self.client.post("https://kasada.justhyped.dev/payload", headers=headers, json=input_data.to_dict())
233
+ response = self.client.post("https://kasada.hypersolutions.co/payload", headers=headers, json=input_data.to_dict())
234
234
 
235
235
  response_data = response.json()
236
236
 
@@ -254,7 +254,7 @@ class Session:
254
254
  - payload (str): The payload to post to /interstitial/
255
255
  - headers (Dict[str, str]): The response headers
256
256
  """
257
- return self._send_request_with_headers("https://datadome.justhyped.dev/interstitial", input_data.to_dict())
257
+ return self._send_request_with_headers("https://datadome.hypersolutions.co/interstitial", input_data.to_dict())
258
258
 
259
259
  def generate_slider_payload(self, input_data: DataDomeSliderInput) -> Dict[str, Any]:
260
260
  """
@@ -268,7 +268,7 @@ class Session:
268
268
  - payload (str): The URL to make a GET request to for a solved datadome cookie
269
269
  - headers (Dict[str, str]): The response headers
270
270
  """
271
- return self._send_request_with_headers("https://datadome.justhyped.dev/slider", input_data.to_dict())
271
+ return self._send_request_with_headers("https://datadome.hypersolutions.co/slider", input_data.to_dict())
272
272
 
273
273
  def generate_tags_payload(self, input_data: DataDomeTagsInput) -> str:
274
274
  """
@@ -281,7 +281,7 @@ class Session:
281
281
  Returns:
282
282
  str: The tags payload.
283
283
  """
284
- return self._send_request("https://datadome.justhyped.dev/tags", input_data.to_dict())
284
+ return self._send_request("https://datadome.hypersolutions.co/tags", input_data.to_dict())
285
285
 
286
286
  def generate_signature(self) -> str:
287
287
  claims = {
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hyper_sdk
3
- Version: 0.11.3
3
+ Version: 2.1.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 = "0.11.3"
7
+ version = "2.1.0"
8
8
  description = "Hyper Solutions Python SDK"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.6"
File without changes
File without changes
File without changes