@1llet.xyz/erc4337-gasless-sdk 0.4.46 → 0.4.47
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.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2379,14 +2379,13 @@ async function getNearSimulation(sourceChain, destChain, amount, destToken, sour
|
|
|
2379
2379
|
sender,
|
|
2380
2380
|
{ dry: true }
|
|
2381
2381
|
);
|
|
2382
|
-
console.log(">>> [Bridge Quote] API Response:", JSON.stringify(quoteResult.quote, null, 2));
|
|
2383
2382
|
return {
|
|
2384
2383
|
success: true,
|
|
2385
2384
|
amountSent: amountNum,
|
|
2386
2385
|
protocolFee: usedFee,
|
|
2387
2386
|
netAmountBridged: parseFloat(netAmountBridged),
|
|
2388
2387
|
// @ts-ignore - access safe property
|
|
2389
|
-
estimatedReceived: quoteResult.quote?.quote?.
|
|
2388
|
+
estimatedReceived: quoteResult.quote?.quote?.amountOutFormatted || "0",
|
|
2390
2389
|
minAmount: MIN_AMOUNT
|
|
2391
2390
|
};
|
|
2392
2391
|
} catch (error) {
|