@interest-protocol/vortex-sdk 8.1.0 → 8.2.0
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.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -1
- package/dist/index.mjs.map +1 -1
- package/dist/utils/decrypt.d.ts +8 -2
- package/dist/utils/decrypt.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/utils/decrypt.ts +16 -3
package/dist/index.mjs
CHANGED
|
@@ -38790,7 +38790,10 @@ const getUnspentUtxosWithApiAndCommitments = async ({ commitments, vortexKeypair
|
|
|
38790
38790
|
try {
|
|
38791
38791
|
const encryptedOutputHex = toHex(Uint8Array.from(commitment.encryptedOutput));
|
|
38792
38792
|
const utxo = vortexKeypair.decryptUtxo(encryptedOutputHex);
|
|
38793
|
-
userCommitments.push(
|
|
38793
|
+
userCommitments.push({
|
|
38794
|
+
coinType: commitment.coinType,
|
|
38795
|
+
encryptedOutput: commitment.encryptedOutput,
|
|
38796
|
+
});
|
|
38794
38797
|
allUtxos.push(utxo);
|
|
38795
38798
|
}
|
|
38796
38799
|
catch {
|