@unicitylabs/sphere-sdk 0.14.8-dev.1 → 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.
- 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
|
@@ -4112,10 +4112,14 @@ var WalletApiDeliveryPort = class {
|
|
|
4112
4112
|
sha: bytesToHex3(sha256(bytes))
|
|
4113
4113
|
};
|
|
4114
4114
|
}
|
|
4115
|
+
// sphere#487: the nametag is a per-call option and NOT port config — a
|
|
4116
|
+
// construction-time copy would silently go stale on registration, and only a
|
|
4117
|
+
// caller-supplied value is enforceable by the port contract suite (which any
|
|
4118
|
+
// swapped DeliveryPort must pass).
|
|
4115
4119
|
buildEnvelope(recipientPubkey, options) {
|
|
4116
4120
|
const key = deriveDeliveryEncryptionKey(this.identity.privateKey, recipientPubkey);
|
|
4117
4121
|
return encryptDeliveryBundle(key, {
|
|
4118
|
-
senderNametag: options.senderNametag
|
|
4122
|
+
senderNametag: options.senderNametag,
|
|
4119
4123
|
memo: options.memo
|
|
4120
4124
|
});
|
|
4121
4125
|
}
|