@rhinestone/deposit-modal 0.15.0 → 0.16.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 +22 -26
- package/dist/{DepositModalReown-R37SSHUF.cjs → DepositModalReown-IFN6YLZJ.cjs} +16 -17
- package/dist/{DepositModalReown-KOJ7VEY7.mjs → DepositModalReown-R7UROJPJ.mjs} +3 -4
- package/dist/WithdrawModal-SZEAI473.cjs +11 -0
- package/dist/{WithdrawModal-QVXHMH43.mjs → WithdrawModal-XKSSHVEJ.mjs} +3 -4
- package/dist/{chunk-DTVZUBHI.cjs → chunk-24N4KMJX.cjs} +71 -73
- package/dist/{chunk-CXBMIZUF.mjs → chunk-3HCCR54R.mjs} +1 -1
- package/dist/{chunk-5P2PVLS4.cjs → chunk-5CM3ZQ5U.cjs} +1 -1
- package/dist/{chunk-5VONFVQN.mjs → chunk-EA5CE2UZ.mjs} +3944 -864
- package/dist/{chunk-IKUYZA7A.mjs → chunk-F6ROQ6RJ.mjs} +28 -30
- package/dist/{chunk-3OOY67VJ.cjs → chunk-H4O22O7Y.cjs} +4930 -1850
- package/dist/{chunk-7UQ6OUEE.mjs → chunk-HMB2XQGD.mjs} +13 -15
- package/dist/{chunk-VPDCGD2D.cjs → chunk-V466XQSG.cjs} +260 -262
- package/dist/constants.cjs +2 -2
- package/dist/constants.d.cts +1 -1
- package/dist/constants.d.ts +1 -1
- package/dist/constants.mjs +1 -1
- package/dist/deposit.cjs +4 -5
- package/dist/deposit.d.cts +2 -2
- package/dist/deposit.d.ts +2 -2
- package/dist/deposit.mjs +3 -4
- package/dist/embed.cjs +18 -59
- package/dist/embed.d.cts +2 -8
- package/dist/embed.d.ts +2 -8
- package/dist/embed.mjs +9 -50
- package/dist/index.cjs +5 -10
- package/dist/index.d.cts +1 -3
- package/dist/index.d.ts +1 -3
- package/dist/index.mjs +4 -9
- package/dist/server.d.cts +2 -2
- package/dist/server.d.ts +2 -2
- package/dist/styles.css +15 -0
- package/dist/{types-CQ0NHqCy.d.ts → types-B9SbZQIG.d.ts} +15 -113
- package/dist/{types-CxiLX5sv.d.cts → types-SwGGf0eH.d.cts} +15 -113
- package/dist/withdraw.cjs +4 -5
- package/dist/withdraw.d.cts +31 -3
- package/dist/withdraw.d.ts +31 -3
- package/dist/withdraw.mjs +3 -4
- package/package.json +4 -35
- package/dist/ClaimModal-GFDBVCN5.cjs +0 -11
- package/dist/ClaimModal-VQS3AKEL.mjs +0 -11
- package/dist/WithdrawModal-RY2NMFLE.cjs +0 -12
- package/dist/chunk-6HUHVXCY.cjs +0 -704
- package/dist/chunk-QJ7RCCU7.mjs +0 -704
- package/dist/chunk-UCBUCX2W.mjs +0 -3169
- package/dist/chunk-X4D52IZK.cjs +0 -3169
- package/dist/claim.cjs +0 -9
- package/dist/claim.d.cts +0 -17
- package/dist/claim.d.ts +0 -17
- package/dist/claim.mjs +0 -9
- package/dist/modal-ui-state-OD1RmKkK.d.cts +0 -30
- package/dist/modal-ui-state-OD1RmKkK.d.ts +0 -30
|
@@ -1,30 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
HistoryEntryButton,
|
|
3
|
-
HistoryOverlay,
|
|
4
|
-
ProcessingStep,
|
|
5
|
-
SetupError,
|
|
6
|
-
Tooltip,
|
|
7
|
-
analyticsTargetProperties,
|
|
8
|
-
computeCacheKey,
|
|
9
|
-
computeIsCacheable,
|
|
10
|
-
computeRequestKey,
|
|
11
|
-
createHistoryAnalytics,
|
|
12
|
-
failureMessageForEvent,
|
|
13
|
-
fetchTokenPriceUsd,
|
|
14
|
-
getEventSourceDetails,
|
|
15
|
-
getEventTxHash,
|
|
16
|
-
getExchangeLogo,
|
|
17
|
-
getExchangeLogoSrc,
|
|
18
|
-
isDepositEvent,
|
|
19
|
-
isFailedEvent,
|
|
20
|
-
isHistoryEntryVisible,
|
|
21
|
-
isSubmissionUncertain,
|
|
22
|
-
readDedupedAccountSetupResult,
|
|
23
|
-
runAccountSetupDeduped,
|
|
24
|
-
txRefsMatch,
|
|
25
|
-
useHistoryPanel,
|
|
26
|
-
warnRemovedProps
|
|
27
|
-
} from "./chunk-UCBUCX2W.mjs";
|
|
28
1
|
import {
|
|
29
2
|
AnalyticsSession,
|
|
30
3
|
AppleIcon,
|
|
@@ -42,53 +15,78 @@ import {
|
|
|
42
15
|
CopyIcon,
|
|
43
16
|
ExternalLinkIcon,
|
|
44
17
|
HandCoinsIcon,
|
|
18
|
+
HistoryEntryButton,
|
|
19
|
+
HistoryOverlay,
|
|
45
20
|
InfoIcon,
|
|
46
21
|
ListRow,
|
|
47
22
|
MigrateAssetsIcon,
|
|
48
23
|
Modal,
|
|
49
24
|
PermitDepositSubmitError,
|
|
50
25
|
PoweredBy,
|
|
26
|
+
ProcessingStep,
|
|
51
27
|
RpcUrlsProvider,
|
|
52
28
|
SUPPORTED_CONNECT_EXCHANGE_COUNT,
|
|
29
|
+
SetupError,
|
|
53
30
|
Spinner,
|
|
54
31
|
SwappedConnectFeeChangedError,
|
|
55
32
|
TokenIcon,
|
|
33
|
+
Tooltip,
|
|
56
34
|
TransferCryptoIcon,
|
|
57
35
|
UnplugIcon,
|
|
58
36
|
WalletIcon,
|
|
37
|
+
analyticsTargetProperties,
|
|
59
38
|
applyTheme,
|
|
60
39
|
catalogKeyForChain,
|
|
61
40
|
chainIdsByValue,
|
|
62
41
|
checkBackendUrl,
|
|
42
|
+
computeCacheKey,
|
|
43
|
+
computeIsCacheable,
|
|
44
|
+
computeRequestKey,
|
|
63
45
|
createDepositService,
|
|
46
|
+
createHistoryAnalytics,
|
|
64
47
|
currencyFormatter,
|
|
65
48
|
debugError,
|
|
66
49
|
debugLog,
|
|
50
|
+
failureMessageForEvent,
|
|
51
|
+
fetchTokenPriceUsd,
|
|
67
52
|
formatQuotedReceive,
|
|
68
53
|
formatReceiveEstimate,
|
|
69
54
|
formatTokenAmount,
|
|
70
55
|
formatUserError,
|
|
71
56
|
getAssetId,
|
|
57
|
+
getEventSourceDetails,
|
|
58
|
+
getEventTxHash,
|
|
59
|
+
getExchangeLogo,
|
|
60
|
+
getExchangeLogoSrc,
|
|
72
61
|
getPublicClient,
|
|
62
|
+
isDepositEvent,
|
|
73
63
|
isDisplayStablecoinSymbol,
|
|
64
|
+
isFailedEvent,
|
|
65
|
+
isHistoryEntryVisible,
|
|
74
66
|
isNativeAsset,
|
|
75
67
|
isRecognizedToken,
|
|
68
|
+
isSubmissionUncertain,
|
|
76
69
|
portfolioToAssets,
|
|
77
70
|
quoteFeeRow,
|
|
71
|
+
readDedupedAccountSetupResult,
|
|
78
72
|
resolveAppFeeBps,
|
|
79
73
|
rpcUrlFor,
|
|
74
|
+
runAccountSetupDeduped,
|
|
80
75
|
tokenFormatter,
|
|
76
|
+
txRefsMatch,
|
|
81
77
|
useCatalogChain,
|
|
82
78
|
useChainCatalog,
|
|
83
79
|
useChainName,
|
|
84
80
|
useDepositAnalyticsEmitter,
|
|
85
81
|
useDepositChainIds,
|
|
86
82
|
useExplorerTxUrl,
|
|
83
|
+
useHistoryPanel,
|
|
87
84
|
useIsDepositChain,
|
|
88
85
|
useLatestRef,
|
|
89
86
|
useRpcUrls,
|
|
90
|
-
useStableRpcUrls
|
|
91
|
-
|
|
87
|
+
useStableRpcUrls,
|
|
88
|
+
warnRemovedProps
|
|
89
|
+
} from "./chunk-EA5CE2UZ.mjs";
|
|
92
90
|
import {
|
|
93
91
|
MULTICALL3_ADDRESS,
|
|
94
92
|
POLYMARKET_COLLATERAL_OFFRAMP_ADDRESS,
|
|
@@ -9645,7 +9643,7 @@ function DepositFlow({
|
|
|
9645
9643
|
import { jsx as jsx29, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
9646
9644
|
var ReownDepositInner = lazy2(async () => {
|
|
9647
9645
|
await loadReownDependencies();
|
|
9648
|
-
const module = await import("./DepositModalReown-
|
|
9646
|
+
const module = await import("./DepositModalReown-R7UROJPJ.mjs");
|
|
9649
9647
|
return { default: module.DepositModalReown };
|
|
9650
9648
|
});
|
|
9651
9649
|
function buildDepositAnalyticsSessionProperties({
|