@0xsequence/marketplace-sdk 0.4.7 → 0.4.9
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/{chunk-6R4G7J6Q.js → chunk-7HWJ4DUX.js} +29 -5
- package/dist/chunk-7HWJ4DUX.js.map +1 -0
- package/dist/{chunk-5UCKYAMR.js → chunk-BJLOO4NP.js} +647 -376
- package/dist/chunk-BJLOO4NP.js.map +1 -0
- package/dist/{chunk-2OJB35FS.js → chunk-BMWCIHCB.js} +5 -5
- package/dist/{chunk-2OJB35FS.js.map → chunk-BMWCIHCB.js.map} +1 -1
- package/dist/{chunk-R7GVMKMM.js → chunk-CUA4SGWT.js} +540 -18
- package/dist/chunk-CUA4SGWT.js.map +1 -0
- package/dist/{chunk-ZEH4JI2U.js → chunk-FCF57DZI.js} +7 -2
- package/dist/chunk-FCF57DZI.js.map +1 -0
- package/dist/{chunk-JEOUQFT3.js → chunk-TFCSNRD5.js} +4 -3
- package/dist/chunk-TFCSNRD5.js.map +1 -0
- package/dist/{chunk-AQT3BQ67.js → chunk-Y3KINNAU.js} +12 -5
- package/dist/chunk-Y3KINNAU.js.map +1 -0
- package/dist/{create-config-D5WqfUft.d.ts → create-config-CgYQDyMD.d.ts} +2 -2
- package/dist/index.css +31 -17
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -3
- package/dist/{marketplace-config-C_fDWzz0.d.ts → marketplace-config-BP5-XnFG.d.ts} +1 -1
- package/dist/{marketplace.gen-B8S8fflj.d.ts → marketplace.gen-BzmWLP9L.d.ts} +14 -4
- package/dist/react/_internal/api/index.d.ts +2 -2
- package/dist/react/_internal/api/index.js +3 -1
- package/dist/react/_internal/index.d.ts +5 -5
- package/dist/react/_internal/index.js +4 -2
- package/dist/react/_internal/wagmi/index.d.ts +3 -3
- package/dist/react/_internal/wagmi/index.js +1 -1
- package/dist/react/hooks/index.d.ts +46 -5
- package/dist/react/hooks/index.js +12 -5
- package/dist/react/index.css +37 -17
- package/dist/react/index.css.map +1 -1
- package/dist/react/index.d.ts +6 -6
- package/dist/react/index.js +15 -8
- package/dist/react/ssr/index.js +6 -1
- package/dist/react/ssr/index.js.map +1 -1
- package/dist/react/ui/components/collectible-card/index.css +37 -17
- package/dist/react/ui/components/collectible-card/index.css.map +1 -1
- package/dist/react/ui/components/collectible-card/index.d.ts +27 -4
- package/dist/react/ui/components/collectible-card/index.js +7 -8
- package/dist/react/ui/index.css +37 -17
- package/dist/react/ui/index.css.map +1 -1
- package/dist/react/ui/index.d.ts +3 -3
- package/dist/react/ui/index.js +7 -8
- package/dist/react/ui/modals/_internal/components/actionModal/index.d.ts +3 -3
- package/dist/react/ui/modals/_internal/components/actionModal/index.js +5 -5
- package/dist/{sdk-config-BXVH8PS2.d.ts → sdk-config-LbbmA85k.d.ts} +27 -7
- package/dist/{services-CdXAIjt1.d.ts → services-DW26ougH.d.ts} +1 -1
- package/dist/styles/index.css +31 -17
- package/dist/styles/index.css.map +1 -1
- package/dist/styles/index.d.ts +2 -2
- package/dist/styles/index.js +1 -1
- package/dist/types/index.d.ts +3 -3
- package/dist/types/index.js +2 -2
- package/dist/{types-eX4P9xju.d.ts → types-DhTZWw1U.d.ts} +2 -2
- package/dist/utils/index.d.ts +3 -3
- package/dist/utils/index.js +3 -3
- package/package.json +3 -2
- package/src/react/__tests__/provider.test.tsx +75 -0
- package/src/react/_internal/api/__mocks__/marketplace.msw.ts +4 -0
- package/src/react/_internal/api/marketplace.gen.ts +42 -7
- package/src/react/_internal/wagmi/__tests__/create-config.test.ts +196 -0
- package/src/react/_internal/wagmi/create-config.ts +9 -1
- package/src/react/_internal/wallet/useWallet.ts +30 -46
- package/src/react/_internal/wallet/wallet.ts +52 -6
- package/src/react/hooks/index.ts +2 -0
- package/src/react/hooks/options/__mocks__/marketplaceConfig.msw.ts +10 -1
- package/src/react/hooks/useCollectionDetails.tsx +35 -0
- package/src/react/hooks/useCollectionDetailsPolling.tsx +60 -0
- package/src/react/provider.tsx +5 -0
- package/src/react/ui/components/_internals/action-button/ActionButton.tsx +36 -118
- package/src/react/ui/components/_internals/action-button/components/ActionButtonBody.tsx +52 -0
- package/src/react/ui/components/_internals/action-button/components/NonOwnerActions.tsx +72 -0
- package/src/react/ui/components/_internals/action-button/components/OwnerActions.tsx +81 -0
- package/src/react/ui/components/_internals/action-button/hooks/useActionButtonLogic.ts +93 -0
- package/src/react/ui/components/_internals/action-button/store.ts +47 -0
- package/src/react/ui/components/_internals/action-button/styles.css.ts +8 -0
- package/src/react/ui/components/collectible-card/CollectibleCard.tsx +34 -14
- package/src/react/ui/components/collectible-card/Footer.tsx +9 -9
- package/src/react/ui/components/collectible-card/styles.css.ts +44 -31
- package/src/react/ui/icons/CartIcon.tsx +46 -0
- package/src/react/ui/modals/BuyModal/Modal.tsx +11 -4
- package/src/react/ui/modals/BuyModal/__tests__/Modal.test.tsx +253 -0
- package/src/react/ui/modals/BuyModal/__tests__/store.test.ts +100 -0
- package/src/react/ui/modals/BuyModal/hooks/__tests__/useBuyCollectable.test.tsx +402 -0
- package/src/react/ui/modals/BuyModal/hooks/__tests__/useCheckoutOptions.test.tsx +267 -0
- package/src/react/ui/modals/BuyModal/hooks/__tests__/useFees.test.tsx +166 -0
- package/src/react/ui/modals/BuyModal/hooks/__tests__/useLoadData.test.tsx +209 -0
- package/src/react/ui/modals/BuyModal/hooks/useCheckoutOptions.ts +19 -17
- package/src/react/ui/modals/BuyModal/hooks/useLoadData.ts +9 -7
- package/src/react/ui/modals/BuyModal/modals/CheckoutModal.tsx +7 -0
- package/src/react/ui/modals/BuyModal/modals/Modal1155.tsx +36 -18
- package/src/react/ui/modals/BuyModal/modals/__tests__/CheckoutModal.test.tsx +162 -0
- package/src/react/ui/modals/BuyModal/modals/__tests__/Modal1155.test.tsx +243 -0
- package/src/react/ui/modals/BuyModal/store.ts +11 -10
- package/src/react/ui/modals/CreateListingModal/Modal.tsx +26 -3
- package/src/react/ui/modals/CreateListingModal/__tests__/Modal.test.tsx +141 -29
- package/src/react/ui/modals/SuccessfulPurchaseModal/__tests__/Modal.test.tsx +145 -0
- package/src/react/ui/modals/_internal/components/actionModal/ActionModal.tsx +20 -11
- package/src/react/ui/modals/_internal/components/currencyOptionsSelect/__tests__/index.test.tsx +13 -58
- package/src/react/ui/modals/_internal/components/priceInput/__tests__/index.test.tsx +2 -0
- package/src/react/ui/modals/_internal/components/transactionStatusModal/__tests__/TransactionStatusModal.test.tsx +18 -19
- package/src/react/ui/modals/_internal/components/transactionStatusModal/__tests__/utils.test.ts +2 -0
- package/src/react/ui/modals/_internal/components/transactionStatusModal/hooks/useTransactionStatus.ts +62 -0
- package/src/react/ui/modals/_internal/components/transactionStatusModal/index.tsx +53 -100
- package/src/react/ui/modals/_internal/components/transactionStatusModal/store.ts +2 -10
- package/src/utils/_internal/error/config.ts +16 -0
- package/tsconfig.tsbuildinfo +1 -1
- package/dist/chunk-5UCKYAMR.js.map +0 -1
- package/dist/chunk-6R4G7J6Q.js.map +0 -1
- package/dist/chunk-AQT3BQ67.js.map +0 -1
- package/dist/chunk-FWN2MCLI.js +0 -425
- package/dist/chunk-FWN2MCLI.js.map +0 -1
- package/dist/chunk-JEOUQFT3.js.map +0 -1
- package/dist/chunk-R7GVMKMM.js.map +0 -1
- package/dist/chunk-ZEH4JI2U.js.map +0 -1
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { skipToken, useQuery } from '@tanstack/react-query';
|
|
2
|
+
import { useWallet } from '../../../../../../_internal/wallet/useWallet';
|
|
3
|
+
import type { TransactionStatus } from '../store';
|
|
4
|
+
import { TransactionStatus as IndexerTransactionStatus } from '@0xsequence/indexer';
|
|
5
|
+
import { type Hex, WaitForTransactionReceiptTimeoutError } from 'viem';
|
|
6
|
+
import type { ModalCallbacks } from '../../../types';
|
|
7
|
+
import { useState, useEffect } from 'react';
|
|
8
|
+
|
|
9
|
+
const useTransactionStatus = (
|
|
10
|
+
hash: Hex | undefined,
|
|
11
|
+
chainId: string,
|
|
12
|
+
callbacks?: ModalCallbacks,
|
|
13
|
+
) => {
|
|
14
|
+
const { wallet } = useWallet();
|
|
15
|
+
const [status, setStatus] = useState<TransactionStatus>(
|
|
16
|
+
hash ? 'PENDING' : 'SUCCESS',
|
|
17
|
+
);
|
|
18
|
+
|
|
19
|
+
const { data: confirmationResult } = useQuery({
|
|
20
|
+
queryKey: ['transaction-confirmation', hash, chainId, !!wallet],
|
|
21
|
+
queryFn:
|
|
22
|
+
!!wallet && hash
|
|
23
|
+
? async () =>
|
|
24
|
+
await wallet.handleConfirmTransactionStep(hash, Number(chainId))
|
|
25
|
+
: skipToken,
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
useEffect(() => {
|
|
29
|
+
if (!hash) {
|
|
30
|
+
setStatus('SUCCESS');
|
|
31
|
+
return;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
if (!confirmationResult) {
|
|
35
|
+
setStatus('PENDING');
|
|
36
|
+
return;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
try {
|
|
40
|
+
if (
|
|
41
|
+
confirmationResult.txnStatus === IndexerTransactionStatus.SUCCESSFUL
|
|
42
|
+
) {
|
|
43
|
+
setStatus('SUCCESS');
|
|
44
|
+
callbacks?.onSuccess?.({ hash: hash || '0x0' });
|
|
45
|
+
return;
|
|
46
|
+
}
|
|
47
|
+
setStatus('FAILED');
|
|
48
|
+
callbacks?.onError?.(new Error('Transaction failed'));
|
|
49
|
+
} catch (error) {
|
|
50
|
+
setStatus(
|
|
51
|
+
error instanceof WaitForTransactionReceiptTimeoutError
|
|
52
|
+
? 'TIMEOUT'
|
|
53
|
+
: 'FAILED',
|
|
54
|
+
);
|
|
55
|
+
callbacks?.onError?.(error as Error);
|
|
56
|
+
}
|
|
57
|
+
}, [confirmationResult, hash]);
|
|
58
|
+
|
|
59
|
+
return status;
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
export default useTransactionStatus;
|
|
@@ -4,22 +4,26 @@ import {
|
|
|
4
4
|
Skeleton,
|
|
5
5
|
Text,
|
|
6
6
|
} from '@0xsequence/design-system';
|
|
7
|
-
import { TRANSACTION_CONFIRMATIONS_DEFAULT } from '@0xsequence/kit';
|
|
8
7
|
import type { ChainId } from '@0xsequence/network';
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
8
|
+
import { use$ } from '@legendapp/state/react';
|
|
9
|
+
import {
|
|
10
|
+
Close,
|
|
11
|
+
Content,
|
|
12
|
+
Overlay,
|
|
13
|
+
Portal,
|
|
14
|
+
Root,
|
|
15
|
+
Title,
|
|
16
|
+
} from '@radix-ui/react-dialog';
|
|
11
17
|
import type { QueryKey } from '@tanstack/react-query';
|
|
12
|
-
import {
|
|
13
|
-
import { type Hex, WaitForTransactionReceiptTimeoutError } from 'viem';
|
|
18
|
+
import type { Hex } from 'viem';
|
|
14
19
|
import type { Price } from '../../../../../../types';
|
|
15
|
-
import { getPublicRpcClient } from '../../../../../../utils';
|
|
16
20
|
import { getProviderEl, getQueryClient } from '../../../../../_internal';
|
|
17
21
|
import type { TransactionType } from '../../../../../_internal/types';
|
|
18
22
|
import { useCollectible } from '../../../../../hooks';
|
|
19
23
|
import type { ModalCallbacks } from '../../types';
|
|
20
24
|
import TransactionFooter from '../transaction-footer';
|
|
21
25
|
import TransactionPreview from '../transactionPreview';
|
|
22
|
-
import {
|
|
26
|
+
import { transactionStatusModal$ } from './store';
|
|
23
27
|
import {
|
|
24
28
|
closeButton,
|
|
25
29
|
dialogOverlay,
|
|
@@ -27,6 +31,7 @@ import {
|
|
|
27
31
|
} from './styles.css';
|
|
28
32
|
import { getTransactionStatusModalMessage } from './util/getMessage';
|
|
29
33
|
import { getTransactionStatusModalTitle } from './util/getTitle';
|
|
34
|
+
import useTransactionStatus from './hooks/useTransactionStatus';
|
|
30
35
|
|
|
31
36
|
export type ShowTransactionStatusModalArgs = {
|
|
32
37
|
hash?: Hex;
|
|
@@ -38,29 +43,35 @@ export type ShowTransactionStatusModalArgs = {
|
|
|
38
43
|
type: TransactionType;
|
|
39
44
|
callbacks?: ModalCallbacks;
|
|
40
45
|
queriesToInvalidate?: QueryKey[];
|
|
41
|
-
|
|
42
|
-
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
const invalidateQueries = async (queriesToInvalidate?: QueryKey[]) => {
|
|
49
|
+
const queryClient = getQueryClient();
|
|
50
|
+
if (!queriesToInvalidate) {
|
|
51
|
+
// Invalidate everything by default
|
|
52
|
+
queryClient.invalidateQueries();
|
|
53
|
+
return;
|
|
54
|
+
}
|
|
55
|
+
for (const queryKey of queriesToInvalidate) {
|
|
56
|
+
await queryClient.invalidateQueries({ queryKey });
|
|
57
|
+
}
|
|
43
58
|
};
|
|
44
59
|
|
|
45
60
|
export const useTransactionStatusModal = () => {
|
|
46
61
|
return {
|
|
47
62
|
show: (args: ShowTransactionStatusModalArgs) => {
|
|
48
|
-
if (args.blocked) return;
|
|
49
|
-
|
|
50
63
|
transactionStatusModal$.open(args);
|
|
51
64
|
},
|
|
52
65
|
close: () => transactionStatusModal$.close(),
|
|
53
66
|
};
|
|
54
67
|
};
|
|
55
68
|
|
|
56
|
-
const
|
|
57
|
-
const
|
|
58
|
-
|
|
59
|
-
await queryClient.invalidateQueries({ queryKey });
|
|
60
|
-
}
|
|
69
|
+
const TransactionStatusModal = () => {
|
|
70
|
+
const isOpen = use$(transactionStatusModal$.isOpen);
|
|
71
|
+
return isOpen ? <Modal /> : null;
|
|
61
72
|
};
|
|
62
73
|
|
|
63
|
-
|
|
74
|
+
function Modal() {
|
|
64
75
|
const {
|
|
65
76
|
type,
|
|
66
77
|
hash,
|
|
@@ -71,75 +82,15 @@ const TransactionStatusModal = observer(() => {
|
|
|
71
82
|
collectibleId,
|
|
72
83
|
callbacks,
|
|
73
84
|
queriesToInvalidate,
|
|
74
|
-
|
|
75
|
-
|
|
85
|
+
} = use$(transactionStatusModal$.state);
|
|
86
|
+
|
|
76
87
|
const { data: collectible, isLoading: collectibleLoading } = useCollectible({
|
|
77
88
|
collectionAddress,
|
|
78
89
|
chainId,
|
|
79
90
|
collectibleId,
|
|
80
91
|
});
|
|
81
|
-
const [transactionStatus, setTransactionStatus] = useState<TransactionStatus>(
|
|
82
|
-
orderId ? 'SUCCESS' : 'PENDING',
|
|
83
|
-
);
|
|
84
|
-
const queryClient = getQueryClient();
|
|
85
|
-
const publicClient = chainId ? getPublicRpcClient(chainId) : null;
|
|
86
|
-
const waitForTransactionReceiptPromise =
|
|
87
|
-
publicClient?.waitForTransactionReceipt({
|
|
88
|
-
confirmations: confirmations || TRANSACTION_CONFIRMATIONS_DEFAULT,
|
|
89
|
-
hash: hash || '0x',
|
|
90
|
-
});
|
|
91
92
|
|
|
92
|
-
|
|
93
|
-
useEffect(() => {
|
|
94
|
-
// if it is a Reservoir order, we don't need to wait for the transaction receipt
|
|
95
|
-
if (!transactionStatusModal$.isOpen.get() || orderId) return;
|
|
96
|
-
|
|
97
|
-
console.log('Waiting for transaction receipt ...');
|
|
98
|
-
waitForTransactionReceiptPromise
|
|
99
|
-
?.then((receipt) => {
|
|
100
|
-
if (receipt.status === 'success') {
|
|
101
|
-
console.log('receipt', receipt);
|
|
102
|
-
setTransactionStatus('SUCCESS');
|
|
103
|
-
if (callbacks?.onSuccess) {
|
|
104
|
-
callbacks.onSuccess({ hash: hash || '0x0' });
|
|
105
|
-
} else {
|
|
106
|
-
console.debug('onSuccess callback not provided:', hash);
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
if (queriesToInvalidate) {
|
|
110
|
-
invalidateQueries(queriesToInvalidate);
|
|
111
|
-
} else {
|
|
112
|
-
queryClient.invalidateQueries();
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
})
|
|
116
|
-
.catch((error) => {
|
|
117
|
-
if (callbacks?.onError) {
|
|
118
|
-
callbacks.onError(error);
|
|
119
|
-
} else {
|
|
120
|
-
console.debug('onError callback not provided:', error);
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
if (error instanceof WaitForTransactionReceiptTimeoutError) {
|
|
124
|
-
setTransactionStatus('TIMEOUT');
|
|
125
|
-
return;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
setTransactionStatus('FAILED');
|
|
129
|
-
});
|
|
130
|
-
|
|
131
|
-
return () => {
|
|
132
|
-
setTransactionStatus('PENDING');
|
|
133
|
-
};
|
|
134
|
-
}, [
|
|
135
|
-
callbacks?.onSuccess,
|
|
136
|
-
callbacks?.onError,
|
|
137
|
-
transactionStatusModal$.isOpen.get(),
|
|
138
|
-
]);
|
|
139
|
-
|
|
140
|
-
if (!type) {
|
|
141
|
-
return null;
|
|
142
|
-
}
|
|
93
|
+
const transactionStatus = useTransactionStatus(hash, chainId, callbacks);
|
|
143
94
|
|
|
144
95
|
const title = getTransactionStatusModalTitle({
|
|
145
96
|
transactionStatus,
|
|
@@ -156,31 +107,32 @@ const TransactionStatusModal = observer(() => {
|
|
|
156
107
|
});
|
|
157
108
|
|
|
158
109
|
return (
|
|
159
|
-
<Root open={
|
|
110
|
+
<Root open={true}>
|
|
160
111
|
<Portal container={getProviderEl()}>
|
|
161
112
|
<Overlay className={dialogOverlay} />
|
|
162
|
-
|
|
163
113
|
<Content
|
|
164
114
|
className={transactionStatusModalContent}
|
|
165
115
|
data-testid="transaction-status-modal"
|
|
166
116
|
>
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
117
|
+
<Title asChild>
|
|
118
|
+
{title ? (
|
|
119
|
+
<Text
|
|
120
|
+
fontSize="large"
|
|
121
|
+
fontWeight="bold"
|
|
122
|
+
color="text100"
|
|
123
|
+
fontFamily="body"
|
|
124
|
+
data-testid="transaction-status-title"
|
|
125
|
+
>
|
|
126
|
+
{title}
|
|
127
|
+
</Text>
|
|
128
|
+
) : (
|
|
129
|
+
<Skeleton
|
|
130
|
+
width="16"
|
|
131
|
+
height="6"
|
|
132
|
+
data-testid="transaction-modal-title-skeleton"
|
|
133
|
+
/>
|
|
134
|
+
)}
|
|
135
|
+
</Title>
|
|
184
136
|
|
|
185
137
|
{message ? (
|
|
186
138
|
<Text
|
|
@@ -225,6 +177,7 @@ const TransactionStatusModal = observer(() => {
|
|
|
225
177
|
|
|
226
178
|
<Close
|
|
227
179
|
onClick={() => {
|
|
180
|
+
invalidateQueries(queriesToInvalidate);
|
|
228
181
|
transactionStatusModal$.close();
|
|
229
182
|
}}
|
|
230
183
|
className={closeButton}
|
|
@@ -236,6 +189,6 @@ const TransactionStatusModal = observer(() => {
|
|
|
236
189
|
</Portal>
|
|
237
190
|
</Root>
|
|
238
191
|
);
|
|
239
|
-
}
|
|
192
|
+
}
|
|
240
193
|
|
|
241
194
|
export default TransactionStatusModal;
|
|
@@ -23,15 +23,13 @@ export interface TransactionStatusModalState {
|
|
|
23
23
|
hash: Hex | undefined;
|
|
24
24
|
orderId: string | undefined;
|
|
25
25
|
status: TransactionStatus;
|
|
26
|
-
type: TransactionType
|
|
26
|
+
type: TransactionType;
|
|
27
27
|
price: Price | undefined;
|
|
28
28
|
collectionAddress: Hex;
|
|
29
29
|
chainId: string;
|
|
30
30
|
collectibleId: string;
|
|
31
31
|
callbacks?: ModalCallbacks;
|
|
32
32
|
queriesToInvalidate?: QueryKey[];
|
|
33
|
-
confirmations?: number;
|
|
34
|
-
blocked?: boolean;
|
|
35
33
|
};
|
|
36
34
|
}
|
|
37
35
|
|
|
@@ -47,8 +45,6 @@ export const initialState: TransactionStatusModalState = {
|
|
|
47
45
|
type,
|
|
48
46
|
callbacks,
|
|
49
47
|
queriesToInvalidate,
|
|
50
|
-
confirmations,
|
|
51
|
-
blocked,
|
|
52
48
|
}) => {
|
|
53
49
|
transactionStatusModal$.state.set({
|
|
54
50
|
...transactionStatusModal$.state.get(),
|
|
@@ -61,8 +57,6 @@ export const initialState: TransactionStatusModalState = {
|
|
|
61
57
|
type,
|
|
62
58
|
callbacks,
|
|
63
59
|
queriesToInvalidate,
|
|
64
|
-
confirmations,
|
|
65
|
-
blocked,
|
|
66
60
|
});
|
|
67
61
|
transactionStatusModal$.isOpen.set(true);
|
|
68
62
|
},
|
|
@@ -80,11 +74,9 @@ export const initialState: TransactionStatusModalState = {
|
|
|
80
74
|
collectionAddress: '' as Hex,
|
|
81
75
|
chainId: '',
|
|
82
76
|
collectibleId: '',
|
|
83
|
-
type: undefined,
|
|
77
|
+
type: undefined as unknown as TransactionType,
|
|
84
78
|
callbacks: undefined,
|
|
85
79
|
queriesToInvalidate: [],
|
|
86
|
-
confirmations: -1,
|
|
87
|
-
blocked: false,
|
|
88
80
|
},
|
|
89
81
|
};
|
|
90
82
|
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { BaseError } from './base';
|
|
2
|
+
|
|
3
|
+
export type ConfigErrorType<name extends string = 'ConfigError'> = BaseError & {
|
|
4
|
+
name: name;
|
|
5
|
+
};
|
|
6
|
+
|
|
7
|
+
export class ConfigError extends BaseError {
|
|
8
|
+
override name = 'ConfigError';
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export class InvalidProjectAccessKeyError extends ConfigError {
|
|
12
|
+
override name = 'InvalidProjectAccessKeyError';
|
|
13
|
+
constructor(projectAccessKey: string) {
|
|
14
|
+
super(`Invalid project access key: ${projectAccessKey}`);
|
|
15
|
+
}
|
|
16
|
+
}
|
package/tsconfig.tsbuildinfo
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"root":["./src/consts.ts","./src/index.ts","./src/react/index.ts","./src/react/provider.tsx","./src/react/_internal/consts.ts","./src/react/_internal/get-provider.ts","./src/react/_internal/index.ts","./src/react/_internal/logger.ts","./src/react/_internal/test-utils.tsx","./src/react/_internal/types.ts","./src/react/_internal/utils.ts","./src/react/_internal/api/get-query-client.ts","./src/react/_internal/api/index.ts","./src/react/_internal/api/marketplace-api.ts","./src/react/_internal/api/marketplace.gen.ts","./src/react/_internal/api/query-keys.ts","./src/react/_internal/api/services.ts","./src/react/_internal/api/zod-schema.ts","./src/react/_internal/api/__mocks__/marketplace.msw.ts","./src/react/_internal/wagmi/create-config.ts","./src/react/_internal/wagmi/embedded.ts","./src/react/_internal/wagmi/index.ts","./src/react/_internal/wagmi/universal.ts","./src/react/_internal/wallet/usewallet.ts","./src/react/_internal/wallet/wallet.ts","./src/react/hooks/index.ts","./src/react/hooks/usebalanceofcollectible.tsx","./src/react/hooks/usecancelorder.tsx","./src/react/hooks/usecanceltransactionsteps.tsx","./src/react/hooks/usecheckoutoptions.tsx","./src/react/hooks/usecollectible.tsx","./src/react/hooks/usecollection.tsx","./src/react/hooks/useconfig.tsx","./src/react/hooks/usecountlistingsforcollectible.tsx","./src/react/hooks/usecountofcollectables.tsx","./src/react/hooks/usecountoffersforcollectible.tsx","./src/react/hooks/usecurrencies.tsx","./src/react/hooks/usecurrency.tsx","./src/react/hooks/usecurrencybalance.tsx","./src/react/hooks/usecurrencyoptions.tsx","./src/react/hooks/usefilters.tsx","./src/react/hooks/usefloororder.tsx","./src/react/hooks/usegeneratebuytransaction.tsx","./src/react/hooks/usegeneratecanceltransaction.tsx","./src/react/hooks/usegeneratelistingtransaction.tsx","./src/react/hooks/usegenerateoffertransaction.tsx","./src/react/hooks/usegenerateselltransaction.tsx","./src/react/hooks/usegetreceiptfromhash.tsx","./src/react/hooks/usehighestoffer.tsx","./src/react/hooks/uselistbalances.tsx","./src/react/hooks/uselistcollectibleactivities.tsx","./src/react/hooks/uselistcollectibles.tsx","./src/react/hooks/uselistcollectionactivities.tsx","./src/react/hooks/uselistcollections.tsx","./src/react/hooks/uselistlistingsforcollectible.tsx","./src/react/hooks/uselistoffersforcollectible.tsx","./src/react/hooks/uselowestlisting.tsx","./src/react/hooks/usemarketplaceconfig.tsx","./src/react/hooks/useroyaltypercentage.tsx","./src/react/hooks/usetransfertokens.tsx","./src/react/hooks/options/marketplaceconfigoptions.ts","./src/react/hooks/options/__mocks__/marketplaceconfig.msw.ts","./src/react/hooks/options/__tests__/marketplaceconfigoptions.test.tsx","./src/react/ssr/create-ssr-client.ts","./src/react/ssr/index.ts","./src/react/ui/index.ts","./src/react/ui/components/_internals/action-button/actionbutton.tsx","./src/react/ui/components/_internals/action-button/types.ts","./src/react/ui/components/_internals/custom-network-image/customnetworkimage.tsx","./src/react/ui/components/_internals/custom-network-image/styles.css.ts","./src/react/ui/components/_internals/custom-select/customselect.tsx","./src/react/ui/components/_internals/custom-select/styles.css.ts","./src/react/ui/components/_internals/custom-select/__tests__/customselect.test.tsx","./src/react/ui/components/_internals/pill/pill.tsx","./src/react/ui/components/collectible-card/collectiblecard.tsx","./src/react/ui/components/collectible-card/footer.tsx","./src/react/ui/components/collectible-card/index.ts","./src/react/ui/components/collectible-card/styles.css.ts","./src/react/ui/components/marketplace-logos/index.ts","./src/react/ui/components/marketplace-logos/marketplace-logos.tsx","./src/react/ui/icons/arrowup.tsx","./src/react/ui/icons/bell.tsx","./src/react/ui/icons/calendaricon.tsx","./src/react/ui/icons/diamondeye.tsx","./src/react/ui/icons/infoicon.tsx","./src/react/ui/icons/inventoryicon.tsx","./src/react/ui/icons/minusicon.tsx","./src/react/ui/icons/plusicon.tsx","./src/react/ui/icons/positivecircleicon.tsx","./src/react/ui/icons/index.ts","./src/react/ui/icons/styles.css.ts","./src/react/ui/modals/modal-provider.tsx","./src/react/ui/modals/buymodal/modal.tsx","./src/react/ui/modals/buymodal/index.tsx","./src/react/ui/modals/buymodal/store.ts","./src/react/ui/modals/buymodal/hooks/usebuycollectable.ts","./src/react/ui/modals/buymodal/hooks/usecheckoutoptions.ts","./src/react/ui/modals/buymodal/hooks/usefees.ts","./src/react/ui/modals/buymodal/hooks/useloaddata.ts","./src/react/ui/modals/buymodal/modals/checkoutmodal.tsx","./src/react/ui/modals/buymodal/modals/modal1155.tsx","./src/react/ui/modals/createlistingmodal/modal.tsx","./src/react/ui/modals/createlistingmodal/index.tsx","./src/react/ui/modals/createlistingmodal/store.ts","./src/react/ui/modals/createlistingmodal/__tests__/modal.test.tsx","./src/react/ui/modals/createlistingmodal/hooks/usecreatelisting.tsx","./src/react/ui/modals/createlistingmodal/hooks/usegettokenapproval.ts","./src/react/ui/modals/createlistingmodal/hooks/usetransactionsteps.tsx","./src/react/ui/modals/makeoffermodal/modal.tsx","./src/react/ui/modals/makeoffermodal/index.tsx","./src/react/ui/modals/makeoffermodal/store.ts","./src/react/ui/modals/makeoffermodal/__tests__/modal.test.tsx","./src/react/ui/modals/makeoffermodal/hooks/usegettokenapproval.tsx","./src/react/ui/modals/makeoffermodal/hooks/usemakeoffer.tsx","./src/react/ui/modals/makeoffermodal/hooks/usetransactionsteps.tsx","./src/react/ui/modals/sellmodal/modal.tsx","./src/react/ui/modals/sellmodal/index.tsx","./src/react/ui/modals/sellmodal/store.ts","./src/react/ui/modals/sellmodal/utils.ts","./src/react/ui/modals/sellmodal/__tests__/modal.test.tsx","./src/react/ui/modals/sellmodal/hooks/usegettokenapproval.tsx","./src/react/ui/modals/sellmodal/hooks/usesell.tsx","./src/react/ui/modals/sellmodal/hooks/usetransactionsteps.tsx","./src/react/ui/modals/successfulpurchasemodal/_store.ts","./src/react/ui/modals/successfulpurchasemodal/index.tsx","./src/react/ui/modals/successfulpurchasemodal/styles.css.ts","./src/react/ui/modals/transfermodal/_store.ts","./src/react/ui/modals/transfermodal/index.tsx","./src/react/ui/modals/transfermodal/messages.ts","./src/react/ui/modals/transfermodal/styles.css.ts","./src/react/ui/modals/transfermodal/_views/enterwalletaddress/index.tsx","./src/react/ui/modals/transfermodal/_views/enterwalletaddress/usehandletransfer.tsx","./src/react/ui/modals/transfermodal/_views/followwalletinstructions/index.tsx","./src/react/ui/modals/_internal/types.ts","./src/react/ui/modals/_internal/components/actionmodal/actionmodal.tsx","./src/react/ui/modals/_internal/components/actionmodal/errormodal.tsx","./src/react/ui/modals/_internal/components/actionmodal/loadingmodal.tsx","./src/react/ui/modals/_internal/components/actionmodal/index.ts","./src/react/ui/modals/_internal/components/actionmodal/store.ts","./src/react/ui/modals/_internal/components/actionmodal/styles.css.ts","./src/react/ui/modals/_internal/components/alertmessage/index.tsx","./src/react/ui/modals/_internal/components/alertmessage/styles.css.ts","./src/react/ui/modals/_internal/components/calendar/index.tsx","./src/react/ui/modals/_internal/components/calendarpopover/index.tsx","./src/react/ui/modals/_internal/components/calendarpopover/styles.css.ts","./src/react/ui/modals/_internal/components/currencyimage/index.tsx","./src/react/ui/modals/_internal/components/currencyoptionsselect/index.tsx","./src/react/ui/modals/_internal/components/currencyoptionsselect/__tests__/index.test.tsx","./src/react/ui/modals/_internal/components/expirationdateselect/index.tsx","./src/react/ui/modals/_internal/components/floorpricetext/index.tsx","./src/react/ui/modals/_internal/components/priceinput/index.tsx","./src/react/ui/modals/_internal/components/priceinput/styles.css.ts","./src/react/ui/modals/_internal/components/priceinput/types.ts","./src/react/ui/modals/_internal/components/priceinput/__tests__/index.test.tsx","./src/react/ui/modals/_internal/components/quantityinput/index.tsx","./src/react/ui/modals/_internal/components/quantityinput/styles.css.ts","./src/react/ui/modals/_internal/components/switchchainmodal/index.tsx","./src/react/ui/modals/_internal/components/switchchainmodal/store.ts","./src/react/ui/modals/_internal/components/switchchainmodal/styles.css.ts","./src/react/ui/modals/_internal/components/switchchainmodal/__tests__/switchchainmodal.test.tsx","./src/react/ui/modals/_internal/components/timeago/index.tsx","./src/react/ui/modals/_internal/components/tokenpreview/index.tsx","./src/react/ui/modals/_internal/components/tokenpreview/styles.css.ts","./src/react/ui/modals/_internal/components/transaction-footer/index.tsx","./src/react/ui/modals/_internal/components/transactiondetails/index.tsx","./src/react/ui/modals/_internal/components/transactionheader/index.tsx","./src/react/ui/modals/_internal/components/transactionpreview/consts.ts","./src/react/ui/modals/_internal/components/transactionpreview/index.tsx","./src/react/ui/modals/_internal/components/transactionpreview/usetransactionpreviewtitle.tsx","./src/react/ui/modals/_internal/components/transactionstatusmodal/index.tsx","./src/react/ui/modals/_internal/components/transactionstatusmodal/store.ts","./src/react/ui/modals/_internal/components/transactionstatusmodal/styles.css.ts","./src/react/ui/modals/_internal/components/transactionstatusmodal/__tests__/transactionstatusmodal.test.tsx","./src/react/ui/modals/_internal/components/transactionstatusmodal/__tests__/utils.test.ts","./src/react/ui/modals/_internal/components/transactionstatusmodal/util/getformattedtype.ts","./src/react/ui/modals/_internal/components/transactionstatusmodal/util/getmessage.ts","./src/react/ui/modals/_internal/components/transactionstatusmodal/util/gettitle.ts","./src/react/ui/modals/_internal/components/waasfeeoptionsbox/index.tsx","./src/react/ui/modals/_internal/components/waasfeeoptionsbox/store.ts","./src/react/ui/modals/_internal/components/waasfeeoptionsbox/styles.css.ts","./src/react/ui/modals/_internal/components/waasfeeoptionsselect/waasfeeoptionsselect.tsx","./src/react/ui/modals/_internal/stores/accountmodal.ts","./src/react/ui/styles/index.ts","./src/react/ui/styles/modal.css.ts","./src/styles/index.ts","./src/types/api-types.ts","./src/types/custom.d.ts","./src/types/index.ts","./src/types/marketplace-config.ts","./src/types/messages.ts","./src/types/sdk-config.ts","./src/types/types.ts","./src/utils/address.ts","./src/utils/date.ts","./src/utils/get-public-rpc-client.ts","./src/utils/getmarketplacedetails.ts","./src/utils/index.ts","./src/utils/network.ts","./src/utils/price.ts","./src/utils/__tests__/address.test.ts","./src/utils/__tests__/date.test.ts","./src/utils/__tests__/get-public-rpc-client.test.ts","./src/utils/__tests__/getmarketplacedetails.test.ts","./src/utils/__tests__/price.test.ts","./src/utils/_internal/error/base.ts","./src/utils/_internal/error/context.ts","./src/utils/_internal/error/transaction.ts","./src/utils/abi/index.ts","./src/utils/abi/marketplace/eip2981.ts","./src/utils/abi/marketplace/index.ts","./src/utils/abi/marketplace/sequence-marketplace-v1.ts","./src/utils/abi/marketplace/sequence-marketplace-v2.ts","./src/utils/abi/token/erc1155.ts","./src/utils/abi/token/erc20.ts","./src/utils/abi/token/erc721.ts","./src/utils/abi/token/index.ts","./tsup.config.ts"],"version":"5.7.3"}
|
|
1
|
+
{"root":["./src/consts.ts","./src/index.ts","./src/react/index.ts","./src/react/provider.tsx","./src/react/__tests__/provider.test.tsx","./src/react/_internal/consts.ts","./src/react/_internal/get-provider.ts","./src/react/_internal/index.ts","./src/react/_internal/logger.ts","./src/react/_internal/test-utils.tsx","./src/react/_internal/types.ts","./src/react/_internal/utils.ts","./src/react/_internal/api/get-query-client.ts","./src/react/_internal/api/index.ts","./src/react/_internal/api/marketplace-api.ts","./src/react/_internal/api/marketplace.gen.ts","./src/react/_internal/api/query-keys.ts","./src/react/_internal/api/services.ts","./src/react/_internal/api/zod-schema.ts","./src/react/_internal/api/__mocks__/marketplace.msw.ts","./src/react/_internal/wagmi/create-config.ts","./src/react/_internal/wagmi/embedded.ts","./src/react/_internal/wagmi/index.ts","./src/react/_internal/wagmi/universal.ts","./src/react/_internal/wagmi/__tests__/create-config.test.ts","./src/react/_internal/wallet/usewallet.ts","./src/react/_internal/wallet/wallet.ts","./src/react/hooks/index.ts","./src/react/hooks/usebalanceofcollectible.tsx","./src/react/hooks/usecancelorder.tsx","./src/react/hooks/usecanceltransactionsteps.tsx","./src/react/hooks/usecheckoutoptions.tsx","./src/react/hooks/usecollectible.tsx","./src/react/hooks/usecollection.tsx","./src/react/hooks/usecollectiondetails.tsx","./src/react/hooks/usecollectiondetailspolling.tsx","./src/react/hooks/useconfig.tsx","./src/react/hooks/usecountlistingsforcollectible.tsx","./src/react/hooks/usecountofcollectables.tsx","./src/react/hooks/usecountoffersforcollectible.tsx","./src/react/hooks/usecurrencies.tsx","./src/react/hooks/usecurrency.tsx","./src/react/hooks/usecurrencybalance.tsx","./src/react/hooks/usecurrencyoptions.tsx","./src/react/hooks/usefilters.tsx","./src/react/hooks/usefloororder.tsx","./src/react/hooks/usegeneratebuytransaction.tsx","./src/react/hooks/usegeneratecanceltransaction.tsx","./src/react/hooks/usegeneratelistingtransaction.tsx","./src/react/hooks/usegenerateoffertransaction.tsx","./src/react/hooks/usegenerateselltransaction.tsx","./src/react/hooks/usegetreceiptfromhash.tsx","./src/react/hooks/usehighestoffer.tsx","./src/react/hooks/uselistbalances.tsx","./src/react/hooks/uselistcollectibleactivities.tsx","./src/react/hooks/uselistcollectibles.tsx","./src/react/hooks/uselistcollectionactivities.tsx","./src/react/hooks/uselistcollections.tsx","./src/react/hooks/uselistlistingsforcollectible.tsx","./src/react/hooks/uselistoffersforcollectible.tsx","./src/react/hooks/uselowestlisting.tsx","./src/react/hooks/usemarketplaceconfig.tsx","./src/react/hooks/useroyaltypercentage.tsx","./src/react/hooks/usetransfertokens.tsx","./src/react/hooks/options/marketplaceconfigoptions.ts","./src/react/hooks/options/__mocks__/marketplaceconfig.msw.ts","./src/react/hooks/options/__tests__/marketplaceconfigoptions.test.tsx","./src/react/ssr/create-ssr-client.ts","./src/react/ssr/index.ts","./src/react/ui/index.ts","./src/react/ui/components/_internals/action-button/actionbutton.tsx","./src/react/ui/components/_internals/action-button/store.ts","./src/react/ui/components/_internals/action-button/styles.css.ts","./src/react/ui/components/_internals/action-button/types.ts","./src/react/ui/components/_internals/action-button/components/actionbuttonbody.tsx","./src/react/ui/components/_internals/action-button/components/nonowneractions.tsx","./src/react/ui/components/_internals/action-button/components/owneractions.tsx","./src/react/ui/components/_internals/action-button/hooks/useactionbuttonlogic.ts","./src/react/ui/components/_internals/custom-network-image/customnetworkimage.tsx","./src/react/ui/components/_internals/custom-network-image/styles.css.ts","./src/react/ui/components/_internals/custom-select/customselect.tsx","./src/react/ui/components/_internals/custom-select/styles.css.ts","./src/react/ui/components/_internals/custom-select/__tests__/customselect.test.tsx","./src/react/ui/components/_internals/pill/pill.tsx","./src/react/ui/components/collectible-card/collectiblecard.tsx","./src/react/ui/components/collectible-card/footer.tsx","./src/react/ui/components/collectible-card/index.ts","./src/react/ui/components/collectible-card/styles.css.ts","./src/react/ui/components/marketplace-logos/index.ts","./src/react/ui/components/marketplace-logos/marketplace-logos.tsx","./src/react/ui/icons/arrowup.tsx","./src/react/ui/icons/bell.tsx","./src/react/ui/icons/calendaricon.tsx","./src/react/ui/icons/carticon.tsx","./src/react/ui/icons/diamondeye.tsx","./src/react/ui/icons/infoicon.tsx","./src/react/ui/icons/inventoryicon.tsx","./src/react/ui/icons/minusicon.tsx","./src/react/ui/icons/plusicon.tsx","./src/react/ui/icons/positivecircleicon.tsx","./src/react/ui/icons/index.ts","./src/react/ui/icons/styles.css.ts","./src/react/ui/modals/modal-provider.tsx","./src/react/ui/modals/buymodal/modal.tsx","./src/react/ui/modals/buymodal/index.tsx","./src/react/ui/modals/buymodal/store.ts","./src/react/ui/modals/buymodal/__tests__/modal.test.tsx","./src/react/ui/modals/buymodal/__tests__/store.test.ts","./src/react/ui/modals/buymodal/hooks/usebuycollectable.ts","./src/react/ui/modals/buymodal/hooks/usecheckoutoptions.ts","./src/react/ui/modals/buymodal/hooks/usefees.ts","./src/react/ui/modals/buymodal/hooks/useloaddata.ts","./src/react/ui/modals/buymodal/hooks/__tests__/usebuycollectable.test.tsx","./src/react/ui/modals/buymodal/hooks/__tests__/usecheckoutoptions.test.tsx","./src/react/ui/modals/buymodal/hooks/__tests__/usefees.test.tsx","./src/react/ui/modals/buymodal/hooks/__tests__/useloaddata.test.tsx","./src/react/ui/modals/buymodal/modals/checkoutmodal.tsx","./src/react/ui/modals/buymodal/modals/modal1155.tsx","./src/react/ui/modals/buymodal/modals/__tests__/checkoutmodal.test.tsx","./src/react/ui/modals/buymodal/modals/__tests__/modal1155.test.tsx","./src/react/ui/modals/createlistingmodal/modal.tsx","./src/react/ui/modals/createlistingmodal/index.tsx","./src/react/ui/modals/createlistingmodal/store.ts","./src/react/ui/modals/createlistingmodal/__tests__/modal.test.tsx","./src/react/ui/modals/createlistingmodal/hooks/usecreatelisting.tsx","./src/react/ui/modals/createlistingmodal/hooks/usegettokenapproval.ts","./src/react/ui/modals/createlistingmodal/hooks/usetransactionsteps.tsx","./src/react/ui/modals/makeoffermodal/modal.tsx","./src/react/ui/modals/makeoffermodal/index.tsx","./src/react/ui/modals/makeoffermodal/store.ts","./src/react/ui/modals/makeoffermodal/__tests__/modal.test.tsx","./src/react/ui/modals/makeoffermodal/hooks/usegettokenapproval.tsx","./src/react/ui/modals/makeoffermodal/hooks/usemakeoffer.tsx","./src/react/ui/modals/makeoffermodal/hooks/usetransactionsteps.tsx","./src/react/ui/modals/sellmodal/modal.tsx","./src/react/ui/modals/sellmodal/index.tsx","./src/react/ui/modals/sellmodal/store.ts","./src/react/ui/modals/sellmodal/utils.ts","./src/react/ui/modals/sellmodal/__tests__/modal.test.tsx","./src/react/ui/modals/sellmodal/hooks/usegettokenapproval.tsx","./src/react/ui/modals/sellmodal/hooks/usesell.tsx","./src/react/ui/modals/sellmodal/hooks/usetransactionsteps.tsx","./src/react/ui/modals/successfulpurchasemodal/_store.ts","./src/react/ui/modals/successfulpurchasemodal/index.tsx","./src/react/ui/modals/successfulpurchasemodal/styles.css.ts","./src/react/ui/modals/successfulpurchasemodal/__tests__/modal.test.tsx","./src/react/ui/modals/transfermodal/_store.ts","./src/react/ui/modals/transfermodal/index.tsx","./src/react/ui/modals/transfermodal/messages.ts","./src/react/ui/modals/transfermodal/styles.css.ts","./src/react/ui/modals/transfermodal/_views/enterwalletaddress/index.tsx","./src/react/ui/modals/transfermodal/_views/enterwalletaddress/usehandletransfer.tsx","./src/react/ui/modals/transfermodal/_views/followwalletinstructions/index.tsx","./src/react/ui/modals/_internal/types.ts","./src/react/ui/modals/_internal/components/actionmodal/actionmodal.tsx","./src/react/ui/modals/_internal/components/actionmodal/errormodal.tsx","./src/react/ui/modals/_internal/components/actionmodal/loadingmodal.tsx","./src/react/ui/modals/_internal/components/actionmodal/index.ts","./src/react/ui/modals/_internal/components/actionmodal/store.ts","./src/react/ui/modals/_internal/components/actionmodal/styles.css.ts","./src/react/ui/modals/_internal/components/alertmessage/index.tsx","./src/react/ui/modals/_internal/components/alertmessage/styles.css.ts","./src/react/ui/modals/_internal/components/calendar/index.tsx","./src/react/ui/modals/_internal/components/calendarpopover/index.tsx","./src/react/ui/modals/_internal/components/calendarpopover/styles.css.ts","./src/react/ui/modals/_internal/components/currencyimage/index.tsx","./src/react/ui/modals/_internal/components/currencyoptionsselect/index.tsx","./src/react/ui/modals/_internal/components/currencyoptionsselect/__tests__/index.test.tsx","./src/react/ui/modals/_internal/components/expirationdateselect/index.tsx","./src/react/ui/modals/_internal/components/floorpricetext/index.tsx","./src/react/ui/modals/_internal/components/priceinput/index.tsx","./src/react/ui/modals/_internal/components/priceinput/styles.css.ts","./src/react/ui/modals/_internal/components/priceinput/types.ts","./src/react/ui/modals/_internal/components/priceinput/__tests__/index.test.tsx","./src/react/ui/modals/_internal/components/quantityinput/index.tsx","./src/react/ui/modals/_internal/components/quantityinput/styles.css.ts","./src/react/ui/modals/_internal/components/switchchainmodal/index.tsx","./src/react/ui/modals/_internal/components/switchchainmodal/store.ts","./src/react/ui/modals/_internal/components/switchchainmodal/styles.css.ts","./src/react/ui/modals/_internal/components/switchchainmodal/__tests__/switchchainmodal.test.tsx","./src/react/ui/modals/_internal/components/timeago/index.tsx","./src/react/ui/modals/_internal/components/tokenpreview/index.tsx","./src/react/ui/modals/_internal/components/tokenpreview/styles.css.ts","./src/react/ui/modals/_internal/components/transaction-footer/index.tsx","./src/react/ui/modals/_internal/components/transactiondetails/index.tsx","./src/react/ui/modals/_internal/components/transactionheader/index.tsx","./src/react/ui/modals/_internal/components/transactionpreview/consts.ts","./src/react/ui/modals/_internal/components/transactionpreview/index.tsx","./src/react/ui/modals/_internal/components/transactionpreview/usetransactionpreviewtitle.tsx","./src/react/ui/modals/_internal/components/transactionstatusmodal/index.tsx","./src/react/ui/modals/_internal/components/transactionstatusmodal/store.ts","./src/react/ui/modals/_internal/components/transactionstatusmodal/styles.css.ts","./src/react/ui/modals/_internal/components/transactionstatusmodal/__tests__/transactionstatusmodal.test.tsx","./src/react/ui/modals/_internal/components/transactionstatusmodal/__tests__/utils.test.ts","./src/react/ui/modals/_internal/components/transactionstatusmodal/hooks/usetransactionstatus.ts","./src/react/ui/modals/_internal/components/transactionstatusmodal/util/getformattedtype.ts","./src/react/ui/modals/_internal/components/transactionstatusmodal/util/getmessage.ts","./src/react/ui/modals/_internal/components/transactionstatusmodal/util/gettitle.ts","./src/react/ui/modals/_internal/components/waasfeeoptionsbox/index.tsx","./src/react/ui/modals/_internal/components/waasfeeoptionsbox/store.ts","./src/react/ui/modals/_internal/components/waasfeeoptionsbox/styles.css.ts","./src/react/ui/modals/_internal/components/waasfeeoptionsselect/waasfeeoptionsselect.tsx","./src/react/ui/modals/_internal/stores/accountmodal.ts","./src/react/ui/styles/index.ts","./src/react/ui/styles/modal.css.ts","./src/styles/index.ts","./src/types/api-types.ts","./src/types/custom.d.ts","./src/types/index.ts","./src/types/marketplace-config.ts","./src/types/messages.ts","./src/types/sdk-config.ts","./src/types/types.ts","./src/utils/address.ts","./src/utils/date.ts","./src/utils/get-public-rpc-client.ts","./src/utils/getmarketplacedetails.ts","./src/utils/index.ts","./src/utils/network.ts","./src/utils/price.ts","./src/utils/__tests__/address.test.ts","./src/utils/__tests__/date.test.ts","./src/utils/__tests__/get-public-rpc-client.test.ts","./src/utils/__tests__/getmarketplacedetails.test.ts","./src/utils/__tests__/price.test.ts","./src/utils/_internal/error/base.ts","./src/utils/_internal/error/config.ts","./src/utils/_internal/error/context.ts","./src/utils/_internal/error/transaction.ts","./src/utils/abi/index.ts","./src/utils/abi/marketplace/eip2981.ts","./src/utils/abi/marketplace/index.ts","./src/utils/abi/marketplace/sequence-marketplace-v1.ts","./src/utils/abi/marketplace/sequence-marketplace-v2.ts","./src/utils/abi/token/erc1155.ts","./src/utils/abi/token/erc20.ts","./src/utils/abi/token/erc721.ts","./src/utils/abi/token/index.ts","./tsup.config.ts"],"version":"5.7.3"}
|