memwal 0.1.2.dev0__tar.gz → 0.1.2.dev1__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 (22) hide show
  1. {memwal-0.1.2.dev0 → memwal-0.1.2.dev1}/PKG-INFO +3 -4
  2. {memwal-0.1.2.dev0 → memwal-0.1.2.dev1}/README.md +2 -3
  3. {memwal-0.1.2.dev0 → memwal-0.1.2.dev1}/examples/async_remember_demo.py +1 -1
  4. {memwal-0.1.2.dev0 → memwal-0.1.2.dev1}/examples/interactive_demo.py +1 -1
  5. {memwal-0.1.2.dev0 → memwal-0.1.2.dev1}/examples/verify_credentials.py +1 -1
  6. {memwal-0.1.2.dev0 → memwal-0.1.2.dev1}/memwal/__init__.py +1 -1
  7. {memwal-0.1.2.dev0 → memwal-0.1.2.dev1}/pyproject.toml +1 -1
  8. {memwal-0.1.2.dev0 → memwal-0.1.2.dev1}/run_tests.py +1 -1
  9. {memwal-0.1.2.dev0 → memwal-0.1.2.dev1}/tests/test_integration.py +1 -1
  10. {memwal-0.1.2.dev0 → memwal-0.1.2.dev1}/.gitignore +0 -0
  11. {memwal-0.1.2.dev0 → memwal-0.1.2.dev1}/examples/.env.example +0 -0
  12. {memwal-0.1.2.dev0 → memwal-0.1.2.dev1}/examples/.gitignore +0 -0
  13. {memwal-0.1.2.dev0 → memwal-0.1.2.dev1}/memwal/client.py +0 -0
  14. {memwal-0.1.2.dev0 → memwal-0.1.2.dev1}/memwal/compatibility.py +0 -0
  15. {memwal-0.1.2.dev0 → memwal-0.1.2.dev1}/memwal/middleware.py +0 -0
  16. {memwal-0.1.2.dev0 → memwal-0.1.2.dev1}/memwal/types.py +0 -0
  17. {memwal-0.1.2.dev0 → memwal-0.1.2.dev1}/memwal/utils.py +0 -0
  18. {memwal-0.1.2.dev0 → memwal-0.1.2.dev1}/tests/__init__.py +0 -0
  19. {memwal-0.1.2.dev0 → memwal-0.1.2.dev1}/tests/test_client.py +0 -0
  20. {memwal-0.1.2.dev0 → memwal-0.1.2.dev1}/tests/test_env_presets.py +0 -0
  21. {memwal-0.1.2.dev0 → memwal-0.1.2.dev1}/tests/test_middleware.py +0 -0
  22. {memwal-0.1.2.dev0 → memwal-0.1.2.dev1}/tests/test_signing.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: memwal
3
- Version: 0.1.2.dev0
3
+ Version: 0.1.2.dev1
4
4
  Summary: Python SDK for MemWal — Privacy-first AI memory with Ed25519 signing
5
5
  Project-URL: Homepage, https://memwal.ai
6
6
  Project-URL: Documentation, https://docs.memwal.ai
@@ -67,9 +67,8 @@ export MEMWAL_ACCOUNT_ID="0x-your-memwal-account-id"
67
67
  export MEMWAL_SERVER_URL="https://relayer.memwal.ai"
68
68
  ```
69
69
 
70
- `MEMWAL_KEY` is still accepted as a backwards-compatibility alias, but new apps
71
- should use `MEMWAL_PRIVATE_KEY` so it is clear that the delegate private key is
72
- the server-side secret.
70
+ `MEMWAL_PRIVATE_KEY` is the delegate private key from the MemWal dashboard and
71
+ must stay server-side.
73
72
 
74
73
  ### Async (recommended)
75
74
 
@@ -28,9 +28,8 @@ export MEMWAL_ACCOUNT_ID="0x-your-memwal-account-id"
28
28
  export MEMWAL_SERVER_URL="https://relayer.memwal.ai"
29
29
  ```
30
30
 
31
- `MEMWAL_KEY` is still accepted as a backwards-compatibility alias, but new apps
32
- should use `MEMWAL_PRIVATE_KEY` so it is clear that the delegate private key is
33
- the server-side secret.
31
+ `MEMWAL_PRIVATE_KEY` is the delegate private key from the MemWal dashboard and
32
+ must stay server-side.
34
33
 
