@rhinestone/deposit-modal 0.2.5-alpha.0 → 0.3.0-alpha.0
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/README.md +40 -211
- package/dist/{DepositModalReown-GIODYNOK.mjs → DepositModalReown-GXY65HZP.mjs} +3 -5
- package/dist/{DepositModalReown-SVVA3OZ6.cjs → DepositModalReown-HVIEA6YA.cjs} +4 -6
- package/dist/QRCode-SMMYPUQC.cjs +58 -0
- package/dist/QRCode-YMQTKSSK.mjs +58 -0
- package/dist/{WithdrawModalReown-VNTKGALT.cjs → WithdrawModalReown-4M3PBY2T.cjs} +4 -5
- package/dist/{WithdrawModalReown-HTEB4XGU.mjs → WithdrawModalReown-O6V6KRH6.mjs} +3 -4
- package/dist/{chunk-AHQY2O3U.cjs → chunk-7SYZG47X.cjs} +1731 -2161
- package/dist/{chunk-WHW3ZMOT.mjs → chunk-EEHUOFIW.mjs} +107 -90
- package/dist/{chunk-WA4RA4HB.mjs → chunk-FKPTIHU7.mjs} +916 -424
- package/dist/{chunk-RQ2VCKLS.mjs → chunk-U5QIFNG4.mjs} +1815 -2245
- package/dist/{chunk-DUGDAMAF.mjs → chunk-UIHAYD7J.mjs} +1089 -796
- package/dist/{chunk-R2HP743T.cjs → chunk-XCAF6B3D.cjs} +51 -34
- package/dist/{chunk-KE6CJVOV.cjs → chunk-Y3RA3YGA.cjs} +1110 -817
- package/dist/{chunk-4S262VLP.cjs → chunk-Z2SIC2TH.cjs} +965 -473
- package/dist/constants.cjs +2 -2
- package/dist/constants.d.cts +3 -2
- package/dist/constants.d.ts +3 -2
- package/dist/constants.mjs +1 -1
- package/dist/deposit.cjs +4 -6
- package/dist/deposit.d.cts +2 -3
- package/dist/deposit.d.ts +2 -3
- package/dist/deposit.mjs +3 -5
- package/dist/index.cjs +5 -7
- package/dist/index.d.cts +5 -3
- package/dist/index.d.ts +5 -3
- package/dist/index.mjs +4 -6
- package/dist/styles.css +1068 -752
- package/dist/{types-D0NawmZ8.d.cts → types-DRou84ZM.d.cts} +147 -40
- package/dist/{types-CeFbJ-MW.d.ts → types-DRou84ZM.d.ts} +147 -40
- package/dist/withdraw.cjs +4 -5
- package/dist/withdraw.d.cts +2 -3
- package/dist/withdraw.d.ts +2 -3
- package/dist/withdraw.mjs +3 -4
- package/package.json +13 -12
- package/dist/chunk-J2SWZSXL.mjs +0 -295
- package/dist/chunk-LHOHM67Z.mjs +0 -234
- package/dist/chunk-YKGL66EF.cjs +0 -295
- package/dist/chunk-ZHLQMSQM.cjs +0 -234
- package/dist/reown.cjs +0 -18
- package/dist/reown.d.cts +0 -10
- package/dist/reown.d.ts +0 -10
- package/dist/reown.mjs +0 -18
- package/dist/safe-CB7TvRCc.d.cts +0 -62
- package/dist/safe-CB7TvRCc.d.ts +0 -62
- package/dist/safe.cjs +0 -22
- package/dist/safe.d.cts +0 -14
- package/dist/safe.d.ts +0 -14
- package/dist/safe.mjs +0 -22
package/dist/constants.cjs
CHANGED
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
var
|
|
30
|
+
var _chunkXCAF6B3Dcjs = require('./chunk-XCAF6B3D.cjs');
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
|
|
@@ -57,4 +57,4 @@ var _chunkR2HP743Tcjs = require('./chunk-R2HP743T.cjs');
|
|
|
57
57
|
|
|
58
58
|
|
|
59
59
|
|
|
60
|
-
exports.CHAIN_BY_ID =
|
|
60
|
+
exports.CHAIN_BY_ID = _chunkXCAF6B3Dcjs.CHAIN_BY_ID; exports.DEFAULT_BACKEND_URL = _chunkXCAF6B3Dcjs.DEFAULT_BACKEND_URL; exports.DEFAULT_SIGNER_ADDRESS = _chunkXCAF6B3Dcjs.DEFAULT_SIGNER_ADDRESS; exports.NATIVE_TOKEN_ADDRESS = _chunkXCAF6B3Dcjs.NATIVE_TOKEN_ADDRESS; exports.SOURCE_CHAINS = _chunkXCAF6B3Dcjs.SOURCE_CHAINS; exports.SUPPORTED_CHAINS = _chunkXCAF6B3Dcjs.SUPPORTED_CHAINS; exports.chainRegistry = _chunkXCAF6B3Dcjs.chainRegistry; exports.findChainIdForToken = _chunkXCAF6B3Dcjs.findChainIdForToken; exports.getChainBadge = _chunkXCAF6B3Dcjs.getChainBadge; exports.getChainIcon = _chunkXCAF6B3Dcjs.getChainIcon; exports.getChainId = _chunkXCAF6B3Dcjs.getChainId; exports.getChainName = _chunkXCAF6B3Dcjs.getChainName; exports.getChainObject = _chunkXCAF6B3Dcjs.getChainObject; exports.getExplorerName = _chunkXCAF6B3Dcjs.getExplorerName; exports.getExplorerTxUrl = _chunkXCAF6B3Dcjs.getExplorerTxUrl; exports.getExplorerUrl = _chunkXCAF6B3Dcjs.getExplorerUrl; exports.getSupportedChainIds = _chunkXCAF6B3Dcjs.getSupportedChainIds; exports.getSupportedTargetTokens = _chunkXCAF6B3Dcjs.getSupportedTargetTokens; exports.getSupportedTokenSymbolsForChain = _chunkXCAF6B3Dcjs.getSupportedTokenSymbolsForChain; exports.getTargetTokenSymbolsForChain = _chunkXCAF6B3Dcjs.getTargetTokenSymbolsForChain; exports.getTokenAddress = _chunkXCAF6B3Dcjs.getTokenAddress; exports.getTokenDecimals = _chunkXCAF6B3Dcjs.getTokenDecimals; exports.getTokenDecimalsByAddress = _chunkXCAF6B3Dcjs.getTokenDecimalsByAddress; exports.getTokenIcon = _chunkXCAF6B3Dcjs.getTokenIcon; exports.getTokenSymbol = _chunkXCAF6B3Dcjs.getTokenSymbol; exports.getUsdcAddress = _chunkXCAF6B3Dcjs.getUsdcAddress; exports.getUsdcDecimals = _chunkXCAF6B3Dcjs.getUsdcDecimals; exports.isSupportedTokenAddressForChain = _chunkXCAF6B3Dcjs.isSupportedTokenAddressForChain;
|
package/dist/constants.d.cts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { Chain } from 'viem/chains';
|
|
2
2
|
import { Address } from 'viem';
|
|
3
3
|
|
|
4
|
+
declare function getChainIcon(chainId: number | "solana"): string | undefined;
|
|
5
|
+
declare function getTokenIcon(symbol: string): string | undefined;
|
|
6
|
+
|
|
4
7
|
declare const DEFAULT_BACKEND_URL = "https://v1.orchestrator.rhinestone.dev/deposit-widget";
|
|
5
8
|
declare const DEFAULT_SIGNER_ADDRESS: Address;
|
|
6
9
|
declare const NATIVE_TOKEN_ADDRESS: Address;
|
|
@@ -45,7 +48,5 @@ declare function getChainBadge(chainId: number | "solana"): {
|
|
|
45
48
|
declare function getExplorerUrl(chainId: number | "solana"): string | undefined;
|
|
46
49
|
declare function getExplorerTxUrl(chainId: number | "solana", txHash: string): string | undefined;
|
|
47
50
|
declare function getExplorerName(chainId: number | "solana"): string;
|
|
48
|
-
declare function getChainIcon(chainId: number | "solana"): string | undefined;
|
|
49
|
-
declare function getTokenIcon(symbol: string): string | undefined;
|
|
50
51
|
|
|
51
52
|
export { CHAIN_BY_ID, DEFAULT_BACKEND_URL, DEFAULT_SIGNER_ADDRESS, NATIVE_TOKEN_ADDRESS, SOURCE_CHAINS, SUPPORTED_CHAINS, type SupportedTokenOption, chainRegistry, findChainIdForToken, getChainBadge, getChainIcon, getChainId, getChainName, getChainObject, getExplorerName, getExplorerTxUrl, getExplorerUrl, getSupportedChainIds, getSupportedTargetTokens, getSupportedTokenSymbolsForChain, getTargetTokenSymbolsForChain, getTokenAddress, getTokenDecimals, getTokenDecimalsByAddress, getTokenIcon, getTokenSymbol, getUsdcAddress, getUsdcDecimals, isSupportedTokenAddressForChain };
|
package/dist/constants.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { Chain } from 'viem/chains';
|
|
2
2
|
import { Address } from 'viem';
|
|
3
3
|
|
|
4
|
+
declare function getChainIcon(chainId: number | "solana"): string | undefined;
|
|
5
|
+
declare function getTokenIcon(symbol: string): string | undefined;
|
|
6
|
+
|
|
4
7
|
declare const DEFAULT_BACKEND_URL = "https://v1.orchestrator.rhinestone.dev/deposit-widget";
|
|
5
8
|
declare const DEFAULT_SIGNER_ADDRESS: Address;
|
|
6
9
|
declare const NATIVE_TOKEN_ADDRESS: Address;
|
|
@@ -45,7 +48,5 @@ declare function getChainBadge(chainId: number | "solana"): {
|
|
|
45
48
|
declare function getExplorerUrl(chainId: number | "solana"): string | undefined;
|
|
46
49
|
declare function getExplorerTxUrl(chainId: number | "solana", txHash: string): string | undefined;
|
|
47
50
|
declare function getExplorerName(chainId: number | "solana"): string;
|
|
48
|
-
declare function getChainIcon(chainId: number | "solana"): string | undefined;
|
|
49
|
-
declare function getTokenIcon(symbol: string): string | undefined;
|
|
50
51
|
|
|
51
52
|
export { CHAIN_BY_ID, DEFAULT_BACKEND_URL, DEFAULT_SIGNER_ADDRESS, NATIVE_TOKEN_ADDRESS, SOURCE_CHAINS, SUPPORTED_CHAINS, type SupportedTokenOption, chainRegistry, findChainIdForToken, getChainBadge, getChainIcon, getChainId, getChainName, getChainObject, getExplorerName, getExplorerTxUrl, getExplorerUrl, getSupportedChainIds, getSupportedTargetTokens, getSupportedTokenSymbolsForChain, getTargetTokenSymbolsForChain, getTokenAddress, getTokenDecimals, getTokenDecimalsByAddress, getTokenIcon, getTokenSymbol, getUsdcAddress, getUsdcDecimals, isSupportedTokenAddressForChain };
|
package/dist/constants.mjs
CHANGED
package/dist/deposit.cjs
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
6
|
-
require('./chunk-YKGL66EF.cjs');
|
|
7
|
-
require('./chunk-R2HP743T.cjs');
|
|
3
|
+
var _chunk7SYZG47Xcjs = require('./chunk-7SYZG47X.cjs');
|
|
4
|
+
require('./chunk-Y3RA3YGA.cjs');
|
|
5
|
+
require('./chunk-XCAF6B3D.cjs');
|
|
8
6
|
|
|
9
7
|
|
|
10
|
-
exports.DepositModal =
|
|
8
|
+
exports.DepositModal = _chunk7SYZG47Xcjs.DepositModal;
|
package/dist/deposit.d.cts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { e as DepositModalProps } from './types-
|
|
3
|
-
export { A as AssetOption, a as ConnectedEventData,
|
|
2
|
+
import { e as DepositModalProps } from './types-DRou84ZM.cjs';
|
|
3
|
+
export { A as AssetOption, a as ConnectedEventData, b as DepositCompleteEventData, c as DepositFailedEventData, f as DepositModalTheme, g as DepositModalUIConfig, h as DepositSubmittedEventData, E as ErrorEventData } from './types-DRou84ZM.cjs';
|
|
4
4
|
import 'viem';
|
|
5
|
-
import './safe-CB7TvRCc.cjs';
|
|
6
5
|
|
|
7
6
|
declare function DepositModal(props: DepositModalProps): react_jsx_runtime.JSX.Element;
|
|
8
7
|
declare namespace DepositModal {
|
package/dist/deposit.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { e as DepositModalProps } from './types-
|
|
3
|
-
export { A as AssetOption, a as ConnectedEventData,
|
|
2
|
+
import { e as DepositModalProps } from './types-DRou84ZM.js';
|
|
3
|
+
export { A as AssetOption, a as ConnectedEventData, b as DepositCompleteEventData, c as DepositFailedEventData, f as DepositModalTheme, g as DepositModalUIConfig, h as DepositSubmittedEventData, E as ErrorEventData } from './types-DRou84ZM.js';
|
|
4
4
|
import 'viem';
|
|
5
|
-
import './safe-CB7TvRCc.js';
|
|
6
5
|
|
|
7
6
|
declare function DepositModal(props: DepositModalProps): react_jsx_runtime.JSX.Element;
|
|
8
7
|
declare namespace DepositModal {
|
package/dist/deposit.mjs
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DepositModal
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-J2SWZSXL.mjs";
|
|
7
|
-
import "./chunk-WHW3ZMOT.mjs";
|
|
3
|
+
} from "./chunk-U5QIFNG4.mjs";
|
|
4
|
+
import "./chunk-UIHAYD7J.mjs";
|
|
5
|
+
import "./chunk-EEHUOFIW.mjs";
|
|
8
6
|
export {
|
|
9
7
|
DepositModal
|
|
10
8
|
};
|
package/dist/index.cjs
CHANGED
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-ZHLQMSQM.cjs');
|
|
3
|
+
var _chunk7SYZG47Xcjs = require('./chunk-7SYZG47X.cjs');
|
|
5
4
|
|
|
6
5
|
|
|
7
|
-
var
|
|
6
|
+
var _chunkZ2SIC2THcjs = require('./chunk-Z2SIC2TH.cjs');
|
|
8
7
|
|
|
9
8
|
|
|
10
9
|
var _chunkYQFH2WSWcjs = require('./chunk-YQFH2WSW.cjs');
|
|
11
|
-
require('./chunk-
|
|
12
|
-
require('./chunk-YKGL66EF.cjs');
|
|
10
|
+
require('./chunk-Y3RA3YGA.cjs');
|
|
13
11
|
|
|
14
12
|
|
|
15
13
|
|
|
@@ -39,7 +37,7 @@ require('./chunk-YKGL66EF.cjs');
|
|
|
39
37
|
|
|
40
38
|
|
|
41
39
|
|
|
42
|
-
var
|
|
40
|
+
var _chunkXCAF6B3Dcjs = require('./chunk-XCAF6B3D.cjs');
|
|
43
41
|
|
|
44
42
|
|
|
45
43
|
|
|
@@ -72,4 +70,4 @@ var _chunkR2HP743Tcjs = require('./chunk-R2HP743T.cjs');
|
|
|
72
70
|
|
|
73
71
|
|
|
74
72
|
|
|
75
|
-
exports.CHAIN_BY_ID =
|
|
73
|
+
exports.CHAIN_BY_ID = _chunkXCAF6B3Dcjs.CHAIN_BY_ID; exports.DEFAULT_BACKEND_URL = _chunkXCAF6B3Dcjs.DEFAULT_BACKEND_URL; exports.DEFAULT_SIGNER_ADDRESS = _chunkXCAF6B3Dcjs.DEFAULT_SIGNER_ADDRESS; exports.DepositModal = _chunk7SYZG47Xcjs.DepositModal; exports.NATIVE_TOKEN_ADDRESS = _chunkXCAF6B3Dcjs.NATIVE_TOKEN_ADDRESS; exports.SOURCE_CHAINS = _chunkXCAF6B3Dcjs.SOURCE_CHAINS; exports.SUPPORTED_CHAINS = _chunkXCAF6B3Dcjs.SUPPORTED_CHAINS; exports.WithdrawModal = _chunkZ2SIC2THcjs.WithdrawModal; exports.chainRegistry = _chunkXCAF6B3Dcjs.chainRegistry; exports.disconnectWallet = _chunkYQFH2WSWcjs.disconnectWallet; exports.findChainIdForToken = _chunkXCAF6B3Dcjs.findChainIdForToken; exports.getChainBadge = _chunkXCAF6B3Dcjs.getChainBadge; exports.getChainIcon = _chunkXCAF6B3Dcjs.getChainIcon; exports.getChainId = _chunkXCAF6B3Dcjs.getChainId; exports.getChainName = _chunkXCAF6B3Dcjs.getChainName; exports.getChainObject = _chunkXCAF6B3Dcjs.getChainObject; exports.getExplorerName = _chunkXCAF6B3Dcjs.getExplorerName; exports.getExplorerTxUrl = _chunkXCAF6B3Dcjs.getExplorerTxUrl; exports.getExplorerUrl = _chunkXCAF6B3Dcjs.getExplorerUrl; exports.getSupportedChainIds = _chunkXCAF6B3Dcjs.getSupportedChainIds; exports.getSupportedTargetTokens = _chunkXCAF6B3Dcjs.getSupportedTargetTokens; exports.getSupportedTokenSymbolsForChain = _chunkXCAF6B3Dcjs.getSupportedTokenSymbolsForChain; exports.getTargetTokenSymbolsForChain = _chunkXCAF6B3Dcjs.getTargetTokenSymbolsForChain; exports.getTokenAddress = _chunkXCAF6B3Dcjs.getTokenAddress; exports.getTokenDecimals = _chunkXCAF6B3Dcjs.getTokenDecimals; exports.getTokenDecimalsByAddress = _chunkXCAF6B3Dcjs.getTokenDecimalsByAddress; exports.getTokenIcon = _chunkXCAF6B3Dcjs.getTokenIcon; exports.getTokenSymbol = _chunkXCAF6B3Dcjs.getTokenSymbol; exports.getUsdcAddress = _chunkXCAF6B3Dcjs.getUsdcAddress; exports.getUsdcDecimals = _chunkXCAF6B3Dcjs.getUsdcDecimals; exports.isSupportedTokenAddressForChain = _chunkXCAF6B3Dcjs.isSupportedTokenAddressForChain;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
export { DepositModal } from './deposit.cjs';
|
|
2
2
|
export { WithdrawModal } from './withdraw.cjs';
|
|
3
|
-
export {
|
|
4
|
-
export { A as AssetOption, C as ChainId, a as ConnectedEventData, D as DepositCompleteEventData, b as DepositEvent, c as DepositFailedEventData, d as DepositModalBranding, e as DepositModalProps, f as DepositModalTheme, g as DepositModalUIConfig, h as DepositSubmittedEventData, E as ErrorEventData, M as ModalEvent, O as OrderBookSwapAction, i as OutputTokenRule, P as PostBridgeAction, R as RouteConfig, W as WithdrawCompleteEventData, j as WithdrawEvent, k as WithdrawFailedEventData, l as WithdrawModalProps, m as WithdrawSubmittedEventData } from './types-D0NawmZ8.cjs';
|
|
3
|
+
export { A as AssetOption, C as ChainId, a as ConnectedEventData, D as DepositAnalyticsEvent, b as DepositCompleteEventData, c as DepositFailedEventData, d as DepositLifecycleEvent, e as DepositModalProps, f as DepositModalTheme, g as DepositModalUIConfig, h as DepositSubmittedEventData, E as ErrorEventData, M as ModalAnalyticsEvent, O as OrderBookSwapAction, i as OutputTokenRule, P as PostBridgeAction, R as RouteConfig, S as SafeTransactionRequest, W as WithdrawAnalyticsEvent, j as WithdrawCompleteEventData, k as WithdrawFailedEventData, l as WithdrawLifecycleEvent, m as WithdrawModalProps, n as WithdrawSubmittedEventData } from './types-DRou84ZM.cjs';
|
|
5
4
|
export { CHAIN_BY_ID, DEFAULT_BACKEND_URL, DEFAULT_SIGNER_ADDRESS, NATIVE_TOKEN_ADDRESS, SOURCE_CHAINS, SUPPORTED_CHAINS, chainRegistry, findChainIdForToken, getChainBadge, getChainIcon, getChainId, getChainName, getChainObject, getExplorerName, getExplorerTxUrl, getExplorerUrl, getSupportedChainIds, getSupportedTargetTokens, getSupportedTokenSymbolsForChain, getTargetTokenSymbolsForChain, getTokenAddress, getTokenDecimals, getTokenDecimalsByAddress, getTokenIcon, getTokenSymbol, getUsdcAddress, getUsdcDecimals, isSupportedTokenAddressForChain } from './constants.cjs';
|
|
6
|
-
export { S as SafeTransactionRequest } from './safe-CB7TvRCc.cjs';
|
|
7
5
|
import 'react/jsx-runtime';
|
|
8
6
|
import 'viem';
|
|
9
7
|
import 'viem/chains';
|
|
8
|
+
|
|
9
|
+
declare function disconnectWallet(): Promise<void>;
|
|
10
|
+
|
|
11
|
+
export { disconnectWallet };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
export { DepositModal } from './deposit.js';
|
|
2
2
|
export { WithdrawModal } from './withdraw.js';
|
|
3
|
-
export {
|
|
4
|
-
export { A as AssetOption, C as ChainId, a as ConnectedEventData, D as DepositCompleteEventData, b as DepositEvent, c as DepositFailedEventData, d as DepositModalBranding, e as DepositModalProps, f as DepositModalTheme, g as DepositModalUIConfig, h as DepositSubmittedEventData, E as ErrorEventData, M as ModalEvent, O as OrderBookSwapAction, i as OutputTokenRule, P as PostBridgeAction, R as RouteConfig, W as WithdrawCompleteEventData, j as WithdrawEvent, k as WithdrawFailedEventData, l as WithdrawModalProps, m as WithdrawSubmittedEventData } from './types-CeFbJ-MW.js';
|
|
3
|
+
export { A as AssetOption, C as ChainId, a as ConnectedEventData, D as DepositAnalyticsEvent, b as DepositCompleteEventData, c as DepositFailedEventData, d as DepositLifecycleEvent, e as DepositModalProps, f as DepositModalTheme, g as DepositModalUIConfig, h as DepositSubmittedEventData, E as ErrorEventData, M as ModalAnalyticsEvent, O as OrderBookSwapAction, i as OutputTokenRule, P as PostBridgeAction, R as RouteConfig, S as SafeTransactionRequest, W as WithdrawAnalyticsEvent, j as WithdrawCompleteEventData, k as WithdrawFailedEventData, l as WithdrawLifecycleEvent, m as WithdrawModalProps, n as WithdrawSubmittedEventData } from './types-DRou84ZM.js';
|
|
5
4
|
export { CHAIN_BY_ID, DEFAULT_BACKEND_URL, DEFAULT_SIGNER_ADDRESS, NATIVE_TOKEN_ADDRESS, SOURCE_CHAINS, SUPPORTED_CHAINS, chainRegistry, findChainIdForToken, getChainBadge, getChainIcon, getChainId, getChainName, getChainObject, getExplorerName, getExplorerTxUrl, getExplorerUrl, getSupportedChainIds, getSupportedTargetTokens, getSupportedTokenSymbolsForChain, getTargetTokenSymbolsForChain, getTokenAddress, getTokenDecimals, getTokenDecimalsByAddress, getTokenIcon, getTokenSymbol, getUsdcAddress, getUsdcDecimals, isSupportedTokenAddressForChain } from './constants.js';
|
|
6
|
-
export { S as SafeTransactionRequest } from './safe-CB7TvRCc.js';
|
|
7
5
|
import 'react/jsx-runtime';
|
|
8
6
|
import 'viem';
|
|
9
7
|
import 'viem/chains';
|
|
8
|
+
|
|
9
|
+
declare function disconnectWallet(): Promise<void>;
|
|
10
|
+
|
|
11
|
+
export { disconnectWallet };
|
package/dist/index.mjs
CHANGED
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DepositModal
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-LHOHM67Z.mjs";
|
|
3
|
+
} from "./chunk-U5QIFNG4.mjs";
|
|
5
4
|
import {
|
|
6
5
|
WithdrawModal
|
|
7
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-FKPTIHU7.mjs";
|
|
8
7
|
import {
|
|
9
8
|
disconnectWallet
|
|
10
9
|
} from "./chunk-5YXAQB6A.mjs";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-J2SWZSXL.mjs";
|
|
10
|
+
import "./chunk-UIHAYD7J.mjs";
|
|
13
11
|
import {
|
|
14
12
|
CHAIN_BY_ID,
|
|
15
13
|
DEFAULT_BACKEND_URL,
|
|
@@ -39,7 +37,7 @@ import {
|
|
|
39
37
|
getUsdcAddress,
|
|
40
38
|
getUsdcDecimals,
|
|
41
39
|
isSupportedTokenAddressForChain
|
|
42
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-EEHUOFIW.mjs";
|
|
43
41
|
export {
|
|
44
42
|
CHAIN_BY_ID,
|
|
45
43
|
DEFAULT_BACKEND_URL,
|