diff --git a/python/lib/sift_client/_internal/urls.py b/python/lib/sift_client/_internal/urls.py index 99dd1816f..ffe265e9a 100644 --- a/python/lib/sift_client/_internal/urls.py +++ b/python/lib/sift_client/_internal/urls.py @@ -15,6 +15,7 @@ # API host (host[:port], no scheme) -> frontend origin (with scheme). _API_HOST_TO_FRONTEND_ORIGIN: dict[str, str] = { "api.siftstack.com": "https://app.siftstack.com", + "api.development.siftstack.com": "https://app.development.siftstack.com", "gov.api.siftstack.com": "https://gov.siftstack.com", } diff --git a/python/lib/sift_client/_tests/test_urls.py b/python/lib/sift_client/_tests/test_urls.py index be9febd52..33b0592af 100644 --- a/python/lib/sift_client/_tests/test_urls.py +++ b/python/lib/sift_client/_tests/test_urls.py @@ -13,6 +13,10 @@ class TestFrontendOriginForApi: ("api_base_url", "expected"), [ ("https://api.siftstack.com", "https://app.siftstack.com"), + ( + "https://api.development.siftstack.com", + "https://app.development.siftstack.com", + ), ("https://gov.api.siftstack.com", "https://gov.siftstack.com"), # Bare host (no scheme) resolves the same as the full URL. ("api.siftstack.com", "https://app.siftstack.com"), diff --git a/python/pyproject.toml b/python/pyproject.toml index 556a35f6c..a5120ad4f 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "sift_stack_py" -version = "0.19.1" +version = "0.19.2" description = "Python client library for the Sift API" requires-python = ">=3.8" readme = { file = "README.md", content-type = "text/markdown" }