@1llet.xyz/erc4337-gasless-sdk 0.4.45 → 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 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -1
package/dist/index.d.mts
CHANGED
|
@@ -464,7 +464,7 @@ declare function getNearSimulation(sourceChain: ChainKey, destChain: ChainKey, a
|
|
|
464
464
|
amountSent: number;
|
|
465
465
|
protocolFee: number;
|
|
466
466
|
netAmountBridged: number;
|
|
467
|
-
estimatedReceived:
|
|
467
|
+
estimatedReceived: string;
|
|
468
468
|
minAmount: number;
|
|
469
469
|
error?: undefined;
|
|
470
470
|
} | {
|
package/dist/index.d.ts
CHANGED
|
@@ -464,7 +464,7 @@ declare function getNearSimulation(sourceChain: ChainKey, destChain: ChainKey, a
|
|
|
464
464
|
amountSent: number;
|
|
465
465
|
protocolFee: number;
|
|
466
466
|
netAmountBridged: number;
|
|
467
|
-
estimatedReceived:
|
|
467
|
+
estimatedReceived: string;
|
|
468
468
|
minAmount: number;
|
|
469
469
|
error?: undefined;
|
|
470
470
|
} | {
|
package/dist/index.js
CHANGED
|
@@ -2409,7 +2409,7 @@ async function getNearSimulation(sourceChain, destChain, amount, destToken, sour
|
|
|
2409
2409
|
protocolFee: usedFee,
|
|
2410
2410
|
netAmountBridged: parseFloat(netAmountBridged),
|
|
2411
2411
|
// @ts-ignore - access safe property
|
|
2412
|
-
estimatedReceived: quoteResult.quote?.quote?.
|
|
2412
|
+
estimatedReceived: quoteResult.quote?.quote?.amountOutFormatted || "0",
|
|
2413
2413
|
minAmount: MIN_AMOUNT
|
|
2414
2414
|
};
|
|
2415
2415
|
} catch (error) {
|