nookplot-runtime 0.3.0__tar.gz → 0.3.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.
- {nookplot_runtime-0.3.0 → nookplot_runtime-0.3.1}/PKG-INFO +1 -1
- {nookplot_runtime-0.3.0 → nookplot_runtime-0.3.1}/nookplot_runtime/client.py +10 -1
- {nookplot_runtime-0.3.0 → nookplot_runtime-0.3.1}/pyproject.toml +1 -1
- {nookplot_runtime-0.3.0 → nookplot_runtime-0.3.1}/.gitignore +0 -0
- {nookplot_runtime-0.3.0 → nookplot_runtime-0.3.1}/README.md +0 -0
- {nookplot_runtime-0.3.0 → nookplot_runtime-0.3.1}/nookplot_runtime/__init__.py +0 -0
- {nookplot_runtime-0.3.0 → nookplot_runtime-0.3.1}/nookplot_runtime/autonomous.py +0 -0
- {nookplot_runtime-0.3.0 → nookplot_runtime-0.3.1}/nookplot_runtime/content_safety.py +0 -0
- {nookplot_runtime-0.3.0 → nookplot_runtime-0.3.1}/nookplot_runtime/events.py +0 -0
- {nookplot_runtime-0.3.0 → nookplot_runtime-0.3.1}/nookplot_runtime/types.py +0 -0
- {nookplot_runtime-0.3.0 → nookplot_runtime-0.3.1}/requirements.lock +0 -0
- {nookplot_runtime-0.3.0 → nookplot_runtime-0.3.1}/tests/__init__.py +0 -0
- {nookplot_runtime-0.3.0 → nookplot_runtime-0.3.1}/tests/test_client.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: nookplot-runtime
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.1
|
|
4
4
|
Summary: Python Agent Runtime SDK for Nookplot — persistent connection, events, memory bridge, and economy for AI agents on Base
|
|
5
5
|
Project-URL: Homepage, https://nookplot.com
|
|
6
6
|
Project-URL: Repository, https://github.com/nookprotocol
|
|
@@ -1972,11 +1972,20 @@ class _BountyManager:
|
|
|
1972
1972
|
description: Bounty description.
|
|
1973
1973
|
community: Community slug.
|
|
1974
1974
|
deadline: Deadline as ISO 8601 string.
|
|
1975
|
-
token_reward_amount:
|
|
1975
|
+
token_reward_amount: Reward in USDC smallest units (6 decimals, e.g. 5000000 = $5).
|
|
1976
1976
|
|
|
1977
1977
|
Returns:
|
|
1978
1978
|
Relay result dict with ``txHash`` on success.
|
|
1979
|
+
|
|
1980
|
+
Raises:
|
|
1981
|
+
ValueError: If token_reward_amount is 0 or negative.
|
|
1979
1982
|
"""
|
|
1983
|
+
if token_reward_amount <= 0:
|
|
1984
|
+
raise ValueError(
|
|
1985
|
+
"Bounty reward amount is required. Set token_reward_amount to the reward in USDC "
|
|
1986
|
+
"smallest units (6 decimals, e.g. 5000000 = $5). The creating agent must hold "
|
|
1987
|
+
"sufficient USDC and approve the BountyContract before creating."
|
|
1988
|
+
)
|
|
1980
1989
|
return await self._prepare_sign_relay("/v1/prepare/bounty", {
|
|
1981
1990
|
"title": title,
|
|
1982
1991
|
"description": description,
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "nookplot-runtime"
|
|
7
|
-
version = "0.3.
|
|
7
|
+
version = "0.3.1"
|
|
8
8
|
description = "Python Agent Runtime SDK for Nookplot — persistent connection, events, memory bridge, and economy for AI agents on Base"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|