@sip-protocol/sdk 0.6.8 → 0.6.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/browser.js +2 -1
- package/dist/browser.mjs +1 -1
- package/dist/chunk-O33JCQFJ.mjs +17032 -0
- package/dist/index.js +2 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/intent.ts +6 -1
package/dist/browser.js
CHANGED
|
@@ -5439,7 +5439,8 @@ async function createShieldedIntent(params, options) {
|
|
|
5439
5439
|
const effectiveAuthSig = authorizationSignature ?? new Uint8Array(64);
|
|
5440
5440
|
const fundingResult = await proofProvider.generateFundingProof({
|
|
5441
5441
|
balance: input.amount,
|
|
5442
|
-
minimumRequired:
|
|
5442
|
+
minimumRequired: input.amount,
|
|
5443
|
+
// Fix: Must be same units as balance (input asset)
|
|
5443
5444
|
blindingFactor: hexToUint8(inputCommitment.blindingFactor),
|
|
5444
5445
|
assetId: input.asset.symbol,
|
|
5445
5446
|
userAddress: senderAddress ?? "0x0",
|