shield-python 0.1.2__tar.gz → 0.1.4__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.4
2
2
  Name: shield-python
3
- Version: 0.1.2
3
+ Version: 0.1.4
4
4
  Summary: Official Shield SDK for Python
5
5
  License: MIT
6
6
  Project-URL: Homepage, https://getshield.dev
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "shield-python"
7
- version = "0.1.2"
7
+ version = "0.1.4"
8
8
  description = "Official Shield SDK for Python"
9
9
  readme = "README.md"
10
10
  license = {text = "MIT"}
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name="shield-python",
5
- version="0.1.2",
5
+ version="0.1.4",
6
6
  packages=find_packages(),
7
7
  install_requires=["requests>=2.28.0"],
8
8
  )
@@ -2,4 +2,4 @@ from .client import Client
2
2
  from .exceptions import ShieldError
3
3
 
4
4
  __all__ = ["Client", "ShieldError"]
5
- __version__ = "0.1.2"
5
+ __version__ = "0.1.4"
@@ -18,7 +18,7 @@ class Client:
18
18
 
19
19
  Args:
20
20
  api_key: Your Shield API key.
21
- base_url: Base URL for the Shield API. Defaults to https://api.getshield.dev/v1.
21
+ base_url: Base URL for the Shield API. Defaults to https://api.getshield.dev/api/v1.
22
22
  hmac_secret: Optional HMAC secret for request signing.
23
23
  timeout: Request timeout in seconds. Defaults to 30.
24
24
  """
@@ -26,7 +26,7 @@ class Client:
26
26
  def __init__(
27
27
  self,
28
28
  api_key: str,
29
- base_url: str = "https://api.getshield.dev/v1",
29
+ base_url: str = "https://api.getshield.dev/api/v1",
30
30
  hmac_secret: Optional[str] = None,
31
31
  timeout: int = 30,
32
32
  ):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: shield-python
3
- Version: 0.1.2
3
+ Version: 0.1.4
4
4
  Summary: Official Shield SDK for Python
5
5
  License: MIT
6
6
  Project-URL: Homepage, https://getshield.dev
File without changes
File without changes