@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
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
loadSessionOwnerFromStorage,
|
|
21
21
|
saveSessionOwnerToStorage,
|
|
22
22
|
toEvmCaip2
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-MKSZIA74.mjs";
|
|
24
24
|
import {
|
|
25
25
|
DEFAULT_BACKEND_URL,
|
|
26
26
|
DEFAULT_SIGNER_ADDRESS,
|
|
@@ -1266,9 +1266,17 @@ function WithdrawFlow({
|
|
|
1266
1266
|
]
|
|
1267
1267
|
);
|
|
1268
1268
|
const handleWithdrawComplete = useCallback2(
|
|
1269
|
-
(txHash, destinationTxHash) => {
|
|
1270
|
-
logFlow("withdraw:complete", { txHash, destinationTxHash });
|
|
1271
|
-
onWithdrawComplete?.({
|
|
1269
|
+
(txHash, destinationTxHash, context) => {
|
|
1270
|
+
logFlow("withdraw:complete", { txHash, destinationTxHash, ...context });
|
|
1271
|
+
onWithdrawComplete?.({
|
|
1272
|
+
txHash,
|
|
1273
|
+
destinationTxHash,
|
|
1274
|
+
amount: context.amount,
|
|
1275
|
+
sourceChain: context.sourceChain,
|
|
1276
|
+
sourceToken: context.sourceToken,
|
|
1277
|
+
targetChain: context.targetChain,
|
|
1278
|
+
targetToken: context.targetToken
|
|
1279
|
+
});
|
|
1272
1280
|
},
|
|
1273
1281
|
[logFlow, onWithdrawComplete]
|
|
1274
1282
|
);
|
|
@@ -1404,6 +1412,7 @@ function WithdrawFlow({
|
|
|
1404
1412
|
sourceChain: step.sourceChain,
|
|
1405
1413
|
sourceToken: step.sourceToken,
|
|
1406
1414
|
targetChain,
|
|
1415
|
+
targetToken,
|
|
1407
1416
|
amount: step.amount,
|
|
1408
1417
|
waitForFinalTx,
|
|
1409
1418
|
service,
|
|
@@ -1422,7 +1431,7 @@ function WithdrawFlow({
|
|
|
1422
1431
|
// src/WithdrawModal.tsx
|
|
1423
1432
|
import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
1424
1433
|
var ReownWithdrawInner = lazy(
|
|
1425
|
-
() => import("./WithdrawModalReown-
|
|
1434
|
+
() => import("./WithdrawModalReown-PUIM36NO.mjs").then((m) => ({
|
|
1426
1435
|
default: m.WithdrawModalReown
|
|
1427
1436
|
}))
|
|
1428
1437
|
);
|