@rubric-protocol/sdk
Advanced tools
+1
-1
| { | ||
| "name": "@rubric-protocol/sdk", | ||
| "version": "1.3.0", | ||
| "version": "1.3.1", | ||
| "description": "Rubric Protocol SDK - post-quantum AI attestation for EU AI Act compliance. Patent Pending.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
+13
-11
@@ -10,11 +10,12 @@ # @rubric-protocol/sdk | ||
| ## ⚠️ Critical: /v1/attest vs /v1/tiered-attest | ||
| ## ⚠️ Critical: Endpoint routing by tier | ||
| | Endpoint | Tier Required | Behavior | Cost | | ||
| |----------|--------------|----------|------| | ||
| | `/v1/attest` | **Enterprise only** | Writes directly to Hedera Consensus Service | HBAR per call | | ||
| | `/v1/attest` | **Enterprise only** | Direct HCS write per call | HBAR per call | | ||
| | `/v1/standard-attest` | **Standard+** | Batched HCS writes (10s window, 1 HCS write per batch) | Minimal | | ||
| | `/v1/tiered-attest` | Developer+ | Merkle batching (1,000,000:1 compression) | Minimal | | ||
| **Use `/v1/tiered-attest` for all development and high-volume workloads.** | ||
| Hard rate limit: 60 req/min. If you are unsure which to use: use `/v1/tiered-attest`. | ||
| **Default for most workloads: `/v1/tiered-attest` (Developer) or `/v1/standard-attest` (Standard).** | ||
| Hard rate limit on `/v1/attest`: 60 req/min. If you are unsure which to use: use `/v1/tiered-attest`. | ||
@@ -192,3 +193,4 @@ ## How it works | ||
| backgroundQueue?: boolean, // default: false | ||
| enterprise?: boolean, // uses /v1/tiered-attest (Merkle batching) | ||
| tier?: 'developer' | 'standard' | 'enterprise', // default: developer | ||
| enterprise?: boolean, // legacy alias for tier: 'enterprise' | ||
| proofUpgrade?: boolean, // auto-poll for stage upgrades | ||
@@ -207,7 +209,7 @@ timeout?: number, // HTTP timeout ms, default: 15000 | ||
| |---|---| | ||
| | US East | `https://rubric-protocol.com/verify` | | ||
| | Singapore | `https://sg.rubric-protocol.com/verify` | | ||
| | Japan | `https://jp.rubric-protocol.com/verify` | | ||
| | Canada | `https://ca.rubric-protocol.com/verify` | | ||
| | EU Central | `https://eu.rubric-protocol.com/verify` | | ||
| | US East | `https://rubric-protocol.com` | | ||
| | Singapore | `https://sg.rubric-protocol.com` | | ||
| | Japan | `https://jp.rubric-protocol.com` | | ||
| | Canada | `https://ca.rubric-protocol.com` | | ||
| | EU Central | `https://eu.rubric-protocol.com` | | ||
@@ -236,3 +238,3 @@ --- | ||
| - [API Reference](https://rubric-protocol.com/docs) | ||
| - [HashScan](https://hashscan.io/testnet/topic/0.0.8207826) — live attestation stream | ||
| - [HashScan](https://hashscan.io/mainnet/topic/0.0.10416909) — live attestation stream | ||
| - [EU AI Act Article 12](https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32024R1689) | ||
@@ -239,0 +241,0 @@ |
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
140430
0.11%245
0.82%