@rhinestone/deposit-modal 0.13.0 → 0.14.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 +43 -2
- package/bridge-transcript.json +653 -0
- package/dist/ClaimModal-IKTJU43Y.cjs +13 -0
- package/dist/ClaimModal-SEKNWRMA.mjs +13 -0
- package/dist/{DepositModalReown-YNNHLAV2.cjs → DepositModalReown-46LPVFB6.cjs} +16 -15
- package/dist/{DepositModalReown-3H75G3XQ.mjs → DepositModalReown-Q2JMLT47.mjs} +6 -5
- package/dist/WithdrawModal-5ICGD4HJ.mjs +12 -0
- package/dist/WithdrawModal-VP6PMIRO.cjs +12 -0
- package/dist/{chunk-GACIGCSN.cjs → chunk-6KG642KH.cjs} +1 -1
- package/dist/{chunk-RAADLTSW.cjs → chunk-7ICSHJFE.cjs} +179 -138
- package/dist/{chunk-COCBCQQC.mjs → chunk-7SR7ENVJ.mjs} +46 -5
- package/dist/{chunk-OLCD75JK.mjs → chunk-CFKC77SV.mjs} +451 -131
- package/dist/{chunk-EOMT5LKX.mjs → chunk-IN77XSWO.mjs} +526 -3
- package/dist/{chunk-FZ5FZFIG.mjs → chunk-K4H6TGBE.mjs} +1 -1
- package/dist/{chunk-DSIZNRWA.mjs → chunk-KTUVSKR4.mjs} +979 -360
- package/dist/{chunk-HOGZKHHY.cjs → chunk-LZFRL2AL.cjs} +3 -3
- package/dist/{chunk-7N77GIP4.cjs → chunk-MTFJSE52.cjs} +465 -171
- package/dist/{chunk-LTMMETAB.mjs → chunk-PKML3XVS.mjs} +404 -110
- package/dist/{chunk-ZMT4ATHR.cjs → chunk-V2OBGLJD.cjs} +564 -41
- package/dist/{chunk-XYJFEN5D.mjs → chunk-WUJIKCFU.mjs} +1 -1
- package/dist/{chunk-CVGNCUVU.cjs → chunk-X2IPAPXU.cjs} +22 -13
- package/dist/{chunk-2G2EIN4A.cjs → chunk-YCQZJQO6.cjs} +1272 -653
- package/dist/{chunk-5NUIKYSF.cjs → chunk-YWMWI7PZ.cjs} +458 -138
- package/dist/{chunk-YREVFB64.mjs → chunk-ZEO6ADM3.mjs} +16 -7
- package/dist/claim.cjs +6 -6
- package/dist/claim.d.cts +3 -3
- package/dist/claim.d.ts +3 -3
- package/dist/claim.mjs +5 -5
- 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 +6 -6
- package/dist/deposit.d.cts +2 -2
- package/dist/deposit.d.ts +2 -2
- package/dist/deposit.mjs +5 -5
- package/dist/embed.cjs +310 -102
- package/dist/embed.d.cts +7 -1
- package/dist/embed.d.ts +7 -1
- package/dist/embed.mjs +285 -77
- package/dist/index.cjs +9 -9
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +8 -8
- package/dist/types-Bho4OA03.d.ts +982 -0
- package/dist/types-DP_3KwlD.d.cts +982 -0
- package/dist/withdraw.cjs +5 -5
- package/dist/withdraw.d.cts +3 -3
- package/dist/withdraw.d.ts +3 -3
- package/dist/withdraw.mjs +4 -4
- package/package.json +28 -7
- package/dist/ClaimModal-CREZO27I.mjs +0 -11
- package/dist/ClaimModal-JRIA32U2.cjs +0 -11
- package/dist/WithdrawModal-NVRX44IZ.mjs +0 -10
- package/dist/WithdrawModal-YYSBPCJJ.cjs +0 -10
- package/dist/types-B89I8_8H.d.ts +0 -638
- package/dist/types-nnDR4tqA.d.cts +0 -638
package/dist/withdraw.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
6
|
-
require('./chunk-
|
|
3
|
+
var _chunkMTFJSE52cjs = require('./chunk-MTFJSE52.cjs');
|
|
4
|
+
require('./chunk-7ICSHJFE.cjs');
|
|
5
|
+
require('./chunk-V2OBGLJD.cjs');
|
|
6
|
+
require('./chunk-6KG642KH.cjs');
|
|
7
7
|
require('./chunk-4KCSH4T3.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
exports.WithdrawModal =
|
|
10
|
+
exports.WithdrawModal = _chunkMTFJSE52cjs.WithdrawModal;
|
package/dist/withdraw.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export { a as
|
|
2
|
+
import { a9 as WithdrawModalProps } from './types-DP_3KwlD.cjs';
|
|
3
|
+
export { A as AnalyticsEventEnvelope, a as AnalyticsIngestFailureEvent, b as AnalyticsIngestFailureReason, c as AnalyticsReasonFamily, e as AssetOption, p as ConnectedEventData, V as ErrorEventData, Z as RpcUrlMap, _ as WithdrawAnalyticsAbandonmentReason, $ as WithdrawAnalyticsCloseSource, a0 as WithdrawAnalyticsEvent, a1 as WithdrawAnalyticsEventPayload, a2 as WithdrawAnalyticsFailureReason, a3 as WithdrawAnalyticsSessionProperties, a4 as WithdrawAnalyticsStep, a5 as WithdrawAnalyticsUiOutcome, a6 as WithdrawCompleteEventData, a7 as WithdrawFailedEventData, aa as WithdrawSubmittedEventData, ab as WithdrawTransferRequest } from './types-DP_3KwlD.cjs';
|
|
4
4
|
import { M as ModalUiState } from './modal-ui-state-OD1RmKkK.cjs';
|
|
5
5
|
import 'viem';
|
|
6
6
|
import './caip-D8aRWdEY.cjs';
|
|
@@ -12,6 +12,6 @@ import './caip-D8aRWdEY.cjs';
|
|
|
12
12
|
interface WithdrawModalInternalProps {
|
|
13
13
|
onUiState?: (state: ModalUiState) => void;
|
|
14
14
|
}
|
|
15
|
-
declare function WithdrawModal({ accountAddress, sourceChain: sourceChainProp, sourceToken, targetChain: targetChainProp, targetToken, recipient, defaultAmount, isOpen, onClose, inline, closeOnOverlayClick, backendUrl, rpcUrls: rpcUrlsProp, forceRegister, onSendTransaction, theme, uiConfig, className, onReady, onLifecycle, onEvent, onError, debug, onUiState, ...removedProps }: WithdrawModalProps & WithdrawModalInternalProps): react.JSX.Element;
|
|
15
|
+
declare function WithdrawModal({ accountAddress, sourceChain: sourceChainProp, sourceToken, targetChain: targetChainProp, targetToken, recipient, defaultAmount, isOpen, onClose, inline, closeOnOverlayClick, backendUrl, rpcUrls: rpcUrlsProp, forceRegister, onSendTransaction, theme, uiConfig, className, onReady, onLifecycle, onEvent, onError, enableAnalyticsIngest, analyticsIngestUrl, debug, onUiState, ...removedProps }: WithdrawModalProps & WithdrawModalInternalProps): react.JSX.Element;
|
|
16
16
|
|
|
17
17
|
export { WithdrawModal, WithdrawModalProps };
|
package/dist/withdraw.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export { a as
|
|
2
|
+
import { a9 as WithdrawModalProps } from './types-Bho4OA03.js';
|
|
3
|
+
export { A as AnalyticsEventEnvelope, a as AnalyticsIngestFailureEvent, b as AnalyticsIngestFailureReason, c as AnalyticsReasonFamily, e as AssetOption, p as ConnectedEventData, V as ErrorEventData, Z as RpcUrlMap, _ as WithdrawAnalyticsAbandonmentReason, $ as WithdrawAnalyticsCloseSource, a0 as WithdrawAnalyticsEvent, a1 as WithdrawAnalyticsEventPayload, a2 as WithdrawAnalyticsFailureReason, a3 as WithdrawAnalyticsSessionProperties, a4 as WithdrawAnalyticsStep, a5 as WithdrawAnalyticsUiOutcome, a6 as WithdrawCompleteEventData, a7 as WithdrawFailedEventData, aa as WithdrawSubmittedEventData, ab as WithdrawTransferRequest } from './types-Bho4OA03.js';
|
|
4
4
|
import { M as ModalUiState } from './modal-ui-state-OD1RmKkK.js';
|
|
5
5
|
import 'viem';
|
|
6
6
|
import './caip-D8aRWdEY.js';
|
|
@@ -12,6 +12,6 @@ import './caip-D8aRWdEY.js';
|
|
|
12
12
|
interface WithdrawModalInternalProps {
|
|
13
13
|
onUiState?: (state: ModalUiState) => void;
|
|
14
14
|
}
|
|
15
|
-
declare function WithdrawModal({ accountAddress, sourceChain: sourceChainProp, sourceToken, targetChain: targetChainProp, targetToken, recipient, defaultAmount, isOpen, onClose, inline, closeOnOverlayClick, backendUrl, rpcUrls: rpcUrlsProp, forceRegister, onSendTransaction, theme, uiConfig, className, onReady, onLifecycle, onEvent, onError, debug, onUiState, ...removedProps }: WithdrawModalProps & WithdrawModalInternalProps): react.JSX.Element;
|
|
15
|
+
declare function WithdrawModal({ accountAddress, sourceChain: sourceChainProp, sourceToken, targetChain: targetChainProp, targetToken, recipient, defaultAmount, isOpen, onClose, inline, closeOnOverlayClick, backendUrl, rpcUrls: rpcUrlsProp, forceRegister, onSendTransaction, theme, uiConfig, className, onReady, onLifecycle, onEvent, onError, enableAnalyticsIngest, analyticsIngestUrl, debug, onUiState, ...removedProps }: WithdrawModalProps & WithdrawModalInternalProps): react.JSX.Element;
|
|
16
16
|
|
|
17
17
|
export { WithdrawModal, WithdrawModalProps };
|
package/dist/withdraw.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WithdrawModal
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-PKML3XVS.mjs";
|
|
4
|
+
import "./chunk-7SR7ENVJ.mjs";
|
|
5
|
+
import "./chunk-IN77XSWO.mjs";
|
|
6
|
+
import "./chunk-K4H6TGBE.mjs";
|
|
7
7
|
import "./chunk-VUATPOWJ.mjs";
|
|
8
8
|
export {
|
|
9
9
|
WithdrawModal
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rhinestone/deposit-modal",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.14.0",
|
|
4
4
|
"description": "React modal component for Rhinestone cross-chain deposits",
|
|
5
5
|
"author": "Rhinestone <dev@rhinestone.wtf>",
|
|
6
6
|
"bugs": {
|
|
@@ -89,10 +89,12 @@
|
|
|
89
89
|
"./styles.css": {
|
|
90
90
|
"types": "./dist/styles.d.ts",
|
|
91
91
|
"default": "./dist/styles.css"
|
|
92
|
-
}
|
|
92
|
+
},
|
|
93
|
+
"./bridge-transcript.json": "./bridge-transcript.json"
|
|
93
94
|
},
|
|
94
95
|
"files": [
|
|
95
96
|
"dist",
|
|
97
|
+
"bridge-transcript.json",
|
|
96
98
|
"README.md"
|
|
97
99
|
],
|
|
98
100
|
"sideEffects": [
|
|
@@ -170,7 +172,7 @@
|
|
|
170
172
|
"size-limit": "^12.0.0",
|
|
171
173
|
"tsup": "^8.0.0",
|
|
172
174
|
"typescript": "^5.5.0",
|
|
173
|
-
"viem": "
|
|
175
|
+
"viem": ">=2.53.1 <2.56.0",
|
|
174
176
|
"vite": "^8.1.4",
|
|
175
177
|
"vitest": "^4.0.10",
|
|
176
178
|
"wagmi": "^3.6.18"
|
|
@@ -179,7 +181,7 @@
|
|
|
179
181
|
{
|
|
180
182
|
"name": "Total Bundle (Everything)",
|
|
181
183
|
"path": "dist/index.mjs",
|
|
182
|
-
"limit": "
|
|
184
|
+
"limit": "92.9 kB",
|
|
183
185
|
"ignore": [
|
|
184
186
|
"react",
|
|
185
187
|
"react-dom",
|
|
@@ -198,7 +200,7 @@
|
|
|
198
200
|
{
|
|
199
201
|
"name": "Native Embed (all three modes)",
|
|
200
202
|
"path": "dist/embed.mjs",
|
|
201
|
-
"limit": "
|
|
203
|
+
"limit": "99.2 kB",
|
|
202
204
|
"ignore": [
|
|
203
205
|
"react",
|
|
204
206
|
"react-dom",
|
|
@@ -218,7 +220,26 @@
|
|
|
218
220
|
"name": "Deposit & Withdraw Modals Only",
|
|
219
221
|
"path": "dist/index.mjs",
|
|
220
222
|
"import": "{ DepositModal, WithdrawModal }",
|
|
221
|
-
"limit": "
|
|
223
|
+
"limit": "88.3 kB",
|
|
224
|
+
"ignore": [
|
|
225
|
+
"react",
|
|
226
|
+
"react-dom",
|
|
227
|
+
"viem",
|
|
228
|
+
"wagmi",
|
|
229
|
+
"@tanstack/react-query",
|
|
230
|
+
"@reown/appkit",
|
|
231
|
+
"@reown/appkit-adapter-wagmi",
|
|
232
|
+
"@walletconnect/ethereum-provider",
|
|
233
|
+
"@coinbase/wallet-sdk",
|
|
234
|
+
"@metamask/sdk",
|
|
235
|
+
"porto",
|
|
236
|
+
"porto/internal"
|
|
237
|
+
]
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
"name": "Withdraw Modal Only",
|
|
241
|
+
"path": "dist/withdraw.mjs",
|
|
242
|
+
"limit": "35.5 kB",
|
|
222
243
|
"ignore": [
|
|
223
244
|
"react",
|
|
224
245
|
"react-dom",
|
|
@@ -246,7 +267,7 @@
|
|
|
246
267
|
"name": "Claim Modal Only",
|
|
247
268
|
"path": "dist/claim.mjs",
|
|
248
269
|
"import": "{ ClaimModal }",
|
|
249
|
-
"limit": "
|
|
270
|
+
"limit": "25.6 kB",
|
|
250
271
|
"ignore": [
|
|
251
272
|
"react",
|
|
252
273
|
"react-dom",
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
var _chunk5NUIKYSFcjs = require('./chunk-5NUIKYSF.cjs');
|
|
4
|
-
require('./chunk-CVGNCUVU.cjs');
|
|
5
|
-
require('./chunk-HOGZKHHY.cjs');
|
|
6
|
-
require('./chunk-ZMT4ATHR.cjs');
|
|
7
|
-
require('./chunk-GACIGCSN.cjs');
|
|
8
|
-
require('./chunk-4KCSH4T3.cjs');
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
exports.ClaimModal = _chunk5NUIKYSFcjs.ClaimModal;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
var _chunk7N77GIP4cjs = require('./chunk-7N77GIP4.cjs');
|
|
4
|
-
require('./chunk-RAADLTSW.cjs');
|
|
5
|
-
require('./chunk-ZMT4ATHR.cjs');
|
|
6
|
-
require('./chunk-GACIGCSN.cjs');
|
|
7
|
-
require('./chunk-4KCSH4T3.cjs');
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
exports.WithdrawModal = _chunk7N77GIP4cjs.WithdrawModal;
|