@sip-protocol/sdk 0.6.2 → 0.6.3
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/browser.js +1 -1
- package/dist/browser.mjs +1 -1
- package/dist/chunk-AB3SCLVT.mjs +17026 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/intent.ts +10 -2
package/dist/browser.js
CHANGED
|
@@ -5396,7 +5396,7 @@ async function createShieldedIntent(params, options) {
|
|
|
5396
5396
|
let recipientStealth;
|
|
5397
5397
|
if (privacyConfig.useStealth && recipientMetaAddress) {
|
|
5398
5398
|
const metaAddress = decodeStealthMetaAddress(recipientMetaAddress);
|
|
5399
|
-
const { stealthAddress } = generateStealthAddress(metaAddress);
|
|
5399
|
+
const { stealthAddress } = isEd25519Chain(metaAddress.chain) ? generateEd25519StealthAddress(metaAddress) : generateStealthAddress(metaAddress);
|
|
5400
5400
|
recipientStealth = stealthAddress;
|
|
5401
5401
|
} else {
|
|
5402
5402
|
recipientStealth = {
|