@rhinestone/deposit-modal 0.1.50 → 0.1.52
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/{DepositModalReown-EKRWDULN.mjs → DepositModalReown-63LD7KSU.mjs} +2 -2
- package/dist/{DepositModalReown-SUED62QO.cjs → DepositModalReown-SXQJYLTX.cjs} +3 -3
- package/dist/{WithdrawModalReown-JIKBNJU7.cjs → WithdrawModalReown-JD665MKM.cjs} +3 -3
- package/dist/{WithdrawModalReown-AHHM3VTB.mjs → WithdrawModalReown-PUIM36NO.mjs} +2 -2
- package/dist/{chunk-CTZVI5NR.cjs → chunk-JL3R3JT6.cjs} +45 -36
- package/dist/{chunk-FKNYONM2.mjs → chunk-MKSZIA74.mjs} +492 -363
- package/dist/{chunk-GZIGVCI2.mjs → chunk-R64A3IEI.mjs} +14 -5
- package/dist/{chunk-7HJ7IBRH.cjs → chunk-RVKMKH2C.cjs} +503 -374
- package/dist/{chunk-N5BRA3ZN.mjs → chunk-VYYJWMEI.mjs} +8 -5
- package/dist/{chunk-HXNHL64V.cjs → chunk-ZW4SRCW5.cjs} +88 -85
- package/dist/deposit.cjs +3 -3
- package/dist/deposit.d.cts +2 -2
- package/dist/deposit.d.ts +2 -2
- package/dist/deposit.mjs +2 -2
- package/dist/index.cjs +4 -4
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +3 -3
- package/dist/reown.cjs +4 -4
- package/dist/reown.d.cts +1 -1
- package/dist/reown.d.ts +1 -1
- package/dist/reown.mjs +3 -3
- package/dist/styles.css +263 -0
- package/dist/{types-Qv3sYfjZ.d.ts → types-D1nvo2dK.d.ts} +10 -0
- package/dist/{types-C2uBaYtU.d.cts → types-DgiqazTb.d.cts} +10 -0
- package/dist/withdraw.cjs +3 -3
- package/dist/withdraw.d.cts +2 -2
- package/dist/withdraw.d.ts +2 -2
- package/dist/withdraw.mjs +2 -2
- package/package.json +1 -1
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
toEvmCaip2,
|
|
26
26
|
tokenFormatter,
|
|
27
27
|
txRefsMatch
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-MKSZIA74.mjs";
|
|
29
29
|
import {
|
|
30
30
|
DEFAULT_BACKEND_URL,
|
|
31
31
|
DEFAULT_SIGNER_ADDRESS,
|
|
@@ -3110,9 +3110,9 @@ function DepositFlow({
|
|
|
3110
3110
|
[onDepositSubmitted]
|
|
3111
3111
|
);
|
|
3112
3112
|
const handleDepositComplete = useCallback3(
|
|
3113
|
-
(txHash, destinationTxHash) => {
|
|
3114
|
-
logFlow("deposit:complete", { txHash, destinationTxHash });
|
|
3115
|
-
onDepositComplete?.({ txHash, destinationTxHash });
|
|
3113
|
+
(txHash, destinationTxHash, context) => {
|
|
3114
|
+
logFlow("deposit:complete", { txHash, destinationTxHash, ...context });
|
|
3115
|
+
onDepositComplete?.({ txHash, destinationTxHash, ...context });
|
|
3116
3116
|
},
|
|
3117
3117
|
[logFlow, onDepositComplete]
|
|
3118
3118
|
);
|
|
@@ -3280,6 +3280,7 @@ function DepositFlow({
|
|
|
3280
3280
|
sourceChain: step.sourceChain,
|
|
3281
3281
|
sourceToken: step.sourceToken,
|
|
3282
3282
|
targetChain,
|
|
3283
|
+
targetToken,
|
|
3283
3284
|
amount: step.amount,
|
|
3284
3285
|
sourceSymbol: step.sourceSymbol,
|
|
3285
3286
|
sourceDecimals: step.sourceDecimals,
|
|
@@ -3401,6 +3402,7 @@ function DepositFlow({
|
|
|
3401
3402
|
sourceChain: step.sourceChain,
|
|
3402
3403
|
sourceToken: step.sourceToken,
|
|
3403
3404
|
targetChain,
|
|
3405
|
+
targetToken,
|
|
3404
3406
|
amount: step.amount,
|
|
3405
3407
|
sourceSymbol: step.sourceSymbol,
|
|
3406
3408
|
sourceDecimals: step.sourceDecimals,
|
|
@@ -3504,6 +3506,7 @@ function DepositFlow({
|
|
|
3504
3506
|
sourceChain: step.sourceChain,
|
|
3505
3507
|
sourceToken: step.sourceToken,
|
|
3506
3508
|
targetChain,
|
|
3509
|
+
targetToken,
|
|
3507
3510
|
amount: step.amount,
|
|
3508
3511
|
sourceSymbol: step.sourceSymbol,
|
|
3509
3512
|
sourceDecimals: step.sourceDecimals,
|
|
@@ -3524,7 +3527,7 @@ function DepositFlow({
|
|
|
3524
3527
|
// src/DepositModal.tsx
|
|
3525
3528
|
import { jsx as jsx11, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
3526
3529
|
var ReownDepositInner = lazy(
|
|
3527
|
-
() => import("./DepositModalReown-
|
|
3530
|
+
() => import("./DepositModalReown-63LD7KSU.mjs").then((m) => ({ default: m.DepositModalReown }))
|
|
3528
3531
|
);
|
|
3529
3532
|
function DepositModal(props) {
|
|
3530
3533
|
const needsReown = !!props.reownAppId;
|