aotrust-protocol 2.3.1__tar.gz → 2.3.3__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: aotrust-protocol
3
- Version: 2.3.1
3
+ Version: 2.3.3
4
4
  Summary: Asyncio-native SDK for A&O Trust Layer — Agent Notary Service
5
5
  Author: A&O Trust Layer
6
6
  License: MIT
@@ -27,7 +27,7 @@ Dynamic: license-file
27
27
 
28
28
  # aotrust-protocol SDK
29
29
 
30
- <!-- mcp-name: io.github.gitserge-crypto/aotrust-notary -->
30
+ <!-- mcp-name: io.github.GitSerge-crypto/aotrust-notary -->
31
31
 
32
32
  Asyncio-native Python SDK for the AOTrust Notary API — cryptographic proof-of-existence for AI agent outputs.
33
33
 
@@ -1,6 +1,6 @@
1
1
  # aotrust-protocol SDK
2
2
 
3
- <!-- mcp-name: io.github.gitserge-crypto/aotrust-notary -->
3
+ <!-- mcp-name: io.github.GitSerge-crypto/aotrust-notary -->
4
4
 
5
5
  Asyncio-native Python SDK for the AOTrust Notary API — cryptographic proof-of-existence for AI agent outputs.
6
6
 
@@ -1,5 +1,7 @@
1
1
  """A&O Trust Layer — Agent Notary SDK (asyncio-native)."""
2
2
 
3
+ __version__ = "2.3.3"
4
+
3
5
  from .client import NotaryClient
4
6
  from .models import NotarizeRequest, NotarizeResult, PdrResult, StatusResult
5
7
  from .exceptions import (
@@ -38,7 +38,11 @@ class NotaryClient:
38
38
  self.notary_pubkey = notary_pubkey or os.environ.get("NOTARY_PUBKEY", "9c7d64bbabe90ead8f18982497a47acbd95677cef0d9285caec95377e4ccf6b0")
39
39
 
40
40
  def _headers(self) -> dict:
41
- h = {"Content-Type": "application/json"}
41
+ from . import __version__
42
+ h = {
43
+ "Content-Type": "application/json",
44
+ "User-Agent": f"aotrust-protocol/{__version__}",
45
+ }
42
46
  if self.api_key:
43
47
  h["X-API-Key"] = self.api_key
44
48
  return h
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aotrust-protocol
3
- Version: 2.3.1
3
+ Version: 2.3.3
4
4
  Summary: Asyncio-native SDK for A&O Trust Layer — Agent Notary Service
5
5
  Author: A&O Trust Layer
6
6
  License: MIT
@@ -27,7 +27,7 @@ Dynamic: license-file
27
27
 
28
28
  # aotrust-protocol SDK
29
29
 
30
- <!-- mcp-name: io.github.gitserge-crypto/aotrust-notary -->
30
+ <!-- mcp-name: io.github.GitSerge-crypto/aotrust-notary -->
31
31
 
32
32
  Asyncio-native Python SDK for the AOTrust Notary API — cryptographic proof-of-existence for AI agent outputs.
33
33
 
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "aotrust-protocol"
7
- version = "2.3.1"
7
+ version = "2.3.3"
8
8
  description = "Asyncio-native SDK for A&O Trust Layer — Agent Notary Service"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"