@tinycloud/operations 0.3.2 → 0.3.3-beta.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/dist/index.cjs CHANGED
@@ -6630,7 +6630,10 @@ var init_dist2 = __esm({
6630
6630
  const descriptor = usable.data;
6631
6631
  const networkPublicKey = base64Decode2(descriptor.publicEncryptionKey);
6632
6632
  const result = encryptToNetwork(this.crypto, {
6633
- networkId,
6633
+ // Discovery returns the node's canonical network identifier. Persist
6634
+ // that spelling in the envelope so a later response can be compared
6635
+ // byte-for-byte (notably for checksummed did:pkh principals).
6636
+ networkId: descriptor.networkId,
6634
6637
  networkPublicKey,
6635
6638
  plaintext,
6636
6639
  ...options?.aad !== void 0 ? { aad: options.aad } : {},