@dhedge/trading-widget 6.2.0 → 6.2.1
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/index.cjs +1 -1
- package/index.js +2 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -4400,7 +4400,7 @@ const WA = () => {
|
|
|
4400
4400
|
const i = o.asset.toLowerCase(), l = t.slice(0, a).filter((d) => d.asset.toLowerCase() === i).length, c = r.get(i)?.[l];
|
|
4401
4401
|
if (!c)
|
|
4402
4402
|
throw new Error(
|
|
4403
|
-
`
|
|
4403
|
+
`Chamber Lending Market withdrawal: no Ondo attestation returned for ${o.asset}`
|
|
4404
4404
|
);
|
|
4405
4405
|
return { collateral: o, attestation: c };
|
|
4406
4406
|
});
|
|
@@ -4416,7 +4416,7 @@ const WA = () => {
|
|
|
4416
4416
|
const l = ko(t.tokenAmount, "tokenAmount");
|
|
4417
4417
|
if (l <= 0n)
|
|
4418
4418
|
throw new Error(
|
|
4419
|
-
`
|
|
4419
|
+
`Chamber Lending Market withdrawal: Ondo attestation for ${e.asset} has no redeemable amount`
|
|
4420
4420
|
);
|
|
4421
4421
|
const c = Mc(
|
|
4422
4422
|
l,
|