@sip-protocol/sdk 0.6.8 → 0.6.10

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 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: output.minAmount,
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",
package/dist/browser.mjs CHANGED
@@ -263,7 +263,7 @@ import {
263
263
  walletRegistry,
264
264
  withSecureBuffer,
265
265
  withSecureBufferSync
266
- } from "./chunk-25QRORO4.mjs";
266
+ } from "./chunk-O33JCQFJ.mjs";
267
267
  import {
268
268
  fulfillment_proof_default,
269
269
  funding_proof_default,