@compass-labs/widgets 0.1.21 → 0.1.22
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 +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 +1 -1
package/dist/index.mjs
CHANGED
|
@@ -5125,7 +5125,7 @@ function EarnAccount({
|
|
|
5125
5125
|
if (!estimatedOutput || parseFloat(estimatedOutput) <= 0) {
|
|
5126
5126
|
throw new Error("Invalid swap quote - no output amount");
|
|
5127
5127
|
}
|
|
5128
|
-
const depositAmount = (parseFloat(estimatedOutput) * 0.
|
|
5128
|
+
const depositAmount = (parseFloat(estimatedOutput) * 0.99999).toString();
|
|
5129
5129
|
setStatusMessage(`Preparing swap and deposit...`);
|
|
5130
5130
|
const bundleActions = [
|
|
5131
5131
|
{
|