@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.
@@ -25,7 +25,7 @@ import {
25
25
  toEvmCaip2,
26
26
  tokenFormatter,
27
27
  txRefsMatch
28
- } from "./chunk-FKNYONM2.mjs";
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-EKRWDULN.mjs").then((m) => ({ default: m.DepositModalReown }))
3530
+ () => import("./DepositModalReown-63LD7KSU.mjs").then((m) => ({ default: m.DepositModalReown }))
3528
3531
  );
3529
3532
  function DepositModal(props) {
3530
3533
  const needsReown = !!props.reownAppId;