@1llet.xyz/erc4337-gasless-sdk 0.4.44 → 0.4.46
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 +3 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -1
package/dist/index.mjs
CHANGED
|
@@ -2332,6 +2332,7 @@ async function getNearQuote(sourceChain, destChain, amount, destToken, sourceTok
|
|
|
2332
2332
|
referral: "1llet",
|
|
2333
2333
|
quoteWaitingTimeMs: 1e4
|
|
2334
2334
|
};
|
|
2335
|
+
console.log(`[NearService] Final QuoteRequest:`, JSON.stringify(quoteRequest, null, 2));
|
|
2335
2336
|
const quote = await OneClickService.getQuote(quoteRequest);
|
|
2336
2337
|
if (!options?.dry && !quote.quote?.depositAddress) {
|
|
2337
2338
|
throw new Error("No deposit address returned from 1-Click Quote");
|
|
@@ -2371,13 +2372,14 @@ async function getNearSimulation(sourceChain, destChain, amount, destToken, sour
|
|
|
2371
2372
|
const quoteResult = await getNearQuote(
|
|
2372
2373
|
sourceChain,
|
|
2373
2374
|
destChain,
|
|
2374
|
-
|
|
2375
|
+
amount,
|
|
2375
2376
|
destToken,
|
|
2376
2377
|
sourceToken,
|
|
2377
2378
|
recipient,
|
|
2378
2379
|
sender,
|
|
2379
2380
|
{ dry: true }
|
|
2380
2381
|
);
|
|
2382
|
+
console.log(">>> [Bridge Quote] API Response:", JSON.stringify(quoteResult.quote, null, 2));
|
|
2381
2383
|
return {
|
|
2382
2384
|
success: true,
|
|
2383
2385
|
amountSent: amountNum,
|