@permissionless-technologies/upp-sdk 0.4.9 → 0.4.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/dist/react/index.cjs
CHANGED
|
@@ -487,6 +487,7 @@ function UPPAccountProvider({
|
|
|
487
487
|
const noteOwnerHash = BigInt("0x" + raw.slice(16, 80));
|
|
488
488
|
const encryptedPayload = raw.slice(80);
|
|
489
489
|
if (noteOwnerHash !== masterKeys.ownerHash) {
|
|
490
|
+
console.log(`[syncNotes] ownerHash mismatch: note=${noteOwnerHash.toString(16).slice(0, 16)}\u2026 ours=${masterKeys.ownerHash.toString(16).slice(0, 16)}\u2026`);
|
|
490
491
|
skippedOwner++;
|
|
491
492
|
continue;
|
|
492
493
|
}
|
|
@@ -522,7 +523,7 @@ function UPPAccountProvider({
|
|
|
522
523
|
]);
|
|
523
524
|
const expectedHex = viem.toHex(expectedCommitment, { size: 32 });
|
|
524
525
|
if (expectedHex.toLowerCase() !== candidate.commitment.toLowerCase()) {
|
|
525
|
-
console.warn(
|
|
526
|
+
console.warn(`[syncNotes] Commitment mismatch: expected=${expectedHex.slice(0, 16)}\u2026 got=${candidate.commitment.slice(0, 16)}\u2026`);
|
|
526
527
|
continue;
|
|
527
528
|
}
|
|
528
529
|
const newNote = {
|