@rhinestone/deposit-modal 0.1.66 → 0.1.67
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/dist/{DepositModalReown-RXIVPSEE.mjs → DepositModalReown-EYIV6APK.mjs} +3 -3
- package/dist/{DepositModalReown-WFXQKZDH.cjs → DepositModalReown-UPYZN2XA.cjs} +4 -4
- package/dist/{WithdrawModalReown-MME7VSKX.mjs → WithdrawModalReown-6VYKKKJN.mjs} +3 -3
- package/dist/{WithdrawModalReown-PXS44GZO.cjs → WithdrawModalReown-WHPQDJJJ.cjs} +4 -4
- package/dist/{chunk-CULXRW6U.mjs → chunk-5FDIQNJJ.mjs} +22 -19
- package/dist/{chunk-JZWCK7C3.cjs → chunk-FLVSQDP4.cjs} +98 -91
- package/dist/{chunk-FWGLRTWF.mjs → chunk-IUW3SJQT.mjs} +61 -54
- package/dist/{chunk-75LRORPO.cjs → chunk-LTLFJPHO.cjs} +106 -103
- package/dist/{chunk-R6U6BHCV.cjs → chunk-MUWVDVY4.cjs} +13 -1
- package/dist/{chunk-JDO7QPPH.mjs → chunk-NFE5ZLD3.mjs} +786 -392
- package/dist/{chunk-CIXHTOO3.mjs → chunk-SDZKKUCJ.mjs} +13 -1
- package/dist/{chunk-5GN4QU67.cjs → chunk-UDKZWFCM.cjs} +842 -448
- package/dist/constants.cjs +2 -2
- package/dist/constants.mjs +1 -1
- package/dist/deposit.cjs +4 -4
- package/dist/deposit.d.cts +2 -2
- package/dist/deposit.d.ts +2 -2
- package/dist/deposit.mjs +3 -3
- package/dist/index.cjs +5 -5
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +4 -4
- package/dist/reown.cjs +5 -5
- package/dist/reown.d.cts +1 -1
- package/dist/reown.d.ts +1 -1
- package/dist/reown.mjs +4 -4
- package/dist/styles.css +264 -33
- package/dist/{types-ymKENnUK.d.ts → types-DGQzvl6v.d.ts} +11 -1
- package/dist/{types-DjaZ9sa8.d.cts → types-DJ1fzNC7.d.cts} +11 -1
- package/dist/withdraw.cjs +4 -4
- package/dist/withdraw.d.cts +2 -2
- package/dist/withdraw.d.ts +2 -2
- package/dist/withdraw.mjs +3 -3
- package/package.json +5 -5
|
@@ -74,6 +74,14 @@ interface ErrorEventData {
|
|
|
74
74
|
message: string;
|
|
75
75
|
code?: string;
|
|
76
76
|
}
|
|
77
|
+
interface OutputTokenRule {
|
|
78
|
+
match: {
|
|
79
|
+
chain?: string;
|
|
80
|
+
token?: string;
|
|
81
|
+
symbol?: string;
|
|
82
|
+
};
|
|
83
|
+
outputToken: string;
|
|
84
|
+
}
|
|
77
85
|
interface RouteConfig {
|
|
78
86
|
sourceChains?: number[];
|
|
79
87
|
sourceTokens?: string[];
|
|
@@ -93,6 +101,8 @@ interface DepositModalProps {
|
|
|
93
101
|
defaultAmount?: string;
|
|
94
102
|
recipient: Address;
|
|
95
103
|
postBridgeActions?: PostBridgeAction[];
|
|
104
|
+
outputTokenRules?: OutputTokenRule[];
|
|
105
|
+
rejectUnmapped?: boolean;
|
|
96
106
|
backendUrl?: string;
|
|
97
107
|
solanaRpcUrl?: string;
|
|
98
108
|
rhinestoneApiKey?: string;
|
|
@@ -224,4 +234,4 @@ type WithdrawEvent = {
|
|
|
224
234
|
};
|
|
225
235
|
type ModalEvent = DepositEvent | WithdrawEvent;
|
|
226
236
|
|
|
227
|
-
export type { AssetOption as A, ChainId as C, DepositCompleteEventData as D, ErrorEventData as E, ModalEvent as M, OrderBookSwapAction as O, PostBridgeAction as P, RouteConfig as R, WithdrawCompleteEventData as W, ConnectedEventData as a, DepositEvent as b, DepositFailedEventData as c, DepositModalBranding as d, DepositModalProps as e, DepositModalTheme as f, DepositModalUIConfig as g, DepositSubmittedEventData as h,
|
|
237
|
+
export type { AssetOption as A, ChainId as C, DepositCompleteEventData as D, ErrorEventData as E, ModalEvent as M, OrderBookSwapAction as O, PostBridgeAction as P, RouteConfig as R, WithdrawCompleteEventData as W, ConnectedEventData as a, DepositEvent as b, DepositFailedEventData as c, DepositModalBranding as d, DepositModalProps as e, DepositModalTheme as f, DepositModalUIConfig as g, DepositSubmittedEventData as h, OutputTokenRule as i, WithdrawEvent as j, WithdrawFailedEventData as k, WithdrawModalProps as l, WithdrawSubmittedEventData as m };
|
package/dist/withdraw.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
3
|
+
var _chunkLTLFJPHOcjs = require('./chunk-LTLFJPHO.cjs');
|
|
4
|
+
require('./chunk-FLVSQDP4.cjs');
|
|
5
|
+
require('./chunk-MUWVDVY4.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.WithdrawModal =
|
|
8
|
+
exports.WithdrawModal = _chunkLTLFJPHOcjs.WithdrawModal;
|
package/dist/withdraw.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import {
|
|
3
|
-
export { A as AssetOption, a as ConnectedEventData, E as ErrorEventData, W as WithdrawCompleteEventData,
|
|
2
|
+
import { l as WithdrawModalProps } from './types-DJ1fzNC7.cjs';
|
|
3
|
+
export { A as AssetOption, a as ConnectedEventData, E as ErrorEventData, W as WithdrawCompleteEventData, k as WithdrawFailedEventData, m as WithdrawSubmittedEventData } from './types-DJ1fzNC7.cjs';
|
|
4
4
|
export { SafeTransactionRequest } from './safe.cjs';
|
|
5
5
|
import 'viem';
|
|
6
6
|
|
package/dist/withdraw.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import {
|
|
3
|
-
export { A as AssetOption, a as ConnectedEventData, E as ErrorEventData, W as WithdrawCompleteEventData,
|
|
2
|
+
import { l as WithdrawModalProps } from './types-DGQzvl6v.js';
|
|
3
|
+
export { A as AssetOption, a as ConnectedEventData, E as ErrorEventData, W as WithdrawCompleteEventData, k as WithdrawFailedEventData, m as WithdrawSubmittedEventData } from './types-DGQzvl6v.js';
|
|
4
4
|
export { SafeTransactionRequest } from './safe.js';
|
|
5
5
|
import 'viem';
|
|
6
6
|
|
package/dist/withdraw.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rhinestone/deposit-modal",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.67",
|
|
4
4
|
"description": "React modal component for Rhinestone cross-chain deposits",
|
|
5
5
|
"author": "Rhinestone <dev@rhinestone.wtf>",
|
|
6
6
|
"bugs": {
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
}
|
|
85
85
|
},
|
|
86
86
|
"dependencies": {
|
|
87
|
-
"qrcode-
|
|
87
|
+
"react-qrcode-logo": "^4.0.0"
|
|
88
88
|
},
|
|
89
89
|
"devDependencies": {
|
|
90
90
|
"@reown/appkit": "1.8.19",
|
|
@@ -102,14 +102,14 @@
|
|
|
102
102
|
"size-limit": "^12.0.0",
|
|
103
103
|
"tsup": "^8.0.0",
|
|
104
104
|
"typescript": "^5.5.0",
|
|
105
|
-
"viem": "^2.
|
|
105
|
+
"viem": "^2.47.12",
|
|
106
106
|
"wagmi": "^3.4.2"
|
|
107
107
|
},
|
|
108
108
|
"size-limit": [
|
|
109
109
|
{
|
|
110
110
|
"name": "Total Bundle (Everything)",
|
|
111
111
|
"path": "dist/index.mjs",
|
|
112
|
-
"limit": "
|
|
112
|
+
"limit": "52 kB",
|
|
113
113
|
"ignore": [
|
|
114
114
|
"react",
|
|
115
115
|
"react-dom",
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
"name": "Deposit & Withdraw Modals Only",
|
|
130
130
|
"path": "dist/index.mjs",
|
|
131
131
|
"import": "{ DepositModal, WithdrawModal }",
|
|
132
|
-
"limit": "
|
|
132
|
+
"limit": "52 kB",
|
|
133
133
|
"ignore": [
|
|
134
134
|
"react",
|
|
135
135
|
"react-dom",
|