@sanning/proof 0.4.0 → 0.4.1

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.
package/LICENSE CHANGED
File without changes
package/README.md CHANGED
@@ -53,7 +53,7 @@ contentHashes(env); // all content hashes an envelope commits to, by event typ
53
53
 
54
54
  ## Verify a whole trace bundle — one command
55
55
 
56
- The `@ar.io/anchor` SDK hands a producer a set of `InclusionReceipt`s and can serialize them into one portable, self-verifying `sanning.evidence/v1` bundle (`body_type: sanning.anchor.trace/v1`). Verify the entire bundle — every event's signature + payload binding + Merkle inclusion, all offline — with the bundled CLI:
56
+ The `@sanning/anchor` SDK hands a producer a set of `InclusionReceipt`s and can serialize them into one portable, self-verifying `sanning.evidence/v1` bundle (`body_type: sanning.anchor.trace/v1`). Verify the entire bundle — every event's signature + payload binding + Merkle inclusion, all offline — with the bundled CLI:
57
57
 
58
58
  ```bash
59
59
  npx @sanning/proof verify trace-bundle.json
File without changes
File without changes
package/dist/cli.d.ts CHANGED
File without changes
package/dist/cli.js CHANGED
@@ -2,7 +2,7 @@
2
2
  // npx @sanning/proof verify <bundle.json> [comma,sep,gateways]
3
3
  //
4
4
  // One turnkey verifier for both producer bundles in the stack:
5
- // - sanning.evidence/v1 (body sanning.anchor.trace/v1) — the @ar.io/anchor SDK trace
5
+ // - sanning.evidence/v1 (body sanning.anchor.trace/v1) — the @sanning/anchor SDK trace
6
6
  // - sanning.agent.proof/v1 — the agent inclusion proof
7
7
  // Dispatch is by sniffed spec_version; no flag tells the CLI which it is.
8
8
  //
package/dist/compose.d.ts CHANGED
File without changes
package/dist/compose.js CHANGED
File without changes
package/dist/crypto.d.ts CHANGED
File without changes
package/dist/crypto.js CHANGED
File without changes
File without changes
package/dist/evidence.js CHANGED
@@ -2,7 +2,7 @@
2
2
  //
3
3
  // A `sanning.evidence/v1` bundle is a SIGNED wrapper around a producer-specific
4
4
  // `body`. This module verifies the `sanning.anchor.trace/v1` body — the
5
- // @ar.io/anchor SDK trace: a self-verifying serialization of InclusionReceipt[]
5
+ // @sanning/anchor SDK trace: a self-verifying serialization of InclusionReceipt[]
6
6
  // (per-event signed envelopes + their checkpoints + RFC 9162 inclusion proofs).
7
7
  //
8
8
  // The algorithm is the kernel discipline applied one level up (evidence-bundle
package/dist/index.d.ts CHANGED
File without changes
package/dist/index.js CHANGED
File without changes
package/dist/merkle.d.ts CHANGED
File without changes
package/dist/merkle.js CHANGED
File without changes
package/dist/types.d.ts CHANGED
File without changes
package/dist/types.js CHANGED
File without changes
File without changes
package/dist/verifier.js CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sanning/proof",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "TypeScript kernel of the Sanning verification stack: RFC 8785 (JCS) canonicalization, SHA-256, and Ed25519 verification for Verifiable Event Envelopes. Full-family verifier (inline + external commitment); accepts sanning.agent/v1, sanning.mlflow/v1, sanning.events/v1. Conformance-gated byte-for-byte against the test-vectors corpus.",
5
5
  "license": "MIT",
6
6
  "type": "module",
File without changes
package/src/cli.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  // npx @sanning/proof verify <bundle.json> [comma,sep,gateways]
3
3
  //
4
4
  // One turnkey verifier for both producer bundles in the stack:
5
- // - sanning.evidence/v1 (body sanning.anchor.trace/v1) — the @ar.io/anchor SDK trace
5
+ // - sanning.evidence/v1 (body sanning.anchor.trace/v1) — the @sanning/anchor SDK trace
6
6
  // - sanning.agent.proof/v1 — the agent inclusion proof
7
7
  // Dispatch is by sniffed spec_version; no flag tells the CLI which it is.
8
8
  //
package/src/compose.ts CHANGED
File without changes
package/src/crypto.ts CHANGED
File without changes
package/src/evidence.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  //
3
3
  // A `sanning.evidence/v1` bundle is a SIGNED wrapper around a producer-specific
4
4
  // `body`. This module verifies the `sanning.anchor.trace/v1` body — the
5
- // @ar.io/anchor SDK trace: a self-verifying serialization of InclusionReceipt[]
5
+ // @sanning/anchor SDK trace: a self-verifying serialization of InclusionReceipt[]
6
6
  // (per-event signed envelopes + their checkpoints + RFC 9162 inclusion proofs).
7
7
  //
8
8
  // The algorithm is the kernel discipline applied one level up (evidence-bundle
package/src/index.ts CHANGED
File without changes
package/src/merkle.ts CHANGED
File without changes
package/src/types.ts CHANGED
File without changes
package/src/verifier.ts CHANGED
File without changes