35
34
  ### Async (recommended)
36
35
 
@@ -66,7 +66,7 @@ def _ms(start: float) -> int:
66
66
 
67
67
  async def main() -> None:
68
68
  server_url = os.environ.get("MEMWAL_SERVER_URL", "http://localhost:8000")
69
- key = os.environ.get("MEMWAL_PRIVATE_KEY") or os.environ.get("MEMWAL_KEY")
69
+ key = os.environ.get("MEMWAL_PRIVATE_KEY")
70
70
  account_id = os.environ.get("MEMWAL_ACCOUNT_ID")
71
71
  namespace = os.environ.get("MEMWAL_NAMESPACE", "python-sdk-example")
72
72
 
@@ -95,7 +95,7 @@ def _log_offset() -> int:
95
95
 
96
96
  async def main() -> None:
97
97
  server_url = os.environ.get("MEMWAL_SERVER_URL", "http://localhost:8000")
98
- key = os.environ.get("MEMWAL_PRIVATE_KEY") or os.environ.get("MEMWAL_KEY")
98
+ key = os.environ.get("MEMWAL_PRIVATE_KEY")
99
99
  account_id = os.environ.get("MEMWAL_ACCOUNT_ID")
100
100
  namespace = os.environ.get("MEMWAL_NAMESPACE", "python-sdk-example")
101
101
 
@@ -26,7 +26,7 @@ def normalize_hex(value: str) -> str:
26
26
 
27
27
 
28
28
  def main() -> None:
29
- private_key = os.environ.get("MEMWAL_PRIVATE_KEY") or os.environ.get("MEMWAL_KEY") or ""
29
+ private_key = os.environ.get("MEMWAL_PRIVATE_KEY") or ""
30
30
  account_id = os.environ.get("MEMWAL_ACCOUNT_ID") or ""
31
31
  expected_public_key = os.environ.get("MEMWAL_DELEGATE_PUBLIC_KEY") or ""
32
32
  server_url = os.environ.get("MEMWAL_SERVER_URL") or ""
@@ -112,4 +112,4 @@ __all__ = [
112
112
  "RecallManualResult",
113
113
  ]
114
114
 
115
- __version__ = "0.1.2.dev0"
115
+ __version__ = "0.1.2.dev1"
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "memwal"
7
- version = "0.1.2.dev0"
7
+ version = "0.1.2.dev1"
8
8
  description = "Python SDK for MemWal — Privacy-first AI memory with Ed25519 signing"
9
9
  readme = "README.md"
10
10
  license = "MIT"
@@ -27,7 +27,7 @@ DIM = "\033[2m"
27
27
  RESET = "\033[0m"
28
28
 
29
29
  SERVER_URL = os.environ.get("MEMWAL_SERVER_URL", "https://relayer.dev.memwal.ai")
30
- PRIVATE_KEY = os.environ.get("MEMWAL_PRIVATE_KEY") or os.environ.get("MEMWAL_KEY", "")
30
+ PRIVATE_KEY = os.environ.get("MEMWAL_PRIVATE_KEY", "")
31
31
  ACCOUNT_ID = os.environ.get("MEMWAL_ACCOUNT_ID", "")
32
32
  HAS_KEY = bool(PRIVATE_KEY and ACCOUNT_ID)
33
33
 
@@ -53,7 +53,7 @@ from memwal.utils import build_signature_message, bytes_to_hex
53
53
  # ── Config ───────────────────────────────────────────────────────────────────
54
54
 
55
55
  SERVER_URL = os.environ.get("MEMWAL_SERVER_URL", "https://relayer.dev.memwal.ai")
56
- PRIVATE_KEY_HEX = os.environ.get("MEMWAL_PRIVATE_KEY") or os.environ.get("MEMWAL_KEY", "")
56
+ PRIVATE_KEY_HEX = os.environ.get("MEMWAL_PRIVATE_KEY", "")
57
57
  ACCOUNT_ID = os.environ.get("MEMWAL_ACCOUNT_ID", "")
58
58
 
59
59
  HAS_KEY = bool(PRIVATE_KEY_HEX and ACCOUNT_ID)
File without changes
File without changes
File without changes