@rhinestone/deposit-modal 0.1.50 → 0.1.51

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.
@@ -40,6 +40,11 @@ interface DepositSubmittedEventData {
40
40
  interface DepositCompleteEventData {
41
41
  txHash: string;
42
42
  destinationTxHash?: string;
43
+ amount: string;
44
+ sourceChain: ChainId;
45
+ sourceToken: string;
46
+ targetChain: number;
47
+ targetToken: string;
43
48
  }
44
49
  interface DepositFailedEventData {
45
50
  txHash: string;
@@ -54,6 +59,11 @@ interface WithdrawSubmittedEventData {
54
59
  interface WithdrawCompleteEventData {
55
60
  txHash: Hex;
56
61
  destinationTxHash?: Hex;
62
+ amount: string;
63
+ sourceChain: number;
64
+ sourceToken: Address;
65
+ targetChain: number;
66
+ targetToken: Address;
57
67
  }
58
68
  interface WithdrawFailedEventData {
59
69
  txHash: Hex;
@@ -40,6 +40,11 @@ interface DepositSubmittedEventData {
40
40
  interface DepositCompleteEventData {
41
41
  txHash: string;
42
42
  destinationTxHash?: string;
43
+ amount: string;
44
+ sourceChain: ChainId;
45
+ sourceToken: string;
46
+ targetChain: number;
47
+ targetToken: string;
43
48
  }
44
49
  interface DepositFailedEventData {
45
50
  txHash: string;
@@ -54,6 +59,11 @@ interface WithdrawSubmittedEventData {
54
59
  interface WithdrawCompleteEventData {
55
60
  txHash: Hex;
56
61
  destinationTxHash?: Hex;
62
+ amount: string;
63
+ sourceChain: number;
64
+ sourceToken: Address;
65
+ targetChain: number;
66
+ targetToken: Address;
57
67
  }
58
68
  interface WithdrawFailedEventData {
59
69
  txHash: Hex;
package/dist/withdraw.cjs CHANGED
@@ -1,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkCTZVI5NRcjs = require('./chunk-CTZVI5NR.cjs');
4
- require('./chunk-7HJ7IBRH.cjs');
3
+ var _chunkDKYHVAHNcjs = require('./chunk-DKYHVAHN.cjs');
4
+ require('./chunk-NU3ES4JY.cjs');
5
5
  require('./chunk-NELAYNA3.cjs');
6
6
 
7
7
 
8
- exports.WithdrawModal = _chunkCTZVI5NRcjs.WithdrawModal;
8
+ exports.WithdrawModal = _chunkDKYHVAHNcjs.WithdrawModal;
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { i as WithdrawModalProps } from './types-C2uBaYtU.cjs';
3
- export { A as AssetOption, a as ConnectedEventData, E as ErrorEventData, W as WithdrawCompleteEventData, h as WithdrawFailedEventData, j as WithdrawSubmittedEventData } from './types-C2uBaYtU.cjs';
2
+ import { i as WithdrawModalProps } from './types-DgiqazTb.cjs';
3
+ export { A as AssetOption, a as ConnectedEventData, E as ErrorEventData, W as WithdrawCompleteEventData, h as WithdrawFailedEventData, j as WithdrawSubmittedEventData } from './types-DgiqazTb.cjs';
4
4
  export { SafeTransactionRequest } from './safe.cjs';
5
5
  import 'viem';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { i as WithdrawModalProps } from './types-Qv3sYfjZ.js';
3
- export { A as AssetOption, a as ConnectedEventData, E as ErrorEventData, W as WithdrawCompleteEventData, h as WithdrawFailedEventData, j as WithdrawSubmittedEventData } from './types-Qv3sYfjZ.js';
2
+ import { i as WithdrawModalProps } from './types-D1nvo2dK.js';
3
+ export { A as AssetOption, a as ConnectedEventData, E as ErrorEventData, W as WithdrawCompleteEventData, h as WithdrawFailedEventData, j as WithdrawSubmittedEventData } from './types-D1nvo2dK.js';
4
4
  export { SafeTransactionRequest } from './safe.js';
5
5
  import 'viem';
6
6
 
package/dist/withdraw.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  WithdrawModal
3
- } from "./chunk-GZIGVCI2.mjs";
4
- import "./chunk-FKNYONM2.mjs";
3
+ } from "./chunk-G2GXEC7C.mjs";
4
+ import "./chunk-BNSX25TA.mjs";
5
5
  import "./chunk-ZJQZEIHA.mjs";
6
6
  export {
7
7
  WithdrawModal
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rhinestone/deposit-modal",
3
- "version": "0.1.50",
3
+ "version": "0.1.51",
4
4
  "description": "React modal component for Rhinestone cross-chain deposits",
5
5
  "author": "Rhinestone <dev@rhinestone.wtf>",
6
6
  "bugs": {