@0xsequence/marketplace-sdk 0.8.8 → 0.8.10
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/CHANGELOG.md +36 -0
- package/dist/{chunk-FMEEJFAF.js → chunk-5C6ZZ6WX.js} +1 -1
- package/dist/{chunk-YEGD7PWE.js → chunk-5O44EPXZ.js} +2 -2
- package/dist/chunk-6CTFVBKU.js +1 -0
- package/dist/{chunk-KGM2WLSP.js → chunk-7F27CJZW.js} +14 -2
- package/dist/{chunk-KGM2WLSP.js.map → chunk-7F27CJZW.js.map} +1 -1
- package/dist/{chunk-MAD64DLJ.js → chunk-A7BVFBWB.js} +2 -2
- package/dist/{chunk-YBOFRP65.js → chunk-FGM57QUU.js} +2 -2
- package/dist/{chunk-HHYNOPPI.js → chunk-KTST7ORH.js} +2 -2
- package/dist/{chunk-35WWD5V6.js → chunk-M6NJ73Y5.js} +3 -3
- package/dist/chunk-Q3ECVC4F.js +811 -0
- package/dist/chunk-Q3ECVC4F.js.map +1 -0
- package/dist/{chunk-EODKQL6Y.js → chunk-RVIUUJTP.js} +2 -2
- package/dist/{chunk-G3447GIP.js → chunk-SXVUTSMT.js} +24 -9
- package/dist/chunk-SXVUTSMT.js.map +1 -0
- package/dist/{chunk-7IYKUVC3.js → chunk-UJSF7PSC.js} +251 -107
- package/dist/chunk-UJSF7PSC.js.map +1 -0
- package/dist/{chunk-YALXP2PW.js → chunk-WH5BZC7W.js} +2 -2
- package/dist/{chunk-4XLXOEXQ.js → chunk-Y2HJO2VY.js} +25 -4
- package/dist/chunk-Y2HJO2VY.js.map +1 -0
- package/dist/{create-config-DwrnzwpM.d.ts → create-config-CAQcvjl6.d.ts} +2 -2
- package/dist/{index-DGsVBflk.d.ts → index-MlUK9AQE.d.ts} +2 -2
- package/dist/index.css +74 -28
- package/dist/index.css.map +1 -1
- package/dist/index.d.ts +4 -3
- package/dist/index.js +10 -4
- package/dist/{lowestListing-BQHIuvNF.d.ts → listTokenMetadata-DO4ChDjn.d.ts} +20 -2
- package/dist/{marketplaceConfig-B4Fdsmxu.d.ts → marketplaceConfig-D0MXemEl.d.ts} +1 -1
- package/dist/react/_internal/api/index.d.ts +3 -2
- package/dist/react/_internal/api/index.js +5 -1
- package/dist/react/_internal/databeat/index.js +11 -10
- package/dist/react/_internal/index.d.ts +6 -5
- package/dist/react/_internal/index.js +5 -1
- package/dist/react/_internal/wagmi/index.d.ts +3 -3
- package/dist/react/hooks/index.d.ts +11 -8
- package/dist/react/hooks/index.js +12 -9
- package/dist/react/hooks/options/index.d.ts +3 -3
- package/dist/react/hooks/options/index.js +3 -3
- package/dist/react/index.css +74 -28
- package/dist/react/index.css.map +1 -1
- package/dist/react/index.d.ts +11 -10
- package/dist/react/index.js +18 -13
- package/dist/react/queries/index.d.ts +3 -2
- package/dist/react/queries/index.js +6 -4
- package/dist/react/ssr/index.d.ts +2 -2
- package/dist/react/ssr/index.js +2 -2
- package/dist/react/ui/components/collectible-card/index.css +74 -28
- package/dist/react/ui/components/collectible-card/index.css.map +1 -1
- package/dist/react/ui/components/collectible-card/index.d.ts +24 -1
- package/dist/react/ui/components/collectible-card/index.js +18 -15
- package/dist/react/ui/components/marketplace-logos/index.js +1 -1
- package/dist/react/ui/icons/index.js +7 -6
- package/dist/react/ui/index.css +74 -28
- package/dist/react/ui/index.css.map +1 -1
- package/dist/react/ui/index.d.ts +1 -1
- package/dist/react/ui/index.js +16 -13
- package/dist/react/ui/modals/_internal/components/actionModal/index.js +11 -10
- package/dist/{sdk-config-txlivEKe.d.ts → sdk-config-onSPBxJj.d.ts} +1 -0
- package/dist/{services-BI_w8Eq4.d.ts → services-CMSb9ipU.d.ts} +5 -2
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.js +1 -1
- package/dist/{types-isjvwapz.d.ts → types-B8xzPEKX.d.ts} +2 -2
- package/dist/utils/abi/index.d.ts +1 -0
- package/dist/utils/abi/index.js +7 -1
- package/dist/utils/abi/primary-sale/index.d.ts +1054 -0
- package/dist/utils/abi/primary-sale/index.js +9 -0
- package/dist/utils/abi/primary-sale/index.js.map +1 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.js +10 -4
- package/package.json +32 -31
- package/src/react/_internal/api/services.ts +12 -1
- package/src/react/hooks/index.ts +1 -0
- package/src/react/hooks/useList1155SaleSupplies.tsx +62 -0
- package/src/react/hooks/useListTokenMetadata.ts +19 -0
- package/src/react/queries/index.ts +1 -0
- package/src/react/queries/listTokenMetadata.ts +38 -0
- package/src/react/ui/components/ModelViewer.tsx +54 -0
- package/src/react/ui/components/_internals/custom-select/CustomSelect.tsx +0 -1
- package/src/react/ui/components/collectible-card/CollectibleCard.tsx +7 -3
- package/src/react/ui/components/collectible-card/__tests__/{CollectibleAsset.test.tsx → Media.test.tsx} +9 -15
- package/src/react/ui/components/collectible-card/index.ts +1 -0
- package/src/react/ui/components/collectible-card/media/Media.tsx +206 -0
- package/src/react/ui/components/collectible-card/{collectible-asset/CollectibleAssetSkeleton.tsx → media/MediaSkeleton.tsx} +1 -1
- package/src/react/ui/components/collectible-card/media/types.ts +17 -0
- package/src/react/ui/components/collectible-card/{collectible-asset → media}/utils.ts +16 -7
- package/src/react/ui/index.ts +1 -0
- package/src/react/ui/modals/BuyModal/hooks/usePaymentModalParams.ts +28 -3
- package/src/react/ui/modals/SuccessfulPurchaseModal/index.tsx +9 -7
- package/src/react/ui/modals/TransferModal/_views/enterWalletAddress/_components/TokenQuantityInput.tsx +1 -1
- package/src/react/ui/modals/_internal/components/actionModal/ActionModal.test.tsx +0 -1
- package/src/react/ui/modals/_internal/components/priceInput/index.tsx +1 -1
- package/src/react/ui/modals/_internal/components/quantityInput/index.tsx +1 -2
- package/src/react/ui/modals/_internal/components/waasFeeOptionsSelect/WaasFeeOptionsSelect.tsx +0 -1
- package/src/types/sdk-config.ts +1 -0
- package/src/utils/abi/index.ts +1 -0
- package/src/utils/abi/primary-sale/index.ts +2 -0
- package/src/utils/abi/primary-sale/sequence-1155-sales-contract.ts +450 -0
- package/src/utils/abi/primary-sale/sequence-721-sales-contract.ts +352 -0
- package/src/utils/abi/token/sequence-erc1155-items.ts +454 -0
- package/src/utils/fetchContentType.ts +11 -4
- package/tsconfig.tsbuildinfo +1 -1
- package/dist/chunk-4XLXOEXQ.js.map +0 -1
- package/dist/chunk-7IYKUVC3.js.map +0 -1
- package/dist/chunk-G3447GIP.js.map +0 -1
- package/dist/chunk-UISBTKFF.js +0 -1
- package/src/react/ui/components/collectible-card/collectible-asset/CollectibleAsset.tsx +0 -139
- /package/dist/{chunk-FMEEJFAF.js.map → chunk-5C6ZZ6WX.js.map} +0 -0
- /package/dist/{chunk-YEGD7PWE.js.map → chunk-5O44EPXZ.js.map} +0 -0
- /package/dist/{chunk-UISBTKFF.js.map → chunk-6CTFVBKU.js.map} +0 -0
- /package/dist/{chunk-MAD64DLJ.js.map → chunk-A7BVFBWB.js.map} +0 -0
- /package/dist/{chunk-YBOFRP65.js.map → chunk-FGM57QUU.js.map} +0 -0
- /package/dist/{chunk-HHYNOPPI.js.map → chunk-KTST7ORH.js.map} +0 -0
- /package/dist/{chunk-35WWD5V6.js.map → chunk-M6NJ73Y5.js.map} +0 -0
- /package/dist/{chunk-EODKQL6Y.js.map → chunk-RVIUUJTP.js.map} +0 -0
- /package/dist/{chunk-YALXP2PW.js.map → chunk-WH5BZC7W.js.map} +0 -0
|
@@ -0,0 +1,454 @@
|
|
|
1
|
+
export const SEQUENCE_1155_ITEMS_ABI = [
|
|
2
|
+
{ type: 'constructor', inputs: [], stateMutability: 'nonpayable' },
|
|
3
|
+
{
|
|
4
|
+
type: 'function',
|
|
5
|
+
name: 'DEFAULT_ADMIN_ROLE',
|
|
6
|
+
inputs: [],
|
|
7
|
+
outputs: [{ name: '', type: 'bytes32', internalType: 'bytes32' }],
|
|
8
|
+
stateMutability: 'view',
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
type: 'function',
|
|
12
|
+
name: 'balanceOf',
|
|
13
|
+
inputs: [
|
|
14
|
+
{ name: '_owner', type: 'address', internalType: 'address' },
|
|
15
|
+
{ name: '_id', type: 'uint256', internalType: 'uint256' },
|
|
16
|
+
],
|
|
17
|
+
outputs: [{ name: '', type: 'uint256', internalType: 'uint256' }],
|
|
18
|
+
stateMutability: 'view',
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
type: 'function',
|
|
22
|
+
name: 'balanceOfBatch',
|
|
23
|
+
inputs: [
|
|
24
|
+
{ name: '_owners', type: 'address[]', internalType: 'address[]' },
|
|
25
|
+
{ name: '_ids', type: 'uint256[]', internalType: 'uint256[]' },
|
|
26
|
+
],
|
|
27
|
+
outputs: [{ name: '', type: 'uint256[]', internalType: 'uint256[]' }],
|
|
28
|
+
stateMutability: 'view',
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
type: 'function',
|
|
32
|
+
name: 'baseURI',
|
|
33
|
+
inputs: [],
|
|
34
|
+
outputs: [{ name: '', type: 'string', internalType: 'string' }],
|
|
35
|
+
stateMutability: 'view',
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
type: 'function',
|
|
39
|
+
name: 'batchBurn',
|
|
40
|
+
inputs: [
|
|
41
|
+
{ name: 'tokenIds', type: 'uint256[]', internalType: 'uint256[]' },
|
|
42
|
+
{ name: 'amounts', type: 'uint256[]', internalType: 'uint256[]' },
|
|
43
|
+
],
|
|
44
|
+
outputs: [],
|
|
45
|
+
stateMutability: 'nonpayable',
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
type: 'function',
|
|
49
|
+
name: 'batchMint',
|
|
50
|
+
inputs: [
|
|
51
|
+
{ name: 'to', type: 'address', internalType: 'address' },
|
|
52
|
+
{ name: 'tokenIds', type: 'uint256[]', internalType: 'uint256[]' },
|
|
53
|
+
{ name: 'amounts', type: 'uint256[]', internalType: 'uint256[]' },
|
|
54
|
+
{ name: 'data', type: 'bytes', internalType: 'bytes' },
|
|
55
|
+
],
|
|
56
|
+
outputs: [],
|
|
57
|
+
stateMutability: 'nonpayable',
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
type: 'function',
|
|
61
|
+
name: 'burn',
|
|
62
|
+
inputs: [
|
|
63
|
+
{ name: 'tokenId', type: 'uint256', internalType: 'uint256' },
|
|
64
|
+
{ name: 'amount', type: 'uint256', internalType: 'uint256' },
|
|
65
|
+
],
|
|
66
|
+
outputs: [],
|
|
67
|
+
stateMutability: 'nonpayable',
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
type: 'function',
|
|
71
|
+
name: 'contractURI',
|
|
72
|
+
inputs: [],
|
|
73
|
+
outputs: [{ name: '', type: 'string', internalType: 'string' }],
|
|
74
|
+
stateMutability: 'view',
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
type: 'function',
|
|
78
|
+
name: 'getRoleAdmin',
|
|
79
|
+
inputs: [{ name: 'role', type: 'bytes32', internalType: 'bytes32' }],
|
|
80
|
+
outputs: [{ name: '', type: 'bytes32', internalType: 'bytes32' }],
|
|
81
|
+
stateMutability: 'view',
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
type: 'function',
|
|
85
|
+
name: 'getRoleMember',
|
|
86
|
+
inputs: [
|
|
87
|
+
{ name: 'role', type: 'bytes32', internalType: 'bytes32' },
|
|
88
|
+
{ name: 'index', type: 'uint256', internalType: 'uint256' },
|
|
89
|
+
],
|
|
90
|
+
outputs: [{ name: '', type: 'address', internalType: 'address' }],
|
|
91
|
+
stateMutability: 'view',
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
type: 'function',
|
|
95
|
+
name: 'getRoleMemberCount',
|
|
96
|
+
inputs: [{ name: 'role', type: 'bytes32', internalType: 'bytes32' }],
|
|
97
|
+
outputs: [{ name: '', type: 'uint256', internalType: 'uint256' }],
|
|
98
|
+
stateMutability: 'view',
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
type: 'function',
|
|
102
|
+
name: 'grantRole',
|
|
103
|
+
inputs: [
|
|
104
|
+
{ name: 'role', type: 'bytes32', internalType: 'bytes32' },
|
|
105
|
+
{ name: 'account', type: 'address', internalType: 'address' },
|
|
106
|
+
],
|
|
107
|
+
outputs: [],
|
|
108
|
+
stateMutability: 'nonpayable',
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
type: 'function',
|
|
112
|
+
name: 'hasRole',
|
|
113
|
+
inputs: [
|
|
114
|
+
{ name: 'role', type: 'bytes32', internalType: 'bytes32' },
|
|
115
|
+
{ name: 'account', type: 'address', internalType: 'address' },
|
|
116
|
+
],
|
|
117
|
+
outputs: [{ name: '', type: 'bool', internalType: 'bool' }],
|
|
118
|
+
stateMutability: 'view',
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
type: 'function',
|
|
122
|
+
name: 'initialize',
|
|
123
|
+
inputs: [
|
|
124
|
+
{ name: 'owner', type: 'address', internalType: 'address' },
|
|
125
|
+
{ name: 'tokenName', type: 'string', internalType: 'string' },
|
|
126
|
+
{ name: 'tokenBaseURI', type: 'string', internalType: 'string' },
|
|
127
|
+
{ name: 'tokenContractURI', type: 'string', internalType: 'string' },
|
|
128
|
+
{ name: 'royaltyReceiver', type: 'address', internalType: 'address' },
|
|
129
|
+
{ name: 'royaltyFeeNumerator', type: 'uint96', internalType: 'uint96' },
|
|
130
|
+
],
|
|
131
|
+
outputs: [],
|
|
132
|
+
stateMutability: 'nonpayable',
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
type: 'function',
|
|
136
|
+
name: 'isApprovedForAll',
|
|
137
|
+
inputs: [
|
|
138
|
+
{ name: '_owner', type: 'address', internalType: 'address' },
|
|
139
|
+
{ name: '_operator', type: 'address', internalType: 'address' },
|
|
140
|
+
],
|
|
141
|
+
outputs: [{ name: 'isOperator', type: 'bool', internalType: 'bool' }],
|
|
142
|
+
stateMutability: 'view',
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
type: 'function',
|
|
146
|
+
name: 'mint',
|
|
147
|
+
inputs: [
|
|
148
|
+
{ name: 'to', type: 'address', internalType: 'address' },
|
|
149
|
+
{ name: 'tokenId', type: 'uint256', internalType: 'uint256' },
|
|
150
|
+
{ name: 'amount', type: 'uint256', internalType: 'uint256' },
|
|
151
|
+
{ name: 'data', type: 'bytes', internalType: 'bytes' },
|
|
152
|
+
],
|
|
153
|
+
outputs: [],
|
|
154
|
+
stateMutability: 'nonpayable',
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
type: 'function',
|
|
158
|
+
name: 'name',
|
|
159
|
+
inputs: [],
|
|
160
|
+
outputs: [{ name: '', type: 'string', internalType: 'string' }],
|
|
161
|
+
stateMutability: 'view',
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
type: 'function',
|
|
165
|
+
name: 'renounceRole',
|
|
166
|
+
inputs: [
|
|
167
|
+
{ name: 'role', type: 'bytes32', internalType: 'bytes32' },
|
|
168
|
+
{ name: 'account', type: 'address', internalType: 'address' },
|
|
169
|
+
],
|
|
170
|
+
outputs: [],
|
|
171
|
+
stateMutability: 'nonpayable',
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
type: 'function',
|
|
175
|
+
name: 'revokeRole',
|
|
176
|
+
inputs: [
|
|
177
|
+
{ name: 'role', type: 'bytes32', internalType: 'bytes32' },
|
|
178
|
+
{ name: 'account', type: 'address', internalType: 'address' },
|
|
179
|
+
],
|
|
180
|
+
outputs: [],
|
|
181
|
+
stateMutability: 'nonpayable',
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
type: 'function',
|
|
185
|
+
name: 'royaltyInfo',
|
|
186
|
+
inputs: [
|
|
187
|
+
{ name: 'tokenId', type: 'uint256', internalType: 'uint256' },
|
|
188
|
+
{ name: 'salePrice', type: 'uint256', internalType: 'uint256' },
|
|
189
|
+
],
|
|
190
|
+
outputs: [
|
|
191
|
+
{ name: '', type: 'address', internalType: 'address' },
|
|
192
|
+
{ name: '', type: 'uint256', internalType: 'uint256' },
|
|
193
|
+
],
|
|
194
|
+
stateMutability: 'view',
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
type: 'function',
|
|
198
|
+
name: 'safeBatchTransferFrom',
|
|
199
|
+
inputs: [
|
|
200
|
+
{ name: '_from', type: 'address', internalType: 'address' },
|
|
201
|
+
{ name: '_to', type: 'address', internalType: 'address' },
|
|
202
|
+
{ name: '_ids', type: 'uint256[]', internalType: 'uint256[]' },
|
|
203
|
+
{ name: '_amounts', type: 'uint256[]', internalType: 'uint256[]' },
|
|
204
|
+
{ name: '_data', type: 'bytes', internalType: 'bytes' },
|
|
205
|
+
],
|
|
206
|
+
outputs: [],
|
|
207
|
+
stateMutability: 'nonpayable',
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
type: 'function',
|
|
211
|
+
name: 'safeTransferFrom',
|
|
212
|
+
inputs: [
|
|
213
|
+
{ name: '_from', type: 'address', internalType: 'address' },
|
|
214
|
+
{ name: '_to', type: 'address', internalType: 'address' },
|
|
215
|
+
{ name: '_id', type: 'uint256', internalType: 'uint256' },
|
|
216
|
+
{ name: '_amount', type: 'uint256', internalType: 'uint256' },
|
|
217
|
+
{ name: '_data', type: 'bytes', internalType: 'bytes' },
|
|
218
|
+
],
|
|
219
|
+
outputs: [],
|
|
220
|
+
stateMutability: 'nonpayable',
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
type: 'function',
|
|
224
|
+
name: 'setApprovalForAll',
|
|
225
|
+
inputs: [
|
|
226
|
+
{ name: '_operator', type: 'address', internalType: 'address' },
|
|
227
|
+
{ name: '_approved', type: 'bool', internalType: 'bool' },
|
|
228
|
+
],
|
|
229
|
+
outputs: [],
|
|
230
|
+
stateMutability: 'nonpayable',
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
type: 'function',
|
|
234
|
+
name: 'setBaseMetadataURI',
|
|
235
|
+
inputs: [{ name: 'tokenBaseURI', type: 'string', internalType: 'string' }],
|
|
236
|
+
outputs: [],
|
|
237
|
+
stateMutability: 'nonpayable',
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
type: 'function',
|
|
241
|
+
name: 'setContractName',
|
|
242
|
+
inputs: [{ name: 'tokenName', type: 'string', internalType: 'string' }],
|
|
243
|
+
outputs: [],
|
|
244
|
+
stateMutability: 'nonpayable',
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
type: 'function',
|
|
248
|
+
name: 'setContractURI',
|
|
249
|
+
inputs: [
|
|
250
|
+
{ name: 'tokenContractURI', type: 'string', internalType: 'string' },
|
|
251
|
+
],
|
|
252
|
+
outputs: [],
|
|
253
|
+
stateMutability: 'nonpayable',
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
type: 'function',
|
|
257
|
+
name: 'setDefaultRoyalty',
|
|
258
|
+
inputs: [
|
|
259
|
+
{ name: 'receiver', type: 'address', internalType: 'address' },
|
|
260
|
+
{ name: 'feeNumerator', type: 'uint96', internalType: 'uint96' },
|
|
261
|
+
],
|
|
262
|
+
outputs: [],
|
|
263
|
+
stateMutability: 'nonpayable',
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
type: 'function',
|
|
267
|
+
name: 'setTokenRoyalty',
|
|
268
|
+
inputs: [
|
|
269
|
+
{ name: 'tokenId', type: 'uint256', internalType: 'uint256' },
|
|
270
|
+
{ name: 'receiver', type: 'address', internalType: 'address' },
|
|
271
|
+
{ name: 'feeNumerator', type: 'uint96', internalType: 'uint96' },
|
|
272
|
+
],
|
|
273
|
+
outputs: [],
|
|
274
|
+
stateMutability: 'nonpayable',
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
type: 'function',
|
|
278
|
+
name: 'supportsInterface',
|
|
279
|
+
inputs: [{ name: 'interfaceId', type: 'bytes4', internalType: 'bytes4' }],
|
|
280
|
+
outputs: [{ name: '', type: 'bool', internalType: 'bool' }],
|
|
281
|
+
stateMutability: 'view',
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
type: 'function',
|
|
285
|
+
name: 'tokenSupply',
|
|
286
|
+
inputs: [{ name: '', type: 'uint256', internalType: 'uint256' }],
|
|
287
|
+
outputs: [{ name: '', type: 'uint256', internalType: 'uint256' }],
|
|
288
|
+
stateMutability: 'view',
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
type: 'function',
|
|
292
|
+
name: 'totalSupply',
|
|
293
|
+
inputs: [],
|
|
294
|
+
outputs: [{ name: '', type: 'uint256', internalType: 'uint256' }],
|
|
295
|
+
stateMutability: 'view',
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
type: 'function',
|
|
299
|
+
name: 'uri',
|
|
300
|
+
inputs: [{ name: '_id', type: 'uint256', internalType: 'uint256' }],
|
|
301
|
+
outputs: [{ name: '', type: 'string', internalType: 'string' }],
|
|
302
|
+
stateMutability: 'view',
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
type: 'event',
|
|
306
|
+
name: 'ApprovalForAll',
|
|
307
|
+
inputs: [
|
|
308
|
+
{
|
|
309
|
+
name: '_owner',
|
|
310
|
+
type: 'address',
|
|
311
|
+
indexed: true,
|
|
312
|
+
internalType: 'address',
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
name: '_operator',
|
|
316
|
+
type: 'address',
|
|
317
|
+
indexed: true,
|
|
318
|
+
internalType: 'address',
|
|
319
|
+
},
|
|
320
|
+
{ name: '_approved', type: 'bool', indexed: false, internalType: 'bool' },
|
|
321
|
+
],
|
|
322
|
+
anonymous: false,
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
type: 'event',
|
|
326
|
+
name: 'RoleAdminChanged',
|
|
327
|
+
inputs: [
|
|
328
|
+
{ name: 'role', type: 'bytes32', indexed: true, internalType: 'bytes32' },
|
|
329
|
+
{
|
|
330
|
+
name: 'previousAdminRole',
|
|
331
|
+
type: 'bytes32',
|
|
332
|
+
indexed: true,
|
|
333
|
+
internalType: 'bytes32',
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
name: 'newAdminRole',
|
|
337
|
+
type: 'bytes32',
|
|
338
|
+
indexed: true,
|
|
339
|
+
internalType: 'bytes32',
|
|
340
|
+
},
|
|
341
|
+
],
|
|
342
|
+
anonymous: false,
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
type: 'event',
|
|
346
|
+
name: 'RoleGranted',
|
|
347
|
+
inputs: [
|
|
348
|
+
{ name: 'role', type: 'bytes32', indexed: true, internalType: 'bytes32' },
|
|
349
|
+
{
|
|
350
|
+
name: 'account',
|
|
351
|
+
type: 'address',
|
|
352
|
+
indexed: true,
|
|
353
|
+
internalType: 'address',
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
name: 'sender',
|
|
357
|
+
type: 'address',
|
|
358
|
+
indexed: true,
|
|
359
|
+
internalType: 'address',
|
|
360
|
+
},
|
|
361
|
+
],
|
|
362
|
+
anonymous: false,
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
type: 'event',
|
|
366
|
+
name: 'RoleRevoked',
|
|
367
|
+
inputs: [
|
|
368
|
+
{ name: 'role', type: 'bytes32', indexed: true, internalType: 'bytes32' },
|
|
369
|
+
{
|
|
370
|
+
name: 'account',
|
|
371
|
+
type: 'address',
|
|
372
|
+
indexed: true,
|
|
373
|
+
internalType: 'address',
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
name: 'sender',
|
|
377
|
+
type: 'address',
|
|
378
|
+
indexed: true,
|
|
379
|
+
internalType: 'address',
|
|
380
|
+
},
|
|
381
|
+
],
|
|
382
|
+
anonymous: false,
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
type: 'event',
|
|
386
|
+
name: 'TransferBatch',
|
|
387
|
+
inputs: [
|
|
388
|
+
{
|
|
389
|
+
name: '_operator',
|
|
390
|
+
type: 'address',
|
|
391
|
+
indexed: true,
|
|
392
|
+
internalType: 'address',
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
name: '_from',
|
|
396
|
+
type: 'address',
|
|
397
|
+
indexed: true,
|
|
398
|
+
internalType: 'address',
|
|
399
|
+
},
|
|
400
|
+
{ name: '_to', type: 'address', indexed: true, internalType: 'address' },
|
|
401
|
+
{
|
|
402
|
+
name: '_ids',
|
|
403
|
+
type: 'uint256[]',
|
|
404
|
+
indexed: false,
|
|
405
|
+
internalType: 'uint256[]',
|
|
406
|
+
},
|
|
407
|
+
{
|
|
408
|
+
name: '_amounts',
|
|
409
|
+
type: 'uint256[]',
|
|
410
|
+
indexed: false,
|
|
411
|
+
internalType: 'uint256[]',
|
|
412
|
+
},
|
|
413
|
+
],
|
|
414
|
+
anonymous: false,
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
type: 'event',
|
|
418
|
+
name: 'TransferSingle',
|
|
419
|
+
inputs: [
|
|
420
|
+
{
|
|
421
|
+
name: '_operator',
|
|
422
|
+
type: 'address',
|
|
423
|
+
indexed: true,
|
|
424
|
+
internalType: 'address',
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
name: '_from',
|
|
428
|
+
type: 'address',
|
|
429
|
+
indexed: true,
|
|
430
|
+
internalType: 'address',
|
|
431
|
+
},
|
|
432
|
+
{ name: '_to', type: 'address', indexed: true, internalType: 'address' },
|
|
433
|
+
{ name: '_id', type: 'uint256', indexed: false, internalType: 'uint256' },
|
|
434
|
+
{
|
|
435
|
+
name: '_amount',
|
|
436
|
+
type: 'uint256',
|
|
437
|
+
indexed: false,
|
|
438
|
+
internalType: 'uint256',
|
|
439
|
+
},
|
|
440
|
+
],
|
|
441
|
+
anonymous: false,
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
type: 'event',
|
|
445
|
+
name: 'URI',
|
|
446
|
+
inputs: [
|
|
447
|
+
{ name: '_uri', type: 'string', indexed: false, internalType: 'string' },
|
|
448
|
+
{ name: '_id', type: 'uint256', indexed: true, internalType: 'uint256' },
|
|
449
|
+
],
|
|
450
|
+
anonymous: false,
|
|
451
|
+
},
|
|
452
|
+
{ type: 'error', name: 'InvalidArrayLength', inputs: [] },
|
|
453
|
+
{ type: 'error', name: 'InvalidInitialization', inputs: [] },
|
|
454
|
+
] as const;
|
|
@@ -4,18 +4,22 @@
|
|
|
4
4
|
* @returns A Promise that resolves with 'image', 'video', 'html', or null.
|
|
5
5
|
*/
|
|
6
6
|
export function fetchContentType(
|
|
7
|
-
url: string,
|
|
8
|
-
): Promise<'image' | 'video' | 'html' | null> {
|
|
7
|
+
url: string | undefined,
|
|
8
|
+
): Promise<'image' | 'video' | 'html' | '3d-model' | null> {
|
|
9
9
|
return new Promise((resolve, reject) => {
|
|
10
10
|
if (typeof XMLHttpRequest === 'undefined') {
|
|
11
11
|
reject(new Error('XMLHttpRequest is not supported in this environment.'));
|
|
12
12
|
return;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
+
if (!url) {
|
|
16
|
+
return;
|
|
17
|
+
}
|
|
18
|
+
|
|
15
19
|
const client = new XMLHttpRequest();
|
|
16
20
|
let settled = false;
|
|
17
21
|
|
|
18
|
-
const settle = (value: 'image' | 'video' | 'html' | null) => {
|
|
22
|
+
const settle = (value: 'image' | 'video' | 'html' | '3d-model' | null) => {
|
|
19
23
|
if (!settled) {
|
|
20
24
|
settled = true;
|
|
21
25
|
resolve(value);
|
|
@@ -53,7 +57,7 @@ export function fetchContentType(
|
|
|
53
57
|
}
|
|
54
58
|
|
|
55
59
|
const primaryType = contentType.split('/')[0].toLowerCase();
|
|
56
|
-
let result: 'image' | 'video' | 'html' | null = null;
|
|
60
|
+
let result: 'image' | 'video' | 'html' | '3d-model' | null = null;
|
|
57
61
|
|
|
58
62
|
switch (primaryType) {
|
|
59
63
|
case 'image':
|
|
@@ -67,6 +71,9 @@ export function fetchContentType(
|
|
|
67
71
|
result = 'html';
|
|
68
72
|
}
|
|
69
73
|
break;
|
|
74
|
+
case 'model':
|
|
75
|
+
result = '3d-model';
|
|
76
|
+
break;
|
|
70
77
|
}
|
|
71
78
|
|
|
72
79
|
settle(result);
|
package/tsconfig.tsbuildinfo
CHANGED
|
@@ -1 +1 @@
|
|
|
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/types.ts","./src/react/_internal/utils.ts","./src/react/_internal/api/builder-api.ts","./src/react/_internal/api/builder.gen.ts","./src/react/_internal/api/get-query-client.ts","./src/react/_internal/api/index.ts","./src/react/_internal/api/laos-api.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__/builder.msw.ts","./src/react/_internal/api/__mocks__/indexer.msw.ts","./src/react/_internal/api/__mocks__/marketplace.msw.ts","./src/react/_internal/api/__mocks__/metadata.msw.ts","./src/react/_internal/databeat/index.ts","./src/react/_internal/databeat/types.ts","./src/react/_internal/wagmi/create-config.ts","./src/react/_internal/wagmi/get-connectors.ts","./src/react/_internal/wagmi/index.ts","./src/react/_internal/wagmi/__tests__/create-config.test.ts","./src/react/_internal/wallet/usewallet.ts","./src/react/_internal/wallet/wallet.ts","./src/react/_internal/wallet/__tests__/wallet.test.ts","./src/react/hooks/index.ts","./src/react/hooks/useautoselectfeeoption.tsx","./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/usecollectionbalancedetails.tsx","./src/react/hooks/usecollectiondetails.tsx","./src/react/hooks/usecollectiondetailspolling.tsx","./src/react/hooks/usecompareprices.tsx","./src/react/hooks/useconfig.tsx","./src/react/hooks/useconvertpricetousd.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/usefilterstate.tsx","./src/react/hooks/usefilters.tsx","./src/react/hooks/usefloororder.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/useinventory.tsx","./src/react/hooks/uselistbalances.tsx","./src/react/hooks/uselistcollectibleactivities.tsx","./src/react/hooks/uselistcollectibles.tsx","./src/react/hooks/uselistcollectiblespaginated.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/useroyalty.tsx","./src/react/hooks/usetransfertokens.tsx","./src/react/hooks/__tests__/useautoselectfeeoption.test.tsx","./src/react/hooks/__tests__/usebalanceofcollectible.test.tsx","./src/react/hooks/__tests__/usecancelorder.test.tsx","./src/react/hooks/__tests__/usecanceltransactionsteps.test.tsx","./src/react/hooks/__tests__/usecollectible.test.tsx","./src/react/hooks/__tests__/usecollection.test.tsx","./src/react/hooks/__tests__/usecollectionbalancedetails.test.tsx","./src/react/hooks/__tests__/usecollectiondetails.test.tsx","./src/react/hooks/__tests__/usecollectiondetailspolling.test.tsx","./src/react/hooks/__tests__/usecompareprices.test.tsx","./src/react/hooks/__tests__/useconvertpricetousd.test.tsx","./src/react/hooks/__tests__/usecountlistingsforcollectible.test.tsx","./src/react/hooks/__tests__/usecountofcollectables.test.tsx","./src/react/hooks/__tests__/usecountoffersforcollectible.test.tsx","./src/react/hooks/__tests__/usecurrencies.test.tsx","./src/react/hooks/__tests__/usecurrency.test.tsx","./src/react/hooks/__tests__/usecurrencybalance.test.tsx","./src/react/hooks/__tests__/usefilters.test.tsx","./src/react/hooks/__tests__/usefloororder.test.tsx","./src/react/hooks/__tests__/usegeneratecanceltransaction.test.tsx","./src/react/hooks/__tests__/usegeneratelistingtransaction.test.tsx","./src/react/hooks/__tests__/usegenerateoffertransaction.test.tsx","./src/react/hooks/__tests__/usegenerateselltransaction.test.tsx","./src/react/hooks/__tests__/usehighestoffer.test.tsx","./src/react/hooks/__tests__/useinventory.test.tsx","./src/react/hooks/__tests__/uselistbalances.test.tsx","./src/react/hooks/__tests__/uselistcollectibleactivities.test.tsx","./src/react/hooks/__tests__/uselistcollectibles.test.tsx","./src/react/hooks/__tests__/uselistcollectiblespaginated.test.tsx","./src/react/hooks/__tests__/uselistcollectionactivities.test.tsx","./src/react/hooks/__tests__/uselistcollections.test.tsx","./src/react/hooks/__tests__/uselistlistingsforcollectible.test.tsx","./src/react/hooks/__tests__/uselistoffersforcollectible.test.tsx","./src/react/hooks/__tests__/uselowestlisting.test.tsx","./src/react/hooks/__tests__/usemarketplaceconfig.test.tsx","./src/react/hooks/__tests__/useroyalty.test.tsx","./src/react/hooks/options/collectionoptions.ts","./src/react/hooks/options/index.ts","./src/react/hooks/util/optimisticcancelupdates.ts","./src/react/queries/balanceofcollectible.ts","./src/react/queries/gettokensupplies.ts","./src/react/queries/highestoffer.ts","./src/react/queries/index.ts","./src/react/queries/inventory.ts","./src/react/queries/listbalances.ts","./src/react/queries/listcollectibles.ts","./src/react/queries/lowestlisting.ts","./src/react/queries/marketplaceconfig.ts","./src/react/ssr/create-ssr-client.ts","./src/react/ssr/index.ts","./src/react/ssr/__tests__/create-ssr-client.test.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/types.ts","./src/react/ui/components/_internals/action-button/__tests__/actionbuttonbody.test.tsx","./src/react/ui/components/_internals/action-button/__tests__/nonowneractions.test.tsx","./src/react/ui/components/_internals/action-button/__tests__/owneractions.test.tsx","./src/react/ui/components/_internals/action-button/__tests__/useactionbuttonlogic.test.tsx","./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-select/customselect.tsx","./src/react/ui/components/_internals/custom-select/__tests__/customselect.test.tsx","./src/react/ui/components/_internals/pill/pill.tsx","./src/react/ui/components/_internals/pill/__tests__/pill.test.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/__tests__/collectibleasset.test.tsx","./src/react/ui/components/collectible-card/__tests__/collectiblecard.test.tsx","./src/react/ui/components/collectible-card/__tests__/footer.test.tsx","./src/react/ui/components/collectible-card/collectible-asset/collectibleasset.tsx","./src/react/ui/components/collectible-card/collectible-asset/collectibleassetskeleton.tsx","./src/react/ui/components/collectible-card/collectible-asset/utils.ts","./src/react/ui/components/marketplace-logos/index.ts","./src/react/ui/components/marketplace-logos/marketplace-logos.tsx","./src/react/ui/icons/bellicon.tsx","./src/react/ui/icons/calendaricon.tsx","./src/react/ui/icons/carticon.tsx","./src/react/ui/icons/infoicon.tsx","./src/react/ui/icons/iconvariants.ts","./src/react/ui/icons/index.ts","./src/react/ui/modals/modal-provider.tsx","./src/react/ui/modals/buymodal/erc1155quantitymodal.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__/modal1155.test.tsx","./src/react/ui/modals/buymodal/__tests__/store.test.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/usepaymentmodalparams.ts","./src/react/ui/modals/buymodal/hooks/__tests__/usecheckoutoptions.test.tsx","./src/react/ui/modals/buymodal/hooks/__tests__/usefees.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/__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/_views/enterwalletaddress/index.tsx","./src/react/ui/modals/transfermodal/_views/enterwalletaddress/usehandletransfer.tsx","./src/react/ui/modals/transfermodal/_views/enterwalletaddress/_components/tokenquantityinput.tsx","./src/react/ui/modals/transfermodal/_views/enterwalletaddress/_components/transferbutton.tsx","./src/react/ui/modals/transfermodal/_views/enterwalletaddress/_components/walletaddressinput.tsx","./src/react/ui/modals/transfermodal/_views/followwalletinstructions/index.tsx","./src/react/ui/modals/_internal/types.ts","./src/react/ui/modals/_internal/components/consts.ts","./src/react/ui/modals/_internal/components/actionmodal/actionmodal.test.tsx","./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/alertmessage/index.tsx","./src/react/ui/modals/_internal/components/calendar/index.tsx","./src/react/ui/modals/_internal/components/calendardropdown/index.tsx","./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/floorpricetext/__tests__/floorpricetext.test.tsx","./src/react/ui/modals/_internal/components/priceinput/index.tsx","./src/react/ui/modals/_internal/components/priceinput/types.ts","./src/react/ui/modals/_internal/components/priceinput/__tests__/priceinput.test.tsx","./src/react/ui/modals/_internal/components/quantityinput/index.tsx","./src/react/ui/modals/_internal/components/quantityinput/__tests__/index.test.tsx","./src/react/ui/modals/_internal/components/selectwaasfeeoptions/index.tsx","./src/react/ui/modals/_internal/components/selectwaasfeeoptions/store.ts","./src/react/ui/modals/_internal/components/selectwaasfeeoptions/usewaasfeeoptionmanager.tsx","./src/react/ui/modals/_internal/components/selectwaasfeeoptions/__tests__/actionbuttons.test.tsx","./src/react/ui/modals/_internal/components/selectwaasfeeoptions/__tests__/balanceindicator.test.tsx","./src/react/ui/modals/_internal/components/selectwaasfeeoptions/__tests__/selectwaasfeeoptions.test.tsx","./src/react/ui/modals/_internal/components/selectwaasfeeoptions/_components/actionbuttons.tsx","./src/react/ui/modals/_internal/components/selectwaasfeeoptions/_components/balanceindicator.tsx","./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/__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/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/__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/waasfeeoptionsselect/waasfeeoptionsselect.tsx","./src/react/ui/modals/_internal/hooks/useselectwaasfeeoptions.ts","./src/react/ui/modals/_internal/stores/accountmodal.ts","./src/types/api-types.ts","./src/types/custom.d.ts","./src/types/index.ts","./src/types/messages.ts","./src/types/sdk-config.ts","./src/types/types.ts","./src/types/waas-types.ts","./src/utils/address.ts","./src/utils/cn.ts","./src/utils/date.ts","./src/utils/fetchcontenttype.ts","./src/utils/getmarketplacedetails.ts","./src/utils/getsequencemarketrequestid.ts","./src/utils/index.ts","./src/utils/network.ts","./src/utils/networkconfigtowagmichain.ts","./src/utils/price.ts","./src/utils/__tests__/address.test.ts","./src/utils/__tests__/date.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","./src/utils/decode/erc20.ts","./tsup.config.ts","./test/const.ts","./test/globalsetup.ts","./test/index.ts","./test/setup.ts","./test/test-utils.tsx","./test/mocks/wallet.ts"],"version":"5.8.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/types.ts","./src/react/_internal/utils.ts","./src/react/_internal/api/builder-api.ts","./src/react/_internal/api/builder.gen.ts","./src/react/_internal/api/get-query-client.ts","./src/react/_internal/api/index.ts","./src/react/_internal/api/laos-api.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__/builder.msw.ts","./src/react/_internal/api/__mocks__/indexer.msw.ts","./src/react/_internal/api/__mocks__/marketplace.msw.ts","./src/react/_internal/api/__mocks__/metadata.msw.ts","./src/react/_internal/databeat/index.ts","./src/react/_internal/databeat/types.ts","./src/react/_internal/wagmi/create-config.ts","./src/react/_internal/wagmi/get-connectors.ts","./src/react/_internal/wagmi/index.ts","./src/react/_internal/wagmi/__tests__/create-config.test.ts","./src/react/_internal/wallet/usewallet.ts","./src/react/_internal/wallet/wallet.ts","./src/react/_internal/wallet/__tests__/wallet.test.ts","./src/react/hooks/index.ts","./src/react/hooks/useautoselectfeeoption.tsx","./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/usecollectionbalancedetails.tsx","./src/react/hooks/usecollectiondetails.tsx","./src/react/hooks/usecollectiondetailspolling.tsx","./src/react/hooks/usecompareprices.tsx","./src/react/hooks/useconfig.tsx","./src/react/hooks/useconvertpricetousd.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/usefilterstate.tsx","./src/react/hooks/usefilters.tsx","./src/react/hooks/usefloororder.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/useinventory.tsx","./src/react/hooks/uselist1155salesupplies.tsx","./src/react/hooks/uselistbalances.tsx","./src/react/hooks/uselistcollectibleactivities.tsx","./src/react/hooks/uselistcollectibles.tsx","./src/react/hooks/uselistcollectiblespaginated.tsx","./src/react/hooks/uselistcollectionactivities.tsx","./src/react/hooks/uselistcollections.tsx","./src/react/hooks/uselistlistingsforcollectible.tsx","./src/react/hooks/uselistoffersforcollectible.tsx","./src/react/hooks/uselisttokenmetadata.ts","./src/react/hooks/uselowestlisting.tsx","./src/react/hooks/usemarketplaceconfig.tsx","./src/react/hooks/useroyalty.tsx","./src/react/hooks/usetransfertokens.tsx","./src/react/hooks/__tests__/useautoselectfeeoption.test.tsx","./src/react/hooks/__tests__/usebalanceofcollectible.test.tsx","./src/react/hooks/__tests__/usecancelorder.test.tsx","./src/react/hooks/__tests__/usecanceltransactionsteps.test.tsx","./src/react/hooks/__tests__/usecollectible.test.tsx","./src/react/hooks/__tests__/usecollection.test.tsx","./src/react/hooks/__tests__/usecollectionbalancedetails.test.tsx","./src/react/hooks/__tests__/usecollectiondetails.test.tsx","./src/react/hooks/__tests__/usecollectiondetailspolling.test.tsx","./src/react/hooks/__tests__/usecompareprices.test.tsx","./src/react/hooks/__tests__/useconvertpricetousd.test.tsx","./src/react/hooks/__tests__/usecountlistingsforcollectible.test.tsx","./src/react/hooks/__tests__/usecountofcollectables.test.tsx","./src/react/hooks/__tests__/usecountoffersforcollectible.test.tsx","./src/react/hooks/__tests__/usecurrencies.test.tsx","./src/react/hooks/__tests__/usecurrency.test.tsx","./src/react/hooks/__tests__/usecurrencybalance.test.tsx","./src/react/hooks/__tests__/usefilters.test.tsx","./src/react/hooks/__tests__/usefloororder.test.tsx","./src/react/hooks/__tests__/usegeneratecanceltransaction.test.tsx","./src/react/hooks/__tests__/usegeneratelistingtransaction.test.tsx","./src/react/hooks/__tests__/usegenerateoffertransaction.test.tsx","./src/react/hooks/__tests__/usegenerateselltransaction.test.tsx","./src/react/hooks/__tests__/usehighestoffer.test.tsx","./src/react/hooks/__tests__/useinventory.test.tsx","./src/react/hooks/__tests__/uselistbalances.test.tsx","./src/react/hooks/__tests__/uselistcollectibleactivities.test.tsx","./src/react/hooks/__tests__/uselistcollectibles.test.tsx","./src/react/hooks/__tests__/uselistcollectiblespaginated.test.tsx","./src/react/hooks/__tests__/uselistcollectionactivities.test.tsx","./src/react/hooks/__tests__/uselistcollections.test.tsx","./src/react/hooks/__tests__/uselistlistingsforcollectible.test.tsx","./src/react/hooks/__tests__/uselistoffersforcollectible.test.tsx","./src/react/hooks/__tests__/uselowestlisting.test.tsx","./src/react/hooks/__tests__/usemarketplaceconfig.test.tsx","./src/react/hooks/__tests__/useroyalty.test.tsx","./src/react/hooks/options/collectionoptions.ts","./src/react/hooks/options/index.ts","./src/react/hooks/util/optimisticcancelupdates.ts","./src/react/queries/balanceofcollectible.ts","./src/react/queries/gettokensupplies.ts","./src/react/queries/highestoffer.ts","./src/react/queries/index.ts","./src/react/queries/inventory.ts","./src/react/queries/listbalances.ts","./src/react/queries/listcollectibles.ts","./src/react/queries/listtokenmetadata.ts","./src/react/queries/lowestlisting.ts","./src/react/queries/marketplaceconfig.ts","./src/react/ssr/create-ssr-client.ts","./src/react/ssr/index.ts","./src/react/ssr/__tests__/create-ssr-client.test.ts","./src/react/ui/index.ts","./src/react/ui/components/modelviewer.tsx","./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/types.ts","./src/react/ui/components/_internals/action-button/__tests__/actionbuttonbody.test.tsx","./src/react/ui/components/_internals/action-button/__tests__/nonowneractions.test.tsx","./src/react/ui/components/_internals/action-button/__tests__/owneractions.test.tsx","./src/react/ui/components/_internals/action-button/__tests__/useactionbuttonlogic.test.tsx","./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-select/customselect.tsx","./src/react/ui/components/_internals/custom-select/__tests__/customselect.test.tsx","./src/react/ui/components/_internals/pill/pill.tsx","./src/react/ui/components/_internals/pill/__tests__/pill.test.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/__tests__/collectiblecard.test.tsx","./src/react/ui/components/collectible-card/__tests__/footer.test.tsx","./src/react/ui/components/collectible-card/__tests__/media.test.tsx","./src/react/ui/components/collectible-card/media/media.tsx","./src/react/ui/components/collectible-card/media/mediaskeleton.tsx","./src/react/ui/components/collectible-card/media/types.ts","./src/react/ui/components/collectible-card/media/utils.ts","./src/react/ui/components/marketplace-logos/index.ts","./src/react/ui/components/marketplace-logos/marketplace-logos.tsx","./src/react/ui/icons/bellicon.tsx","./src/react/ui/icons/calendaricon.tsx","./src/react/ui/icons/carticon.tsx","./src/react/ui/icons/infoicon.tsx","./src/react/ui/icons/iconvariants.ts","./src/react/ui/icons/index.ts","./src/react/ui/modals/modal-provider.tsx","./src/react/ui/modals/buymodal/erc1155quantitymodal.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__/modal1155.test.tsx","./src/react/ui/modals/buymodal/__tests__/store.test.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/usepaymentmodalparams.ts","./src/react/ui/modals/buymodal/hooks/__tests__/usecheckoutoptions.test.tsx","./src/react/ui/modals/buymodal/hooks/__tests__/usefees.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/__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/_views/enterwalletaddress/index.tsx","./src/react/ui/modals/transfermodal/_views/enterwalletaddress/usehandletransfer.tsx","./src/react/ui/modals/transfermodal/_views/enterwalletaddress/_components/tokenquantityinput.tsx","./src/react/ui/modals/transfermodal/_views/enterwalletaddress/_components/transferbutton.tsx","./src/react/ui/modals/transfermodal/_views/enterwalletaddress/_components/walletaddressinput.tsx","./src/react/ui/modals/transfermodal/_views/followwalletinstructions/index.tsx","./src/react/ui/modals/_internal/types.ts","./src/react/ui/modals/_internal/components/consts.ts","./src/react/ui/modals/_internal/components/actionmodal/actionmodal.test.tsx","./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/alertmessage/index.tsx","./src/react/ui/modals/_internal/components/calendar/index.tsx","./src/react/ui/modals/_internal/components/calendardropdown/index.tsx","./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/floorpricetext/__tests__/floorpricetext.test.tsx","./src/react/ui/modals/_internal/components/priceinput/index.tsx","./src/react/ui/modals/_internal/components/priceinput/types.ts","./src/react/ui/modals/_internal/components/priceinput/__tests__/priceinput.test.tsx","./src/react/ui/modals/_internal/components/quantityinput/index.tsx","./src/react/ui/modals/_internal/components/quantityinput/__tests__/index.test.tsx","./src/react/ui/modals/_internal/components/selectwaasfeeoptions/index.tsx","./src/react/ui/modals/_internal/components/selectwaasfeeoptions/store.ts","./src/react/ui/modals/_internal/components/selectwaasfeeoptions/usewaasfeeoptionmanager.tsx","./src/react/ui/modals/_internal/components/selectwaasfeeoptions/__tests__/actionbuttons.test.tsx","./src/react/ui/modals/_internal/components/selectwaasfeeoptions/__tests__/balanceindicator.test.tsx","./src/react/ui/modals/_internal/components/selectwaasfeeoptions/__tests__/selectwaasfeeoptions.test.tsx","./src/react/ui/modals/_internal/components/selectwaasfeeoptions/_components/actionbuttons.tsx","./src/react/ui/modals/_internal/components/selectwaasfeeoptions/_components/balanceindicator.tsx","./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/__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/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/__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/waasfeeoptionsselect/waasfeeoptionsselect.tsx","./src/react/ui/modals/_internal/hooks/useselectwaasfeeoptions.ts","./src/react/ui/modals/_internal/stores/accountmodal.ts","./src/types/api-types.ts","./src/types/custom.d.ts","./src/types/index.ts","./src/types/messages.ts","./src/types/sdk-config.ts","./src/types/types.ts","./src/types/waas-types.ts","./src/utils/address.ts","./src/utils/cn.ts","./src/utils/date.ts","./src/utils/fetchcontenttype.ts","./src/utils/getmarketplacedetails.ts","./src/utils/getsequencemarketrequestid.ts","./src/utils/index.ts","./src/utils/network.ts","./src/utils/networkconfigtowagmichain.ts","./src/utils/price.ts","./src/utils/__tests__/address.test.ts","./src/utils/__tests__/date.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/primary-sale/index.ts","./src/utils/abi/primary-sale/sequence-1155-sales-contract.ts","./src/utils/abi/primary-sale/sequence-721-sales-contract.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","./src/utils/abi/token/sequence-erc1155-items.ts","./src/utils/decode/erc20.ts","./tsup.config.ts","./test/const.ts","./test/globalsetup.ts","./test/index.ts","./test/setup.ts","./test/test-utils.tsx","./test/mocks/wallet.ts"],"version":"5.8.3"}
|