@unicitylabs/sphere-sdk 0.14.8 → 0.14.9-dev.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.
@@ -4160,10 +4160,14 @@ var WalletApiDeliveryPort = class {
4160
4160
  sha: bytesToHex3(sha256(bytes))
4161
4161
  };
4162
4162
  }
4163
+ // sphere#487: the nametag is a per-call option and NOT port config — a
4164
+ // construction-time copy would silently go stale on registration, and only a
4165
+ // caller-supplied value is enforceable by the port contract suite (which any
4166
+ // swapped DeliveryPort must pass).
4163
4167
  buildEnvelope(recipientPubkey, options) {
4164
4168
  const key = deriveDeliveryEncryptionKey(this.identity.privateKey, recipientPubkey);
4165
4169
  return encryptDeliveryBundle(key, {
4166
- senderNametag: options.senderNametag ?? this.identity.nametag,
4170
+ senderNametag: options.senderNametag,
4167
4171
  memo: options.memo
4168
4172
  });
4169
4173
  }