@unicitylabs/sphere-sdk 0.14.8 → 0.14.9
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/connect/index.cjs +1 -1
- package/dist/connect/index.cjs.map +1 -1
- package/dist/connect/index.js +1 -1
- package/dist/connect/index.js.map +1 -1
- package/dist/core/index.cjs +34 -4
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.js +34 -4
- package/dist/core/index.js.map +1 -1
- package/dist/impl/browser/connect/index.cjs +1 -1
- package/dist/impl/browser/connect/index.cjs.map +1 -1
- package/dist/impl/browser/connect/index.js +1 -1
- package/dist/impl/browser/connect/index.js.map +1 -1
- package/dist/impl/wallet-api-v2/index.cjs +5 -1
- package/dist/impl/wallet-api-v2/index.cjs.map +1 -1
- package/dist/impl/wallet-api-v2/index.d.cts +0 -1
- package/dist/impl/wallet-api-v2/index.d.ts +0 -1
- package/dist/impl/wallet-api-v2/index.js +5 -1
- package/dist/impl/wallet-api-v2/index.js.map +1 -1
- package/dist/index.cjs +34 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +34 -4
- package/dist/index.js.map +1 -1
- package/dist/modules/payments-v2/index.cjs +22 -2
- package/dist/modules/payments-v2/index.cjs.map +1 -1
- package/dist/modules/payments-v2/index.js +22 -2
- package/dist/modules/payments-v2/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -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
|
|
4170
|
+
senderNametag: options.senderNametag,
|
|
4167
4171
|
memo: options.memo
|
|
4168
4172
|
});
|
|
4169
4173
|
}
|