insumer-verify 1.3.8 → 1.3.10

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/README.md CHANGED
@@ -17,7 +17,7 @@ npm install insumer-verify
17
17
  Generate one from your terminal — no browser needed:
18
18
 
19
19
  ```bash
20
- curl -s -X POST https://us-central1-insumer-merchant.cloudfunctions.net/createDeveloperApiKey \
20
+ curl -s -X POST https://api.insumermodel.com/v1/keys/create \
21
21
  -H "Content-Type: application/json" \
22
22
  -d '{"email": "you@example.com", "appName": "insumer-verify", "tier": "free"}' | jq .
23
23
  ```
@@ -83,7 +83,7 @@ The attestation response you're verifying looks like this:
83
83
  "ok": true,
84
84
  "data": {
85
85
  "attestation": {
86
- "id": "ATST-A7C3E",
86
+ "id": "ATST-A7C3E1B2D4F56789",
87
87
  "pass": true,
88
88
  "results": [
89
89
  {
package/build/index.js CHANGED
@@ -12,8 +12,7 @@
12
12
  // ── Public key ─────────────────────────────────────────────────────
13
13
  /**
14
14
  * InsumerAPI ECDSA P-256 public key in JWK format.
15
- * Matches the private key stored in Firebase Secret Manager (ECDSA_PRIVATE_KEY).
16
- * Same key embedded in InsumerScanner for QR signature verification.
15
+ * Verifiable via JWKS at https://insumermodel.com/.well-known/jwks.json
17
16
  */
18
17
  const PUBLIC_KEY_JWK = {
19
18
  kty: "EC",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "insumer-verify",
3
- "version": "1.3.8",
3
+ "version": "1.3.10",
4
4
  "description": "Client-side verifier for InsumerAPI attestations. ECDSA P-256 signatures, condition hashes, block freshness, expiry. Zero dependencies. Used by DJD Agent Score (Coinbase x402).",
5
5
  "type": "module",
6
6
  "main": "build/index.js",