@ensofinance/checkout-widget 0.0.1 → 0.0.2
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.
|
@@ -52271,7 +52271,7 @@ const tm = ({
|
|
|
52271
52271
|
setStep: t,
|
|
52272
52272
|
setUserOp: e
|
|
52273
52273
|
}) => {
|
|
52274
|
-
const { chainIdIn: n } = yi(), {
|
|
52274
|
+
const { chainIdIn: n } = yi(), { routeLoading: r, usdAmountIn: i, routeData: o } = iu(), { signMessageAsync: s } = sP(), { address: a } = Xn(), [l, c] = Ue(!1), u = async () => {
|
|
52275
52275
|
if (!o || o != null && o.error) {
|
|
52276
52276
|
console.error("No valid router data available");
|
|
52277
52277
|
return;
|
|
@@ -52280,7 +52280,7 @@ const tm = ({
|
|
|
52280
52280
|
c(!0);
|
|
52281
52281
|
const d = o == null ? void 0 : o.userOp;
|
|
52282
52282
|
if (!d) {
|
|
52283
|
-
console.error("No userOperation found in
|
|
52283
|
+
console.error("No userOperation found in routeData");
|
|
52284
52284
|
return;
|
|
52285
52285
|
}
|
|
52286
52286
|
console.log("Signing userOperation:", d);
|