twzrd-receipt-verifier 1.2.0 → 1.2.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "twzrd-receipt-verifier",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "Standalone offline verifier for TWZRD receipts: AO-Receipt V5/V6 (keccak256 leaf) and genesis cNFT receipts (Ed25519 over compact JSON). No trust in TWZRD servers or code.",
5
5
  "keywords": [
6
6
  "twzrd",
@@ -381,6 +381,7 @@ cNFT key source: ${DEFAULT_CNFT_BASE_URL}/v1/receipts/pubkey`;
381
381
  res.errors.forEach((e) => console.log(' - ' + e));
382
382
  let ok = !!res.valid;
383
383
  console.log(`RESULT : ${ok ? 'VALID (TWZRD-authored, untampered)' : 'INVALID'}`);
384
+ if (ok) console.log(' verified with the same library TWZRD uses internally (npm: twzrd-receipt-verifier)');
384
385
 
385
386
  if (selfTest) {
386
387
  const tampered = JSON.parse(raw);
@@ -429,6 +430,7 @@ cNFT key source: ${DEFAULT_CNFT_BASE_URL}/v1/receipts/pubkey`;
429
430
  res.errors.forEach((e) => console.log(' - ' + e));
430
431
  let ok = !!res.valid;
431
432
  console.log(`RESULT : ${ok ? 'VALID (TWZRD-authored, untampered)' : 'INVALID'}`);
433
+ if (ok) console.log(' verified with the same library TWZRD uses internally (npm: twzrd-receipt-verifier)');
432
434
 
433
435
  if (selfTest) {
434
436
  const tampered = JSON.parse(raw);