Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions docs/DESIGN-FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,9 @@ to get paid.
## What exactly gets stored?

A SHA-256 hash of your record, a tag, and an optional signature, pinned to
IPFS. We ask integrators to send a hash, not the record itself: IPFS content
can't be deleted, so raw personal data would outlive any erasure request.
IPFS. We ask integrators to send a hash, not the record itself: nobody can
guarantee that something is deleted from IPFS (anyone with the CID may have kept
a copy), so raw personal data could outlive any erasure request.

A receipt is an integrity seal: it shows the record hasn't changed since it
was anchored and, if signed, who declared it. It does not prove the record is
Expand Down
2 changes: 1 addition & 1 deletion docs/serverless-audit-waituntil.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Confirmed against `GET /api/audit/info` on the public nodes:
string field, so pass `process.env.NIRIUM_API_KEY ?? ''` (or omit the header
and call `POST /api/audit/log` yourself).

Anchor a **hash**, not personal data: IPFS content cannot be deleted.
Anchor a **hash**, not personal data: nobody can guarantee that something is deleted from IPFS, since anyone with the CID may have kept a copy.

## Why fire-and-forget fails on serverless

Expand Down
2 changes: 1 addition & 1 deletion examples/sdp-audit-bridge/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ evidence that a previously verified transaction changed.
or printed. Transaction hashes are public references and allow an auditor to
recover public on-chain destinations from Horizon; this bridge does not promise
recipient anonymity.
- IPFS content cannot be deleted. Do not add personal data to the record schema.
- Nobody can guarantee that something is deleted from IPFS (anyone with the CID may have kept a copy). Do not add personal data to the record schema.

## Development

Expand Down
4 changes: 4 additions & 0 deletions packages/mcp/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to the `nirium-mcp` package are documented here.

## Unreleased

## 0.6.11 - 2026-11-22

README: the Audit Trail note said IPFS content "cannot be deleted". Corrected: nobody can guarantee deletion from IPFS, because anyone with the CID may have kept a copy; the advice is unchanged (anchor a hash, not personal data). No code change.

## 0.6.10 - 2026-11-21

From #388 (thanks to @sparkysolutions10-pixel):
Expand Down
2 changes: 1 addition & 1 deletion packages/mcp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ Reading a DeFindex vault is free. Changing one needs the key, and ten of these e

`anchor_audit_record` is tamper-evident, not tamper-proof: anyone can check later whether the data still matches its CID, but nothing stops someone from changing a copy. The `anchoredAt` time comes from the Nirium node's clock, not from a trusted timestamp. It is not notarization and carries no legal presumption of authenticity.

Anchor a **hash** of your data rather than the data itself. IPFS content cannot be deleted, so raw personal data would outlive any erasure request.
Anchor a **hash** of your data rather than the data itself. Nobody can guarantee that something is deleted from IPFS (anyone with the CID may have kept a copy), so raw personal data could outlive any erasure request.

## Run from source

Expand Down
2 changes: 1 addition & 1 deletion packages/mcp/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nirium-mcp",
"version": "0.6.10",
"version": "0.6.11",
"description": "MCP server that lets an AI assistant (Claude, Cursor, VS Code Copilot) use Nirium on Stellar: paid x402 endpoints in USDC, receipts anyone can verify and treasury vault tools. MPP tools are experimental.",
"main": "dist/index.js",
"bin": {
Expand Down
3 changes: 3 additions & 0 deletions packages/sdk-python/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@ All notable changes to the `nirium` (PyPI) package are documented here.

## Unreleased

## 0.12.9 - 2026-11-22

- Pre-sign policy hook (`init_x402(policy=...)`): parity with TypeScript SDK pre-sign policy hook (#355). Evaluates policy before signing; DENY and WAIT never call the signer; fail closed on exceptions; stale ALLOW invalidation via `current_version`.
- Raised `stellar-sdk` dependency floor to `>=15.0.0` for Soroban authorization preimage and payload hash support (`build_authorization_preimage`, `authorization_payload_hash`, and address envelope constants).
- Aligned `contextHash` wire formatting with the TypeScript SDK (`{"v":1,"url":"...","method":"...","payloadHash":"..."}` with exact key ordering and no whitespace separators).
- README: the Audit Trail note said IPFS content "cannot be deleted". Corrected: nobody can guarantee deletion from IPFS, because anyone with the CID may have kept a copy; the advice is unchanged (anchor a hash, not personal data).

## 0.12.8 - 2026-11-21

Expand Down
2 changes: 1 addition & 1 deletion packages/sdk-python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ anchor = await agent.anchor_audit_record(
print(anchor["cid"])
```

Anchor a **hash** rather than the data itself: IPFS content cannot be deleted, so raw personal data would outlive any erasure request.
Anchor a **hash** rather than the data itself: nobody can guarantee that something is deleted from IPFS (anyone with the CID may have kept a copy), so raw personal data could outlive any erasure request.

### Signed receipts: prove who declared it

Expand Down
2 changes: 1 addition & 1 deletion packages/sdk-python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "nirium"
version = "0.12.8"
version = "0.12.9"
description = "Pay per request in USDC on Stellar (x402) from Python and AI agents, with a spending cap and receipts anyone can verify. Non-custodial."
readme = "README.md"
requires-python = ">=3.10"
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk-python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name="nirium",
version="0.12.8",
version="0.12.9",
package_dir={"": "src"},
packages=find_packages(where="src"),
install_requires=[
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk-python/src/nirium/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
if TYPE_CHECKING:
from .langchain_tools import NiriumX402Tool, create_nirium_x402_tool

__version__ = "0.12.8"
__version__ = "0.12.9"
__all__ = [
"Agent",
"WebSocketMaxRetriesExceeded",
Expand Down
4 changes: 4 additions & 0 deletions packages/sdk/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to the `nirium` package are documented here.

## Unreleased

## 0.19.8 - 2026-11-22

README: the Audit Trail note said IPFS content "cannot be deleted". Corrected: nobody can guarantee deletion from IPFS, because anyone with the CID may have kept a copy; the advice is unchanged (anchor a hash, not personal data). No code change.

## 0.19.7 - 2026-11-21

New `receiptCid(document)`: recomputes a receipt's IPFS CID (CIDv0) locally, with no IPFS node and no new dependency, so a copy you kept can be shown to be the original. Accepts the saved bytes, a string, or the `document` object.
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const anchor = await agent.anchorAuditRecord({
console.log(anchor.cid);
```

Anchor a **hash** rather than the data itself: IPFS content cannot be deleted, so raw personal data would outlive any erasure request.
Anchor a **hash** rather than the data itself: nobody can guarantee that something is deleted from IPFS (anyone with the CID may have kept a copy), so raw personal data could outlive any erasure request.

### Signed receipts: prove who declared it

Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nirium",
"version": "0.19.7",
"version": "0.19.8",
"description": "Charge or pay per request in USDC on Stellar (x402), with receipts anyone can verify. For apps, backends and AI agents. Non-custodial.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down