api-mapper-client 1.0.0__tar.gz → 1.0.1__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 (17) hide show
  1. {api_mapper_client-1.0.0 → api_mapper_client-1.0.1}/.gitignore +5 -0
  2. {api_mapper_client-1.0.0 → api_mapper_client-1.0.1}/PKG-INFO +1 -1
  3. {api_mapper_client-1.0.0 → api_mapper_client-1.0.1}/api_mapper_client/auth/oauth2_client_credentials.py +4 -1
  4. {api_mapper_client-1.0.0 → api_mapper_client-1.0.1}/api_mapper_client/client.py +1 -1
  5. {api_mapper_client-1.0.0 → api_mapper_client-1.0.1}/pyproject.toml +1 -1
  6. {api_mapper_client-1.0.0 → api_mapper_client-1.0.1}/LICENSE +0 -0
  7. {api_mapper_client-1.0.0 → api_mapper_client-1.0.1}/README.md +0 -0
  8. {api_mapper_client-1.0.0 → api_mapper_client-1.0.1}/api_mapper_client/__init__.py +0 -0
  9. {api_mapper_client-1.0.0 → api_mapper_client-1.0.1}/api_mapper_client/auth/__init__.py +0 -0
  10. {api_mapper_client-1.0.0 → api_mapper_client-1.0.1}/api_mapper_client/auth/api_key.py +0 -0
  11. {api_mapper_client-1.0.0 → api_mapper_client-1.0.1}/api_mapper_client/auth/base.py +0 -0
  12. {api_mapper_client-1.0.0 → api_mapper_client-1.0.1}/api_mapper_client/auth/delegated_bearer.py +0 -0
  13. {api_mapper_client-1.0.0 → api_mapper_client-1.0.1}/api_mapper_client/contracts.py +0 -0
  14. {api_mapper_client-1.0.0 → api_mapper_client-1.0.1}/api_mapper_langchain/__init__.py +0 -0
  15. {api_mapper_client-1.0.0 → api_mapper_client-1.0.1}/api_mapper_langchain/toolkit.py +0 -0
  16. {api_mapper_client-1.0.0 → api_mapper_client-1.0.1}/api_mapper_langgraph/__init__.py +0 -0
  17. {api_mapper_client-1.0.0 → api_mapper_client-1.0.1}/api_mapper_langgraph/nodes.py +0 -0
@@ -393,5 +393,10 @@ FodyWeavers.xsd
393
393
 
394
394
  #reactjs
395
395
  dist/
396
+
396
397
  # k6 performance test output
397
398
  tests/PerformanceTests/reports/*.json
399
+
400
+ #java maven publish
401
+ sdk/java/*/target/
402
+ sdk/java/target/
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: api-mapper-client
3
- Version: 1.0.0
3
+ Version: 1.0.1
4
4
  Summary: Client SDK for the CodedProjects AI ApiMapper Runtime
5
5
  Project-URL: Homepage, https://apimapper.ai
6
6
  Author: Coded Projects
@@ -62,7 +62,10 @@ class OAuth2ClientCredentialsProvider(RuntimeCredentialProvider):
62
62
  self._resolved_endpoint = self._opts.token_endpoint
63
63
  return self._resolved_endpoint
64
64
 
65
- discovery_url = f"{self._opts.authority!.rstrip('/')}/.well-known/openid-configuration"
65
+ if not self._opts.authority:
66
+ raise ValueError("authority must be set when token_endpoint is not provided.")
67
+
68
+ discovery_url = f"{self._opts.authority.rstrip('/')}/.well-known/openid-configuration"
66
69
  async with httpx.AsyncClient() as client:
67
70
  res = await client.get(discovery_url)
68
71
  res.raise_for_status()
@@ -26,7 +26,7 @@ class ApiMapperClientOptions:
26
26
  credentials: RuntimeCredentialProvider
27
27
  system_prompt_resource_uri: str | None = None
28
28
  client_name: str = "ApiMapper.Client"
29
- client_version: str = "1.0.0"
29
+ client_version: str = "1.0.1"
30
30
  cache_tools: bool = False
31
31
  cache_system_prompt: bool = False
32
32
 
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "api-mapper-client"
7
- version = "1.0.0"
7
+ version = "1.0.1"
8
8
  description = "Client SDK for the CodedProjects AI ApiMapper Runtime"
9
9
  readme = "README.md"
10
10
  license = "MIT"