@riddledc/riddle-proof 0.7.172 → 0.7.173
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/dist/{chunk-5ELOMJ7U.js → chunk-JIAMASZX.js} +47 -33
- package/dist/cli.cjs +47 -33
- package/dist/cli.js +1 -1
- package/dist/index.cjs +47 -33
- package/dist/index.js +1 -1
- package/dist/profile.cjs +47 -33
- package/dist/profile.js +1 -1
- package/package.json +1 -1
|
@@ -632,21 +632,28 @@ function profileSetupCanvasSignatureStableHashGroups(results) {
|
|
|
632
632
|
}
|
|
633
633
|
const warnings = [];
|
|
634
634
|
for (const group of groups.values()) {
|
|
635
|
-
const
|
|
636
|
-
const
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
635
|
+
const receiptsByHash = /* @__PURE__ */ new Map();
|
|
636
|
+
for (const receipt of group.receipts) {
|
|
637
|
+
const hashReceipts = receiptsByHash.get(receipt.hash) || [];
|
|
638
|
+
hashReceipts.push(receipt);
|
|
639
|
+
receiptsByHash.set(receipt.hash, hashReceipts);
|
|
640
|
+
}
|
|
641
|
+
for (const [hash, receipts] of receiptsByHash.entries()) {
|
|
642
|
+
const labels = [...new Set(receipts.map((receipt) => receipt.label))];
|
|
643
|
+
if (receipts.length < 2 || labels.length < 2) continue;
|
|
644
|
+
const visibleLabels = labels.slice(0, 8);
|
|
645
|
+
warnings.push({
|
|
646
|
+
selector: group.selector,
|
|
647
|
+
frame_selector: group.frame_selector ?? null,
|
|
648
|
+
hash,
|
|
649
|
+
count: receipts.length,
|
|
650
|
+
label_count: labels.length,
|
|
651
|
+
labels: visibleLabels,
|
|
652
|
+
omitted_label_count: Math.max(0, labels.length - visibleLabels.length),
|
|
653
|
+
ordinals: receipts.map((receipt) => receipt.ordinal).filter((value) => value !== void 0).slice(0, 12),
|
|
654
|
+
reason: "stable_canvas_signature_hash"
|
|
655
|
+
});
|
|
656
|
+
}
|
|
650
657
|
}
|
|
651
658
|
return warnings;
|
|
652
659
|
}
|
|
@@ -4409,24 +4416,31 @@ function profileSetupCanvasSignatureStableHashGroups(results) {
|
|
|
4409
4416
|
}
|
|
4410
4417
|
const warnings = [];
|
|
4411
4418
|
for (const group of groups.values()) {
|
|
4412
|
-
const
|
|
4413
|
-
const
|
|
4414
|
-
|
|
4415
|
-
|
|
4416
|
-
|
|
4417
|
-
|
|
4418
|
-
|
|
4419
|
-
|
|
4420
|
-
|
|
4421
|
-
|
|
4422
|
-
|
|
4423
|
-
|
|
4424
|
-
|
|
4425
|
-
|
|
4426
|
-
.
|
|
4427
|
-
.
|
|
4428
|
-
|
|
4429
|
-
|
|
4419
|
+
const receiptsByHash = new Map();
|
|
4420
|
+
for (const receipt of group.receipts) {
|
|
4421
|
+
const hashReceipts = receiptsByHash.get(receipt.hash) || [];
|
|
4422
|
+
hashReceipts.push(receipt);
|
|
4423
|
+
receiptsByHash.set(receipt.hash, hashReceipts);
|
|
4424
|
+
}
|
|
4425
|
+
for (const [hash, receipts] of receiptsByHash.entries()) {
|
|
4426
|
+
const labels = [...new Set(receipts.map((receipt) => receipt.label))];
|
|
4427
|
+
if (receipts.length < 2 || labels.length < 2) continue;
|
|
4428
|
+
const visibleLabels = labels.slice(0, 8);
|
|
4429
|
+
warnings.push({
|
|
4430
|
+
selector: group.selector,
|
|
4431
|
+
frame_selector: group.frame_selector || null,
|
|
4432
|
+
hash,
|
|
4433
|
+
count: receipts.length,
|
|
4434
|
+
label_count: labels.length,
|
|
4435
|
+
labels: visibleLabels,
|
|
4436
|
+
omitted_label_count: Math.max(0, labels.length - visibleLabels.length),
|
|
4437
|
+
ordinals: receipts
|
|
4438
|
+
.map((receipt) => receipt.ordinal)
|
|
4439
|
+
.filter((value) => value !== undefined)
|
|
4440
|
+
.slice(0, 12),
|
|
4441
|
+
reason: "stable_canvas_signature_hash",
|
|
4442
|
+
});
|
|
4443
|
+
}
|
|
4430
4444
|
}
|
|
4431
4445
|
return warnings;
|
|
4432
4446
|
}
|
package/dist/cli.cjs
CHANGED
|
@@ -7589,21 +7589,28 @@ function profileSetupCanvasSignatureStableHashGroups(results) {
|
|
|
7589
7589
|
}
|
|
7590
7590
|
const warnings = [];
|
|
7591
7591
|
for (const group of groups.values()) {
|
|
7592
|
-
const
|
|
7593
|
-
const
|
|
7594
|
-
|
|
7595
|
-
|
|
7596
|
-
|
|
7597
|
-
|
|
7598
|
-
|
|
7599
|
-
|
|
7600
|
-
|
|
7601
|
-
|
|
7602
|
-
|
|
7603
|
-
|
|
7604
|
-
|
|
7605
|
-
|
|
7606
|
-
|
|
7592
|
+
const receiptsByHash = /* @__PURE__ */ new Map();
|
|
7593
|
+
for (const receipt of group.receipts) {
|
|
7594
|
+
const hashReceipts = receiptsByHash.get(receipt.hash) || [];
|
|
7595
|
+
hashReceipts.push(receipt);
|
|
7596
|
+
receiptsByHash.set(receipt.hash, hashReceipts);
|
|
7597
|
+
}
|
|
7598
|
+
for (const [hash, receipts] of receiptsByHash.entries()) {
|
|
7599
|
+
const labels = [...new Set(receipts.map((receipt) => receipt.label))];
|
|
7600
|
+
if (receipts.length < 2 || labels.length < 2) continue;
|
|
7601
|
+
const visibleLabels = labels.slice(0, 8);
|
|
7602
|
+
warnings.push({
|
|
7603
|
+
selector: group.selector,
|
|
7604
|
+
frame_selector: group.frame_selector ?? null,
|
|
7605
|
+
hash,
|
|
7606
|
+
count: receipts.length,
|
|
7607
|
+
label_count: labels.length,
|
|
7608
|
+
labels: visibleLabels,
|
|
7609
|
+
omitted_label_count: Math.max(0, labels.length - visibleLabels.length),
|
|
7610
|
+
ordinals: receipts.map((receipt) => receipt.ordinal).filter((value) => value !== void 0).slice(0, 12),
|
|
7611
|
+
reason: "stable_canvas_signature_hash"
|
|
7612
|
+
});
|
|
7613
|
+
}
|
|
7607
7614
|
}
|
|
7608
7615
|
return warnings;
|
|
7609
7616
|
}
|
|
@@ -11350,24 +11357,31 @@ function profileSetupCanvasSignatureStableHashGroups(results) {
|
|
|
11350
11357
|
}
|
|
11351
11358
|
const warnings = [];
|
|
11352
11359
|
for (const group of groups.values()) {
|
|
11353
|
-
const
|
|
11354
|
-
const
|
|
11355
|
-
|
|
11356
|
-
|
|
11357
|
-
|
|
11358
|
-
|
|
11359
|
-
|
|
11360
|
-
|
|
11361
|
-
|
|
11362
|
-
|
|
11363
|
-
|
|
11364
|
-
|
|
11365
|
-
|
|
11366
|
-
|
|
11367
|
-
.
|
|
11368
|
-
.
|
|
11369
|
-
|
|
11370
|
-
|
|
11360
|
+
const receiptsByHash = new Map();
|
|
11361
|
+
for (const receipt of group.receipts) {
|
|
11362
|
+
const hashReceipts = receiptsByHash.get(receipt.hash) || [];
|
|
11363
|
+
hashReceipts.push(receipt);
|
|
11364
|
+
receiptsByHash.set(receipt.hash, hashReceipts);
|
|
11365
|
+
}
|
|
11366
|
+
for (const [hash, receipts] of receiptsByHash.entries()) {
|
|
11367
|
+
const labels = [...new Set(receipts.map((receipt) => receipt.label))];
|
|
11368
|
+
if (receipts.length < 2 || labels.length < 2) continue;
|
|
11369
|
+
const visibleLabels = labels.slice(0, 8);
|
|
11370
|
+
warnings.push({
|
|
11371
|
+
selector: group.selector,
|
|
11372
|
+
frame_selector: group.frame_selector || null,
|
|
11373
|
+
hash,
|
|
11374
|
+
count: receipts.length,
|
|
11375
|
+
label_count: labels.length,
|
|
11376
|
+
labels: visibleLabels,
|
|
11377
|
+
omitted_label_count: Math.max(0, labels.length - visibleLabels.length),
|
|
11378
|
+
ordinals: receipts
|
|
11379
|
+
.map((receipt) => receipt.ordinal)
|
|
11380
|
+
.filter((value) => value !== undefined)
|
|
11381
|
+
.slice(0, 12),
|
|
11382
|
+
reason: "stable_canvas_signature_hash",
|
|
11383
|
+
});
|
|
11384
|
+
}
|
|
11371
11385
|
}
|
|
11372
11386
|
return warnings;
|
|
11373
11387
|
}
|
package/dist/cli.js
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -9365,21 +9365,28 @@ function profileSetupCanvasSignatureStableHashGroups(results) {
|
|
|
9365
9365
|
}
|
|
9366
9366
|
const warnings = [];
|
|
9367
9367
|
for (const group of groups.values()) {
|
|
9368
|
-
const
|
|
9369
|
-
const
|
|
9370
|
-
|
|
9371
|
-
|
|
9372
|
-
|
|
9373
|
-
|
|
9374
|
-
|
|
9375
|
-
|
|
9376
|
-
|
|
9377
|
-
|
|
9378
|
-
|
|
9379
|
-
|
|
9380
|
-
|
|
9381
|
-
|
|
9382
|
-
|
|
9368
|
+
const receiptsByHash = /* @__PURE__ */ new Map();
|
|
9369
|
+
for (const receipt of group.receipts) {
|
|
9370
|
+
const hashReceipts = receiptsByHash.get(receipt.hash) || [];
|
|
9371
|
+
hashReceipts.push(receipt);
|
|
9372
|
+
receiptsByHash.set(receipt.hash, hashReceipts);
|
|
9373
|
+
}
|
|
9374
|
+
for (const [hash, receipts] of receiptsByHash.entries()) {
|
|
9375
|
+
const labels = [...new Set(receipts.map((receipt) => receipt.label))];
|
|
9376
|
+
if (receipts.length < 2 || labels.length < 2) continue;
|
|
9377
|
+
const visibleLabels = labels.slice(0, 8);
|
|
9378
|
+
warnings.push({
|
|
9379
|
+
selector: group.selector,
|
|
9380
|
+
frame_selector: group.frame_selector ?? null,
|
|
9381
|
+
hash,
|
|
9382
|
+
count: receipts.length,
|
|
9383
|
+
label_count: labels.length,
|
|
9384
|
+
labels: visibleLabels,
|
|
9385
|
+
omitted_label_count: Math.max(0, labels.length - visibleLabels.length),
|
|
9386
|
+
ordinals: receipts.map((receipt) => receipt.ordinal).filter((value) => value !== void 0).slice(0, 12),
|
|
9387
|
+
reason: "stable_canvas_signature_hash"
|
|
9388
|
+
});
|
|
9389
|
+
}
|
|
9383
9390
|
}
|
|
9384
9391
|
return warnings;
|
|
9385
9392
|
}
|
|
@@ -13142,24 +13149,31 @@ function profileSetupCanvasSignatureStableHashGroups(results) {
|
|
|
13142
13149
|
}
|
|
13143
13150
|
const warnings = [];
|
|
13144
13151
|
for (const group of groups.values()) {
|
|
13145
|
-
const
|
|
13146
|
-
const
|
|
13147
|
-
|
|
13148
|
-
|
|
13149
|
-
|
|
13150
|
-
|
|
13151
|
-
|
|
13152
|
-
|
|
13153
|
-
|
|
13154
|
-
|
|
13155
|
-
|
|
13156
|
-
|
|
13157
|
-
|
|
13158
|
-
|
|
13159
|
-
.
|
|
13160
|
-
.
|
|
13161
|
-
|
|
13162
|
-
|
|
13152
|
+
const receiptsByHash = new Map();
|
|
13153
|
+
for (const receipt of group.receipts) {
|
|
13154
|
+
const hashReceipts = receiptsByHash.get(receipt.hash) || [];
|
|
13155
|
+
hashReceipts.push(receipt);
|
|
13156
|
+
receiptsByHash.set(receipt.hash, hashReceipts);
|
|
13157
|
+
}
|
|
13158
|
+
for (const [hash, receipts] of receiptsByHash.entries()) {
|
|
13159
|
+
const labels = [...new Set(receipts.map((receipt) => receipt.label))];
|
|
13160
|
+
if (receipts.length < 2 || labels.length < 2) continue;
|
|
13161
|
+
const visibleLabels = labels.slice(0, 8);
|
|
13162
|
+
warnings.push({
|
|
13163
|
+
selector: group.selector,
|
|
13164
|
+
frame_selector: group.frame_selector || null,
|
|
13165
|
+
hash,
|
|
13166
|
+
count: receipts.length,
|
|
13167
|
+
label_count: labels.length,
|
|
13168
|
+
labels: visibleLabels,
|
|
13169
|
+
omitted_label_count: Math.max(0, labels.length - visibleLabels.length),
|
|
13170
|
+
ordinals: receipts
|
|
13171
|
+
.map((receipt) => receipt.ordinal)
|
|
13172
|
+
.filter((value) => value !== undefined)
|
|
13173
|
+
.slice(0, 12),
|
|
13174
|
+
reason: "stable_canvas_signature_hash",
|
|
13175
|
+
});
|
|
13176
|
+
}
|
|
13163
13177
|
}
|
|
13164
13178
|
return warnings;
|
|
13165
13179
|
}
|
package/dist/index.js
CHANGED
|
@@ -62,7 +62,7 @@ import {
|
|
|
62
62
|
resolveRiddleProofProfileTimeoutSec,
|
|
63
63
|
slugifyRiddleProofProfileName,
|
|
64
64
|
summarizeRiddleProofProfileResult
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-JIAMASZX.js";
|
|
66
66
|
import {
|
|
67
67
|
DEFAULT_RIDDLE_API_BASE_URL,
|
|
68
68
|
DEFAULT_RIDDLE_API_KEY_FILE,
|
package/dist/profile.cjs
CHANGED
|
@@ -679,21 +679,28 @@ function profileSetupCanvasSignatureStableHashGroups(results) {
|
|
|
679
679
|
}
|
|
680
680
|
const warnings = [];
|
|
681
681
|
for (const group of groups.values()) {
|
|
682
|
-
const
|
|
683
|
-
const
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
682
|
+
const receiptsByHash = /* @__PURE__ */ new Map();
|
|
683
|
+
for (const receipt of group.receipts) {
|
|
684
|
+
const hashReceipts = receiptsByHash.get(receipt.hash) || [];
|
|
685
|
+
hashReceipts.push(receipt);
|
|
686
|
+
receiptsByHash.set(receipt.hash, hashReceipts);
|
|
687
|
+
}
|
|
688
|
+
for (const [hash, receipts] of receiptsByHash.entries()) {
|
|
689
|
+
const labels = [...new Set(receipts.map((receipt) => receipt.label))];
|
|
690
|
+
if (receipts.length < 2 || labels.length < 2) continue;
|
|
691
|
+
const visibleLabels = labels.slice(0, 8);
|
|
692
|
+
warnings.push({
|
|
693
|
+
selector: group.selector,
|
|
694
|
+
frame_selector: group.frame_selector ?? null,
|
|
695
|
+
hash,
|
|
696
|
+
count: receipts.length,
|
|
697
|
+
label_count: labels.length,
|
|
698
|
+
labels: visibleLabels,
|
|
699
|
+
omitted_label_count: Math.max(0, labels.length - visibleLabels.length),
|
|
700
|
+
ordinals: receipts.map((receipt) => receipt.ordinal).filter((value) => value !== void 0).slice(0, 12),
|
|
701
|
+
reason: "stable_canvas_signature_hash"
|
|
702
|
+
});
|
|
703
|
+
}
|
|
697
704
|
}
|
|
698
705
|
return warnings;
|
|
699
706
|
}
|
|
@@ -4456,24 +4463,31 @@ function profileSetupCanvasSignatureStableHashGroups(results) {
|
|
|
4456
4463
|
}
|
|
4457
4464
|
const warnings = [];
|
|
4458
4465
|
for (const group of groups.values()) {
|
|
4459
|
-
const
|
|
4460
|
-
const
|
|
4461
|
-
|
|
4462
|
-
|
|
4463
|
-
|
|
4464
|
-
|
|
4465
|
-
|
|
4466
|
-
|
|
4467
|
-
|
|
4468
|
-
|
|
4469
|
-
|
|
4470
|
-
|
|
4471
|
-
|
|
4472
|
-
|
|
4473
|
-
.
|
|
4474
|
-
.
|
|
4475
|
-
|
|
4476
|
-
|
|
4466
|
+
const receiptsByHash = new Map();
|
|
4467
|
+
for (const receipt of group.receipts) {
|
|
4468
|
+
const hashReceipts = receiptsByHash.get(receipt.hash) || [];
|
|
4469
|
+
hashReceipts.push(receipt);
|
|
4470
|
+
receiptsByHash.set(receipt.hash, hashReceipts);
|
|
4471
|
+
}
|
|
4472
|
+
for (const [hash, receipts] of receiptsByHash.entries()) {
|
|
4473
|
+
const labels = [...new Set(receipts.map((receipt) => receipt.label))];
|
|
4474
|
+
if (receipts.length < 2 || labels.length < 2) continue;
|
|
4475
|
+
const visibleLabels = labels.slice(0, 8);
|
|
4476
|
+
warnings.push({
|
|
4477
|
+
selector: group.selector,
|
|
4478
|
+
frame_selector: group.frame_selector || null,
|
|
4479
|
+
hash,
|
|
4480
|
+
count: receipts.length,
|
|
4481
|
+
label_count: labels.length,
|
|
4482
|
+
labels: visibleLabels,
|
|
4483
|
+
omitted_label_count: Math.max(0, labels.length - visibleLabels.length),
|
|
4484
|
+
ordinals: receipts
|
|
4485
|
+
.map((receipt) => receipt.ordinal)
|
|
4486
|
+
.filter((value) => value !== undefined)
|
|
4487
|
+
.slice(0, 12),
|
|
4488
|
+
reason: "stable_canvas_signature_hash",
|
|
4489
|
+
});
|
|
4490
|
+
}
|
|
4477
4491
|
}
|
|
4478
4492
|
return warnings;
|
|
4479
4493
|
}
|
package/dist/profile.js
CHANGED
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
resolveRiddleProofProfileTimeoutSec,
|
|
24
24
|
slugifyRiddleProofProfileName,
|
|
25
25
|
summarizeRiddleProofProfileResult
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-JIAMASZX.js";
|
|
27
27
|
export {
|
|
28
28
|
RIDDLE_PROOF_PROFILE_CHECK_TYPES,
|
|
29
29
|
RIDDLE_PROOF_PROFILE_EVIDENCE_VERSION,
|